Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nygacn Fighting Joystick Not working on Gentoo,
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
adsicks
n00b
n00b


Joined: 08 Sep 2012
Posts: 37
Location: Oklahoma, USA

PostPosted: Mon Oct 17, 2016 4:52 pm    Post subject: Nygacn Fighting Joystick Not working on Gentoo, Reply with quote

Same machine, dual boots Ubuntu Studio, and this stick works out of the box. But no dice on my Gentoo setup. The only glaring sifference is I have plasma 5 setup on the Gentoo side. A unplug and replug of the device give this dmesg:

Gentoo
Code:
[  419.209689] usb 2-3.3: USB disconnect, device number 9
[  421.233686] usb 2-3.3: new full-speed USB device number 11 using xhci_hcd
[  421.335828] usb 2-3.3: New USB device found, idVendor=2563, idProduct=0575
[  421.335832] usb 2-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  421.335833] usb 2-3.3: Product: PS3/PC Gamepad
[  421.335835] usb 2-3.3: Manufacturer: SHANWAN
[  421.336039] usb 2-3.3: ep 0x2 - rounding interval to 64 microframes, ep desc says 80 microframes
[  421.336045] usb 2-3.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[  421.338945] input: SHANWAN PS3/PC Gamepad as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.3/2-3.3:1.0/0003:2563:0575.0006/input/input25
[  421.393957] hid-generic 0003:2563:0575.0006: input,hidraw3: USB HID v1.10 Gamepad [SHANWAN PS3/PC Gamepad] on usb-0000:00:14.0-3.3/input0
[  421.513415] usb 2-3.3: USB disconnect, device number 11
[  421.853651] usb 2-3.3: new full-speed USB device number 12 using xhci_hcd
[  421.955954] usb 2-3.3: New USB device found, idVendor=20bc, idProduct=5500
[  421.955958] usb 2-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  421.955959] usb 2-3.3: Product: Android Gamepad
[  421.955961] usb 2-3.3: Manufacturer: SHANWAN
[  421.956164] usb 2-3.3: ep 0x2 - rounding interval to 64 microframes, ep desc says 80 microframes
[  421.956168] usb 2-3.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[  421.956173] usb 2-3.3: ep 0x83 - rounding interval to 64 microframes, ep desc says 80 microframes


Ubuntu
Code:
[  552.318242] usb 2-3.2: new full-speed USB device number 16 using xhci_hcd
[  552.393111] usb 2-3.2: New USB device found, idVendor=2563, idProduct=0575
[  552.393115] usb 2-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  552.393117] usb 2-3.2: Product: PS3/PC Gamepad
[  552.393118] usb 2-3.2: Manufacturer: SHANWAN
[  552.393252] usb 2-3.2: ep 0x2 - rounding interval to 64 microframes, ep desc says 80 microframes
[  552.393257] usb 2-3.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[  552.395804] input: SHANWAN PS3/PC Gamepad as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.2/2-3.2:1.0/0003:2563:0575.0007/input/input25
[  552.446447] hid-generic 0003:2563:0575.0007: input,hidraw3: USB HID v1.10 Gamepad [SHANWAN PS3/PC Gamepad] on usb-0000:00:14.0-3.2/input0
[  552.478484] TCP: request_sock_TCP: Possible SYN flooding on port 38306. Sending cookies.  Check SNMP counters.
[  552.637534] usb 2-3.2: USB disconnect, device number 16
[  552.817233] usb 2-3.2: new full-speed USB device number 17 using xhci_hcd
[  552.892571] usb 2-3.2: New USB device found, idVendor=20bc, idProduct=5500
[  552.892575] usb 2-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  552.892577] usb 2-3.2: Product: Android Gamepad
[  552.892579] usb 2-3.2: Manufacturer: SHANWAN
[  552.892760] usb 2-3.2: ep 0x2 - rounding interval to 64 microframes, ep desc says 80 microframes
[  552.892764] usb 2-3.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[  552.892769] usb 2-3.2: ep 0x83 - rounding interval to 64 microframes, ep desc says 80 microframes
[  552.895852] input: SHANWAN Android Gamepad as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.2/2-3.2:1.0/0003:20BC:5500.0008/input/input26
[  552.946458] betop 0003:20BC:5500.0008: input,hidraw3: USB HID v1.10 Gamepad [SHANWAN Android Gamepad] on usb-0000:00:14.0-3.2/input0
[  552.946473] betop 0003:20BC:5500.0008: Force feedback for betop devices by huangbo <huangbobupt@163.com>
[  552.948216] input: SHANWAN Android Gamepad as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.2/2-3.2:1.1/0003:20BC:5500.0009/input/input27
[  552.999493] betop 0003:20BC:5500.0009: input,hidraw4: USB HID v1.01 Device [SHANWAN Android Gamepad] on usb-0000:00:14.0-3.2/input1
[  552.999499] betop 0003:20BC:5500.0009: no output reports found

On Ubuntu it is going ahead and assigning the events, but not on Gentoo.

lsusb -t

Gentoo
Code:
    |__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 3: Dev 12, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 12, If 1, Class=Human Interface Device, Driver=usbhid, 12M


Ubuntu:
Code:

    |__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 2: Dev 17, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 17, If 1, Class=Human Interface Device, Driver=usbhid, 12M


lsinput

Gentoo (it is not there):

Code:
 0: 0001:0001 I8042  isa0060/serio0/i AT Translated Set 2 keyb KEY MSC LED     
 1: 0002:0001 I8042  isa0060/serio4/i PS/2 Logitech Wheel Mous KEY REL         
 2: 1c4f:0054 USB    usb-0000:00:14.0 SIGMACHIP Usb Mouse      KEY REL MSC     
 3: 413c:2005 USB    usb-0000:00:14.0 DELL DELL USB Keyboard   KEY MSC LED     
 4: 040d:3417 USB    usb-0000:00:14.0 VIA Technologies Inc. US KEY MSC         
 5: 0000:0005 HOST   PNP0C0D/button/i Lid Switch               SW             
 6: 0000:0003 HOST   PNP0C0E/button/i Sleep Button             KEY             
 7: 0000:0001 HOST   LNXPWRBN/button/ Power Button             KEY             
 8: 001f:0001 ISA    isa0061/input0   PC Speaker               SND             
 9: 0000:0000 (null) ALSA             HDA Intel PCH Headphone  SW             
10: 0000:0006 HOST   LNXVIDEO/video/i Video Bus                KEY             
11: 0000:0000 (null) ALSA             HDA Intel HDMI HDMI      SW

Ubuntu:

Code:
/dev/input/event15
   bustype : BUS_USB
   vendor  : 0x20bc
   product : 0x5500
   version : 272
   name    : "SHANWAN Android Gamepad"
   phys    : "usb-0000:00:14.0-3.2/input0"
   uniq    : ""
   bits ev : EV_SYN EV_KEY EV_ABS EV_MSC EV_FF

/dev/input/event16
   bustype : BUS_USB
   vendor  : 0x20bc
   product : 0x5500
   version : 257
   name    : "SHANWAN Android Gamepad"
   phys    : "usb-0000:00:14.0-3.2/input1"
   uniq    : ""
   bits ev : EV_SYN EV_KEY EV_MSC

The Ubuntu side also said it was using usbhid for the driver and I saw no udev rules or anything on either side that would pick this up (at least in /etc/udev, maybe udev reads some rules from /usr also!?!?)

How is the best way to trace down what the difference is in my two setups so this stick works in Gentoo also? What am I missing :oops:
Back to top
View user's profile Send private message
rh
n00b
n00b


Joined: 19 Sep 2006
Posts: 58

PostPosted: Wed Nov 16, 2016 8:39 am    Post subject: Reply with quote

This topic has been unanswered quite a while, but just incase you haven't solved this yet, maybe you are missing the correct kernel module?

Running grep with the usb-id (0x20bc:0x5500) on kernel driver source tree gives a hit at "drivers/hid/hid-betopff.c". That means you have to have CONFIG_HID_BETOP_FF set in your kernel .config to build the required driver.
Back to top
View user's profile Send private message
stqn
n00b
n00b


Joined: 07 Apr 2015
Posts: 51

PostPosted: Fri Apr 21, 2017 12:06 pm    Post subject: Reply with quote

Hey, thanks a lot to you both. I had the same issue with my Gamesir G3w gamepad and building the betop module solved it!

Now my issue is that Steam doesn’t detect that the triggers are analog, and the gamepad doesn’t want to switch to xinput mode…
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum