mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +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.
109 lines
3.1 KiB
Plaintext
109 lines
3.1 KiB
Plaintext
# This file is part of systemd.
|
|
#
|
|
# The lookup keys are composed in:
|
|
# 60-input-id.rules
|
|
#
|
|
# Match string formats:
|
|
# id-input:modalias:<modalias>
|
|
#
|
|
# To add local entries, create a new file
|
|
# /etc/udev/hwdb.d/61-input-id-local.hwdb
|
|
# and add your rules there. To load the new rules execute (as root):
|
|
# systemd-hwdb update
|
|
# udevadm trigger /dev/input/eventXX
|
|
# where /dev/input/eventXX is the device in question. If in
|
|
# doubt, simply use /dev/input/event* to reload all input rules.
|
|
#
|
|
# If your changes are generally applicable, send them as a pull request to
|
|
# https://github.com/systemd/systemd
|
|
# or create a bug report on https://github.com/systemd/systemd/issues and
|
|
# include your new rules, a description of the device, and the output of
|
|
# udevadm info /dev/input/eventXX
|
|
#
|
|
# This file must only be used where the input_id builtin assigns the wrong
|
|
# properties or lacks the assignment of some properties. This is almost always
|
|
# caused by a device not adhering to the standard of the device's type.
|
|
#
|
|
# Allowed properties are:
|
|
# ID_INPUT, ID_INPUT_ACCELEROMETER, ID_INPUT_MOUSE, ID_INPUT_POINTINGSTICK,
|
|
# ID_INPUT_TOUCHSCREEN, ID_INPUT_TOUCHPAD, ID_INPUT_TABLET,
|
|
# ID_INPUT_TABLET_PAD, ID_INPUT_JOYSTICK, ID_INPUT_KEY, ID_INPUT_KEYBOARD,
|
|
# ID_INPUT_SWITCH, ID_INPUT_TRACKBALL
|
|
#
|
|
# ID_INPUT
|
|
# * MUST be set when ANY of ID_INPUT_* is set
|
|
# * MUST be unset when ALL of ID_INPUT_* are unset
|
|
#
|
|
# ID_INPUT_TABLET
|
|
# * MUST be set when setting ID_INPUT_TABLET_PAD
|
|
#
|
|
# Allowed values are 1 and 0 to set or unset, respectively.
|
|
#
|
|
# NOT allowed in this file are:
|
|
# ID_INPUT_WIDTH_MM, ID_INPUT_HEIGHT_MM, ID_INPUT_TOUCHPAD_INTEGRATION
|
|
#
|
|
|
|
# Example:
|
|
# id-input:modalias:input:b0003v1234pABCD*
|
|
# ID_INPUT_TOUCHPAD=1
|
|
# ID_INPUT=1
|
|
|
|
# Sort by brand, model
|
|
|
|
# Code Mercenaries Hard- und Software GmbH Virtual RC USB
|
|
id-input:modalias:input:b0003v07C0p1125*
|
|
ID_INPUT_MOUSE=
|
|
ID_INPUT_JOYSTICK=1
|
|
|
|
# GOLD WARRIOR SIM PhoenixRC 10411R
|
|
id-input:modalias:input:b0003v1781p0898*
|
|
ID_INPUT_ACCELEROMETER=
|
|
ID_INPUT_JOYSTICK=1
|
|
|
|
# XP-PEN STAR 06
|
|
id-input:modalias:input:b0003v28bdp0078*
|
|
ID_INPUT_TABLET=1
|
|
|
|
# XBox Series Elite controller
|
|
id-input:modalias:input:b0005v045Ep0B22e0517*
|
|
ID_INPUT_JOYSTICK=1
|
|
|
|
# Lite-On Tech IBM USB Travel Keyboard with Ultra Nav Mouse
|
|
id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4*
|
|
ID_INPUT_POINTINGSTICK=1
|
|
|
|
# Logitech G915 TKL Keyboard (Bluetooth)
|
|
id-input:modalias:input:b0005v046DpB35Fe0022*
|
|
ID_INPUT_MOUSE=0
|
|
|
|
# Logitech Ultrathin Touch Mouse
|
|
id-input:modalias:input:b0005v046DpB00De0700*
|
|
ID_INPUT_MOUSE=1
|
|
|
|
# Logitech MX Keys
|
|
id-input:modalias:input:b0003v046Dp408Ae0111*
|
|
ID_INPUT_MOUSE=0
|
|
|
|
# Logitech Craft Keyboard
|
|
id-input:modalias:input:b0003v046Dp4066e0111*
|
|
ID_INPUT_MOUSE=0
|
|
|
|
# CH Products Pro Pedals
|
|
id-input:modalias:input:b0003v068Ep00F2*
|
|
ID_INPUT_ACCELEROMETER=0
|
|
ID_INPUT_JOYSTICK=1
|
|
|
|
# TEX Shinobi Trackpoint
|
|
id-input:modalias:input:b0003v04D9p0407e0111-e0,1,2,4*
|
|
ID_INPUT_POINTINGSTICK=1
|
|
|
|
# ASRock LED Controller
|
|
id-input:modalias:input:b0003v26CEp01A2*
|
|
ID_INPUT_JOYSTICK=
|
|
ID_INPUT_KEY=
|
|
ID_INPUT=
|
|
|
|
# Saitek PLC Pro Flight Rudder Pedals
|
|
id-input:modalias:input:b0003v06A3p0763*
|
|
ID_INPUT_JOYSTICK=1
|