Open 2A4U opened 2 years ago
Here is the output of udevadm info -q all -n /dev/input/event20
:
P: /devices/pci0000:00/0000:00:07.0/0000:04:00.0/usb10/10-2/10-2:1.0/0003:057E:2009.000E/input/input42/event20
N: input/event20
S: input/by-id/usb-Nintendo_Co.__Ltd._Pro_Controller_000000000001-event-joystick
S: input/by-path/pci-0000:04:00.0-usb-0:2:1.0-event-joystick
E: DEVLINKS=/dev/input/by-id/usb-Nintendo_Co.__Ltd._Pro_Controller_000000000001-event-joystick /dev/input/by-path/pci-0000:04:00.0-usb-0:2:1.0-event-joystick
E: DEVNAME=/dev/input/event20
E: DEVPATH=/devices/pci0000:00/0000:00:07.0/0000:04:00.0/usb10/10-2/10-2:1.0/0003:057E:2009.000E/input/input42/event20
E: ID_BUS=usb
E: ID_FOR_SEAT=input-pci-0000_04_00_0-usb-0_2_1_0
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_MODEL=Pro_Controller
E: ID_MODEL_ENC=Pro\x20Controller
E: ID_MODEL_ID=2009
E: ID_PATH=pci-0000:04:00.0-usb-0:2:1.0
E: ID_PATH_TAG=pci-0000_04_00_0-usb-0_2_1_0
E: ID_REVISION=0210
E: ID_SERIAL=Nintendo_Co.__Ltd._Pro_Controller_000000000001
E: ID_SERIAL_SHORT=000000000001
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Nintendo_Co.__Ltd.
E: ID_VENDOR_ENC=Nintendo\x20Co.\x2c\x20Ltd.
E: ID_VENDOR_ID=057e
E: MAJOR=13
E: MINOR=84
E: SUBSYSTEM=input
E: TAGS=:joycond:seat:
E: USEC_INITIALIZED=231880786
The output of udevadm info -q all -n /dev/input/event21
:
P: /devices/pci0000:00/0000:00:07.0/0000:04:00.0/usb10/10-2/10-2:1.0/0003:057E:2009.000E/input/input43/event21
N: input/event21
S: input/by-id/usb-Nintendo_Co.__Ltd._Pro_Controller_000000000001-event-if00
S: input/by-path/pci-0000:04:00.0-usb-0:2:1.0-event
E: DEVLINKS=/dev/input/by-id/usb-Nintendo_Co.__Ltd._Pro_Controller_000000000001-event-if00 /dev/input/by-path/pci-0000:04:00.0-usb-0:2:1.0-event
E: DEVNAME=/dev/input/event21
E: DEVPATH=/devices/pci0000:00/0000:00:07.0/0000:04:00.0/usb10/10-2/10-2:1.0/0003:057E:2009.000E/input/input43/event21
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_ACCELEROMETER=1
E: ID_INPUT_HEIGHT_MM=15
E: ID_INPUT_WIDTH_MM=15
E: ID_MODEL=Pro_Controller
E: ID_MODEL_ENC=Pro\x20Controller
E: ID_MODEL_ID=2009
E: ID_PATH=pci-0000:04:00.0-usb-0:2:1.0
E: ID_PATH_TAG=pci-0000_04_00_0-usb-0_2_1_0
E: ID_REVISION=0210
E: ID_SERIAL=Nintendo_Co.__Ltd._Pro_Controller_000000000001
E: ID_SERIAL_SHORT=000000000001
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Nintendo_Co.__Ltd.
E: ID_VENDOR_ENC=Nintendo\x20Co.\x2c\x20Ltd.
E: ID_VENDOR_ID=057e
E: MAJOR=13
E: MINOR=85
E: SUBSYSTEM=input
E: TAGS=:uaccess:
E: USEC_INITIALIZED=231875646
linux-next kernel is installed with the new Nintendo HID driver.
This is using a USB-C cable for the Switch Pro controller.
How is the following solved?
Xorg.0.log: