PS3's Joystick on FreeBSD (can be possible?)

Alexander Best alexbestms at wwu.de
Sat Mar 13 14:18:19 UTC 2010


Paul B Mahol schrieb am 2010-03-13:
> On 3/13/10, Alexander Best <alexbestms at wwu.de> wrote:
> > Paul B Mahol schrieb am 2010-03-13:
> >> On 3/13/10, Alexander Best <alexbestms at wwu.de> wrote:
> >> > i'm sorry to hijack this thread, but i've been having similar
> >> > issues as
> >> > Vinicius with his PS3 controller with my logitech cordless
> >> > gamepad.
> >> > this is
> >> > the attach message:

> >> > ugen3.3: <Logitech> at usbus3
> >> > uhid0: <Logitech Logitech Cordless RumblePad 2, class 0/0, rev
> >> > 1.10/2.00,
> >> > addr
> >> > 3> on usbus3

> >> > the output of `usbhidctl -f /dev/uhid0 -r` is:

> >> > Report descriptor:
> >> > Collection page=Generic_Desktop usage=Game_Pad
> >> > Total   input size 0 bytes
> >> > Total  output size 0 bytes
> >> > Total feature size 0 bytes

> >> > if i do `hd /dev/uhid0` is see output like this when pressing
> >> > buttons on the
> >> > gamepad:

> >> > 00000000  01 78 72 88 69 08 00 01  01 80 7f 7f 80 18 00 00
> >> > |.xr.i...........|
> >> > 00000010  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 08 00 00
> >> > |................|
> >> > 00000020  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 28 00 00
> >> > |.............(..|
> >> > 00000030  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 48 00 00
> >> > |.............H..|
> >> > 00000040  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 88 00 00
> >> > |................|
> >> > 00000050  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 08 01 00
> >> > |................|
> >> > 00000060  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 08 02 00
> >> > |................|
> >> > 00000070  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 08 04 00
> >> > |................|
> >> > 00000080  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 08 08 00
> >> > |................|
> >> > 00000090  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 08 10 00
> >> > |................|
> >> > 000000a0  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 08 20 00
> >> > |..............
> >> > .|
> >> > 000000b0  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 04 00 00
> >> > |................|
> >> > 000000c0  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 06 00 00
> >> > |................|
> >> > 000000d0  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 00 00 00
> >> > |................|
> >> > 000000e0  01 80 7f 7f 80 08 00 00  01 80 7f 7f 80 02 00 00
> >> > |................|

> >> > the pad has 10 buttons, 1 analog stick, 2 digital sticks, a
> >> > "mode"
> >> > button
> >> > and
> >> > a "vibration" button.

> >> There was/is ujoy in development but that is all.

> > thanks for the hint. i mailed the developer a year or so ago due to
> > his post
> > on the freebsd-drivers@ mailinglist [1], but he told development of
> > the ujoy
> > driver had ceased. i checked the site mentioned in his post and the
> > ujoy
> > driver from back then is also no longer available.

> > so there is no way of xorg or hal working directly with uhid
> > devices then?

> There is xf86-input-joystick, but I dunno about its usability.

no luck unfortunately:

(**) Option "Device" "/dev/uhid0"
(**) Option "SendCoreEvents"
(**) Logitech Cordless RumblePad 2: always reports core events
(**) Option "DebugLevel" "9"
(**) Logitech Cordless RumblePad 2: debug level set to 9
(**) Button 1 mapped to 5
(**) Button 2 mapped to 5
(**) Button 3 mapped to 5
(**) Button 4 mapped to 0
(**) Button 5 mapped to 0
(**) Button 6 mapped to 0
(**) Button 7 mapped to 0
(**) Button 8 mapped to 0
(**) Button 9 mapped to 0
(**) Button 10 mapped to 0
(**) Button 11 mapped to 0
(**) Button 12 mapped to 0
(**) Button 13 mapped to 0
(**) Button 14 mapped to 0
(**) Button 15 mapped to 0
(**) Button 16 mapped to 0
(**) Button 17 mapped to 0
(**) Button 18 mapped to 0
(**) Button 19 mapped to 0
(**) Button 20 mapped to 0
(**) Button 21 mapped to 0
(**) Button 22 mapped to 0
(**) Button 23 mapped to 0
(**) Button 24 mapped to 0
(**) Button 25 mapped to 0
(**) Button 26 mapped to 0
(**) Button 27 mapped to 0
(**) Button 28 mapped to 0
(**) Button 29 mapped to 0
(**) Button 30 mapped to 0
(**) Button 31 mapped to 0
(**) Button 32 mapped to 0
(**) Axis 1 type is 1, mapped to 1, amplify=1.000
(**) Axis 2 type is 1, mapped to 2, amplify=1.000
(**) Axis 3 type is 1, mapped to 3, amplify=1.000
(**) Axis 4 type is 1, mapped to 4, amplify=1.000
(**) Axis 5 type is 2, mapped to 1, amplify=1.000
(**) Axis 6 type is 2, mapped to 2, amplify=1.000
(**) Axis 7 type is 0, mapped to 0, amplify=1.000
(**) Axis 8 type is 0, mapped to 0, amplify=1.000
(**) Axis 9 type is 0, mapped to 0, amplify=1.000
(**) Axis 10 type is 0, mapped to 0, amplify=1.000
(**) Axis 11 type is 0, mapped to 0, amplify=1.000
(**) Axis 12 type is 0, mapped to 0, amplify=1.000
(**) Axis 13 type is 0, mapped to 0, amplify=1.000
(**) Axis 14 type is 0, mapped to 0, amplify=1.000
(**) Axis 15 type is 0, mapped to 0, amplify=1.000
(**) Axis 16 type is 0, mapped to 0, amplify=1.000
(**) Axis 17 type is 0, mapped to 0, amplify=1.000
(**) Axis 18 type is 0, mapped to 0, amplify=1.000
(**) Axis 19 type is 0, mapped to 0, amplify=1.000
(**) Axis 20 type is 0, mapped to 0, amplify=1.000
(**) Axis 21 type is 0, mapped to 0, amplify=1.000
(**) Axis 22 type is 0, mapped to 0, amplify=1.000
(**) Axis 23 type is 0, mapped to 0, amplify=1.000
(**) Axis 24 type is 0, mapped to 0, amplify=1.000
(**) Axis 25 type is 0, mapped to 0, amplify=1.000
(**) Axis 26 type is 0, mapped to 0, amplify=1.000
(**) Axis 27 type is 0, mapped to 0, amplify=1.000
(**) Axis 28 type is 0, mapped to 0, amplify=1.000
(**) Axis 29 type is 0, mapped to 0, amplify=1.000
(**) Axis 30 type is 0, mapped to 0, amplify=1.000
(**) Axis 31 type is 0, mapped to 0, amplify=1.000
(**) Axis 32 type is 0, mapped to 0, amplify=1.000
(**) Option "SendCoreEvents"
(**) Logitech Cordless RumblePad 2 (keys): always reports core events
(II) XINPUT: Adding extended input device "Logitech Cordless RumblePad 2"
(type: JOYSTICK)
jstkDeviceControlProc what=INIT
(EE) Joystick: Didn't find any usable axes.
(EE) Couldn't init device "Logitech Cordless RumblePad 2"

Fatal server error:
Caught signal 11.  Server aborting

cheers.
alex

just found this old thread discussing the problem:
http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008162.html

> > [1]
> > http://lists.freebsd.org/pipermail/freebsd-drivers/2008-December/000858.html



More information about the freebsd-usb mailing list