Sixaxis (PS3 controller) on debian as joystick

If none of the more specific forums is the right place to ask

Sixaxis (PS3 controller) on debian as joystick

Postby J V » 2011-03-31 17:10

It is possible to use the sixaxis as a joystick. But how?

For a year and a half I've been trying to get sixaxis working on ubuntu, and there appear to be even less options on debian.

While this page suggests there is kernel support, usbmon doesn't show any packages coming down the line at all (But lsusb does recognize the device)

So how do I get debian to recognize the sixaxis?
J V
 
Posts: 107
Joined: 2011-02-21 17:34

Re: Sixaxis (PS3 controller) on debian as joystick

Postby mzilikazi » 2011-03-31 21:51

There is a joystick calibration tool called joystick.
Code: Select all
apt-get install joystick

Will it work on a PS3 controller? No idea.....
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Re: Sixaxis (PS3 controller) on debian as joystick

Postby J V » 2011-03-31 23:32

I tried that already, it said that my kernel was incompatible (I rebooted after installing the packages so I have no idea what's wrong there)

lsusb -v says that the "Report Descriptors" are unavailable. (Which means at least something is wrong)

Edit: Noticed something on boot today:
Code: Select all
[   12.709381] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  195.36.31  Thu Jun  3 08:19:50 PDT 2010
[   26.885913] /build/buildd-linux-2.6_2.6.32-31-amd64-vrfdM4/linux-2.6-2.6.32/debian/build/source_amd64_none/drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed
[   26.885966] sony 0003:054C:0268.0005: timeout initializing reports
[   26.886056] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1d.2/usb7/7-1/7-1:1.0/input/input9
[   26.886186] sony 0003:054C:0268.0005: input,hiddev0,hidraw4: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1d.2-1/input0
[   31.885918] sony 0003:054C:0268.0005: can't set operational mode
[   31.904215] sony: probe of 0003:054C:0268.0005 failed with error -110


Installed "libusbhid-common" will see what happens.

Nope, no luck.
Code: Select all
[   12.792113] usbcore: registered new interface driver snd-usb-audio
[   12.919625] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8
[   27.550035] /build/buildd-linux-2.6_2.6.32-31-amd64-vrfdM4/linux-2.6-2.6.32/debian/build/source_amd64_none/drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed
[   27.550089] sony 0003:054C:0268.0005: timeout initializing reports
[   27.550176] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1d.2/usb7/7-1/7-1:1.0/input/input9
[   27.550304] sony 0003:054C:0268.0005: input,hiddev0,hidraw4: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1d.2-1/input0
[   32.550040] sony 0003:054C:0268.0005: can't set operational mode
[   32.572719] sony: probe of 0003:054C:0268.0005 failed with error -110
J V
 
Posts: 107
Joined: 2011-02-21 17:34

Re: Sixaxis (PS3 controller) on debian as joystick

Postby J V » 2011-04-01 18:20

Bump? Looks like it's either a kernel or libusb bug (No-one competent with drivers etc seems to have it so there's very little data about it on google)
J V
 
Posts: 107
Joined: 2011-02-21 17:34


Return to General Questions

Who is online

Users browsing this forum: peter_irich and 18 guests

fashionable