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

new udev rule example does not work #56

Open
BFCE opened this issue Jul 4, 2024 · 0 comments
Open

new udev rule example does not work #56

BFCE opened this issue Jul 4, 2024 · 0 comments

Comments

@BFCE
Copy link

BFCE commented Jul 4, 2024

setting this:

SUBSYSTEM=="hid", ATTRS{driver}=="hid-t150", ATTR{range}="270", ATTR{gain}="75"

into /etc/udev/rules.d/99-t150-defaults.rules does not do anything

however using this:
SUBSYSTEM=="usb", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b677", ATTR{range}="270"

works fine.

output of dmesg:

[ 238.267581] usb 1-7: new full-speed USB device number 6 using xhci_hcd [ 238.570996] usb 1-7: New USB device found, idVendor=044f, idProduct=b65d, bcdDevice= 1.00 [ 238.571004] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 238.571010] usb 1-7: Product: Thrustmaster FFB Wheel [ 238.571014] usb 1-7: Manufacturer: Thrustmaster [ 238.609066] input: Thrustmaster Thrustmaster FFB Wheel as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7:1.0/0003:044F:B65D.000C/input/input37 [ 238.609241] hid-thrustmaster 0003:044F:B65D.000C: input,hidraw8: USB HID v1.00 Gamepad [Thrustmaster Thrustmaster FFB Wheel] on usb-0000:03:00.0-7/input0 [ 238.628745] Error: Driver 'hid-thrustmaster' is already registered, aborting... [ 238.630988] hid-thrustmaster 0003:044F:B65D.000C: Wheel with model id 0x306 is a Thrustmaster T150RS [ 238.635089] usb 1-7: USB disconnect, device number 6 [ 238.635297] hid-thrustmaster 0003:044F:B65D.000C: Success?! The wheel should have been initialized! [ 239.007508] usb 1-7: new full-speed USB device number 7 using xhci_hcd [ 239.374997] usb 1-7: New USB device found, idVendor=044f, idProduct=b677, bcdDevice= 1.00 [ 239.375006] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 239.375011] usb 1-7: Product: Thrustmaster T150RS [ 239.375015] usb 1-7: Manufacturer: Thrustmaster [ 239.388483] input: Thrustmaster Thrustmaster T150RS as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7:1.0/0003:044F:B677.000D/input/input38 [ 239.388706] hid-t150 0003:044F:B677.000D: input,hidraw8: USB HID v1.11 Joystick [Thrustmaster Thrustmaster T150RS] on usb-0000:03:00.0-7/input0 [ 239.403998] hid-t150 0003:044F:B677.000D: Setup completed! Firmware version is 35

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

1 participant