Bug 1393096 - 8bitdo SNES30 joypad no longer registering in evtest [NEEDINFO]
Summary: 8bitdo SNES30 joypad no longer registering in evtest
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 24
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-08 20:45 UTC by lmanning17
Modified: 2017-04-28 17:27 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-28 17:27:36 UTC
Type: Bug
jforbes: needinfo?


Attachments (Terms of Use)
cli output (2.15 KB, text/plain)
2016-11-08 20:45 UTC, lmanning17
no flags Details

Description lmanning17 2016-11-08 20:45:12 UTC
Created attachment 1218702 [details]
cli output

Description of problem:
Plugging in my 8bitdo SNES30 joypad via USB no longer registers the device correctly and I cannot use it to play games.


Version-Release number of selected component (if applicable):
latest as of this date


How reproducible:
100%, cannot get controller to function despite my best efforts


Steps to Reproduce:
1. Connect controller to pc via USB
2. Run evtest
3. Run journalctl -f

Actual results:
Device does not show up in evtest

Expected results:
Device shows up in evtest and allows me to press buttons


Additional info:
Device does show up in journalctl -f but only as hidraw, no events listed. I am also able to run firmware updates on the device so there is no question that Linux is detecting it.

This device used to work fine until recently. I haven't been able to test previous kernel versions, but it did run fine on 4.7.5, and now does not run fine on 4.8.4, 4.8.6. I am unsure if this is a coincidence, though.

Comment 1 Peter Hutterer 2016-11-08 23:17:47 UTC
Punting to the kernel, if evtest doesn't show the device it's a kernel issue. Just to confirm though: does /proc/bus/input/devices list the device at all? If so, what's the entry for it?

Comment 2 lmanning17 2016-11-08 23:23:08 UTC
Doesn't look like it's showing up in there, either.

Comment 3 Benjamin Tissoires 2016-11-09 09:16:14 UTC
I am afraid one of my commits might have broken your gamepad. Could you please install hid-replay and provide me the output of hid-recorder (running as root) for your gamepad?
Ideally, add some events in the output so I can have a basis to reproduce locally.

Comment 4 lmanning17 2016-11-09 15:25:17 UTC
Looks like the controller isn't even showing up in here, either...

[Karai@monolith ~] $ sudo hid-recorder
Available devices:
/dev/hidraw1:	Logitech USB Keyboard
/dev/hidraw2:	Logitech USB Keyboard
/dev/hidraw3:	BLUE MICROPHONE Blue Snowball 
/dev/hidraw5:	HUION Pentablet
/dev/hidraw6:	HUION Pentablet
/dev/hidraw7:	Logitech USB Receiver
/dev/hidraw8:	HUION Pentablet
/dev/hidraw9:	Logitech M510
Select the device event number [0-7]: ^C

But when I run journalctl -f again, I can watch the events of plugging it in and whatnot...

Comment 5 Benjamin Tissoires 2016-11-09 15:45:57 UTC
Weird.

Could you run the hid-recorder trace on a working kernel? (4.7.5)

Comment 6 lmanning17 2016-11-10 02:58:55 UTC
Here is the output from my laptop running FC23~

[karai@tsubasa ~] $ journalctl -f
-- Logs begin at Mon 2016-05-09 13:47:49 ADT. --
Nov 09 22:53:47 tsubasa kernel: usb 3-1: new full-speed USB device number 2 using xhci_hcd
Nov 09 22:53:47 tsubasa kernel: usb 3-1: New USB device found, idVendor=1235, idProduct=ab20
Nov 09 22:53:47 tsubasa kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 09 22:53:47 tsubasa kernel: usb 3-1: Product: SNES30 Joy    
Nov 09 22:53:47 tsubasa kernel: usb 3-1: Manufacturer: SNES30            
Nov 09 22:53:47 tsubasa kernel: input: SNES30             SNES30 Joy     as /devices/pci0000:00/0000:00:1c.7/0000:25:00.0/usb3/3-1/3-1:1.0/0003:1235:AB20.0001/input/input23
Nov 09 22:53:47 tsubasa kernel: hid-generic 0003:1235:AB20.0001: input,hidraw0: USB HID v1.10 Joystick [SNES30             SNES30 Joy    ] on usb-0000:25:00.0-1/input0
Nov 09 22:53:47 tsubasa mtp-probe[12658]: checking bus 3, device 2: "/sys/devices/pci0000:00/0000:00:1c.7/0000:25:00.0/usb3/3-1"
Nov 09 22:53:47 tsubasa mtp-probe[12658]: bus: 3, device: 2 was not an MTP device
Nov 09 22:53:47 tsubasa /usr/libexec/gdm-x-session[1607]: (II) config/udev: Adding input device SNES30             SNES30 Joy     (/dev/input/js1)
Nov 09 22:53:47 tsubasa /usr/libexec/gdm-x-session[1607]: (II) No input driver specified, ignoring this device.
Nov 09 22:53:47 tsubasa /usr/libexec/gdm-x-session[1607]: (II) This device may have been added with another device file.
Nov 09 22:53:47 tsubasa /usr/libexec/gdm-x-session[1607]: (II) config/udev: Adding input device SNES30             SNES30 Joy     (/dev/input/event17)
Nov 09 22:53:47 tsubasa /usr/libexec/gdm-x-session[1607]: (II) No input driver specified, ignoring this device.
Nov 09 22:53:47 tsubasa /usr/libexec/gdm-x-session[1607]: (II) This device may have been added with another device file.
Nov 09 22:53:51 tsubasa PackageKit[1316]: get-updates transaction /3508_bcceeded from uid 1000 finished with success after 318ms
^C


[karai@tsubasa ~] $ sudo hid-recorder
Available devices:
/dev/hidraw0:	SNES30             SNES30 Joy    
Select the device event number [0-0]: 0
D: 0
R: 99 05 01 09 04 a1 01 a1 02 75 08 95 04 15 00 26 ff 00 35 00 46 ff 00 09 30 09 31 09 32 09 35 81 02 75 04 95 01 25 07 46 3b 01 65 14 09 39 81 42 65 00 75 01 95 0c 25 01 45 01 05 09 19 01 29 0c 81 02 06 00 ff 75 01 95 08 25 01 45 01 09 01 81 02 c0 a1 02 75 08 95 08 46 ff 00 26 ff 00 09 02 91 02 c0 c0
N: SNES30             SNES30 Joy    
P: usb-0000:25:00.0-1/input0
I: 3 1235 ab20
D: 0
E: 0.000001 7 80 80 80 80 0f 80 00
E: 0.223942 7 80 80 80 80 0f 00 00
E: 0.319948 7 80 80 80 80 0f 40 00
E: 0.543993 7 80 80 80 80 0f 00 00
E: 0.607929 7 80 80 80 80 2f 01 00
E: 0.671918 7 80 80 80 80 2f 09 00
E: 0.863884 7 ff 80 80 80 2f 0c 00
E: 0.895800 7 ff 80 80 80 0f 04 00
E: 0.927829 7 ff 00 80 80 0f 04 00
E: 0.959844 7 80 00 80 80 0f 04 00
E: 1.023910 7 00 00 80 80 0f 04 00
E: 1.055860 7 80 00 80 80 1f 00 00
E: 1.087888 7 80 80 80 80 1f 00 00
E: 1.119925 7 80 80 80 80 1f 08 00
E: 1.279864 7 80 00 80 80 0f 00 00
E: 1.439912 7 80 00 80 80 8f 00 00
E: 1.471903 7 80 80 80 80 8f 00 00
E: 1.631949 7 80 ff 80 80 0f 00 00
E: 1.759924 7 80 ff 80 80 0f 01 00
E: 1.791904 7 80 80 80 80 0f 01 00
E: 1.887802 7 80 80 80 80 2f 01 00
E: 1.919843 7 80 00 80 80 2f 00 00
E: 1.951820 7 00 00 80 80 2f 00 00
E: 1.983867 7 00 00 80 80 0f 00 00
E: 2.079896 7 80 80 80 80 3f 00 00
E: 2.207930 7 80 80 80 80 1f 00 00
E: 2.239872 7 00 00 80 80 1f 00 00
E: 2.271899 7 00 00 80 80 0f 00 00
E: 2.367951 7 80 00 80 80 8f 00 00
E: 2.399827 7 80 80 80 80 8f 00 00
E: 2.495918 7 80 00 80 80 8f 00 00
E: 2.559824 7 80 00 80 80 0f 00 00
E: 2.655799 7 80 80 80 80 0f 01 00
E: 2.815878 7 ff 80 80 80 0f 01 00
E: 2.847773 7 ff 80 80 80 0f 00 00
E: 2.879893 7 ff 80 80 80 0f 04 00
E: 2.943920 7 ff 00 80 80 0f 04 00
E: 2.975913 7 ff 80 80 80 0f 0d 00
E: 3.007890 7 80 80 80 80 0f 0d 00
E: 3.039853 7 80 80 80 80 2f 09 00
E: 3.167902 7 80 80 80 80 0f 09 00
E: 3.199893 7 80 80 80 80 0f 05 00
E: 3.231897 7 80 80 80 80 0f 04 00
E: 3.391899 7 80 80 80 80 0f 00 00
E: 3.423876 7 80 80 80 80 0f 01 00
E: 3.583882 7 80 80 80 80 0f 00 00
E: 3.615762 7 80 80 80 80 0f 40 00
E: 3.807923 7 80 80 80 80 0f c0 00
E: 3.871909 7 80 80 80 80 0f 80 00
E: 4.031834 7 80 ff 80 80 0f 00 00
E: 4.063864 7 ff ff 80 80 0f 00 00
E: 4.095857 7 ff ff 80 80 0f 04 00
E: 4.223928 7 ff ff 80 80 2f 05 00
E: 4.255735 7 ff 80 80 80 2f 05 00
E: 4.287727 7 80 80 80 80 2f 09 00
E: 4.415881 7 80 00 80 80 2f 0d 00
E: 4.447831 7 80 00 80 80 2f 05 00
E: 4.479870 7 00 00 80 80 0f 04 00
E: 4.575881 7 00 00 80 80 1f 04 00
E: 4.607795 7 80 80 80 80 9f 00 00
E: 4.703902 7 80 80 80 80 8f 00 00
E: 4.735815 7 80 00 80 80 8f 00 00
E: 4.767833 7 00 00 80 80 8f 00 00
E: 4.799849 7 00 00 80 80 0f 00 00
E: 4.831849 7 80 00 80 80 0f 00 00
E: 4.927911 7 80 00 80 80 2f 01 00
E: 4.959741 7 80 80 80 80 2f 01 00
E: 5.087896 7 ff 80 80 80 2f 01 00
E: 5.119784 7 ff 80 80 80 0f 04 00
E: 5.247857 7 ff 80 80 80 1f 04 00
E: 5.279869 7 80 80 80 80 1f 00 00
E: 5.375893 7 00 80 80 80 1f 00 00
E: 5.407720 7 00 00 80 80 1f 00 00
E: 5.439856 7 00 00 80 80 0f 00 00
E: 5.471751 7 00 00 80 80 0f 04 00
E: 5.567854 7 80 80 80 80 0f 01 00
E: 5.695829 7 80 80 80 80 0f 05 00
E: 5.727776 7 ff 00 80 80 0f 05 00
E: 5.759829 7 ff 00 80 80 0f 04 00
E: 5.855773 7 80 80 80 80 0f 00 00
E: 5.951873 7 80 80 80 80 0f 80 00
E: 6.079842 7 80 80 80 80 0f c0 00
E: 6.143830 7 80 80 80 80 0f 40 00
E: 6.303839 7 80 80 80 80 0f 80 00
E: 6.463828 7 80 80 80 80 0f c0 00
E: 6.495797 7 80 80 80 80 0f 40 00
E: 6.655813 7 80 80 80 80 0f 80 00
E: 6.815859 7 80 80 80 80 0f c0 00
E: 6.847768 7 80 80 80 80 0f 40 00
E: 6.943821 7 80 80 80 80 0f 00 00
E: 7.007829 7 80 80 80 80 0f 01 00
E: 7.135864 7 ff 80 80 80 0f 01 00
E: 7.199819 7 ff 80 80 80 0f 00 00
E: 7.327850 7 80 80 80 80 8f 00 00
E: 7.487771 7 80 00 80 80 0f 00 00
E: 7.647689 7 80 80 80 80 2f 00 00
E: 7.839805 7 80 ff 80 80 0f 00 00
E: 7.999842 7 80 80 80 80 1f 00 00
E: 8.127833 7 00 80 80 80 1f 00 00
E: 8.159778 7 00 80 80 80 0f 00 00
E: 8.255796 7 80 80 80 80 0f 00 00
E: 8.319784 7 80 80 80 80 8f 00 00
E: 8.447838 7 80 00 80 80 8f 00 00
E: 8.479701 7 80 00 80 80 8f 04 00
E: 8.511764 7 80 00 80 80 0f 04 00
E: 8.607794 7 80 00 80 80 0f 05 00
E: 8.671768 7 80 80 80 80 2f 01 00
E: 8.735813 7 80 80 80 80 2f 09 00
E: 8.863685 7 ff 80 80 80 2f 09 00
E: 8.895661 7 ff 80 80 80 2f 0d 00
E: 8.927757 7 ff 80 80 80 0f 0d 00
E: 8.959757 7 ff 80 80 80 0f 04 00
E: 9.119782 7 80 80 80 80 0f 00 00
E: 9.151765 7 80 80 80 80 0f 80 00
E: 9.279824 7 80 00 80 80 0f 84 00
E: 9.311711 7 80 00 80 80 0f 04 00
E: 9.439797 7 80 00 80 80 0f 00 00
E: 9.471814 7 80 80 80 80 0f 00 00
E: 9.503780 7 80 80 80 80 af 09 00
E: 9.663689 7 80 00 80 80 8f 0d 00
E: 9.695709 7 80 00 80 80 0f 04 00
E: 9.791787 7 80 00 80 80 0f 05 00
E: 9.823789 7 80 80 80 80 0f 01 00
E: 9.855795 7 80 80 80 80 0f 09 00
E: 9.951773 7 80 80 80 80 0f 00 00
^C

Comment 7 Benjamin Tissoires 2016-11-10 11:39:56 UTC
Thanks. However, next time please attach the logs as an attachment, not inlined.

So this is weird. If I replay your logs on a 4.8.4-200.fc24, it seems to be working (at least the device appears and can emit events).

I can also state that the commit I was thinking doesn't interfere with this particular device.

So could you downgrade your kernel (to 4.7.5) on your F24 box and see if fails there? I suspect some udev script might be interfering.

Comment 8 lmanning17 2016-11-11 00:56:07 UTC
Apparently my nvidia drivers are being a serious pain, and trying to boot into 4.7.5 causes my monitor to go out of range. What udev script(s) might I be looking for that could be causing issues here?

Comment 9 lmanning17 2016-11-15 06:16:13 UTC
I tried removing all files from /etc/udev/rules.d and rebooting, didn't seem to help.

Comment 10 lmanning17 2017-01-02 20:14:32 UTC
My Bluetooth dongle seems to be working now in Fedora 25 (more or less...) so I am able to connect the controller via Bluetooth. Connecting via USB still doesn't seem to work anymore, but I'm less concerned now that Bluetooth is working properly.

Comment 11 Justin M. Forbes 2017-04-11 15:02:39 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 24 kernel bugs.

Fedora 25 has now been rebased to 4.10.9-100.fc24.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 26, and are still experiencing this issue, please change the version to Fedora 26.

If you experience different issues, please open a new bug report for those.

Comment 12 Justin M. Forbes 2017-04-28 17:27:36 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the 
relevant data from the latest kernel you are running and any data that might have been requested previously.


Note You need to log in before you can comment on or make changes to this bug.