{"id":21917475,"url":"https://github.com/clusterm/omega2-ws2811-lkm","last_synced_at":"2025-04-19T09:33:33.057Z","repository":{"id":69562686,"uuid":"350853198","full_name":"ClusterM/omega2-ws2811-lkm","owner":"ClusterM","description":"Linux kernel module for Onion Omega2 to control WS2811/WS2812 LEDs","archived":false,"fork":false,"pushed_at":"2024-02-20T18:57:00.000Z","size":20,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T02:06:11.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClusterM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["ClusterM"],"custom":["https://www.buymeacoffee.com/cluster","https://boosty.to/cluster"]}},"created_at":"2021-03-23T20:48:10.000Z","updated_at":"2024-11-04T18:05:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a547b814-9162-440f-963c-681e463d436f","html_url":"https://github.com/ClusterM/omega2-ws2811-lkm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-ws2811-lkm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-ws2811-lkm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-ws2811-lkm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-ws2811-lkm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClusterM","download_url":"https://codeload.github.com/ClusterM/omega2-ws2811-lkm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249664285,"owners_count":21308091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T19:32:43.179Z","updated_at":"2025-04-19T09:33:33.040Z","avatar_url":"https://github.com/ClusterM.png","language":"C","funding_links":["https://github.com/sponsors/ClusterM","https://www.buymeacoffee.com/cluster","https://boosty.to/cluster"],"categories":[],"sub_categories":[],"readme":"# omega2-ws2811-lkm\nLinux kernel module for Onion Omega2 to control WS2811/WS2812 LEDs.\n\nIt's using a bit-banging, so you can use any GPIO pin. Also, it supports multiple pins simultaneously and writing them at the same time, so you can connect multiple LED chains to different pins and increase FPS.\n\n## How to load\nPut **ws2811.ko** into /lib/modules/*kernel_version*/ directory\n\nThere are two parameters:\n* **pins** - array of pin numbers\n* **led_count** - LED count per pin\n\nFor example you are using pins 11,15,16,17 and 300 LEDs per each pin, command to load module:\n\n    insmod ws2811 pins=11,15,16,17 led_count=300\n\nor create **/etc/modules.d/ws2811** file and put this string there:\n\n    ws2811 pins=11,15,16,17 led_count=300\n\nto load the module automatically at the system boot. Don't forget to set up GPIO muxing if need.\n\n## How to use\nIf the module is loaded successfully **/dev/ws2811** pseudo-file should appear. You can read and write it - three bytes per RGB LED.\nSynchronization appears after each writes operation, so it is desirable to write all bytes at once.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterm%2Fomega2-ws2811-lkm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclusterm%2Fomega2-ws2811-lkm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterm%2Fomega2-ws2811-lkm/lists"}