Re: current couldn't attach usb mouse

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Tue, 5 May 2009 14:54:10 +0200
Hi Chao,

On Tuesday 05 May 2009, Chao Shin wrote:
> Great! after patched my mouse can work now, there is new dmesg segment
> below:
>
> bge0: link state changed to UP
> ugen1.2: <vendor 0x15d9> at usbus1
> ums0: <vendor 0x15d9 USB Mouse, class 0/0, rev 1.10/1.00, addr 2> on usbus1
> ums0: 3 buttons and [XYZ] coordinates ID=0
>
> Thank you very much!
> Would you commit this patch to current?

Yes, it is going into -current soon.

Final patch:

http://perforce.freebsd.org/chv.cgi?CH=161615

>
> BTW:
> usb2.0 is great work, I have test umass device on current, it is 6 times
> faster
> than 1.0.

Thanks.

>
> Do you have any plan make usb2.0 to support kdb or mountroot> ?

Not yet. The problem is USB is multi threaded, while kdb requires single 
threaded operation. It is a little difficult.

Also UKBD was Giant locked last time I checked due to some non-MPSAFE 
dependencies. This is another issue blocking USB keyboard in KDB.

--HPS

>
> > On Tuesday 05 May 2009, Chao Shin wrote:
> >> 在 Tue, 05 May 2009 16:40:53 +0800,Hans Petter Selasky
> >> <hselasky_at_c2i.net>
> >>
> >> 写道:
> >> > sysctl hw.usb2.uhci.debug=15
> >>
> >> This is my dmesg in attchement.
> >
> > Try the attached patch to uhci.c.
> >
> > --HPS
Received on Tue May 05 2009 - 10:51:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC