You are not logged in.

#1 2015-10-27 14:56:56

samkostka
Member
From: Smallest State, Longest Name
Registered: 2015-09-07
Posts: 18

Counterfeit Dualshock 3 not working

Hi, I'm having an issue with a counterfeit PS3 controller I have.  Whenever I plug it in, it does nothing.  Plugging the same controller into another laptop running Ubuntu 14.04 (or more specifically, a crouton chroot of ubuntu 14.04) leads to the controller working fine.  The controller in question looks exactly like a real Dualshock 3 (although it feels noticably worse), but it reports itself as 'SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller,' which while it is amusing, it sucks that it doesn't work on my desktop at the moment.

Here's the output of dmesg when plugging it on on my desktop running arch:

[   37.571897] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[   37.763877] input: SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:054C:0268.0005/input/input20
[   37.764081] sony 0003:054C:0268.0005: input,hiddev0,hidraw4: USB HID v1.11 Joystick [SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller] on usb-0000:00:14.0-2/input0
[   37.767549] sony 0003:054C:0268.0005: can't set operational mode: step 3
[   37.801987] sony: probe of 0003:054C:0268.0005 failed with error -71

And the output of uname -a from Arch:

Linux Arch_Nemesis 4.2.4-1-ARCH #1 SMP PREEMPT Fri Oct 23 07:32:38 CEST 2015 x86_64 GNU/Linux

dmesg output from trusty chroot:

[169376.442998] usb 1-2: new full-speed USB device number 31 using xhci_hcd
[169376.459223] usb 1-2: New USB device found, idVendor=054c, idProduct=0268
[169376.459247] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[169376.459264] usb 1-2: Product: PLAYSTATION(R)3Conteroller
[169376.459279] usb 1-2: Manufacturer: SHENGHIC 2009/0708ZXW-V1Inc.
[169376.462327] sony 0003:054C:0268.0004: Fixing up Sony Sixaxis report descriptor
[169376.464713] input: SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/input/input16
[169376.465556] sony 0003:054C:0268.0004: input,hiddev0,hidraw0: USB HID v1.11 Joystick [SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller] on usb-0000:00:14.0-2/input0
[169376.792957] frecon: Evdev device /dev/input/js0 grabbed by another process

In this, the frecon part at the end is because Chrome OS (the host) doesn't use X11 as it's framebuffer anymore, so the chroot also has it's own virtual X server.
uname -a from the chroot:

Linux localhost 3.8.11 #1 SMP Thu Oct 15 02:29:56 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux

and uname -a from the Chrome OS host:

Linux localhost 3.8.11 #1 SMP Thu Oct 15 02:29:56 PDT 2015 x86_64 Intel(R) Celeron(R) 2957U @ 1.40GHz GenuineIntel GNU/Linux

If anyone has gotten this counterfeit "conteroller" to work on their arch system, I'd love it if you could tell me how.  If not, I hope this is enough info for one of you to help me get it working.  Thanks.

Offline

#2 2015-10-29 12:44:25

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: Counterfeit Dualshock 3 not working

As a workaround you might try using xboxdrv instead of sony kernel driver.

Offline

#3 2015-10-29 17:57:56

samkostka
Member
From: Smallest State, Longest Name
Registered: 2015-09-07
Posts: 18

Re: Counterfeit Dualshock 3 not working

Yeah, I thought to try that and it doesn't pick up the controller.  I've also tried QTSixa, which didn't work either.  I need to keep hid_sony loaded for my real controller, which complicates it a bit.

Offline

#4 2015-10-29 19:41:45

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: Counterfeit Dualshock 3 not working

There is probably no need for sony module if you use xboxdrv -- mine DS3 works with it just fine.
You can also check if xbodrv sees it "xboxdrv -L"
And try engaging it directly with "xboxdrv --device-by-path 3:2 -d -s --mimic-xpad --debug"

Offline

#5 2015-10-29 19:43:53

samkostka
Member
From: Smallest State, Longest Name
Registered: 2015-09-07
Posts: 18

Re: Counterfeit Dualshock 3 not working

Oh really? I was under the impression that xboxdrv turned an already working controller into an xbox controller.  I'll have to try this in a few days once I get home, thanks.

Offline

#6 2015-10-29 19:45:42

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: Counterfeit Dualshock 3 not working

It can do also that, if you use it in evdev mode. If not it reads events directly from device, thats why you need to unload module when xboxdrv works.

Offline

#7 2015-10-29 19:48:09

samkostka
Member
From: Smallest State, Longest Name
Registered: 2015-09-07
Posts: 18

Re: Counterfeit Dualshock 3 not working

Cool.  Would plug and play work as well as a kernel module with xboxdrv?

Offline

#8 2015-10-29 19:51:54

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: Counterfeit Dualshock 3 not working

I don't really know, there is a way to run it as a daemon, but I run my gamepads (even xpad, which is not MS xpad, so mapping is weird, and mouse emulation does not work by default with xpads) by starting xboxdrv with the line above, so I'm not really bothered.

Offline

Board footer

Powered by FluxBB