Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2010 12:41:57 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        <freebsd-usb@freebsd.org>
Subject:   Re: PS3's Joystick on FreeBSD (can be possible?)
Message-ID:  <permail-2010031311415780e26a0b000053a2-a_best01@message-id.uni-muenster.de>

index | next in thread | raw e-mail

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.

cheers.
alex


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-2010031311415780e26a0b000053a2-a_best01>