Generic PlayStation patches. Those that were revoked by the sages.
Having to patch a file and build a entire kernel is a medium-level of knowledge to the majority of users.
But choosing which file to compile is a hard task. And that is what this repository is for.
In the middle of the repository journey, most of the systems will have a automated install.
But this day is most likely to happen very far from now. So, consider having the following:
Package | URL |
---|---|
git | https://ftp.gnu.org/gnu/git/ |
gcc | https://ftp.gnu.org/gnu/gcc/ |
make | https://ftp.gnu.org/gnu/make/ |
It is necessary the usage of kernel headers. Each distribution have a different package.
They can also be manually compiled. See this.
Optional: Other C compilers can be used too, but keep in mind that your kernel NEED to be compiled by the same provided compiler.
Tip: "su -c" can be your root manager, sudo, doas, or another...
Just remember that you need to remove the quote marks (") from every given "su -c" command.
Clone the repository:
git clone https://github.com/SimplyCEO/generikit-hid-sony.git
cd generikit-hid-sony/
Using DKMS:
su -c "sh dkms-install.sh"
Manually compiling:
make && su -c "make install clean"
Remove the older driver in order to load the generikit one:
printf "blacklist hid-sony\n" | su -c "tee /etc/modprobe.d/generikit.conf"
To load the original driver, unload generikit-hid-sony
and load hid-sony
:
su -c "modprobe --remove generikit-hid-sony"
su -c "modprobe hid-sony"
To return the generikit driver, do the other way around.
Using DKMS:
su -c "sh dkms-remove.sh"
One time this patch got revoked by the zen-kernel programmers.
Just like they said:
"I'd really prefer we don't add code for fakes."
Even knowing it is generic, the device continue being a device.
You are more than welcome to submit a fix that got revoked by the team.
If your fix has bugs in some architecture, consider putting a description in the warning.txt
file.
All the contribution should be directly sent to the devel
branch.
git checkout devel
My first closed pull request, a concept of what the project become.
PS3 generic controller forum discussion... huge thanks to doug and b3n!