mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
Fuzzy logic on joystick vs. advanced keyboard detection thinks the rudders are a keyboard. Adding this forces udev to use this device as joystick. ``` # udevadm info /dev/input/by-id/usb-Saitek_Saitek_Pro_Flight_Rudder_Pedals-event-joystick P: /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:06A3:0763.000D/input/input22/event3 M: event3 R: 3 U: input D: c 13:67 N: input/event3 L: 0 S: input/by-id/usb-Saitek_Saitek_Pro_Flight_Rudder_Pedals-event-joystick S: input/by-path/pci-0000:00:14.0-usbv2-0:3:1.0-event-joystick S: input/by-path/pci-0000:00:14.0-usb-0:3:1.0-event-joystick E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:06A3:0763.000D/input/input22/event3 E: DEVNAME=/dev/input/event3 E: MAJOR=13 E: MINOR=67 E: SUBSYSTEM=input E: USEC_INITIALIZED=10981053700 E: ID_INPUT=1 E: ID_INPUT_JOYSTICK=1 E: ID_BUS=usb E: ID_MODEL=Saitek_Pro_Flight_Rudder_Pedals E: ID_MODEL_ENC=Saitek\x20Pro\x20Flight\x20Rudder\x20Pedals E: ID_MODEL_ID=0763 E: ID_SERIAL=Saitek_Saitek_Pro_Flight_Rudder_Pedals E: ID_VENDOR=Saitek E: ID_VENDOR_ENC=Saitek E: ID_VENDOR_ID=06a3 E: ID_REVISION=0101 E: ID_TYPE=hid E: ID_USB_MODEL=Saitek_Pro_Flight_Rudder_Pedals E: ID_USB_MODEL_ENC=Saitek\x20Pro\x20Flight\x20Rudder\x20Pedals E: ID_USB_MODEL_ID=0763 E: ID_USB_SERIAL=Saitek_Saitek_Pro_Flight_Rudder_Pedals E: ID_USB_VENDOR=Saitek E: ID_USB_VENDOR_ENC=Saitek E: ID_USB_VENDOR_ID=06a3 E: ID_USB_REVISION=0101 E: ID_USB_TYPE=hid E: ID_USB_INTERFACES=:030000: E: ID_USB_INTERFACE_NUM=00 E: ID_USB_DRIVER=usbhid E: ID_PATH_WITH_USB_REVISION=pci-0000:00:14.0-usbv2-0:3:1.0 E: ID_PATH=pci-0000:00:14.0-usb-0:3:1.0 E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_3_1_0 E: ID_FOR_SEAT=input-pci-0000_00_14_0-usb-0_3_1_0 E: LIBINPUT_DEVICE_GROUP=3/6a3/763:usb-0000:00:14.0-3 E: DEVLINKS=/dev/input/by-id/usb-Saitek_Saitek_Pro_Flight_Rudder_Pedals-event-joystick /dev/input/by-path/pci-0000:00:14.0-usbv2-0:3:1.0-event-joystick /dev/input/by-path/pci-0000:00:14.> E: TAGS=:seat:uaccess: E: CURRENT_TAGS=:seat:uaccess: ``` ``` # lsusb |fgrep Sait Bus 001 Device 013: ID 06a3:0763 Saitek PLC Pro Flight Rudder Pedals ``` Closes #34642.
Files in this directory specify a description of hardware devices, in the form of mappings from modalias-like keys (which identify specific hardware devices) to udev properties. Files in this directory are not read by udev directly. Instead, man:systemd-hwdb(8) compiles them into a binary database. See man:hwdb(7) for an overview of the configuration file format, and man:systemd-udevd.service(8) for a description of the udev daemon. Use 'systemd-analyze cat-config udev/hwdb.d' to display the effective config.