Hello
i am relativly new to nixos and wanted to migrate fully to linux. The only problem I have, is that my Logitech G923 is not working.
I have tried everything.
Installed Oversteer, lg4ff for kernel 6.9, updated my kernel to 6.9, installed the linux headers and the usb-modeswitch. Nothing worked.
The I read in this article: GitHub - ZRtmWrJqXcjbqBLIMBYMCeUw/Logitech-G923-Linux-Kernel-Driver: This project is intended to add support for the Logitech G923 steering wheel to the Linux kernel.
that i needed to make a udev rule, so that the wheel switches from PS mode to PC mode.
I configured it in my nix config like this:
services.udev.extraRules = ''
ATTR{idVendor}=="046d", ATTR{idProduct}=="c267", RUN+="/usr/sbin/usb_modeswitch -v 046d -p c267 -M 30f8090701010000 -m 03 -r 03" # udev rule for logitech g923 so it switches from PS Mode to PC mode
'';
But there i got following error:
FAIL
/usr/sbin/usb_modeswitch is called in udev rules but is not executable or does not exist
error: builder for '/nix/store/0nas46bvpgq8dqh3vcx9xpyk5rf5hfxn-udev-rules.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/lq2lg8zhxlwp8f5bjirnlz4pwd5nlgil-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k8bhh312cc47x332kplvd226f7nk5zr9-nixos-system-nixos-23.11.7609.5c2ec3a5c2ee.drv' failed to build
However with the dmesg command i can see that the wheel is recognised.
Thank you