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

2010-03-15 Thread Warren Block

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?)

2010-03-15 Thread Emmanuel Vadot
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?)

2010-03-15 Thread Alexander Best
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?)

2010-03-15 Thread Kai Wang
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?)

2010-03-15 Thread Paul B Mahol
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"


Current problem reports assigned to freebsd-usb@FreeBSD.org

2010-03-15 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o usb/144751   usb[ukbd] [usb8] kernel without keyboard support won't co
o usb/144423   usbif_run panic with USB-N13
o usb/144414   usbApple "Fn" key doesn't work properly
o usb/144387   usbif_run panic
o usb/144332   usbKernel compile fails when aue is enabled but not other
o usb/144201   usbAlphaSmart Dana usbdevs and uvisor update
o usb/144199   usbuvisor(4) - AlphaSmart Dana incorrect stall clearing
o usb/144043   usb[umass] USB DLT tape drive throws random errors
o usb/143790   usb[boot] can not boot from usb hdd
f usb/143634   usb[umass] [usb8] Jetflash USB flash stick fails to mount
f usb/143620   usb[cdce] [usb8] the module if_cdce doesn't support my Op
o usb/143448   usb[usbdevs] [usb8] [patch] QUIRK: JMicron JM20336 USB/SA
f usb/143294   usb[usb8] copying process stops at some time (10 - 50 sec
o usb/143286   usb[ukbd] [usb8] [boot] boot failures on RELENG_8 system 
f usb/143186   usb[usbdevs] [usb8] [patch] add USB device IDs for Google
a usb/143139   usb[umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J
o usb/143045   usb[umass] [usb8] [patch] mounting Fujitsu 2600Z camera d
o usb/142991   usb[uftdi] [usb67] [patch] Patch to add Crystalfontz 533 
f usb/142989   usb[usb8] canon eos 50D attaches but detaches after few s
f usb/142957   usb[umass] [usb8] [patch] patch for USB disk SYNCHRONIZE 
o usb/142719   usb[urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa
o usb/142713   usb[usb67] [panic] Kernel Panik when connecting an IPhone
f usb/142276   usb[umass] [usb8] Cache Synchronization Error with Olympu
o usb/142229   usb[ums] [usb8] [hang] connecting a USB mouse to a Dell P
o usb/141680   usb[uath] [usb8] Netgear WG111T not working with uath dri
o usb/141664   usb[pcm] [usb8] Logitech USB microphone failure [regressi
o usb/141474   usb[boot] [usb8] FreeBSD 8.0 can not install from USB CDR
a usb/141467   usb[uftdi] [patch] RATOC REX-USB60F (usb serial converter
o usb/141327   usb[ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM
o usb/141313   usb[usb8] nvidia USB 2.0 controller - stops copying on US
o usb/141212   usb[ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER
o kern/141011  usb[usb] Encrypted root, geli password at boot; enter key
o usb/140928   usb[u3g] [usb8] [patch] ZTE CDMA2000 1X EV-DO (MG478/AC87
o usb/140920   usb[install] [usb8] USB based install fails on 8.0-RELEAS
o usb/140893   usb[urtw] [usb8] WPA2 not working on rtl8187b
f usb/140883   usb[axe] [usb8] USB gigabit ethernet hangs after short pe
o kern/140849  usb[ums] [usb8] USB mouse doesn't work under FreeBSD 8.0-
a usb/140810   usb[uftdi] [usb8] 8.X copy and paste problem / tty overfl
o kern/140614  usb[uplcom] [patch] adding support for Radio Shack Gigwar
o usb/140590   usb[bluetooth] [usb8] ng_ubt(4) ng_l2cap_process_cmd_rej 
o usb/140477   usb[umass] [usb8] [patch] allow boot-time attachment of d
o usb/140259   usb[libusb] [patch] [usb8] libusb-1.0 portability/compati
o usb/140236   usb[msdosfs] [usb8] Labels wiped on external Journaled US
o usb/140160   usb[usb8] [acpi] USB ports are no longer "active" after A
s usb/139990   usb[panic] [patch] [usb67] Kernel frequently panics after
a usb/139598   usb[umass] [usb8] CAM reports "xptioctl: put "device pass
o usb/139243   usb[uhci] [usb67] unplug prolific USB serial -> uhci_abor
o usb/138915   usb[patch] [usb8] [usb67] add support for SheevaPlug seri
a usb/138904   usb[rum] [panic] [usb67] unpluging USB wifi card panics s
f usb/138882   usb[ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t
a usb/138879   usb[uftdi] [patch] Patch to add support for CTI USB-Mini 
o usb/138798   usb[boot] [usb8] 8.0-BETA4 can't boot from USB flash driv
o usb/138659   usb[usb8][uftdi] driver broken in RELENG_8/CURRENT
o usb/138570   usb[usb] [panic] USB mass device panics current 7.2-STABL
o usb/138175   usb[usb67] [boot] System cannot boot, when USB reader wit
o usb/138172   usb[u3g] [patch] [usb67] Additional dev id for u3g (Optio
o usb/138138   usb[u3g] [patch] [usb67] Novatel U760 for u3g (Verizon an
o usb/138124   usb[snd_uaudio] [usb8] Axed uaudio functionality in the u
o usb/138119   usb[usb67] [usb8] MultiB

Re: [current] could not attach n900 (mass storage mode) at high speed

2010-03-15 Thread Matthias Apitz
El día Sunday, March 14, 2010 a las 04:39:20PM +0200, Andrey Kosachenko 
escribió:

> Hi,
> 
> There is a laptop carrying FreeBSD (9.0-current, built from fresh sources).
> Device (Nokia N900) is attached via USB interface. However the speed of 
> data transfer is too low (~1.0 MB/s). I tried to attached it to Linux 
> box and data was transferred at full speed (~ 25 MB/s)


Hello Andrey,

Maybe a bit off-topic and we should move the conversation to private...

May I ask you some question about the N900? I'm using the Openmoko
Freerunner, a real open mobile phone running a Linux as well and if you
SSH to the mobile you will see it as a normal Linux server with a X11
display and all such things.

What about the N900? Perhaps the sources are not available (as they are
for the Freerunner), but despite of this: is this as well a normal UNIX
server inside? SSH, bash, X11, you can write your own apps in Python,
...?

I'm asking because my Freerunner will die in the future and the company
went away already from the market, is the N900 a replacement for this in
the future?

Thanks

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Solidarity with the imperialistic Israel? Not in my name!
¿Solidaridad con el imperialismo de Israel? ¡No en mi nombre!
___
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"