Fitz
Posts: 9
Joined: Fri Feb 01, 2013 7:25 pm

How to make the PS3 controller work through USB ?

Sun Feb 17, 2013 10:50 am

Hi everybody,

I'm trying to make my PS3 controller work through USB. I hopped I would just plug it and then it would work, but it does not. That's why I'm looking for a tuto explaining how to make the PS3 controller work correctly with USB.

Sometime I can detect the controller and the command

Code: Select all

jstest /dev/input/js0
returns me a lot of numbers. But it is not stable : when I plug a keyboard, the PS3 controller may disconnect or do weird things, and when I start emulationstation, most of time it just stop working. For the moment I can't use my PS3 controller to play, although I have another really old controller which seems to work.

Does someone have any idea of how to make it works ?

Fitz
Posts: 9
Joined: Fri Feb 01, 2013 7:25 pm

Re: How to make the PS3 controller work through USB ?

Sun Feb 17, 2013 1:47 pm

For information, when I plug my PS3 controller and I call dmesg, this is what I see :

Code: Select all

[  960.105236] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  960.105267] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  960.105284] usb 1-1.3.2: Product: PLAYSTATION(R)3 Controller
[  960.105297] usb 1-1.3.2: Manufacturer: Sony
[  960.222053] usbhid 1-1.3.2:1.0: can't add hid device: -32
[  960.222158] usbhid: probe of 1-1.3.2:1.0 failed with error -32
[  960.222948] usb 1-1.3.2: USB disconnect, device number 55
[  960.559521] usb 1-1.3.2: new full-speed USB device number 59 using dwc_otg
[  960.869406] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  960.869455] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  960.880517] usb 1-1.3.2: can't set config #1, error -32
[  960.881157] usb 1-1.3.2: USB disconnect, device number 59
[  961.179580] usb 1-1.3.2: new full-speed USB device number 60 using dwc_otg
[  961.490480] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  961.490527] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  961.500491] usb 1-1.3.2: can't set config #1, error -32
[  961.501240] usb 1-1.3.2: USB disconnect, device number 60
[  961.799570] usb 1-1.3.2: new full-speed USB device number 61 using dwc_otg
[  962.113067] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  962.113115] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  962.120538] usb 1-1.3.2: can't set config #1, error -32
[  962.121199] usb 1-1.3.2: USB disconnect, device number 61
[  962.419656] usb 1-1.3.2: new full-speed USB device number 62 using dwc_otg
[  962.741748] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  962.741780] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  962.741816] usb 1-1.3.2: Product: PLAYSTATION(R)3 Controller
[  962.741833] usb 1-1.3.2: Manufacturer: Sony
[  962.835022] sony 0003:054C:0268.0024: Fixing up Sony Sixaxis report descriptor
[  962.844538] input: Sony PLAYSTATION(R)3 Controller as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/input/input35
[  962.848944] sony 0003:054C:0268.0024: input,hiddev0,hidraw0: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-bcm2708_usb-1.3.2/input0
[  962.850745] sony 0003:054C:0268.0024: can't set operational mode
[  962.855001] sony: probe of 0003:054C:0268.0024 failed with error -32
[  962.945345] usb 1-1.3.2: USB disconnect, device number 62
[  963.279667] usb 1-1.3.2: new full-speed USB device number 63 using dwc_otg
[  963.559805] usb 1-1.3.2: new full-speed USB device number 64 using dwc_otg
[  963.835542] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  963.835592] usb 1-1.3.2: can't read configurations, error -32
[  964.269761] usb 1-1.3.2: new full-speed USB device number 66 using dwc_otg
[  964.629702] usb 1-1.3.2: new full-speed USB device number 67 using dwc_otg
[  964.964562] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  964.964594] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  964.964624] usb 1-1.3.2: Product: PLAYSTATION(R)3 Controller
[  964.964639] usb 1-1.3.2: Manufacturer: Sony
[  964.971088] usb 1-1.3.2: can't set config #1, error -32
[  964.971740] usb 1-1.3.2: USB disconnect, device number 67
[  965.509822] usb 1-1.3.2: new full-speed USB device number 69 using dwc_otg
[  965.839505] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  965.839677] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  965.839701] usb 1-1.3.2: Product: PLAYSTATION(R)3 Controller
[  965.839736] usb 1-1.3.2: Manufacturer: Sony
[  965.851092] usb 1-1.3.2: can't set config #1, error -32
[  965.851704] usb 1-1.3.2: USB disconnect, device number 69
[  966.149797] usb 1-1.3.2: new full-speed USB device number 70 using dwc_otg
[  966.470787] usb 1-1.3.2: New USB device found, idVendor=054c, idProduct=0268
[  966.470834] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  966.470853] usb 1-1.3.2: Product: PLAYSTATION(R)3 Controller
[  966.470867] usb 1-1.3.2: Manufacturer: Sony
[  966.615950] sony 0003:054C:0268.0025: Fixing up Sony Sixaxis report descriptor
[  966.625441] input: Sony PLAYSTATION(R)3 Controller as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/input/input36
[  966.631023] sony 0003:054C:0268.0025: input,hiddev0,hidraw0: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-bcm2708_usb-1.3.2/input0
[  966.631599] sony 0003:054C:0268.0025: can't set operational mode
[  966.635848] sony: probe of 0003:054C:0268.0025 failed with error -32
[  966.641130] usb 1-1.3.2: USB disconnect, device number 70
[  967.059892] usb 1-1.3.2: new full-speed USB device number 71 using dwc_otg
[  967.277385] usb 1-1.3.2: device descriptor read/all, error -32
[  967.549860] usb 1-1.3.2: new full-speed USB device number 73 using dwc_otg
[  968.069901] usb 1-1.3.2: new full-speed USB device number 74 using dwc_otg
[  969.230075] usb 1-1.3.2: new full-speed USB device number 75 using dwc_otg
[  969.549980] usb 1-1.3.2: new full-speed USB device number 76 using dwc_otg
[  969.832855] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  969.832905] usb 1-1.3.2: can't read configurations, error -32
[  970.110076] usb 1-1.3.2: new full-speed USB device number 78 using dwc_otg
[  970.381430] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  970.381481] usb 1-1.3.2: can't read configurations, error -32
[  970.880036] usb 1-1.3.2: new full-speed USB device number 80 using dwc_otg
[  971.151163] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  971.151212] usb 1-1.3.2: can't read configurations, error -32
[  971.650126] usb 1-1.3.2: new full-speed USB device number 82 using dwc_otg
[  971.970077] usb 1-1.3.2: new full-speed USB device number 83 using dwc_otg
[  974.010211] usb 1-1.3.2: new full-speed USB device number 85 using dwc_otg
[  974.280212] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  974.280262] usb 1-1.3.2: can't read configurations, error -32
[  974.560285] usb 1-1.3.2: new full-speed USB device number 87 using dwc_otg
[  974.831534] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  974.831584] usb 1-1.3.2: can't read configurations, error -32
[  975.230374] usb 1-1.3.2: new full-speed USB device number 89 using dwc_otg
[  975.503369] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  975.503417] usb 1-1.3.2: can't read configurations, error -32
[  978.140641] hub 1-1.3:1.0: connect-debounce failed, port 2 disabled
[  979.440462] usb 1-1.3.2: new full-speed USB device number 91 using dwc_otg
[  979.714824] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  979.714882] usb 1-1.3.2: can't read configurations, error -32
[  979.990517] usb 1-1.3.2: new full-speed USB device number 93 using dwc_otg
[  980.262274] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  980.262323] usb 1-1.3.2: can't read configurations, error -32
[  980.540595] usb 1-1.3.2: new full-speed USB device number 95 using dwc_otg
[  980.814473] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  980.814523] usb 1-1.3.2: can't read configurations, error -32
[  981.090545] usb 1-1.3.2: new full-speed USB device number 97 using dwc_otg
[  985.990835] usb 1-1.3.2: new full-speed USB device number 99 using dwc_otg
[  986.310883] usb 1-1.3.2: new full-speed USB device number 100 using dwc_otg
[  986.630821] usb 1-1.3.2: new full-speed USB device number 101 using dwc_otg
[  986.897925] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  986.897974] usb 1-1.3.2: can't read configurations, error -32
[  987.170874] usb 1-1.3.2: new full-speed USB device number 103 using dwc_otg
[  987.520937] usb 1-1.3.2: new full-speed USB device number 104 using dwc_otg
[  987.793921] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  987.793975] usb 1-1.3.2: can't read configurations, error -32
[  988.370930] usb 1-1.3.2: new full-speed USB device number 106 using dwc_otg
[  988.700955] usb 1-1.3.2: new full-speed USB device number 107 using dwc_otg
[  989.020564] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  989.020599] usb 1-1.3.2: can't read configurations, error -32
[  989.101030] usb 1-1.3.2: new full-speed USB device number 108 using dwc_otg
[  989.660928] usb 1-1.3.2: device not accepting address 108, error -32
[  989.941013] usb 1-1.3.2: new full-speed USB device number 110 using dwc_otg
[  990.214750] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  990.214799] usb 1-1.3.2: can't read configurations, error -32
[  990.491077] usb 1-1.3.2: new full-speed USB device number 112 using dwc_otg
[  990.762826] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  990.762874] usb 1-1.3.2: can't read configurations, error -32
[  991.041187] usb 1-1.3.2: new full-speed USB device number 114 using dwc_otg
[  991.313271] usb 1-1.3.2: unable to read config index 0 descriptor/all
[  991.313323] usb 1-1.3.2: can't read configurations, error -32

jaomi
Posts: 1
Joined: Sun Feb 17, 2013 7:12 pm

Re: How to make the PS3 controller work through USB ?

Sun Feb 17, 2013 7:18 pm

I have the same problem...
Even my eth0 'reboots' and I have to do a dhcp request to get it going again.

Do you have a 0a12:0001 dongle?
I dont have the 'supermini' from DX.com (which people says is using a pirated chip, which causes the bugs), i have a Deltaco variant, hopefully that's not a pirate copy.

Have you tried ps3joy?

steev
Posts: 87
Joined: Fri Jan 27, 2012 5:08 pm

Re: How to make the PS3 controller work through USB ?

Mon Feb 18, 2013 4:51 am

The PS3 controller tries to charge when you plug it in and the Pi's USB ports don't provide enough power.
You can make it work with a powered USB hub, or get a cheap bluetooth dongle to connect wirelessly.

It might also work if you plug it in when it is fully charged.

Fitz
Posts: 9
Joined: Fri Feb 01, 2013 7:25 pm

Re: How to make the PS3 controller work through USB ?

Tue Feb 19, 2013 9:32 am

steev wrote:The PS3 controller tries to charge when you plug it in and the Pi's USB ports don't provide enough power.
You can make it work with a powered USB hub, or get a cheap bluetooth dongle to connect wirelessly.

It might also work if you plug it in when it is fully charged.
Thanks, you are right :) It works well with a powered USB hub.

paradiselost
Posts: 5
Joined: Thu Feb 07, 2013 4:03 pm
Location: Austin, TX
Contact: Website

Re: How to make the PS3 controller work through USB ?

Wed May 29, 2013 4:58 pm

I have it running fine except one big problem, cannot get analog to work on PSX. It actually runs on Genesis (weird) but not on PSX. Any help out there?
Comp Sci teacher creating a MAME cabinet with his students. They are actually programming some games as well in Python (simple card games and such). Keep updated at http://www.compsciteacher.com

Return to “Gaming”