{"id":20748803,"url":"https://github.com/arturobp3/keyboard_driver","last_synced_at":"2026-04-28T05:36:39.440Z","repository":{"id":112578459,"uuid":"173582573","full_name":"arturobp3/Keyboard_Driver","owner":"arturobp3","description":"Linux driver which uses the keyboard leds in order to do two games. The purpose of this project was to know how the Linux kernel works","archived":false,"fork":false,"pushed_at":"2019-03-03T15:19:21.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T13:50:23.936Z","etag":null,"topics":["kernel-module","keyboard-driver","linux","linux-driver","unix"],"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/arturobp3.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}},"created_at":"2019-03-03T14:03:40.000Z","updated_at":"2019-03-03T15:19:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd7647cf-27b7-4d81-89e9-1ca6b980c4b3","html_url":"https://github.com/arturobp3/Keyboard_Driver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arturobp3/Keyboard_Driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturobp3%2FKeyboard_Driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturobp3%2FKeyboard_Driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturobp3%2FKeyboard_Driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturobp3%2FKeyboard_Driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arturobp3","download_url":"https://codeload.github.com/arturobp3/Keyboard_Driver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturobp3%2FKeyboard_Driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28020012,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"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":["kernel-module","keyboard-driver","linux","linux-driver","unix"],"created_at":"2024-11-17T08:18:38.401Z","updated_at":"2025-12-25T05:04:30.581Z","avatar_url":"https://github.com/arturobp3.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e Keyboard Driver for Linux \u003c/h1\u003e\n\n# How can I run this program?\n\nFollow these steps to test the driver:\n\n\u003cb\u003eCompile \"chardev_leds.c\" file \u003c/b\u003e\n\nYou can use the makefile I provide you. In the directory where files are located, type:\n```\nmake\n```\n\u003cb\u003eInsert \"chardev_leds.ko\" in the Kernel\u003c/b\u003e\n```\nsudo insmod chardev_leds.ko\n```\n\u003cb\u003eCreate a new device file managed by the driver\u003c/b\u003e\n```\nsudo mknod -m 666 /dev/leds c 243 0\n```\nWe can check if we did these steps well, typing:\n```\ncat /dev/leds\n```\nThis command will print a message\n\n\u003cb\u003eCompile \"leds_user.c\" file\u003c/b\u003e\n```\ngcc -Wall -g leds_user.c -o leds_user\n```\n\u003cb\u003eRun it\u003c/b\u003e\n```\nsudo ./leds_user\n```\n\u003cp\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/arturobp3/Keyboard_Driver/blob/master/img/terminal1.png\" width=\"700\" height=\"400\"\u003e\n    \u003cimg src=\"https://github.com/arturobp3/Keyboard_Driver/blob/master/img/terminal2.png\" width=\"700\" height=\"700\"\u003e\n  \u003c/div\u003e      \n\u003c/p\u003e\n\n# When you don't want to test this driver any more:\n\n\u003cb\u003eRemove \"chardev_leds.ko\" from the Kernel\u003c/b\u003e\n```\nsudo rmmod chardev_leds\n```\n\n\u003cb\u003eRemove \"/dev/leds\"\u003c/b\u003e\n```\nsudo rm -r /dev/leds\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturobp3%2Fkeyboard_driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farturobp3%2Fkeyboard_driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturobp3%2Fkeyboard_driver/lists"}