[Bug 1458631] Re: udev: /dev/input/js0 is created but no joystick attached

Thomas Andersen phomes at gmail.com
Sat Jun 13 16:23:39 UTC 2015


apport information

** Tags added: apport-collected vivid

** Description changed:

  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
+ --- 
+ ApportVersion: 2.17.2-0ubuntu1.1
+ Architecture: amd64
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  phomes     1442 F.... pulseaudio
+ CurrentDesktop: Unity
+ DistroRelease: Ubuntu 15.04
+ HibernationDevice: RESUME=UUID=fde58bd6-316d-4a14-bc85-41d8f26cec02
+ InstallationDate: Installed on 2015-03-13 (91 days ago)
+ InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150306)
+ MachineType: Hewlett-Packard HP Z400 Workstation
+ NonfreeKernelModules: nvidia
+ Package: linux (not installed)
+ ProcFB:
+  
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-20-generic root=UUID=0fad5f38-47ef-4b98-b2ac-1ff9fc3244be ro quiet splash
+ ProcVersionSignature: Ubuntu 3.19.0-20.20-generic 3.19.8
+ RelatedPackageVersions:
+  linux-restricted-modules-3.19.0-20-generic N/A
+  linux-backports-modules-3.19.0-20-generic  N/A
+  linux-firmware                             1.143.1
+ RfKill:
+  0: phy0: Wireless LAN
+  	Soft blocked: no
+  	Hard blocked: no
+ Tags:  vivid
+ Uname: Linux 3.19.0-20-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ _MarkForUpload: True
+ dmi.bios.date: 07/15/2013
+ dmi.bios.vendor: Hewlett-Packard
+ dmi.bios.version: 786G3 v03.57
+ dmi.board.asset.tag: CZC94164B9
+ dmi.board.name: 0AE4h
+ dmi.board.vendor: Hewlett-Packard
+ dmi.board.version: C
+ dmi.chassis.asset.tag: CZC94164B9
+ dmi.chassis.type: 6
+ dmi.chassis.vendor: Hewlett-Packard
+ dmi.modalias: dmi:bvnHewlett-Packard:bvr786G3v03.57:bd07/15/2013:svnHewlett-Packard:pnHPZ400Workstation:pvr:rvnHewlett-Packard:rn0AE4h:rvrC:cvnHewlett-Packard:ct6:cvr:
+ dmi.product.name: HP Z400 Workstation
+ dmi.sys.vendor: Hewlett-Packard

** Attachment added: "AlsaInfo.txt"
   https://bugs.launchpad.net/bugs/1458631/+attachment/4414261/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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 linux package in Ubuntu:
  Incomplete
Status in systemd package in Ubuntu:
  Invalid

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
  --- 
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  phomes     1442 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 15.04
  HibernationDevice: RESUME=UUID=fde58bd6-316d-4a14-bc85-41d8f26cec02
  InstallationDate: Installed on 2015-03-13 (91 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150306)
  MachineType: Hewlett-Packard HP Z400 Workstation
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-20-generic root=UUID=0fad5f38-47ef-4b98-b2ac-1ff9fc3244be ro quiet splash
  ProcVersionSignature: Ubuntu 3.19.0-20.20-generic 3.19.8
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-20-generic N/A
   linux-backports-modules-3.19.0-20-generic  N/A
   linux-firmware                             1.143.1
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  Tags:  vivid
  Uname: Linux 3.19.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 07/15/2013
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 786G3 v03.57
  dmi.board.asset.tag: CZC94164B9
  dmi.board.name: 0AE4h
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: C
  dmi.chassis.asset.tag: CZC94164B9
  dmi.chassis.type: 6
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr786G3v03.57:bd07/15/2013:svnHewlett-Packard:pnHPZ400Workstation:pvr:rvnHewlett-Packard:rn0AE4h:rvrC:cvnHewlett-Packard:ct6:cvr:
  dmi.product.name: HP Z400 Workstation
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1458631/+subscriptions



More information about the foundations-bugs mailing list