touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #81901
[Bug 1458631] Re: udev: /dev/input/js0 is created but no joystick attached
Hey Thomas,
can you pleae copy&paste the output of
udevadm test-builtin input_id /class/input/js0 ?
This will show the precise capabilities that the device reports.
>From your udevadm info output it appears that this isn't just an
input_id mis-interpretation though, but that the usbhid kernel driver
itself finds/creates a joystick device? "dmesg | grep -i hid" might also
be helpful, can you please include that too?
** Changed in: systemd (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1458631
Title:
udev: /dev/input/js0 is created but no joystick attached
Status in systemd package in Ubuntu:
Incomplete
Bug description:
With ubuntu vivid i see a /dev/input/js0. I do not have a joystick or
gamepad attached. This invalid input device cause a game in steam
"Crypt of the necrodancer" to crash during start. The game works fine
when I delete it.
This appears to be a ubuntu specific bug as it does not show up on
fedora 22.
It goes away if I unplug the mouse/keyboard usb dongle I use. If I
attach a wired keyboard only it does not show up. I tried adding a
wired mouse too, but that causes js0 to appear too. The output of
udevadm changes depending on what mouse I have attached. The following
output is from using the dongle for my wireless mouse/keyboard (both
microsoft products)
$sudo udevadm info /dev/input/js0
P: /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.2/0003:045E:0745.0003/input/input7/js0
N: input/js0
S: input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v6.0-if02-joystick
S: input/by-path/pci-0000:00:1a.2-usb-0:1:1.2-joystick
E: DEVLINKS=/dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v6.0-if02-joystick /dev/input/by-path/pci-0000:00:1a.2-usb-0:1:1.2-joystick
E: DEVNAME=/dev/input/js0
E: DEVPATH=/devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.2/0003:045E:0745.0003/input/input7/js0
E: ID_BUS=usb
E: ID_FOR_SEAT=input-pci-0000_00_1a_2-usb-0_1_1_2
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_MODEL=Microsoft®_2.4GHz_Transceiver_v6.0
E: ID_MODEL_ENC=Microsoft®\x202.4GHz\x20Transceiver\x20v6.0
E: ID_MODEL_ID=0745
E: ID_PATH=pci-0000:00:1a.2-usb-0:1:1.2
E: ID_PATH_TAG=pci-0000_00_1a_2-usb-0_1_1_2
E: ID_REVISION=0251
E: ID_SERIAL=Microsoft_Microsoft®_2.4GHz_Transceiver_v6.0
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030101:030102:030000:
E: ID_USB_INTERFACE_NUM=02
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_ID=045e
E: MAJOR=13
E: MINOR=0
E: SUBSYSTEM=input
E: TAGS=:seat:uaccess:
E: USEC_INITIALIZED=117298
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1458631/+subscriptions
References