{"id":42682225,"url":"https://github.com/nik012003/idtp9418-mainline","last_synced_at":"2026-01-29T11:54:35.596Z","repository":{"id":320418764,"uuid":"976593711","full_name":"nik012003/idtp9418-mainline","owner":"nik012003","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-27T12:21:52.000Z","size":58,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-28T00:13:17.978Z","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/nik012003.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-02T11:44:58.000Z","updated_at":"2026-01-27T12:21:57.000Z","dependencies_parsed_at":"2025-10-23T18:30:47.937Z","dependency_job_id":"fed5462b-1e87-4264-a17d-f8fd5a1907b0","html_url":"https://github.com/nik012003/idtp9418-mainline","commit_stats":null,"previous_names":["nik012003/idtp9418-mainline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nik012003/idtp9418-mainline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik012003%2Fidtp9418-mainline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik012003%2Fidtp9418-mainline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik012003%2Fidtp9418-mainline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik012003%2Fidtp9418-mainline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nik012003","download_url":"https://codeload.github.com/nik012003/idtp9418-mainline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik012003%2Fidtp9418-mainline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-29T11:54:35.513Z","updated_at":"2026-01-29T11:54:35.583Z","avatar_url":"https://github.com/nik012003.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# idtp9418 wireless charger driver for xiaomi tablets\n\nTested on xiaomi-nabu on 6.16.0-sm8150, based on the downstream xiaomi driver.\n\nExpected output:\n```\nidtp9418: loading out-of-tree module taints kernel.\nidtp9418 3-003b: [idtp] Pen attached! Turning on reverse charging... \nidtp9418 3-003b: idtp9418_irq_work: Entered irq work\nidtp9418 3-003b: Irq got: 0\nidtp9418 3-003b: set reverse fod: 500\nidtp9418 3-003b: tx data(0078): 0x1\nidtp9418 3-003b: start reverse charging\nidtp9418 3-003b: reverse charging start success\nidtp9418 3-003b: [idtp] Pen detached! Turning off reverse charging...\n```\n# TODO:\n\n- [x] Move from legacy gpio to gpiod for resource allocation\n- [x] Set an alarm to monitor and limit charge\n- [x] Register a power-supply to report state of charge to userspace and change charge limit\n\n## Bonus stuff:\n- [ ] Load a default fod program if it doesn't exist\n- [ ] Get MAC address of attached pen","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnik012003%2Fidtp9418-mainline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnik012003%2Fidtp9418-mainline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnik012003%2Fidtp9418-mainline/lists"}