{"id":50400741,"url":"https://github.com/jelius-sama/restart-driver","last_synced_at":"2026-05-30T23:03:49.790Z","repository":{"id":360230339,"uuid":"1249253727","full_name":"jelius-sama/restart-driver","owner":"jelius-sama","description":"A small utility to restart unstable WiFi and Bluetooth kernel modules on Asahi Linux.","archived":false,"fork":false,"pushed_at":"2026-05-25T15:48:11.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T16:09:58.510Z","etag":null,"topics":["asahi-linux","kernel-module","linux","utility"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jelius-sama.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-25T14:04:14.000Z","updated_at":"2026-05-25T15:48:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jelius-sama/restart-driver","commit_stats":null,"previous_names":["jelius-sama/restart-driver"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jelius-sama/restart-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelius-sama%2Frestart-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelius-sama%2Frestart-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelius-sama%2Frestart-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelius-sama%2Frestart-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jelius-sama","download_url":"https://codeload.github.com/jelius-sama/restart-driver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelius-sama%2Frestart-driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33712582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asahi-linux","kernel-module","linux","utility"],"created_at":"2026-05-30T23:03:49.081Z","updated_at":"2026-05-30T23:03:49.782Z","avatar_url":"https://github.com/jelius-sama.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"A small utility to restart unstable WiFi and Bluetooth kernel modules\non Asahi Linux. The brcmfmac and hci_bcm4377 drivers can enter broken\nstates where WiFi stops scanning or associating, and Bluetooth fails to\nreinitialize after being disabled.\n\nRather than manually running modprobe/rmmod/ip/systemctl sequences,\nthis tool wraps the full restart sequence for each device behind a\nsingle command.\n\nFor WiFi, the full sequence is:\n  - Stop iwd\n  - Bring wlp1s0f0 down\n  - Unload brcmfmac_wcc, brcmutil, brcmfmac\n  - Reload brcmfmac\n  - Start iwd\n  - Wait for wlp1s0f0 to appear in sysfs before bringing it up\n\nThe sysfs poll on /sys/class/net/\u003ciface\u003e avoids a race between iwd\nregistering the interface and the subsequent ip-link call.\n\nFor Bluetooth, hci_bcm4377 is cycled via rmmod/modprobe as the\ndriver does not recover gracefully from a soft disable.\n\nRequires root. Must be run as: sudo restart-driver \u003cwifi|bluetooth\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelius-sama%2Frestart-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjelius-sama%2Frestart-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelius-sama%2Frestart-driver/lists"}