Open r-burns opened 1 year ago
Update: I did all the above testing on my front 2 USB ports. I also have 6 USB ports on the rear of my desktop - 4 USB3, and 2 USB2. The 4 lower ports all work! The 2 upper ports do not work.
It is also worth noting that the front ports work when booted into the Ubuntu live USB.
What I still do not understand is why this is happening!
Edit: see comment for more details, this only applies to the front panel USB ports
I have a USB gamepad which works on an Ubuntu 22.04 LTS live boot, but does not work on NixOS. The gamepad appears to be detected and initialized correctly, but pressing buttons only creates events on Ubuntu, and has no effect on NixOS. No manual setup or prerequisite packages are necessary on Ubuntu; the gamepad is simply plug and play, which makes me think this is an issue with NixOS.
The gamepad is this fightstick: https://junkfoodarcades.com/collections/lbx/products/lbx Using this firmware: https://github.com/JonnyHaystack/HayBox
The dmesg log on plugin looks like this on both distros:
On both distros, these devices are created:
When I
cat
either of the joystick devices on Ubuntu, pressing buttons on the gamepad prints data to the screen. On NixOS, when I do the same thing nothing happens.Ubuntu 22.04 LTS is on 5.15.0-43-generic kernel. I am on NixOS unstable, and have tried the 5.15 and 5.19 kernels with the same result.