Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gentoo + px1800kbd #8

Open
darkicekeel opened this issue Dec 11, 2023 · 9 comments
Open

gentoo + px1800kbd #8

darkicekeel opened this issue Dec 11, 2023 · 9 comments

Comments

@darkicekeel
Copy link

hello there.
i followed as instructed, but no results. the module is loaded but no change in behaviour. pushing ctrl button results in different effect on the system, making it almost unusable because of the inhibit to change to ttx or also to use special characters or keyboard common shortcuts ctrl+c and so on...

@darkicekeel
Copy link
Author

darkicekeel commented Dec 11, 2023

ps: no initram here!
gentoo amd64

@darkicekeel
Copy link
Author

ok, fixed: the solution is to pass usbhid.quirks=0x0c45:0x7603:0x4 in GRUB_CMDLINE_LINUX in /etc/default/grub

@darkicekeel
Copy link
Author

before that i also tried other solutions, like putting
echo "0c45:7603" > /sys/bus/usb/drivers/usbhid/unbind
inside an rc.local file (and making it executable) but no results
same story with
/etc/modprobe.d/usbhid.conf
options px1800kbd quirks=0x0c45:0x7603:0x4

and

cat /etc/udev/rules.d/50-perixx1800.rules
#ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="7603", MODE="0666", PROGRAM="/bin/sh -c 'echo -n $id:1.1 >/sys/bus/usb/drivers/usbhid/unbind;echo -n $id:1.1 >/sys/bus/usb/drivers/perixxkbd/bind'"

and

/etc/X11/xorg.conf.d/perixx1800.conf
Section "InputDevice"
Identifier "Keyboard0"
Driver "px1800kbd"
Option "XkbLayout" "it"
EndSection

none of this worked, only the grub_cmdline_linux did the trick

@lolo101
Copy link
Owner

lolo101 commented Dec 21, 2023

Hi @darkicekeel and thank you for the feedback !

I am happy to see you managed to resolve the problem.
Is there any documentation improvement that would have your setup right the first time?

@lolo101
Copy link
Owner

lolo101 commented Dec 21, 2023

Actually what you describe looks like what the install.sh does.
Maybe there is an edge case that should be added to the file, what do you think?

@darkicekeel
Copy link
Author

i don't really know, and sorry for the delay. but i would just add this successful experience on gentoo as part of some troubleshooting part inside your docs. i'm not a developer so i don't know how much rude is my solution comparing to some correction directly in your install.sh, but i think it will be anyway useful. I found the solution relying on all i could find and trying. I hope this useful information for all both perixxx 1800 owners and gentoo users will save some time.

@lolo101
Copy link
Owner

lolo101 commented Feb 13, 2024

@darkicekeel do you have a directory named /etc/default/grub.d/ ?
If that directory is missing it would explain why the install script could not insert the quirk

According to this documentation the config files are directly under /etc/grub.d/

I believe that is the most probable root cause 🙂

@lolo101
Copy link
Owner

lolo101 commented Feb 13, 2024

Reopen to update the install script

@lolo101 lolo101 reopened this Feb 13, 2024
@darkicekeel
Copy link
Author

@darkicekeel do you have a directory named /etc/default/grub.d/ ? If that directory is missing it would explain why the install script could not insert the quirk

According to this documentation the config files are directly under /etc/grub.d/

I believe that is the most probable root cause 🙂

i need to check that specific computer but on other gentoo installation i've got i can see that folder in /etc
further confirmation to follow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants