Could you install https://packages.ubuntu.com/bionic/evemu-tools, and
run:

  $ sudo evemu-record /dev/input/eventX

Attach both of your gamepads one by one, use `dmesg -w` to find out the
input device ids similar to following messages:

[   45.791960] input: HuiJia  USB GamePad as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0E8F:3013.0001/input/input17
[   45.848217] input: HuiJia  USB GamePad as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0E8F:3013.0001/input/input18
[   45.848335] hid-generic 0003:0E8F:3013.0001: input,hidraw0: USB HID v1.10 
Joystick [HuiJia  USB GamePad] on usb-0000:00:1a.0-1.2/input0

In the above case, X is 17 or 18. Try all those buttons on the broken to
see if it still generates event. Let's make sure if it's a kernel issue
or not first.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1866716

Title:
  With USB adapter 0e8f:3013 only one SNES gamepad works

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB adapter for two SNES gamepads. According to dmesg/lsusb it is a 
"HuiJia USB GamePad", "GreenAsia Inc."
  I have two SNES gamepads (both SNSP-005, but the PCB inside have different 
1992, 1995 dates), both working with the SNES. If I attach both the gamepads to 
the adapter, only one works, always the same, so it does not seem related to 
the adapter ports. If I attach only one gamepad it works, regardless of the 
port. I used jstest to test the functionality. Curiously, when they are both 
attached, the broken one has only one button working (no D-pad, no 
start/select, no L/R), and while holding the working button, another one can be 
detected.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-88-generic 4.15.0-88.88
  ProcVersionSignature: Ubuntu 4.15.0-88.88-generic 4.15.18
  Uname: Linux 4.15.0-88-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k4.15.0-88-generic.
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  bruno      1150 F.... pulseaudio
   /dev/snd/controlC0:  bruno      1150 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf5330000 irq 29'
     Mixer name : 'Realtek ALC269VC'
     Components : 'HDA:10ec0269,17aa2204,00100203'
     Controls      : 30
     Simple ctrls  : 15
  Card1.Amixer.info:
   Card hw:1 'NVidia'/'HDA NVidia at 0xf3000000 irq 17'
     Mixer name : 'Nvidia GPU 42 HDMI/DP'
     Components : 'HDA:10de0042,17aa21f6,00100100'
     Controls      : 21
     Simple ctrls  : 3
  CurrentDesktop: LXDE
  Date: Mon Mar  9 23:27:19 2020
  HibernationDevice: RESUME=UUID=ca0cd25e-d4bf-478c-9519-f5e1448f92c3
  InstallationDate: Installed on 2018-10-31 (495 days ago)
  InstallationMedia: Lubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  MachineType: LENOVO 24474MG
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-88-generic 
root=UUID=4294c7b9-7f9d-45e7-b4ab-59a21bf6ab9c ro quiet splash vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-88-generic N/A
   linux-backports-modules-4.15.0-88-generic  N/A
   linux-firmware                             1.173.16
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/25/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: G5ET64WW (2.06 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 24474MG
  dmi.board.vendor: LENOVO
  dmi.board.version: Win8 Pro DPK TPG
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvrG5ET64WW(2.06):bd10/25/2012:svnLENOVO:pn24474MG:pvrThinkPadW530:rvnLENOVO:rn24474MG:rvrWin8ProDPKTPG:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.family: ThinkPad W530
  dmi.product.name: 24474MG
  dmi.product.version: ThinkPad W530
  dmi.sys.vendor: LENOVO

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to