To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
or, via email, send a message with subject or body 'help' to
freebsd-u...@freebsd.org
You can reach the person managing the list at
freebsd-...@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-usb digest..."
Today's Topics:
1. Re: usb/144414: Apple "Fn" key doesn't work properly
(Hans Petter Selasky)
2. Re: usb/144414: Apple "Fn" key doesn't work properly
(Steven Noonan)
3. Re: [current] could not attach n900 (mass storage mode) at
high speed (Hans Petter Selasky)
4. Re: usb to ps/2 adapter works in one machine, but not
another? (Torfinn Ingolfsen)
5. Re: usb to ps/2 adapter works in one machine, but not
another? (mail...@diode.be)
6. usb/144751: [ukbd] [usb8] kernel without keyboard support
won't compile (Alexander Best)
7. Re: [current] could not attach n900 (mass storage mode) at
high speed (Matthias Apitz)
8. Current problem reports assigned to freeb...@FreeBSD.org
(FreeBSD bugmaster)
9. Re: PS3's Joystick on FreeBSD (can be possible?) (Paul B Mahol)
10. Re: PS3's Joystick on FreeBSD (can be possible?) (Kai Wang)
11. Re: PS3's Joystick on FreeBSD (can be possible?) (Alexander Best)
12. Re: PS3's Joystick on FreeBSD (can be possible?) (Emmanuel Vadot)
13. Re: PS3's Joystick on FreeBSD (can be possible?) (Warren Block)
14. How fast is the OHCI driver? (Sebastian Huber)
15. EPSON 1240 Scanner problems on 8.0 (David Jackson)
16. Re: EPSON 1240 Scanner problems on 8.0 (David Jackson)
17. Re: How fast is the OHCI driver? (Bernd Walter)
18. Re: How fast is the OHCI driver? (Hans Petter Selasky)
19. Re: How fast is the OHCI driver? (Sebastian Huber)
----------------------------------------------------------------------
Message: 1
Date: Sun, 14 Mar 2010 15:30:11 GMT
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: usb/144414: Apple "Fn" key doesn't work properly
To: freeb...@FreeBSD.org
Message-ID: <201003141530....@freefall.freebsd.org>
The following reply was made to PR usb/144414; it has been noted by GNATS.
From: Hans Petter Selasky <hsel...@c2i.net>
To: Steven Noonan <ste...@uplinklabs.net>
Cc: Kai Wang <kaiw...@gmail.com>,
Christoph Langguth <chri...@rosenkeller.org>,
freebsd-gn...@freebsd.org,
freeb...@freebsd.org
Subject: Re: usb/144414: Apple "Fn" key doesn't work properly
Date: Sun, 14 Mar 2010 16:23:25 +0100
On Sunday 14 March 2010 15:49:37 Steven Noonan wrote:
> On Sun, Mar 14, 2010 at 6:46 AM, Kai Wang <kaiw...@gmail.com> wrote:
> > On Sun, Mar 14, 2010 at 06:37:04AM -0800, Steven Noonan wrote:
> >> On Sun, Mar 14, 2010 at 6:27 AM, Hans Petter Selasky <hsel...@c2i.net>
wrote:
> >> > On Sunday 14 March 2010 15:01:39 Steven Noonan wrote:
> >> >> On Sun, Mar 14, 2010 at 5:48 AM, Hans Petter Selasky
> >> >> <hsel...@c2i.net>
> >> >
> >> > wrote:
> >> >> > On Sunday 14 March 2010 14:22:33 Steven Noonan wrote:
> >> >> >> On Sun, Mar 14, 2010 at 3:01 AM, Hans Petter Selasky
> >> >> >> <hsel...@c2i.net>
> >> >> >
> >> >> > wrote:
> >> >> >> > On Sunday 14 March 2010 11:30:04 Steven Noonan wrote:
> >> >> >> >> The following reply was made to PR usb/144414; it has been
> >> >> >> >> noted by GNATS.
> >> >> >> >>
> >> >> >> >> From: Steven Noonan <ste...@uplinklabs.net>
> >> >> >> >> To: per...@pluto.rain.com
> >> >> >> >> Cc: freeb...@freebsd.org, freebsd-gn...@freebsd.org
> >> >> >> >> Subject: Re: usb/144414: Apple "Fn" key doesn't work properly
> >> >> >> >> Date: Sun, 14 Mar 2010 03:26:19 -0700
> >> >> >> >>
> >> >> >> >> On Thu, Mar 4, 2010 at 12:01 AM, Steven Noonan
> >> >> >> >> <ste...@uplinklabs.net> wrot=
> >> >> >> >>
> >> >> >> >> e:
> >> >> >> >> > On Wed, Mar 3, 2010 at 11:00 PM, Steven Noonan
> >> >> >> >> <ste...@uplinklabs.net> > wr=
> >> >> >> >>
> >> >> >> >> ote:
> >> >> >> >> >> On Wed, Mar 3, 2010 at 10:36 PM,
> >> >> >> >> =C2=A0<per...@pluto.rain.com> wrote: >>> Steven Noonan
> >> >> >> >> <ste...@uplinklabs.net> wrote: >>>> Interestingly, my tilde key
> >> >> >> >> doesn't work either (though the key >>>> press is detected, no
> >> >> >> >> character shows when the key is pressed). >>>
> >> >> >> >> >>> Any chance it is configured as a "dead" key? =C2=A0If you
> >> >> >> >> press >>> tilde followed by n do you get an n with a tilde over
> >> >> >> >> it? >>
> >> >> >> >> >> Nope. It simply does nothing in the console.
> >> >> >> >> >>
> >> >> >> >> >> But in X11, it does something very odd. Shift+Tilde Key
> >> >> >> >> gives me '>', >> and Tilde Key gives me '<'. And Alt+Tilde
> >> >> >> >> gives me... What? I don't >> even know what action. It's
> >> >> >> >> grabbing some arbitrary command in my >> .bash_history. It gave
> >> >> >> >> me the first item in my .bash_history the first >> time I tried
> >> >> >> >> it. Then I tried an arbitrary command ("echo"), and then >>
> >> >> >> >> Alt+Tilde gave me the second command in my .bash_history. Whaa?
> >> >> >> >>
> >> >> >> >> Any more ideas/news on this from anyone?
> >> >> >> >>
> >> >> >> >> The tilde key thing is especially irritating.
> >> >> >> >
> >> >> >> > static uint8_t
> >> >> >> > ukbd_apple_swap(uint8_t keycode) {
> >> >> >> > switch (keycode) {
> >> >> >> > case 0x35: return 0x64;
> >> >> >> > case 0x64: return 0x35;
> >> >> >> > default: return keycode;
> >> >> >> > }
> >> >> >> > }
> >> >> >> >
> >> >> >> > Can you try to change the function above in ukbd.c to only
> >> >> >> > return keycode? Any difference?
> >> >> >>
> >> >> >> Yep, commenting the two case lines brought my tilde key back. Any
> >> >> >> idea what the ukbd_apple_swap() function was _supposed_ to be
> >> >> >> doing?
> >> >> >>
> >> >> >> Also, there's only one thing left (input-wise) that I can't get to
> >> >> >> work, and that's the 'delete' key (Fn+Backspace). I'm pretty
> >> >> >> certain that it's not a problem with Fn+Backspace failing to map
> >> >> >> to Delete, because my non-Mac i386 box has the same problem.
> >> >> >>
> >> >> >> Everything I read online keeps saying to muck with an .inputrc
> >> >> >> file (for bash, anyway), but I haven't been able to get it to
> >> >> >> work. Places I've looked have said to add this to .inputrc:
> >> >> >>
> >> >> >> "\e[3~": delete-char
> >> >> >>
> >> >> >> But this seems to have no effect (and I tried bind -f .inputrc in
> >> >> >> case my INPUTRC environment variable wasn't working). Is there
> >> >> >> something FreeBSD-specific I'm not seeing, or what?
> >> >> >>
> >> >> >> - Steven
> >> >> >
> >> >> > Hi Steven,
> >> >> >
> >> >> > Can you talk this over with Christoph and send me a patch when you
> >> >> > agreed? He's the one that made the Apple-SWAP key patch. Meanwhile
> >> >> > I suggest the following patch:
> >> >> >
> >> >> > ==== //depot/projects/usb/src/sys/dev/usb/input/ukbd.c#47 -
> >> >> > src/sys/dev/usb/input/ukbd.c ====
> >> >> > @@ -896,8 +896,7 @@
> >> >> > hid_input, 0, &sc->sc_loc_apple_fn, &flags,
> >> >> > &temp_id)) {
> >> >> > if (flags & HIO_VARIABLE)
> >> >> > - sc->sc_flags |= UKBD_FLAG_APPLE_FN
> >> >> > | - UKBD_FLAG_APPLE_SWAP;
> >> >> > + sc->sc_flags |= UKBD_FLAG_APPLE_FN;
> >> >> > DPRINTFN(1, "Found Apple FN-key\n");
> >> >> > apple_keys = 1;
> >> >> > sc->sc_kbd_id = temp_id;
> >> >> >
> >> >> >
> >> >> > The hardware that Christoph was using had an Eject-key, while yours
> >> >> > didn't. I think the patch above will make both cases work.
> >> >> >
> >> >> > Christoph, do you have any comments?
> >> >> >
> >> >> > http://p4db.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/usb/sr
> >> >> >c/sys/ dev/usb/input/ukbd.c&REV=47
> >> >>
> >> >> Not quite true, my keyboard _does_ have an Eject key. The code
> >> >> doesn't detect it though.
> >> >>
> >> >> - Steven
> >> >
> >> > Could you try to figure out what key-press number corresponds to the
> >> > eject key?
> >> >
> >> > --HPS
> >>
> >> I'm not certain how to do so. It's somewhat of a chicken-and-the-egg
> >> problem: unless it detects that the key is there, I can't find it.
> >> Enabling 'hw.usb.ukbd.debug' doesn't print anything when Eject is
> >> pressed.
> >
> > It's very possible that your Eject key is in a separate interface and
> > is handled by uhid(4) instead of ukbd(4).
> >
> > /Kai
>
> Enabling 'hw.usb.uhid.debug' doesn't print anything on an Eject
> keypress either, but that could just mean that uhid(4) doesn't have
> necessary DPRINTFs to show it.
>
> - Steven
>
You need to open /dev/uhidX before it will print anything.
--HPS
------------------------------
Message: 2
Date: Sun, 14 Mar 2010 15:30:14 GMT
From: Steven Noonan <ste...@uplinklabs.net>
Subject: Re: usb/144414: Apple "Fn" key doesn't work properly
To: freeb...@FreeBSD.org
Message-ID: <201003141530....@freefall.freebsd.org>
The following reply was made to PR usb/144414; it has been noted by GNATS.
From: Steven Noonan <ste...@uplinklabs.net>
To: Hans Petter Selasky <hsel...@c2i.net>
Cc: Kai Wang <kaiw...@gmail.com>, Christoph Langguth <chri...@rosenkeller.org>,
freebsd-gn...@freebsd.org, freeb...@freebsd.org
Subject: Re: usb/144414: Apple "Fn" key doesn't work properly
Date: Sun, 14 Mar 2010 07:28:16 -0800
On Sun, Mar 14, 2010 at 7:23 AM, Hans Petter Selasky <hsel...@c2i.net> wro=
te:
> On Sunday 14 March 2010 15:49:37 Steven Noonan wrote:
>> On Sun, Mar 14, 2010 at 6:46 AM, Kai Wang <kaiw...@gmail.com> wrote:
>> > On Sun, Mar 14, 2010 at 06:37:04AM -0800, Steven Noonan wrote:
>> >> On Sun, Mar 14, 2010 at 6:27 AM, Hans Petter Selasky <hsel...@c2i.ne=
t>
> wrote:
>> >> > On Sunday 14 March 2010 15:01:39 Steven Noonan wrote:
>> >> >> On Sun, Mar 14, 2010 at 5:48 AM, Hans Petter Selasky
>> >> >> <hsel...@c2i.net>
>> >> >
>> >> > wrote:
>> >> >> > On Sunday 14 March 2010 14:22:33 Steven Noonan wrote:
>> >> >> >> On Sun, Mar 14, 2010 at 3:01 AM, Hans Petter Selasky
>> >> >> >> <hsel...@c2i.net>
>> >> >> >
>> >> >> > wrote:
>> >> >> >> > On Sunday 14 March 2010 11:30:04 Steven Noonan wrote:
>> >> >> >> >> The following reply was made to PR usb/144414; it has been
>> >> >> >> >> noted by GNATS.
>> >> >> >> >>
>> >> >> >> >> From: Steven Noonan <ste...@uplinklabs.net>
>> >> >> >> >> To: per...@pluto.rain.com
>> >> >> >> >> Cc: freeb...@freebsd.org, freebsd-gn...@freebsd.or=
g
>> >> >> >> >> Subject: Re: usb/144414: Apple "Fn" key doesn't work properl=
y
>> >> >> >> >> Date: Sun, 14 Mar 2010 03:26:19 -0700
>> >> >> >> >>
>> >> >> >> >> =C2=A0On Thu, Mar 4, 2010 at 12:01 AM, Steven Noonan
>> >> >> >> >> <ste...@uplinklabs.net> wrot=3D
>> >> >> >> >>
>> >> >> >> >> =C2=A0e:
>> >> >> >> >> =C2=A0> On Wed, Mar 3, 2010 at 11:00 PM, Steven Noonan
>> >> >> >> >> <ste...@uplinklabs.net> > wr=3D
>> >> >> >> >>
>> >> >> >> >> =C2=A0ote:
>> >> >> >> >> =C2=A0>> On Wed, Mar 3, 2010 at 10:36 PM,
>> >> >> >> >> =3DC2=3DA0<per...@pluto.rain.com> wrote: >>> Steven Noonan
>> >> >> >> >> <ste...@uplinklabs.net> wrote: >>>> Interestingly, my tilde =
key
>> >> >> >> >> doesn't work either (though the key >>>> press is detected, =
no
>> >> >> >> >> character shows when the key is pressed). >>>
>> >> >> >> >> =C2=A0>>> Any chance it is configured as a "dead" key? =3DC2=
=3DA0If you
>> >> >> >> >> press >>> tilde followed by n do you get an n with a tilde o=
ver
>> >> >> >> >> it? >>
>> >> >> >> >> =C2=A0>> Nope. It simply does nothing in the console.
>> >> >> >> >> =C2=A0>>
>> >> >> >> >> =C2=A0>> But in X11, it does something very odd. Shift+Tilde=
Key
>> >> >> >> >> gives me '>', >> and Tilde Key gives me '<'. And Alt+Tilde
>> >> >> >> >> gives me... What? I don't >> even know what action. It's
>> >> >> >> >> grabbing some arbitrary command in my >> .bash_history. It g=
ave
>> >> >> >> >> me the first item in my .bash_history the first >> time I tr=
ied
>> >> >> >> >> it. Then I tried an arbitrary command ("echo"), and then >>
>> >> >> >> >> Alt+Tilde gave me the second command in my .bash_history. Wh=
aa?
>> >> >> >> >>
>> >> >> >> >> =C2=A0Any more ideas/news on this from anyone?
>> >> >> >> >>
>> >> >> >> >> =C2=A0The tilde key thing is especially irritating.
>> >> >> >> >
>> >> >> >> > static uint8_t
>> >> >> >> > ukbd_apple_swap(uint8_t keycode) {
>> >> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0switch (keycode) {
>> >> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0case 0x35: return 0x64;
>> >> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0case 0x64: return 0x35;
>> >> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0default: return keycode;
>> >> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> >> >> >> > }
>> >> >> >> >
>> >> >> >> > Can you try to change the function above in ukbd.c to only
>> >> >> >> > return keycode? Any difference?
>> >> >> >>
>> >> >> >> Yep, commenting the two case lines brought my tilde key back. A=
ny
>> >> >> >> idea what the ukbd_apple_swap() function was _supposed_ to be
>> >> >> >> doing?
>> >> >> >>
>> >> >> >> Also, there's only one thing left (input-wise) that I can't get=
to
>> >> >> >> work, and that's the 'delete' key (Fn+Backspace). I'm pretty
>> >> >> >> certain that it's not a problem with Fn+Backspace failing to ma=
p
>> >> >> >> to Delete, because my non-Mac i386 box has the same problem.
>> >> >> >>
>> >> >> >> Everything I read online keeps saying to muck with an .inputrc
>> >> >> >> file (for bash, anyway), but I haven't been able to get it to
>> >> >> >> work. Places I've looked have said to add this to .inputrc:
>> >> >> >>
>> >> >> >> "\e[3~": delete-char
>> >> >> >>
>> >> >> >> But this seems to have no effect (and I tried bind -f .inputrc =
in
>> >> >> >> case my INPUTRC environment variable wasn't working). Is there
>> >> >> >> something FreeBSD-specific I'm not seeing, or what?
>> >> >> >>
>> >> >> >> - Steven
>> >> >> >
>> >> >> > Hi Steven,
>> >> >> >
>> >> >> > Can you talk this over with Christoph and send me a patch when y=
ou
>> >> >> > agreed? He's the one that made the Apple-SWAP key patch. Meanwhi=
le
>> >> >> > I suggest the following patch:
>> >> >> >
>> >> >> > =3D=3D=3D=3D //depot/projects/usb/src/sys/dev/usb/input/ukbd.c#4=
7 -
>> >> >> > src/sys/dev/usb/input/ukbd.c =3D=3D=3D=3D
>> >> >> > @@ -896,8 +896,7 @@
>> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0hid_input, 0, &sc->sc_loc_apple_fn, &flags,
>> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0&temp_id)) {
>> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0if (flags & HIO_VARIABLE)
>> >> >> > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sc->sc_flags |=3D UKBD_FLAG_APPL=
E_FN
>> >> >> > | - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 UKBD_FLAG_APPLE=
_SWAP;
>> >> >> > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sc->sc_flags |=3D UKBD_FLAG_APPL=
E_FN;
>> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0DPRINTFN(1, "Found Apple FN-key\n");
>> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0apple_keys =3D 1;
>> >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0sc->sc_kbd_id =3D temp_id;
>> >> >> >
>> >> >> >
>> >> >> > The hardware that Christoph was using had an Eject-key, while yo=
urs
>> >> >> > didn't. I think the patch above will make both cases work.
>> >> >> >
>> >> >> > Christoph, do you have any comments?
>> >> >> >
>> >> >> > http://p4db.freebsd.org/fileViewer.cgi?FSPC=3D//depot/projects/u=
sb/sr
>> >> >> >c/sys/ dev/usb/input/ukbd.c&REV=3D47
>> >> >>
>> >> >> Not quite true, my keyboard _does_ have an Eject key. The code
>> >> >> doesn't detect it though.
>> >> >>
>> >> >> - Steven
>> >> >
>> >> > Could you try to figure out what key-press number corresponds to th=
e
>> >> > eject key?
>> >> >
>> >> > --HPS
>> >>
>> >> I'm not certain how to do so. It's somewhat of a chicken-and-the-egg
>> >> problem: unless it detects that the key is there, I can't find it.
>> >> Enabling 'hw.usb.ukbd.debug' doesn't print anything when Eject is
>> >> pressed.
>> >
>> > It's very possible that your Eject key is in a separate interface and
>> > is handled by uhid(4) instead of ukbd(4).
>> >
>> > /Kai
>>
>> Enabling 'hw.usb.uhid.debug' doesn't print anything on an Eject
>> keypress either, but that could just mean that uhid(4) doesn't have
>> necessary DPRINTFs to show it.
>>
>> - Steven
>>
>
> You need to open /dev/uhidX before it will print anything.
>
> --HPS
>
Aha. Doing 'cat /dev/uhid0 > /dev/null' and then hitting eject yielded:
"uhid_intr_callback: transferred!"
in dmesg.
- Steven
------------------------------
Message: 3
Date: Sun, 14 Mar 2010 19:04:15 +0100
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: [current] could not attach n900 (mass storage mode) at
high speed
To: freeb...@freebsd.org
Cc: Andrey Kosachenko <andrey.k...@gmail.com>
Message-ID: <201003141904....@c2i.net>
Content-Type: Text/Plain; charset="utf-8"
On Sunday 14 March 2010 15:39:20 Andrey Kosachenko wrote:
> 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)
>
> Some relevant info (please, let me know if it's not sufficient):
>
> uhci/ehci are compiled in.
>
The port speed is decided by the EHCI Host Controller. You maybe want to
enable HUB debugging messages:
sysctl hw.usb.uhub.debug=15
sysctl hw.usb.ehci.debug=8
--HPS
------------------------------
Message: 4
Date: Sun, 14 Mar 2010 21:30:49 +0100
From: Torfinn Ingolfsen <torfinn....@broadpark.no>
Subject: Re: usb to ps/2 adapter works in one machine, but not
another?
To: freeb...@FreeBSD.org
Message-ID: <20100314213049.89b0b...@broadpark.no>
Content-Type: text/plain; CHARSET=US-ASCII
On Sat, 13 Mar 2010 18:06:01 -0800
per...@pluto.rain.com wrote:
> There may be a simpler solution. The systems I've seen with only
> one ps/2 jack had both the keyboard and the mouse signals wired to
> the single jack. (Quick test: if it is wired this way it will work
> with either a keyboard or a mouse.) If that's how yours is set up
> you can get a Y adapter with one ps/2 plug and two ps/2 jacks, and
> not need to deal with USB keyboard or mouse support at all.
True. I should have mentioned this option. Why haven't I just bought
such an adapter and be done with it?
Well, for some reason, these adapters (whether you call them "PS/2
splitters" or "PS/2 Y cable") are not easy to get hold of. None of my
"local" computer shops have them, and I wasn't able to find any on
Dealextreme either. If I do find a shop that have them listed, its not
in stock, and they charge a small fortune for them.
In contrast, usb to ps/2 adapters are almost everywhere.
--
Regards,
Torfinn Ingolfsen
------------------------------
Message: 5
Date: Sun, 14 Mar 2010 21:42:32 +0100
From: mail...@diode.be
Subject: Re: usb to ps/2 adapter works in one machine, but not
another?
To: freeb...@freebsd.org
Message-ID: <20100314214232....@webmail.diode.be>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
format="flowed"
While this still doesn't solve your original problem, PS2 splitters
appear to be listed on eBay. Searching for "PS2 splitter" gives
splitters for 1 to 5 euros, in countries in Europe and Asia. You may
find one with low shipping costs.
Regards,
Tiemen
Quoting Torfinn Ingolfsen <torfinn....@broadpark.no>:
> On Sat, 13 Mar 2010 18:06:01 -0800
> per...@pluto.rain.com wrote:
>
>> There may be a simpler solution. The systems I've seen with only
>> one ps/2 jack had both the keyboard and the mouse signals wired to
>> the single jack. (Quick test: if it is wired this way it will work
>> with either a keyboard or a mouse.) If that's how yours is set up
>> you can get a Y adapter with one ps/2 plug and two ps/2 jacks, and
>> not need to deal with USB keyboard or mouse support at all.
>
> True. I should have mentioned this option. Why haven't I just bought
> such an adapter and be done with it?
> Well, for some reason, these adapters (whether you call them "PS/2
> splitters" or "PS/2 Y cable") are not easy to get hold of. None of my
> "local" computer shops have them, and I wasn't able to find any on
> Dealextreme either. If I do find a shop that have them listed, its not
> in stock, and they charge a small fortune for them.
> In contrast, usb to ps/2 adapters are almost everywhere.
> --
> Regards,
> Torfinn Ingolfsen
>
> _______________________________________________
> freeb...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb...@freebsd.org"
>
------------------------------
Message: 6
Date: Sun, 14 Mar 2010 23:54:09 GMT
From: Alexander Best <alexb...@wwu.de>
Subject: usb/144751: [ukbd] [usb8] kernel without keyboard support
won't compile
To: freebsd-gn...@FreeBSD.org
Message-ID: <201003142354....@www.freebsd.org>
>Number: 144751
>Category: usb
>Synopsis: [ukbd] [usb8] kernel without keyboard support won't compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 15 00:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alexander Best
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #8 r205019M: Thu Mar 11 21:03:33 CET 2010 root@otaku:/usr/obj/usr/src/sys/ARUNDEL amd64
>Description:
trying to compile a kernel with no usb keyboard support results in the following error during kernel compilation:
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(.text+0x87f): In function `kbd_get_switch':
: undefined reference to `__stop_set_kbddriver_set'
kbd.o(.text+0xdf8): In function `kbd_configure':
: undefined reference to `__start_set_kbddriver_set'
kbd.o(.text+0xe2c): In function `kbd_configure':
: undefined reference to `__stop_set_kbddriver_set'
*** Error code 1
Stop in /usr/obj/usr/src/sys/ARUNDEL.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
cheers.
alex
>How-To-Repeat:
use the attached kernel conf to compile a new kernel.
>Fix:
since the atkbd driver cannot be compiled as a kernel module it's obvious that having no keyboard defined in the kernel conf should make the kernel rely on the ukbd module.
if however the use of the ukb driver as module is unsupported this problem report should be considered a change request to the ukbd(4) manual to reflect the mandatory definition of ukbd in the kernel conf.
Patch attached with submission follows:
# debugger/ktrace/kernel.debug
options KDB # Compile with kernel debugger related code.
options DDB # Enable the ddb debugger backend.
options KTRACE # ktrace(1) support
makeoptions DEBUG="-g" # Build kernel with gdb(1) debug symbols
# various debugging options
#options KDB_TRACE # Print a stack trace of the current thread on the console for a panic.
#options PREEMPTION # Allows the threads that are in the kernel to be preempted by higher priority [interrupt] threads.
#options IPI_PREEMPTION # Instructs the kernel to preempt threads running on other CPUS if needed. Relies on the PREEMPTION option.
#options BREAK_TO_DEBUGGER # A BREAK on a serial console goes to ddb, if available.
#options INVARIANTS
#options INVARIANT_SUPPORT
#options WITNESS
#options DEBUG_LOCKS
#options DEBUG_VFS_LOCKS
#options DIAGNOSTIC
#options SW_WATCHDOG
#options SOCKBUF_DEBUG
#options DEBUG_MEMGUARD
#options DEBUG_REDZONE
#options STACK
options DEADLKRES # Add the software deadlock resolver thread.
cpu HAMMER
ident ARUNDEL
#options SCHED_ULE # ULE scheduler
options SCHED_4BSD # 4BSD scheduler
options INET # InterNETworking
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options LIBICONV # Kernel side iconv library
options CD9660 # ISO 9660 filesystem
options CD9660_ICONV
options MSDOSFS # MS DOS File System (FAT, FAT32)
options MSDOSFS_ICONV
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_DIRHASH # Improve performance on big directories
options COMPAT_FREEBSD32 # Compatible with i386 binaries
#options COMPAT_LINUX # Enable Linux ABI emulation
#options COMPAT_FREEBSD7
#options LINPROCFS # Enable the linux-like proc filesystem support
#options LINSYSFS # Enable the linux-like sys filesystem support
options SC_HISTORY_SIZE=1000 # number of history buffer lines
options MSGBUF_SIZE=65536 # Size of the kernel message buffer. Should be N * pagesize.
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options P1003_1B_SEMAPHORES # POSIX semaphores
options P1003_1B_MQUEUE # POSIX message queue
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
#options KBD_INSTALL_CDEV # install a CDEV entry in /dev
#options UKBD_DFLT_KEYMAP # specify the built-in keymap
#makeoptions UKBD_DFLT_KEYMAP="german.iso"
options SMP # Symmetric MultiProcessor Kernel
options PRINTF_BUFR_SIZE=128
#device apic # I/O APIC
#devices
#device eisa
device pci
device acpi
device atacore
device ahci
device atajmicron
#device ataintel
device atapci
#device atadisk
device atapicd
#options ATA_STATIC_ID
device vga
device sc
#usb
device usb
device uhci
device ehci
#device ukbd
device ulpt
#device ums
#device uhid
option USB_VERBOSE
#network
device wlan
device ath
device ath_hal
options AH_SUPPORT_AR5416
device ath_rate_sample
device wlan_wep
device wlan_ccmp
device wlan_tkip
device bpf
#options IEEE80211_DEBUG
#options ATH_DEBUG
#options ALTQ
#options ALTQ_CBQ # Class Bases Queuing (CBQ)
#options ALTQ_RED # Random Early Detection (RED)
#options ALTQ_RIO # RED In/Out
#options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
#options ALTQ_PRIQ # Priority Queuing (PRIQ)
#options ALTQ_NOPCC # Wird von SMP benötigt
#cpu
device cpufreq
device coretemp
#pseudo devices
device loop
device ether
device pty
device md
#misc
#device ppc
#device ppbus
#device ppi
device umass
device scbus
device cd
device pass
device da
#device atapicam
device sound
device snd_hda
device random
#options DIRECTIO
#GEOM
options GEOM_LABEL
options GEOM_PART_GPT
#options GEOM_PART_MBR
#device iicbus
#device iic
# VESA stuff
#options VESA
#options VGA_WIDTH90
#options SC_PIXEL_MODE
# ATA to CAM
options ATA_CAM
#options CAMDEBUG
#options CAM_DEBUG_BUS=2
#options CAM_DEBUG_TARGET=1
#options CAM_DEBUG_LUN=0
#options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB)
>Release-Note:
>Audit-Trail:
>Unformatted:
------------------------------
Message: 7
Date: Mon, 15 Mar 2010 10:26:43 +0100
From: Matthias Apitz <gu...@unixarea.de>
Subject: Re: [current] could not attach n900 (mass storage mode) at
high speed
To: Andrey Kosachenko <andrey.k...@gmail.com>
Cc: freeb...@freebsd.org
Message-ID: <2010031509...@current.Sisis.de>
Content-Type: text/plain; charset=iso-8859-1
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 <gu...@unixarea.de> - w http://www.unixarea.de/
Solidarity with the imperialistic Israel? Not in my name!
¿Solidaridad con el imperialismo de Israel? ¡No en mi nombre!
------------------------------
Message: 8
Date: Mon, 15 Mar 2010 11:07:24 GMT
From: FreeBSD bugmaster <bugm...@FreeBSD.org>
Subject: Current problem reports assigned to freeb...@FreeBSD.org
To: freeb...@FreeBSD.org
Message-ID: <201003151107....@freefall.freebsd.org>
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 usb if_run panic with USB-N13
o usb/144414 usb Apple "Fn" key doesn't work properly
o usb/144387 usb if_run panic
o usb/144332 usb Kernel compile fails when aue is enabled but not other
o usb/144201 usb AlphaSmart Dana usbdevs and uvisor update
o usb/144199 usb uvisor(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] MultiBay CDROM (probably on USB bus) is
o usb/137872 usb [usb67] [boot] slow booting on usb flash drive
o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un
o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no
o usb/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please
o usb/137377 usb [usb8] request support for Huawei E180
o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro
f usb/137190 usb [usb8][patch] inhibit spurious button releases for som
o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo
p usb/137188 usb [usb8][patch] correctly handle USB report descriptors
f bin/137180 usb [build] [patch] building world for 8.0-BETA2 fails on
o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att
p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H
o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis
o usb/135575 usb [usbdevs] [patch] [usb67] Add HTC Wizard phone vid/pid
o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa
o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2
o usb/135206 usb machine reboots when inserted USB device
o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu
o usb/135182 usb UMASS quirk - Olympus FE20 camera
o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible
o usb/134633 usb Add support for WILLCOM03(SHARP smart phone)
o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak
o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g
o usb/134193 usb System freeze on usb MP3 player insertion
o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod
o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive
o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt
o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa
o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache
o usb/133296 usb [rum] driver not working properly in hostap mode
p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA
o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as
o usb/132594 usb USB subsystem causes page fault and crashes
o usb/132312 usb [hang] Xorg 7.4 halts USB controller
o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by
o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760
o usb/132036 usb [panic] page fault when connecting Olympus C740 camera
o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips
o usb/131900 usb [usbdevs] [patch] Additional product identification co
o usb/131583 usb [umass] Failure when detaching umass Device
o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data
o usb/131521 usb Registering Belkin UPS to usb_quirks.c
o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk
o usb/131074 usb no run-time detection of usb devices plugged into exte
o usb/130736 usb Page fault unplugging USB stick
o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA
o usb/130208 usb Boot process severely hampered by umass0 error
o usb/130122 usb [usb8] DVD drive detects as 'da' device
o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U
o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system
o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support
o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan
o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem
o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis
o usb/129311 usb [usb] [panic] Instant crash with an USB card reader
o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and
o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a
s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa
o usb/128977 usb [usb] [patch] uaudio is not full duplex
o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2
o usb/128485 usb [umodem] [patch] Nokia N80 modem support
o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive
o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like
o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23
o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an
o usb/127926 usb [boot] USB Timeout during bootup
p usb/127549 usb [umass] [usb67] [patch] Meizu MiniPlayer M6 (SL) requi
f usb/127543 usb [patch] [ubsa] Support Option Globetrotter HSDPA modem
s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should
p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i
o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support
o usb/127248 usb [ucom] panic while uplcom devices attach and detach
o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver
o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c
o usb/126848 usb [usb]: USB Keyboard hangs during Installation
o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be
o usb/126519 usb [usb] [panic] panic when plugging in an iphone
o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device
o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if
o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite
o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d
o usb/125450 usb [panic] Removing USB flash card while being accessed c
o usb/125238 usb [ums] Habu Mouse turns off in X
o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U
o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi
o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe
o usb/124758 usb [rum] [panic] rum panics SMP kernel
o usb/124708 usb [panic] Kernel panic on USB KVM reattach
o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work
o kern/124130 usb [usb] gmirror fails to start usb devices that were pre
o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile
o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with
o usb/123691 usb usbd(8): usbd hangs
o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l
o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U
o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone
o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom
o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2
o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um
o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870
o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt
o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa
o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th
o usb/122813 usb [udbp] [request] udbp driver should be removed in favo
o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G
o usb/122547 usb [ehci] USB Printer not being recognized after reboot
o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci
o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE
o usb/122119 usb [umass] umass device causes creation of daX but not da
o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R
o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic
o usb/121734 usb [ugen] ugen HP1022 printer device not working since up
o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k
o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard
o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C
o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s
o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s
p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a
o usb/121169 usb [umass] Issues with usb mp3 player
o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS
o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det
o usb/120729 usb [panic] fault while in kernel mode with connecting USB
o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a
o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo
o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou
o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5
o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab
o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou
o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch
o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression]
o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i
o usb/119509 usb [usb] USB flaky on Dell Optiplex 755
o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas
o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress
o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun
o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and
o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround
o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer
o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se
o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread
o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi
o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin
o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS
o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE
o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS
o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work
o usb/117893 usb [umass] Lacie USB DVD writing failing
o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory
o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant
o usb/117313 usb [umass] [panic] panic on usb camera insertion
o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach
o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a
o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th
o usb/116699 usb [usbhid] USB HID devices do not initialize at system b
o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee
o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300
o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches
o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter
o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI
o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel
o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui
o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco
o usb/114682 usb [umass] generic USB media-card reader unusable
o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker
o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection
o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in
o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated
s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe
o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found
o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device
o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q
o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu
o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st
s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never
o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil
o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele
o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r
o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size
o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar
o usb/99538 usb [keyboard] while using USB keyboard default params of
o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth
o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3
o usb/97472 usb [cam] [patch] add support for Olympus C150,D390
s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2.
o usb/97175 usb [umass] [hang] USB cardreader hangs system
o usb/96457 usb [umass] [panic] fatback on umass = reboot
o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram
o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync
s usb/96120 usb [ums] [request] USB mouse not always detected
s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620
o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb
s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen
o usb/95037 usb [umass] USB disk not recognized on hot-plug.
o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk
o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI
o usb/94384 usb [panic] kernel panic with usb2 hardware
o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB
o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion
o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work
o usb/92852 usb [ums] [patch] Vertical scroll not working properly on
o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS
o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb
o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE
o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand
o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg
o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n
o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return "
o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop
o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work
o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500
o usb/91283 usb [boot] [regression] booting very slow with usb devices
o usb/91238 usb [umass] USB tape unit fails to write a second tape fil
o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas
o usb/89954 usb [umass] [panic] USB Disk driver race condition?
s usb/89003 usb [request] LaCie Firewire drive not properly supported
o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg
o usb/88408 usb [axe] axe0 read PHY failed
o usb/87648 usb [mouse] Logitech USB-optical mouse problem.
o usb/87224 usb [usb] Cannot mount USB Zip750
o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the
o usb/86298 usb [mouse] Known good USB mouse won't work with correct s
s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device
f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa
s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a
o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN
o usb/83863 usb [ugen] Communication problem between opensc/openct via
o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe
o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d
o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent
o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic
s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy
o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected
o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack
o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci
o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55.
o usb/80862 usb [patch] USB locking issues: missing some Giant calls
o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me
o usb/80829 usb [modules] [panic] possible panic when loading USB-modu
s usb/80777 usb [request] usb_rem_task() should wait for callback to c
s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_
o usb/80774 usb [patch] have "usbd_find_desc" in line with the other "
o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails
o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze
o usb/79723 usb [usb] [request] prepare for high speed isochronous tra
o usb/79722 usb [ehci] wrong alignments in ehci.h
a usb/79656 usb [ehci] RHSC interrupts lost
o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa
o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer
o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc
o usb/78984 usb [umass] [patch] Creative MUVO umass failure
o usb/77294 usb [ucom] [panic] ucom + ulpcom panic
o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect,
o usb/76732 usb [ums] Mouse problems with USB KVM Switch
o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device
o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by
o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0
s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade
o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn
o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h
o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for
o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace)
o usb/74771 usb [umass] [hang] mounting write-protected umass device a
s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL
o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R
o usb/73307 usb [panic] Kernel panics on USB disconnect
s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl
o usb/71455 usb [umass] Slow USB umass performance of 5.3
o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati
o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n
o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1
o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes
o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters
o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports
o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction
o usb/67301 usb [uftdi] [panic] RTS and system panic
o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct
o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes
s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s
o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans
s bin/57255 usb [patch] usbd(8) and multi-function devices
s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2
s usb/51958 usb [urio] [patch] update for urio driver
o i386/46371 usb USB controller cannot be initialized on IBM Netfinity
o usb/40948 usb [umass] [request] USB HP CDW8200 does not work
o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem
346 problems total.
------------------------------
Message: 9
Date: Sat, 13 Mar 2010 14:29:11 +0000
From: Paul B Mahol <one...@gmail.com>
Subject: Re: PS3's Joystick on FreeBSD (can be possible?)
To: Alexander Best <alexb...@wwu.de>
Cc: freeb...@freebsd.org
Message-ID:
<3a142e751003130629j39f...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Mar 13, 2010 at 1:56 PM, Alexander Best <alexb...@wwu.de> 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 <alexb...@wwu.de> wrote:
>> > > Paul B Mahol schrieb am 2010-03-13:
>> > >> On 3/13/10, Alexander Best <alexb...@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.
>
>
>> 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 ...
------------------------------
Message: 10
Date: Sat, 13 Mar 2010 16:11:39 +0100
From: Kai Wang <kaiw...@gmail.com>
Subject: Re: PS3's Joystick on FreeBSD (can be possible?)
To: Alexander Best <alexb...@wwu.de>
Cc: freeb...@freebsd.org
Message-ID: <20100313151139.GA2634@viskning>
Content-Type: text/plain; charset=utf-8
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 <alexb...@wwu.de> wrote:
> > > > Paul B Mahol schrieb am 2010-03-13:
> > > >> On 3/13/10, Alexander Best <alexb...@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.
>
>
> > 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
------------------------------
Message: 11
Date: Mon, 15 Mar 2010 23:08:40 +0100 (CET)
From: Alexander Best <alexb...@wwu.de>
Subject: Re: PS3's Joystick on FreeBSD (can be possible?)
To: Paul B Mahol <one...@gmail.com>
Cc: freeb...@freebsd.org
Message-ID:
<permail-201003152208408...@message-id.uni-muenster.de>
Content-Type: text/plain; charset=iso-8859-1
Paul B Mahol schrieb am 2010-03-13:
> On Sat, Mar 13, 2010 at 1:56 PM, Alexander Best <alexb...@wwu.de>
> 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 <alexb...@wwu.de> wrote:
> >> > > Paul B Mahol schrieb am 2010-03-13:
> >> > >> On 3/13/10, Alexander Best <alexb...@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.
> >> 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
------------------------------
Message: 12
Date: Mon, 15 Mar 2010 23:32:27 +0100
From: Emmanuel Vadot <elb...@arcadebsd.org>
Subject: Re: PS3's Joystick on FreeBSD (can be possible?)
To: freeb...@freebsd.org
Message-ID: <20100315233227....@arcadebsd.org>
Content-Type: text/plain; charset=US-ASCII
On Sat, 13 Mar 2010 13:09:34 +0100 (CET)
Alexander Best <alexb...@wwu.de> 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
elb...@arcadebsd.org
------------------------------
Message: 13
Date: Mon, 15 Mar 2010 18:03:26 -0600 (MDT)
From: Warren Block <wbl...@wonkity.com>
Subject: Re: PS3's Joystick on FreeBSD (can be possible?)
To: Emmanuel Vadot <elb...@arcadebsd.org>
Cc: freeb...@freebsd.org
Message-ID: <alpine.BSF.2.00.1...@wonkity.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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
------------------------------
Message: 14
Date: Tue, 16 Mar 2010 16:46:19 +0100
From: Sebastian Huber <sebasti...@embedded-brains.de>
Subject: How fast is the OHCI driver?
To: freeb...@freebsd.org
Message-ID: <4B9FA7C...@embedded-brains.de>
Content-Type: text/plain; charset=ISO-8859-1
Hi,
I work with an ARM9 based system on a LPC3250 evaluation board from Phytec. It
has an integrated OHCI USB controller from NXP. The vendor provides a Linux
system for this board and with this system I can read with 1MByte/s from an USB
stick (I can also read with 23MByte/s from this stick on another system with an
EHCI controller). If I use the FreeBSD USB-stack (trunk revision 200101), then
I can only achieve a read performance of 70kByte/s. Comparing the activity on
the USB data lines with an oscilloscope of the two systems shows that on the
Linux system the line is continuously busy while on the FreeBSD based system
there are huge gaps of inactivity. Both systems operate with 12MHz. The
FreeBSD based system is 65% of the time in the idle task, so it seems that it
waits a lot for something.
Has someone values from other FreeBSD based systems with an OHCI controller?
Have a nice day!
Sebastian Huber
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebasti...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
------------------------------
Message: 15
Date: Tue, 16 Mar 2010 12:24:36 -0400
From: David Jackson <djack...@gmail.com>
Subject: EPSON 1240 Scanner problems on 8.0
To: freeb...@freebsd.org
Message-ID: <4B9FB0C4...@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I have an Epson Perfection 1240:
found USB scanner (vendor=0x04b8 [EPSON], product=0x010b
[Perfection1240]) at libusb:/dev/usb:/dev/ugen0.2
It is detected:
ls -l /dev/ugen0.2
lrwxr-xr-x 1 root wheel 9 Mar 16 11:37 /dev/ugen0.2 -> usb/0.2.0
ls -l /dev/usb
crw------- 1 root operator 0, 134 Mar 16 11:37 0.2.0
crw------- 1 root operator 0, 136 Mar 16 11:37 0.2.1
crw------- 1 root operator 0, 137 Mar 16 11:37 0.2.2
However i have been having problems getting SANE frontend to detect it:
scanimage -v -v -L
[sanei_debug] Setting debug level of epson2 to 255.
[epson2] sane_epson2_init: sane-backends 1.0.20
[epson2] sane_epson2_init: reading config file, epson2.conf
[epson2] usb /dev/ugen0.2
[epson2] attach_one_usb: dev = /dev/ugen0.2
[epson2] epson2 backend, version 1.0.117
[epson2] attach: devname = /dev/ugen0.2, type = 3
[epson2] attach: opening /dev/ugen0.2, type = 3
[epson2] close_scanner: fd = -1
[epson2] sane_epson2_get_devices
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
Calling sane_exit
scanimage: finished
I tried both epson and epson2 drivers by commenting them out in dll.conf.
I am at a loss to know why this is not working. It worked well in
FreeBSD 7.1
Any help is greatly appreciated
------------------------------
Message: 16
Date: Tue, 16 Mar 2010 13:01:12 -0400
From: David Jackson <djack...@gmail.com>
Subject: Re: EPSON 1240 Scanner problems on 8.0
To: freeb...@freebsd.org
Message-ID: <4B9FB95...@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
David Jackson wrote:
> I have an Epson Perfection 1240:
>
> found USB scanner (vendor=0x04b8 [EPSON], product=0x010b
> [Perfection1240]) at libusb:/dev/usb:/dev/ugen0.2
>
> It is detected:
>
> ls -l /dev/ugen0.2
> lrwxr-xr-x 1 root wheel 9 Mar 16 11:37 /dev/ugen0.2 -> usb/0.2.0
>
> ls -l /dev/usb
> crw------- 1 root operator 0, 134 Mar 16 11:37 0.2.0
> crw------- 1 root operator 0, 136 Mar 16 11:37 0.2.1
> crw------- 1 root operator 0, 137 Mar 16 11:37 0.2.2
>
> However i have been having problems getting SANE frontend to detect it:
>
> scanimage -v -v -L
> [sanei_debug] Setting debug level of epson2 to 255.
> [epson2] sane_epson2_init: sane-backends 1.0.20
> [epson2] sane_epson2_init: reading config file, epson2.conf
> [epson2] usb /dev/ugen0.2
> [epson2] attach_one_usb: dev = /dev/ugen0.2
> [epson2] epson2 backend, version 1.0.117
> [epson2] attach: devname = /dev/ugen0.2, type = 3
> [epson2] attach: opening /dev/ugen0.2, type = 3
> [epson2] close_scanner: fd = -1
> [epson2] sane_epson2_get_devices
>
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
> Calling sane_exit
> scanimage: finished
>
> I tried both epson and epson2 drivers by commenting them out in dll.conf.
>
>
> I am at a loss to know why this is not working. It worked well in
> FreeBSD 7.1
>
> Any help is greatly appreciated
>
Setting this in the configuration seems to have helped:
usb 0x04b8 0x010b
It seems to now be able to find the scanner.
Autodetection for the scanner is not working anymore, although it was
working in FreeBSD 7.1.
------------------------------
Message: 17
Date: Tue, 16 Mar 2010 19:01:09 +0100
From: Bernd Walter <ti...@cicely7.cicely.de>
Subject: Re: How fast is the OHCI driver?
To: Sebastian Huber <sebasti...@embedded-brains.de>
Cc: freeb...@freebsd.org
Message-ID: <20100316180...@cicely7.cicely.de>
Content-Type: text/plain; charset=us-ascii
On Tue, Mar 16, 2010 at 04:46:19PM +0100, Sebastian Huber wrote:
> Hi,
>
> I work with an ARM9 based system on a LPC3250 evaluation board from Phytec. It
> has an integrated OHCI USB controller from NXP. The vendor provides a Linux
> system for this board and with this system I can read with 1MByte/s from an USB
> stick (I can also read with 23MByte/s from this stick on another system with an
> EHCI controller). If I use the FreeBSD USB-stack (trunk revision 200101), then
> I can only achieve a read performance of 70kByte/s. Comparing the activity on
> the USB data lines with an oscilloscope of the two systems shows that on the
> Linux system the line is continuously busy while on the FreeBSD based system
> there are huge gaps of inactivity. Both systems operate with 12MHz. The
> FreeBSD based system is 65% of the time in the idle task, so it seems that it
> waits a lot for something.
How do you test?
> Has someone values from other FreeBSD based systems with an OHCI controller?
I can easily get more with AT91RM9200 (also ARM9 with OHCI).
A short test:
[73]chipmunk.cicely.de# dd if=/dev/da0 bs=128k of=/dev/null count=100
100+0 records in
100+0 records out
13107200 bytes transferred in 16.762732 secs (781925 bytes/sec)
Speedwise the system is on the lowest end of ARM9 systems we support.
--
B.Walter <be...@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
------------------------------
Message: 18
Date: Tue, 16 Mar 2010 22:46:40 +0100
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: How fast is the OHCI driver?
To: freeb...@freebsd.org
Message-ID: <201003162246....@c2i.net>
Content-Type: Text/Plain; charset="iso-8859-1"
On Tuesday 16 March 2010 16:46:19 Sebastian Huber wrote:
> Hi,
>
> I work with an ARM9 based system on a LPC3250 evaluation board from Phytec.
> It has an integrated OHCI USB controller from NXP. The vendor provides a
> Linux system for this board and with this system I can read with 1MByte/s
> from an USB stick (I can also read with 23MByte/s from this stick on
> another system with an EHCI controller). If I use the FreeBSD USB-stack
> (trunk revision 200101), then I can only achieve a read performance of
> 70kByte/s. Comparing the activity on the USB data lines with an
> oscilloscope of the two systems shows that on the Linux system the line is
> continuously busy while on the FreeBSD based system there are huge gaps of
> inactivity. Both systems operate with 12MHz. The FreeBSD based system is
> 65% of the time in the idle task, so it seems that it waits a lot for
> something.
>
> Has someone values from other FreeBSD based systems with an OHCI
> controller?
>
> Have a nice day!
> Sebastian Huber
>
Hi,
This might be a symptom of the well known cache flush/sync problem. You should
investigate whether all transfer descriptors get flushed/invalidated correctly
to RAM after setting up an USB transaction.
There are sysctl under hw.usb.xxx where you can enable more verbose debugging.
--HPS
------------------------------
Message: 19
Date: Fri, 19 Mar 2010 10:32:51 +0100
From: Sebastian Huber <sebasti...@embedded-brains.de>
Subject: Re: How fast is the OHCI driver?
To: ti...@cicely.de
Cc: Bernd Walter <ti...@cicely7.cicely.de>, freeb...@freebsd.org
Message-ID: <4BA344C3...@embedded-brains.de>
Content-Type: text/plain; charset=ISO-8859-1
On 03/16/2010 07:01 PM, Bernd Walter wrote:
> On Tue, Mar 16, 2010 at 04:46:19PM +0100, Sebastian Huber wrote:
[...]
>> Has someone values from other FreeBSD based systems with an OHCI controller?
>
> I can easily get more with AT91RM9200 (also ARM9 with OHCI).
> A short test:
> [73]chipmunk.cicely.de# dd if=/dev/da0 bs=128k of=/dev/null count=100
> 100+0 records in
> 100+0 records out
> 13107200 bytes transferred in 16.762732 secs (781925 bytes/sec)
>
> Speedwise the system is on the lowest end of ARM9 systems we support.
>
Thank you for your reference values. Actually my test setup on the FreeBSD
based system was bad. I now have the following values:
TSZ: Size of one transfer block in bytes
TIME: Time to transfer 1024 blocks in seconds
RATE: Bytes transfered per second
TSZ TIME RATE
512 6.15 85250
1024 7.17 146244
2048 8.20 255750
4096 10.24 409600
8192 13.38 626951
16384 21.50 780335
32768 36.92 908841
65536 67.92 988057
131072 131.39 1021521
262144 259.00 1036430
524288 514.16 1044170
1048576 964.04 1048532
So it looks very good if you use the right transfer size.
Best regards,
Sebastian Huber
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebasti...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
------------------------------
End of freebsd-usb Digest, Vol 280, Issue 1
*******************************************