{"id":18754088,"url":"https://github.com/simplyceo/generikit-hid-sony","last_synced_at":"2025-08-14T11:40:14.783Z","repository":{"id":38375884,"uuid":"496869256","full_name":"SimplyCEO/generikit-hid-sony","owner":"SimplyCEO","description":"Generic PlayStation patches. Those that were revoked by the sages.","archived":false,"fork":false,"pushed_at":"2024-10-07T23:39:18.000Z","size":5490,"stargazers_count":15,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T18:57:26.204Z","etag":null,"topics":["controller","custom","driver","generic","kernel","linux","playstation"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimplyCEO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"KanuX-14","issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-05-27T05:14:07.000Z","updated_at":"2025-03-25T17:45:31.000Z","dependencies_parsed_at":"2024-11-07T17:48:55.346Z","dependency_job_id":null,"html_url":"https://github.com/SimplyCEO/generikit-hid-sony","commit_stats":null,"previous_names":["kanux-14/generikit-hid-sony","simplyceo/generikit-hid-sony"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fgenerikit-hid-sony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fgenerikit-hid-sony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fgenerikit-hid-sony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyCEO%2Fgenerikit-hid-sony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimplyCEO","download_url":"https://codeload.github.com/SimplyCEO/generikit-hid-sony/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650590,"owners_count":21139670,"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":["controller","custom","driver","generic","kernel","linux","playstation"],"created_at":"2024-11-07T17:28:01.232Z","updated_at":"2025-08-14T11:40:14.721Z","avatar_url":"https://github.com/SimplyCEO.png","language":"C","funding_links":["https://liberapay.com/KanuX-14"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003ca href=\"README.md\"\u003e\n      \u003cimg alt=\"English\" src=\"https://openmoji.org/data/color/svg/1F1EC-1F1E7.svg\" width=5%\u003e\n    \u003c/a\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003ca href=\"README_BR.md\"\u003e\n      \u003cimg alt=\"Portuguese\" src=\"https://openmoji.org/data/color/svg/1F1E7-1F1F7.svg\" width=5%\u003e\n    \u003c/a\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003ca href=\"README_ES.md\"\u003e\n      \u003cimg alt=\"Spanish\" src=\"https://openmoji.org/data/color/svg/1F1EA-1F1F8.svg\" width=5%\u003e\n    \u003c/a\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./.media/language/english/generikit_wide_dark.png\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"./.media/language/english/generikit_wide_light.png\"\u003e\n  \u003cimg alt=\"GeneriKit\" src=\"./.media/language/english/generikit_wide_dark.png\" width=\"55%\"\u003e\n\u003c/picture\u003e\n\u003c/p\u003e\n\nGeneric PlayStation patches. Those that were revoked by the sages.\n\nUsage\n-----\n\nHaving to patch a file and build a entire kernel is a medium-level of knowledge to the majority of users.\u003cbr\u003e\nBut choosing which file to compile is a hard task. And that is what this repository is for.\n\nDependencies\n------------\n\nIn the middle of the repository journey, most of the systems will have a automated install.\u003cbr\u003e\nBut this day is most likely to happen very far from now. So, consider having the following:\n\n|   Package     |   URL                                             |\n|---------------|---------------------------------------------------|\n|   git         |   https://ftp.gnu.org/gnu/git/                    |\n|   gcc         |   https://ftp.gnu.org/gnu/gcc/                    |\n|   make        |   https://ftp.gnu.org/gnu/make/                   |\n\nIt is necessary the usage of kernel headers. Each distribution have a different package.\u003cbr\u003e\nThey can also be manually compiled. See [this](https://www.kernel.org/doc/html/latest/kbuild/modules.html).\n\nOptional: Other C compilers can be used too, but keep in mind that your kernel NEED to be compiled\nby the same provided compiler.\n\nCompiling\n---------\n\n\u003cb\u003eTip\u003c/b\u003e: \"su -c\" can be your root manager, sudo, doas, or another...\u003cbr\u003e\nJust remember that you need to remove the quote marks (\") from every given \"su -c\" command.\n\n\u003cb\u003eClone the repository\u003c/b\u003e:\n```sh\ngit clone https://github.com/SimplyCEO/generikit-hid-sony.git\ncd generikit-hid-sony/\n```\n\n\u003cb\u003eUsing DKMS\u003c/b\u003e:\n```sh\nsu -c \"sh dkms-install.sh\"\n```\n\n\u003cb\u003eManually compiling\u003c/b\u003e:\n```sh\nmake \u0026\u0026 su -c \"make install clean\"\n```\n\nRemove the older driver in order to load the generikit one:\n```sh\nprintf \"blacklist hid-sony\\n\" | su -c \"tee /etc/modprobe.d/generikit.conf\"\n```\n\nTo load the original driver, unload `generikit-hid-sony` and load `hid-sony`:\n```sh\nsu -c \"modprobe --remove generikit-hid-sony\"\nsu -c \"modprobe hid-sony\"\n```\nTo return the generikit driver, do the other way around.\n\nRemoving\n--------\n\n\u003cb\u003eUsing DKMS\u003c/b\u003e:\n```sh\nsu -c \"sh dkms-remove.sh\"\n```\n\nInspiration\n-----------\n\nOne time this patch got revoked by the zen-kernel programmers.\u003cbr\u003e\nJust like they said:\n\u003e \"I'd really prefer we don't add code for fakes.\"\n\nEven knowing it is generic, the device continue being a device.\n\nContribution\n------------\n\nYou are more than welcome to submit a fix that got revoked by the team.\u003cbr\u003e\nIf your fix has bugs in some architecture, consider putting a description in the `warning.txt` file.\n\nAll the contribution should be directly sent to the `devel` branch.\n```sh\ngit checkout devel\n```\n\nReferences\n----------\n\nMy first [closed pull request](https://github.com/zen-kernel/zen-kernel/pull/279), a concept of what the project become.\u003cbr\u003e\nPS3 generic controller [forum discussion](https://retropie.org.uk/forum/topic/28263/playstation-3-controller-not-connecting-wired-on-new-pi4-retropie-build/7)... huge thanks to doug and [b3n](https://github.com/btlogy)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplyceo%2Fgenerikit-hid-sony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplyceo%2Fgenerikit-hid-sony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplyceo%2Fgenerikit-hid-sony/lists"}