{"id":22574434,"url":"https://github.com/quantumlibet/lan951x-led-ctl","last_synced_at":"2025-03-28T15:24:00.625Z","repository":{"id":266270488,"uuid":"834648311","full_name":"QuantumLibet/lan951x-led-ctl","owner":"QuantumLibet","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-12T19:57:30.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T05:05:16.885Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QuantumLibet.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2024-07-27T23:24:43.000Z","updated_at":"2024-12-12T19:57:34.000Z","dependencies_parsed_at":"2024-12-03T12:51:33.433Z","dependency_job_id":"f176ab51-2e04-4c21-a99b-bd4bc81b00dd","html_url":"https://github.com/QuantumLibet/lan951x-led-ctl","commit_stats":null,"previous_names":["quantumlibet/lan951x-led-ctl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumLibet%2Flan951x-led-ctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumLibet%2Flan951x-led-ctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumLibet%2Flan951x-led-ctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumLibet%2Flan951x-led-ctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuantumLibet","download_url":"https://codeload.github.com/QuantumLibet/lan951x-led-ctl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246050767,"owners_count":20715711,"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-12-08T03:06:12.523Z","updated_at":"2025-03-28T15:24:00.601Z","avatar_url":"https://github.com/QuantumLibet.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nlan951x-led-ctl is a command line tool to control the LEDs connected to a\nLAN9512 or LAN9514 ethernet controller.\n\nUsually those LEDs show the ethernet status like \"Link/Activity\", \"Speed\" and\n\"Duplex\" mode. Using this tool you can turn them off, if you don't like\na disco in your room at night ;-) Or you can turn them on/off from any shell\nscript to show whatever status you wish.\n\nThese LAN951x ethernet and USB controllers are used on many embedded computers\nlike Raspberry Pi (until Version 3B - but not 3B+), Olinuxino and many more.\n\nFurther info can be found at:\nhttps://dominic.familie-radermacher.ch/computer/raspberry-pi/lan951x-led-ctl/\n\nThe Git repo with the latest version is located at:\nhttps://git.familie-radermacher.ch/linux/lan951x-led-ctl.git\n\n\nCompile:\n\n    make\n\n    step-by-step:\n\n        sudo apt-get -qq install git libusb-1.0-0-dev  #  will also install: libusb-1.0-doc\n        git clone ...\n        sudo make --directory lan951x-led-ctl DESTDIR=/usr/local\n        rm -rf ./lan951x-led-ctl\n        sudo apt-get -qq autoremove --purge libusb-1.0-0-dev\n\n\nUsage:\n\n    sudo lan951x-led-ctl [--fdx=x][--lnk=x][--spd=x]\n        where x is one of:\n        0 - turn LED off\n        1 - turn LED on\n\n\nAutomate:\n\n    sudo tee /etc/systemd/system/rpi_blinkenlights_set_to_off.service \u003e /dev/null \u003c\u003c- EOF\n        [Unit]\n        Description=to configure the RPi NIC LEDs to off\n\n        [Service]\n        Type=oneshot\n        ExecStart=/usr/bin/sleep 15  #  RPi1; can be smaller on RPi2/3\n        ExecStart=/usr/local/bin/lan951x-led-ctl  --fdx=0 --lnk=0 --spd=0\n        RemainAfterExit=no\n\n        [Install]\n        WantedBy=multi-user.target\n    EOF\n\n    for an example, see systemd-folder\n\n    sudo --askpass systemctl enable --now --no-block rpi_blinkenlights_set_to_off.service\n\n\nSource:\n\n    original developer, cmake-version:  https://dominic.familie-radermacher.ch/computer/raspberry-pi/lan951x-led-ctl/\n    makefile-version:  https://github.com/dumpsite/lan951x-led-ctl\n    general information about RPi-LEDs:  https://github.com/ccrisan/motioneyeos/wiki/Turn-Off-LEDs\n    general information about dtparam=pwr_led_trigger-entries in config.txt:  https://github.com/raspberrypi/firmware/issues/1742, esp. https://github.com/raspberrypi/firmware/issues/1742#issuecomment-1225910618\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantumlibet%2Flan951x-led-ctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantumlibet%2Flan951x-led-ctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantumlibet%2Flan951x-led-ctl/lists"}