Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2009 14:54:10 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        Chao Shin <quakelee@geekcn.org>
Subject:   Re: current couldn't attach usb mouse
Message-ID:  <200905051454.11249.hselasky@c2i.net>
In-Reply-To: <op.utgiagc8hnq548@qld630>
References:  <op.utego3echnq548@qld630> <200905051222.00887.hselasky@c2i.net> <op.utgiagc8hnq548@qld630>

next in thread | previous in thread | raw e-mail | index | archive | help
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 usbu=
s1
> ums0: 3 buttons and [XYZ] coordinates ID=3D0
>
> Thank you very much!
> Would you commit this patch to current?

Yes, it is going into -current soon.

=46inal patch:

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

>
> 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=20
threaded operation. It is a little difficult.

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

=2D-HPS

>
> > On Tuesday 05 May 2009, Chao Shin wrote:
> >> =E5=9C=A8 Tue, 05 May 2009 16:40:53 +0800=EF=BC=8CHans Petter Selasky
> >> <hselasky@c2i.net>
> >>
> >> =E5=86=99=E9=81=93:
> >> > sysctl hw.usb2.uhci.debug=3D15
> >>
> >> This is my dmesg in attchement.
> >
> > Try the attached patch to uhci.c.
> >
> > --HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905051454.11249.hselasky>