Re: PS3's Joystick on FreeBSD (can be possible?)
On Mon, 15 Mar 2010, Emmanuel Vadot wrote: I might find some motivation soon to port my ujoy driver on 8.X/9.X I still have to buy a usb joystick with rumble support to add this feature to the driver. I've uploaded back the driver and the userland exemple program. Would that allow calibration, and so make FlightGear usable with my thrift-store Logitech Wingman Extreme Digital 3D? At present it works as long as you only want to go left. -Warren Block * Rapid City, South Dakota USA ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
On Sat, 13 Mar 2010 13:09:34 +0100 (CET) Alexander Best wrote: > 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? > > cheers. > alex > > [1] > http://lists.freebsd.org/pipermail/freebsd-drivers/2008-December/000858.html I might find some motivation soon to port my ujoy driver on 8.X/9.X I still have to buy a usb joystick with rumble support to add this feature to the driver. I've uploaded back the driver and the userland exemple program. -- Emmanuel Vadot elba...@arcadebsd.org ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
Paul B Mahol schrieb am 2010-03-13: > On Sat, Mar 13, 2010 at 1:56 PM, Alexander Best > wrote: > > Hans Petter Selasky schrieb am 2010-03-13: > >> On Saturday 13 March 2010 13:21:10 Paul B Mahol wrote: > >> > On 3/13/10, Alexander Best wrote: > >> > > Paul B Mahol schrieb am 2010-03-13: > >> > >> On 3/13/10, Alexander Best 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: at usbus3 > >> > >> > uhid0: >> > >> > 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: > >> > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > >> > >> > |.xr.i...| > >> > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > >> > >> > || > >> > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > >> > >> > |.(..| > >> > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > >> > >> > |.H..| > >> > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > >> > >> > || > >> > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > >> > >> > || > >> > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > >> > >> > || > >> > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > >> > >> > || > >> > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > >> > >> > || > >> > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > >> > >> > || > >> > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > >> > >> > |.. > >> > >> > .| > >> > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > >> > >> > || > >> > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > >> > >> > || > >> > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > >> > >> > || > >> > >> > 00e0 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. > >> Also look here: > >> http://wiki.freebsd.org/uhidd > > thanks for the hint. i'm about to try it out. however i'm having > > difficulties > > recompiling my kernel without ukbd (which is required for using > > uhidd): > You can build all usb stuff as module. It only eats little more disk > space ... thanks for the hint, but since uhidd won't help me with my problem i'm no longer trying to compile my kernel without ums, uhid and ukbd. however i filed a pr under usb/144751, because building a kernel without ukbd seems broken on CURRENT. cheers. alex ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
On Sat, Mar 13, 2010 at 02:56:21PM +0100, Alexander Best wrote: > Hans Petter Selasky schrieb am 2010-03-13: > > On Saturday 13 March 2010 13:21:10 Paul B Mahol wrote: > > > On 3/13/10, Alexander Best wrote: > > > > Paul B Mahol schrieb am 2010-03-13: > > > >> On 3/13/10, Alexander Best 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: at usbus3 > > > >> > uhid0: > > >> > 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: > > > > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > > > > >> > |.xr.i...| > > > > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > > > > >> > || > > > > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > > > > >> > |.(..| > > > > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > > > > >> > |.H..| > > > > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > > > > >> > || > > > > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > > > > >> > || > > > > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > > > > >> > || > > > > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > > > > >> > || > > > > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > > > > >> > || > > > > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > > > > >> > || > > > > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > > > > >> > |.. > > > > >> > .| > > > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > > > > >> > || > > > > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > > > > >> > || > > > > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > > > > >> > || > > > > >> > 00e0 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. > > > > Also look here: > > > http://wiki.freebsd.org/uhidd > > thanks for the hint. i'm about to try it out. however i'm having difficulties > recompiling my kernel without ukbd (which is required for using uhidd): You don't need to remove ukbd from kernel unless you want to use uhidd's own keyboard "driver". Since it's a gamepad, you only need to compile the kernel without uhid(4) and start uhidd with "uhidd -hs /dev/ugen.X.Y". Then you can try something like "usbhidctl -f /dev/uvhid0"... However, uhidd doesn't have specific joystick/gamepad support at the moment. The only benefit of using uhidd on joystick/gamepad is: 1) split multiple joysticks using one endpoint (for converters, very rare). 2) strip the report id byte so usbhidctl and the userland usbhid(3) parser can support the device. Cheers, Kai ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
On Sat, Mar 13, 2010 at 1:56 PM, Alexander Best wrote: > Hans Petter Selasky schrieb am 2010-03-13: >> On Saturday 13 March 2010 13:21:10 Paul B Mahol wrote: >> > On 3/13/10, Alexander Best wrote: >> > > Paul B Mahol schrieb am 2010-03-13: >> > >> On 3/13/10, Alexander Best 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: at usbus3 >> > >> > uhid0: > > >> > 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: > >> > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > >> > >> > |.xr.i...| > >> > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > >> > >> > || > >> > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > >> > >> > |.(..| > >> > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > >> > >> > |.H..| > >> > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > >> > >> > || > >> > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > >> > >> > || > >> > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > >> > >> > || > >> > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > >> > >> > || > >> > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > >> > >> > || > >> > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > >> > >> > || > >> > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > >> > >> > |.. > >> > >> > .| >> > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > >> > >> > || > >> > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > >> > >> > || > >> > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > >> > >> > || > >> > >> > 00e0 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. > > >> Also look here: > >> http://wiki.freebsd.org/uhidd > > thanks for the hint. i'm about to try it out. however i'm having difficulties > recompiling my kernel without ukbd (which is required for using uhidd): You can build all usb stuff as module. It only eats little more disk space ... ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
Hans Petter Selasky schrieb am 2010-03-13: > On Saturday 13 March 2010 13:21:10 Paul B Mahol wrote: > > On 3/13/10, Alexander Best wrote: > > > Paul B Mahol schrieb am 2010-03-13: > > >> On 3/13/10, Alexander Best 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: at usbus3 > > >> > uhid0: > >> > 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: > > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > > >> > |.xr.i...| > > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > > >> > || > > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > > >> > |.(..| > > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > > >> > |.H..| > > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > > >> > || > > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > > >> > || > > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > > >> > || > > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > > >> > || > > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > > >> > || > > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > > >> > || > > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > > >> > |.. > > >> > .| > > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > > >> > || > > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > > >> > || > > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > > >> > || > > >> > 00e0 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. > Also look here: > http://wiki.freebsd.org/uhidd thanks. i've tried very hard to compile a kernel without ukbd statically linked in to it and didn't succeed. maybe you could have a look at this? to me it seems building a kernel with ukbd as module and without it statically linked into the kernel is broken. again the error message during buildkernel is: cc -c -O0 -pipe -fno-builtin -march=native -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=make sh /usr/src/sys/conf/newvers.sh ARUNDEL cc -c -O0 -pipe -fno-builtin -march=native -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector vers.c linking kernel kbd.o(.text+0x59b): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x686): In function `kbd_register': : undefined r
Re: PS3's Joystick on FreeBSD (can be possible?)
Paul B Mahol schrieb am 2010-03-13: > On 3/13/10, Alexander Best wrote: > > Paul B Mahol schrieb am 2010-03-13: > >> On 3/13/10, Alexander Best 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: at usbus3 > >> > uhid0: >> > 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: > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > >> > |.xr.i...| > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > >> > || > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > >> > |.(..| > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > >> > |.H..| > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > >> > || > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > >> > || > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > >> > || > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > >> > || > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > >> > || > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > >> > || > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > >> > |.. > >> > .| > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > >> > || > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > >> > || > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > >> > || > >> > 00e0 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 (**) Axi
Re: PS3's Joystick on FreeBSD (can be possible?)
Hans Petter Selasky schrieb am 2010-03-13: > On Saturday 13 March 2010 13:21:10 Paul B Mahol wrote: > > On 3/13/10, Alexander Best wrote: > > > Paul B Mahol schrieb am 2010-03-13: > > >> On 3/13/10, Alexander Best 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: at usbus3 > > >> > uhid0: > >> > 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: > > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > > >> > |.xr.i...| > > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > > >> > || > > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > > >> > |.(..| > > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > > >> > |.H..| > > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > > >> > || > > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > > >> > || > > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > > >> > || > > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > > >> > || > > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > > >> > || > > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > > >> > || > > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > > >> > |.. > > >> > .| > > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > > >> > || > > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > > >> > || > > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > > >> > || > > >> > 00e0 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. > Also look here: > http://wiki.freebsd.org/uhidd thanks for the hint. i'm about to try it out. however i'm having difficulties recompiling my kernel without ukbd (which is required for using uhidd): cc -c -O0 -pipe -fno-builtin -march=native -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=make sh /usr/src/sys/conf/newvers.sh ARUNDEL cc -c -O0 -pipe -fno-builtin -march=native -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector vers.c linking kernel kbd.o(.text+0x59b): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x686): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x842): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o
Re: PS3's Joystick on FreeBSD (can be possible?)
On Saturday 13 March 2010 13:21:10 Paul B Mahol wrote: > On 3/13/10, Alexander Best wrote: > > Paul B Mahol schrieb am 2010-03-13: > >> On 3/13/10, Alexander Best 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: at usbus3 > >> > uhid0: >> > 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: > >> > > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > >> > > >> > |.xr.i...| > >> > > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > >> > > >> > || > >> > > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > >> > > >> > |.(..| > >> > > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > >> > > >> > |.H..| > >> > > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > >> > > >> > || > >> > > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > >> > > >> > || > >> > > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > >> > > >> > || > >> > > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > >> > > >> > || > >> > > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > >> > > >> > || > >> > > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > >> > > >> > || > >> > > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > >> > > >> > |.. > >> > > >> > .| > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > >> > > >> > || > >> > > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > >> > > >> > || > >> > > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > >> > > >> > || > >> > > >> > 00e0 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. > Also look here: http://wiki.freebsd.org/uhidd --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
Paul B Mahol schrieb am 2010-03-13: > On 3/13/10, Alexander Best wrote: > > Paul B Mahol schrieb am 2010-03-13: > >> On 3/13/10, Alexander Best 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: at usbus3 > >> > uhid0: >> > 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: > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > >> > |.xr.i...| > >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > >> > || > >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > >> > |.(..| > >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > >> > |.H..| > >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > >> > || > >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > >> > || > >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > >> > || > >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > >> > || > >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > >> > || > >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > >> > || > >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > >> > |.. > >> > .| > >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > >> > || > >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > >> > || > >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > >> > || > >> > 00e0 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. thanks. i'll go check that out. i also found an old post from 1999 saying something about a usb joystick driver being committed to freebsd "soon" [1]. ;) [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=782800+0+archive/1999/cvs-all/19990704.cvs-all > > [1] > > http://lists.freebsd.org/pipermail/freebsd-drivers/2008-December/000858.html ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
On 3/13/10, Alexander Best wrote: > Paul B Mahol schrieb am 2010-03-13: >> On 3/13/10, Alexander Best 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: at usbus3 >> > uhid0: > > 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: > >> > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 >> > |.xr.i...| >> > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 >> > || >> > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 >> > |.(..| >> > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 >> > |.H..| >> > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 >> > || >> > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 >> > || >> > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 >> > || >> > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 >> > || >> > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 >> > || >> > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 >> > || >> > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 >> > |.. >> > .| >> > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 >> > || >> > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 >> > || >> > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 >> > || >> > 00e0 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. > [1] > http://lists.freebsd.org/pipermail/freebsd-drivers/2008-December/000858.html > ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
Paul B Mahol schrieb am 2010-03-13: > On 3/13/10, Alexander Best 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: at usbus3 > > uhid0: > 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: > > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > > |.xr.i...| > > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > > || > > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > > |.(..| > > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > > |.H..| > > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > > || > > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > > || > > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > > || > > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > > || > > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > > || > > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > > || > > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 > > |.. > > .| > > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > > || > > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > > || > > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > > || > > 00e0 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? cheers. alex [1] http://lists.freebsd.org/pipermail/freebsd-drivers/2008-December/000858.html ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
On 3/13/10, Alexander Best 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: at usbus3 > uhid0: 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: > > 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > |.xr.i...| > 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > || > 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > |.(..| > 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > |.H..| > 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > || > 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > || > 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > || > 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > || > 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > || > 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > || > 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 |.. > .| > 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > || > 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > || > 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > || > 00e0 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. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
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: at usbus3 uhid0: 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: 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 |.xr.i...| 0010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 || 0020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 |.(..| 0030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 |.H..| 0040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 || 0050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 || 0060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 || 0070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 || 0080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 || 0090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 || 00a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 |.. .| 00b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 || 00c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 || 00d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 || 00e0 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 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
* Vinicius Abrahao (vinnix@gmail.com) wrote: > I'm finally having some time to have fun with my FreeBSD. :-) > Do you know about any progress with joystick supports? > > Here I have a PS3 controller, and have some time to help with tests > and little coding. > ugen1.5: at usbus1 > uhid0: addr 5> on usbus1 > > Is somebody working with it? > > http://wiki.freebsd.org/DmitryMarakasov > .. (Dmitry, do you > need any help?) No, I just need more free time to finally get to it. Actually, if it's attached as uhid, it may already work in e.g. SDL games. If it doesn't, it - Uses some non-standart report (i.e. reporting buttons/axes as 'vendor-specific' values, which software doesn't know how to deal with). In this case the report should be analyzed and a simple wrapper driver may be written) - Is the same case as with my M$ joystick, which uses standart, but a just a bit unusual report, which e.g. SDL is unable to parse. This should be fixed by my long-planned rewrite of HID parser for SDL, which will also be useable in OIS and possibly other libs. Let's start with usbhidctl -f /dev/uhid0 -r -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
> So those are the wireless controllers, but connected using the USB cable > that you normally use to charge it? > Yes, I forgot mention this. This joystick connects with PS3 by bluetooth. It has the "SIXAXIS" too that permit nice things like this: http://www.pabr.org/sixlinux/sixlinux.en.html Imagine one BSD-Mini-Chopper? ;-) ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: PS3's Joystick on FreeBSD (can be possible?)
* Vinicius Abrahao wrote: > I'm finally having some time to have fun with my FreeBSD. :-) > Do you know about any progress with joystick supports? > > Here I have a PS3 controller, and have some time to help with tests > and little coding. > ugen1.5: at usbus1 > uhid0: addr 5> on usbus1 > > Is somebody working with it? So those are the wireless controllers, but connected using the USB cable that you normally use to charge it? -- Ed Schouten WWW: http://80386.nl/ pgpeyeX2wh3Ez.pgp Description: PGP signature
PS3's Joystick on FreeBSD (can be possible?)
Greetings Guys, I'm finally having some time to have fun with my FreeBSD. :-) Do you know about any progress with joystick supports? Here I have a PS3 controller, and have some time to help with tests and little coding. ugen1.5: at usbus1 uhid0: on usbus1 Is somebody working with it? http://wiki.freebsd.org/DmitryMarakasov .. (Dmitry, do you need any help?) http://lists.freebsd.org/pipermail/freebsd-usb/2009-May/006812.html . ( Deniz, have you experiment any change with 8.0 ?) http://www.freshports.org/devel/linux-js/ ... (I'll learn more about this driver) http://www.freshports.org/x11-drivers/xf86-input-joystick/ ( can this driver work with uhid devices? ) http://wiki.freebsd.org/uhidd .. (I'll studying more about uhidd!) Best regards, Sorry for this mega-cross-post, but I think we all have interests with this working. []s Vinnix ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"