{"id":23666127,"url":"https://github.com/artic92/linux-device-drivers-learning","last_synced_at":"2025-12-10T10:30:38.017Z","repository":{"id":269923734,"uuid":"908865018","full_name":"artic92/linux-device-drivers-learning","owner":"artic92","description":"A journey into Linux device driver development with examples, notes, and tutorials.","archived":false,"fork":false,"pushed_at":"2025-01-12T20:51:13.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T21:31:03.486Z","etag":null,"topics":["device-driver","learning","linux","linux-kernel","tutorial"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artic92.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2024-12-27T06:43:47.000Z","updated_at":"2025-01-12T20:51:15.000Z","dependencies_parsed_at":"2024-12-27T07:40:25.521Z","dependency_job_id":null,"html_url":"https://github.com/artic92/linux-device-drivers-learning","commit_stats":null,"previous_names":["artic92/linux-device-drivers-learning"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artic92%2Flinux-device-drivers-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artic92%2Flinux-device-drivers-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artic92%2Flinux-device-drivers-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artic92%2Flinux-device-drivers-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artic92","download_url":"https://codeload.github.com/artic92/linux-device-drivers-learning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239671416,"owners_count":19677873,"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":["device-driver","learning","linux","linux-kernel","tutorial"],"created_at":"2024-12-29T07:21:44.833Z","updated_at":"2025-12-10T10:30:32.699Z","avatar_url":"https://github.com/artic92.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Device Drivers Learning\n\n![Build Status](https://github.com/artic92/linux-device-drivers-learning/actions/workflows/build_and_test.yaml/badge.svg)\n![License](https://img.shields.io/github/license/artic92/linux-device-drivers-learning)\n![Last Commit](https://img.shields.io/github/last-commit/artic92/linux-device-drivers-learning)\n![Kernel Version](https://img.shields.io/badge/Kernel-6.0%2B-blue)\n\nThis repository summarises my progress into learning Linux device driver development. It follows the [LDD](https://lwn.net/Kernel/LDD3/) book.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n1. A Linux development environment with kernel headers installed.\n2. Basic knowledge of C programming and Linux systems.\n3. A desire to learn and explore!\n\n### How to Use\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/username/linux-device-drivers-learning.git\n   cd linux-device-drivers-learning\n   ```\n\n2. Navigate to the desired hello directory:\n\n   ```bash\n   cd hello_world/\n   ```\n\n3. Build the module:\n\n   ```bash\n   make\n   ```\n\n4. Load the module:\n\n   ```bash\n   sudo insmod hello.ko\n   ```\n\n5. Check kernel logs:\n\n   ```bash\n   dmesg | tail\n   ```\n\n6. Unload the module:\n\n   ```bash\n   sudo rmmod hello\n   ```\n\n---\n\n## CI/CD Features\n\nThis repository employs GitHub Actions to:\n\n- Verify that all kernel modules build successfully.\n- Perform static code analysis for quality checks.\n- Test modules in a virtualized environment (future goal).\n\n---\n\n## Contributing\n\nContributions are welcome! If you'd like to add hellos or improve existing code, please submit a pull request. Ensure that your code adheres to best practices and is thoroughly tested.\n\n---\n\n## License\n\nThis repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## Acknowledgments\n\n- \"Linux Device Drivers\" by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman for inspiration.\n- Open-source community for invaluable tools and resources.\n\n---\n\nHappy coding and learning!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartic92%2Flinux-device-drivers-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartic92%2Flinux-device-drivers-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartic92%2Flinux-device-drivers-learning/lists"}