{"id":15003669,"url":"https://github.com/makelinux/ldt","last_synced_at":"2025-04-04T15:11:38.815Z","repository":{"id":4641972,"uuid":"5786984","full_name":"makelinux/ldt","owner":"makelinux","description":"Linux Driver Template","archived":false,"fork":false,"pushed_at":"2022-10-31T08:33:49.000Z","size":150,"stargazers_count":518,"open_issues_count":2,"forks_count":196,"subscribers_count":80,"default_branch":"master","last_synced_at":"2025-03-28T14:11:15.414Z","etag":null,"topics":["drivers","linux-driver-template","linux-kernel"],"latest_commit_sha":null,"homepage":"","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/makelinux.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}},"created_at":"2012-09-12T22:44:29.000Z","updated_at":"2025-03-27T08:57:54.000Z","dependencies_parsed_at":"2023-01-11T16:36:23.677Z","dependency_job_id":null,"html_url":"https://github.com/makelinux/ldt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makelinux%2Fldt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makelinux%2Fldt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makelinux%2Fldt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makelinux%2Fldt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makelinux","download_url":"https://codeload.github.com/makelinux/ldt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198469,"owners_count":20900081,"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":["drivers","linux-driver-template","linux-kernel"],"created_at":"2024-09-24T19:00:05.070Z","updated_at":"2025-04-04T15:11:38.792Z","avatar_url":"https://github.com/makelinux.png","language":"C","readme":"# LDT - Linux Driver Template\n\nLDT project is useful for Linux driver development beginners and as starting point for a new drivers. \nThe driver uses following Linux facilities: \nmodule, platform driver, file operations (read/write, mmap, ioctl, blocking and nonblocking mode, polling), kfifo, completion, interrupt, tasklet, work, kthread, timer, simple misc device, multiple char devices, Device Model, configfs, UART 0x3f8, HW loopback, SW loopback, ftracer.\n\n## Usage:\n\nJust run\n\ngit clone --recurse-submodules git://github.com/makelinux/ldt.git \u0026\u0026 cd ldt \u0026\u0026 make \u0026\u0026 ./ldt-test \u0026\u0026 sudo ./misc_loop_drv_test\n\nand explore sources.\n\n## Files:\n\nMain source file of LDT:\n**[ldt.c](https://github.com/makelinux/ldt/blob/master/ldt.c)**\n\nTest script, run it: **[ldt-test](https://github.com/makelinux/ldt/blob/master/ldt-test)**\n\nGeneric testing utility for Device I/O: **[dio.c](https://github.com/makelinux/ldt/blob/master/dio.c)**\n\nSimple misc driver with read, write, fifo, tasklet and IRQ:\n**[misc_loop_drv.c](https://github.com/makelinux/ldt/blob/master/misc_loop_drv.c)**\n\nBrowse the rest of source: https://github.com/makelinux/ldt/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakelinux%2Fldt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakelinux%2Fldt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakelinux%2Fldt/lists"}