[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
So it's a https://www.skooterblog.com/en/2011/09/16/dealextreme- adaptador-usb-para-dois-controles-gamepad-de-snes-super-nintendo-ou-sfc- super-famicom/#.XmeezHUzZPI ? I think you can try to enable more debug prints: dyndbg='file drivers/usb/* +pt; file drivers/hid/* +pt' hid.debug=1 log_buf_len=32M ignore_loglevel=1 Then try to find out the differences in `dmesg -w` output while pressing corresponding buttons on each pad. Should make sure if input reports are generated from USB transport layer, and then if the events are correctly processed in HID layer, and finally why don't have input events for some buttons. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
** Attachment added: "dmesg.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+attachment/5335299/+files/dmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
** Attachment added: "evemu-describe.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+attachment/5335298/+files/evemu-describe.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
** Attachment added: "IMG_20200309_231039.jpg" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+attachment/5335300/+files/IMG_20200309_231039.jpg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
I attached the output requested and a picture of the device: its only one adapter for two gamepads. ** Attachment added: "lsusb.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+attachment/5335297/+files/lsusb.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
Thanks for the reply, but could you also attach following logs with both gamepads attached at boot: * output of `lsusb -v -v -v -d 0E8F:3013` * output of `sudo evemu-describe /dev/input/eventX` (should be two for each gamepad, right?) * dmesg dump with kernel booted with parameters: dyndbg='file drivers/usb/* +pt' hid.debug=1 log_buf_len=32M ignore_loglevel=1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
I did what you suggested. The events are not generated. I see the same behavior I had seen with jstest: with only one gamepad, it works. With two gamepads, only one works, and the other generates events only for "EV_KEY / BTN_THUMB2" when I depress B/yellow. On the "broken" gamepad while holding B/Yellow depressed, it alsow generates events for BTN_TOP when I depress Y/green. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1866716] Re: With USB adapter 0e8f:3013 only one SNES gamepad works
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/pci:00/: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/pci:00/: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-: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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866716 Title: With USB adapter 0e8f:3013 only one SNES gamepad works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866716/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs