You are not logged in.

#1 2014-07-09 13:14:55

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Nplay UBS Controller Not working

Hello, i brought a controller to play some games on playonlinux (since i had a problem with my xbox 360 controller getting double input and with another one that didn't have enough buttons). It was the Nplay GX 102 but when i plugged it in and do a dmesg the following happens:

 [11967.440872] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[11967.601000] usb 3-2: device descriptor read/64, error -71
[11967.704384] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
[11967.704387] usb 3-2: hub failed to enable device, error -22
[11967.864543] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[11968.024705] usb 3-2: device descriptor read/64, error -71
[11968.128096] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
[11968.128104] usb 3-2: hub failed to enable device, error -22
[11968.288260] usb 3-2: new full-speed USB device number 4 using xhci_hcd
[11968.288379] usb 3-2: Device not responding to setup address.
[11968.491823] usb 3-2: Device not responding to setup address.
[11968.695221] usb 3-2: device not accepting address 4, error -71
[11968.855420] usb 3-2: new full-speed USB device number 5 using xhci_hcd
[11968.855534] usb 3-2: Device not responding to setup address.
[11969.058975] usb 3-2: Device not responding to setup address.
[11969.262382] usb 3-2: device not accepting address 5, error -71
[11969.262465] hub 3-0:1.0: unable to enumerate USB device on port 2

and the controller doesn't respond.
I tried a solution that i found here on the forums that it was to turn off the pc/laptop unplugged everything and then plug everything back in and boot but it didn't work for me.
Anyone have ideas what could be? Thanks in advance smile

PS: I put this in this section because it appeared to me that could be a kernel bug, sorry if i'm wrong

Last edited by CyberNhull (2014-07-09 13:35:16)


If it does not kill you....It will make you smarter

Offline

#2 2014-07-09 13:41:02

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

It is hardware related, so it is the correct section.

Can you test it on another machine and on another operating system? Do you get the same dmesg messages when running a live distribution like Linux Mint?

Does the device have a battery? Did you try other usb slots? Do you have a usb hub with a power supply?

What is your setup? Mainboard and its chipsets should be relevant.

Last edited by emeres (2014-07-09 13:44:02)

Offline

#3 2014-07-09 17:28:21

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

I tested it on ubuntu on another laptop (Toshiba Sattelite L650-1QE) same results, same dmesg. The device don't have a battery it's (it's a normal wired controller), i tested in all ports(2xUSB 2.0 and 2xUSB 3.0) same thing happen, i have a hub but i tested without it. Testing with a hub yields the same result.

My setup:
Laptop Samsung NP550P5C-S03
CPU: Intel® Core™ i7-3630QM (2,4 GHz) com 6 MB de Cache (3,4 Ghz Turbo Boost)Intel® HM76
Graphic Card: NVIDIA® GeForce® GT 650M Graphics with 2GB gDDR3 Graphic Memory (Optimus™)
Ports:VGA x 1, HDMI x 1,USB3.0 x 2, USB2.0 x 2 (Sleep-and-Charge),3-in-1 (SD, SDHC, SDXC) Multi-media Card Reader,Headphone out x 1,Mic-in x 1,RJ45 (LAN) x 1,DC-in x 1
Board: NP550P5C-S03 (this is what i get with hardinfo) :s
Power: 6 Cell (56Wh), AC Adapter: 90W
Hard Drive: 1000GB S-ATAⅡ Hard Drive (5400RPM) with ExpressCache 8GB

Last edited by CyberNhull (2014-07-09 17:29:38)


If it does not kill you....It will make you smarter

Offline

#4 2014-07-09 18:25:15

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

From what I have gathered on this specific error combination, it looks like gamepad is defective. If you could test it on windows it would be definitive. I think it is still better than the alternative, where the usb controller is damaged.
Some reference I found 1, 2, 3, 4, 5 and 6.
It might be linux specific, since you only tested it on that platform, maybe a kernel bug. You could take a look at the connector, see if the contacts are clean and mechanically undamaged.

Edit: You could try this out.

Last edited by emeres (2014-07-09 18:29:13)

Offline

#5 2014-07-09 20:31:01

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

I get this when i try to use that fix

[  321.124645] ehci-pci 0000:00:1a.0: remove, state 4
[  321.124656] usb usb3: USB disconnect, device number 1
[  321.124659] usb 3-1: USB disconnect, device number 2
[  321.124662] usb 3-1.4: USB disconnect, device number 3
[  321.169951] ehci-pci 0000:00:1a.0: USB bus 3 deregistered

No errors but he still dont work...im wondering if this gamepad really needs is drivers to behave correctly...now..i have to find a pc infected with windows to test it -.-"

Last edited by CyberNhull (2014-07-09 21:25:34)


If it does not kill you....It will make you smarter

Offline

#6 2014-07-10 00:29:13

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

The device has problems communicating with the usb controller/kernel. In current state it probably does not show up in output of lsusb. So drivers are not in focus right now. Try to find out the vendor and product id for this gamepad as well as its official name and model.

Offline

#7 2014-07-10 10:44:39

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

The only thing i kind find for this blasted thing is the Vendor = Nplay and the model = gx 102


If it does not kill you....It will make you smarter

Offline

#8 2014-07-11 20:50:36

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

Tested it on windows 8 and it works fine..kernel bug?


If it does not kill you....It will make you smarter

Offline

#9 2014-07-11 20:58:49

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

Could be. I assume you tested in on w8 on another machine. Do you have UEFI/BIOS options for loading/booting from USB devices or any ROM options in reference to booting? There might be also some legacy options worth looking at. My system hangs at boot if I leave my usb gamepad connected, very similar to yours.

Should you be certain that this is a bug. there is a thread about filling a kernel bug report in newbie section if I recall correctly, seek it out.

Offline

#10 2014-07-11 23:48:49

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

Yes i tested it in another pc with w8...i updated my system today (dbus, systemd) and the controller started working all the sudden for about 20 seconds and then goes off


If it does not kill you....It will make you smarter

Offline

#11 2014-07-11 23:55:35

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

Run lsusb and lsmod when it is recognized.

Offline

#12 2014-07-12 00:32:33

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

emeres wrote:

Run lsusb and lsmod when it is recognized.

lsusb:

Bus 004 Device 003: ID 8087:07da Intel Corp. 
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 007: ID 2232:1029 Silicon Motion WebCam SC-13HDL11939N
Bus 003 Device 012: ID 0810:0003 Personal Communication Systems, Inc. PlayStation Gamepad
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1532:0037 Razer USA, Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsmod:

Module                  Size  Used by
fuse                   84337  3 
ctr                     3927  1 
ccm                     8278  1 
nvidia              10361512  2 
arc4                    2064  2 
iwldvm                170799  0 
mac80211              495361  1 iwldvm
snd_hda_codec_hdmi     40396  1 
iwlwifi               148746  1 iwldvm
r8169                  59191  0 
cfg80211              437959  3 iwlwifi,mac80211,iwldvm
mii                     4251  1 r8169
snd_hda_codec_realtek    54803  1 
snd_hda_codec_generic    56366  1 snd_hda_codec_realtek
nls_iso8859_1           4485  1 
nls_cp437               6017  1 
vfat                   10631  1 
fat                    53688  1 vfat
ecb                     2201  1 
btusb                  19976  0 
uvcvideo               74983  0 
bluetooth             380942  2 btusb
videobuf2_vmalloc       3368  1 uvcvideo
videobuf2_memops        2239  1 videobuf2_vmalloc
videobuf2_core         30407  1 uvcvideo
videodev              123032  2 uvcvideo,videobuf2_core
media                  12611  2 uvcvideo,videodev
6lowpan_iphc           11556  1 bluetooth
coretemp                6388  0 
hwmon                   3346  1 coretemp
intel_rapl             12460  0 
x86_pkg_temp_thermal     7311  0 
intel_powerclamp        9442  0 
joydev                 10367  0 
mousedev               10912  0 
kvm_intel             135528  0 
kvm                   408583  1 kvm_intel
crct10dif_pclmul        4714  0 
crc32_pclmul            2955  0 
snd_hda_intel          22831  0 
snd_hda_controller     22911  1 snd_hda_intel
crc32c_intel           14217  0 
iTCO_wdt                5663  0 
iTCO_vendor_support     1929  1 iTCO_wdt
ghash_clmulni_intel     4362  0 
shpchp                 25706  0 
snd_hda_codec         104665  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
i915                  796361  3 
snd_hwdep               6652  1 snd_hda_codec
snd_pcm                83207  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              19294  1 snd_pcm
snd                    61276  8 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
drm_kms_helper         39643  1 i915
drm                   244846  6 i915,drm_kms_helper,nvidia
soundcore               5551  2 snd,snd_hda_codec
aesni_intel           144871  3 
led_class               3611  1 iwldvm
intel_gtt              12856  1 i915
rfkill                 15971  3 cfg80211,bluetooth
mei_me                 10096  0 
i2c_algo_bit            5480  1 i915
mxm_wmi                 1595  0 
mei                    66784  1 mei_me
evdev                  11784  27 
mac_hid                 3273  0 
serio_raw               5073  0 
i2c_i801               11364  0 
psmouse                94918  0 
i2c_core               41648  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,videodev
lpc_ich                14008  0 
ac                      3595  0 
aes_x86_64              7463  1 aesni_intel
lrw                     3821  1 aesni_intel
fan                     2913  0 
battery                 7885  0 
thermal                 9103  0 
gf128mul                6018  1 lrw
button                  4765  1 i915
video                  12057  1 i915
wmi                     8539  1 mxm_wmi
glue_helper             4737  1 aesni_intel
pcspkr                  2059  0 
ablk_helper             2100  1 aesni_intel
cryptd                  8537  3 ghash_clmulni_intel,aesni_intel,ablk_helper
processor              25153  0 
microcode              17157  0 
acpi_call               5384  0 
ext4                  494292  2 
crc16                   1359  2 ext4,bluetooth
mbcache                 9155  1 ext4
jbd2                   82948  1 ext4
hid_generic             1217  0 
usbhid                 41250  0 
hid                    93052  2 hid_generic,usbhid
sd_mod                 37554  5 
sr_mod                 15026  0 
crc_t10dif              1135  1 sd_mod
cdrom                  35191  1 sr_mod
crct10dif_common        1436  2 crct10dif_pclmul,crc_t10dif
atkbd                  17006  0 
libps2                  4571  2 atkbd,psmouse
ahci                   24299  4 
libahci                21772  1 ahci
libata                174089  2 ahci,libahci
ehci_pci                4152  0 
xhci_hcd              149286  0 
ehci_hcd               64619  1 ehci_pci
scsi_mod              138333  3 libata,sd_mod,sr_mod
usbcore               188381  6 btusb,uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common              1712  1 usbcore
i8042                  13666  1 libps2
serio                  11018  6 serio_raw,atkbd,i8042,psmouse

Last edited by CyberNhull (2014-07-12 00:41:33)


If it does not kill you....It will make you smarter

Offline

#13 2014-07-12 11:11:59

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

I fail to see any specific modules for this device, beside the obvious joydev and usbhid. You could load the "hid" module with debug=1 parameter for more verbose output, by this may be unrelated at this point. Should you come across any quirks for this device, usbhid modules accepts those as a parameter array (modinfo usbhid).

What does dmesg show when the gamepad works and stops working?

Offline

#14 2014-07-13 12:01:03

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

emeres wrote:

I fail to see any specific modules for this device, beside the obvious joydev and usbhid. You could load the "hid" module with debug=1 parameter for more verbose output, by this may be unrelated at this point. Should you come across any quirks for this device, usbhid modules accepts those as a parameter array (modinfo usbhid).

What does dmesg show when the gamepad works and stops working?

It stop recognizing again after i plugged in the xbox 360 controller...it's not being recognize in any usb port


If it does not kill you....It will make you smarter

Offline

#15 2014-07-13 12:06:36

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

Are those usb ports on the front panel?

Offline

#16 2014-07-16 20:11:11

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: Nplay UBS Controller Not working

emeres wrote:

Are those usb ports on the front panel?

I didn't get what you mean by "front panel"...front panel on my laptop? If so no the usb ports are located on the sides of the laptop.

If you mean these ones:

Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Yes these are my 4 usb ports....altho...now im looking at it i'm supposed to have 2 usb 2.0 and 2 usb 3.0...i'm not getting why it recognizes 3xusb 2.0 and only 1xusb 3.0


If it does not kill you....It will make you smarter

Offline

#17 2014-07-16 20:33:59

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Nplay UBS Controller Not working

My bad, you stated it was a laptop before. Have you reversed the ehci_hcd trick? It should be gone on the next reboot though. I asked about the ports, because I thought the connection[s_] might be loose, but in case of a laptop it is highly unlikely.

Do you boot with the controller connected? Maybe some modules are in conflict here. You could try to disable and enable those ports [untested on al].

Offline

Board footer

Powered by FluxBB