usb2 moused issue

Hans Petter Selasky hselasky at freebsd.org
Mon Feb 16 09:50:34 PST 2009


On Monday 16 February 2009, Giorgos Keramidas wrote:
> I just rebuild my kernel after flipping the switch to usb2 in my kernel
> config file:

>
>   [ dmesg output with hw.usb2.ums.debug=1 ]
>   Feb 16 16:19:00 kobe kernel: ugen4.2: <Microsoft> at usbus4
>   Feb 16 16:19:00 kobe kernel: ums0: <Microsoft Wireless Optical Mouse 3000
> (Model 1056), class 0/0, rev 2.00/0.07, addr 2> on usbus4 Feb 16 16:19:00
> kobe kernel: ums0: 5 buttons and [XYZ] coordinates Feb 16 16:19:00 kobe
> kernel: ums_attach:582: sc=0xc63c7000

If you "cat /dev/ums0" while having the debugging on, do you see anything?

>
> I have enabled `moused_nondefault_enable' in my rc.conf too, and I see
> that moused is launched for the external usb mouse:
>
>   [rc.conf]
>   moused_nondefault_enable="YES"
>   moused_enable="YES"
>   moused_flags="-3"
>   moused_ums0_flags=""
>   moused_port="/dev/psm0"
^^^/dev/ums0

>   moused_type="auto"
>
>   [processes running]
>   # ps xauww | sed -n -e 1p -e '/ sed/d' -e /moused/p
>   USER       PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
>   root      1309  0.0  0.0  3376  1484  ??  Ss    3:54PM   0:05.01
> /usr/sbin/moused -3 -p /dev/psm0 -t auto root      1773  0.0  0.0  3376 
> 1492  ??  Is    3:59PM   0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I
> /var/run/moused.ums0.pid
>
> But moving the usb mouse doesn't result in any pointer movement, either
> in a console tty or under X11.
>
> Is this a known bug of usb2 mouse support, or just a local config error?

--HPS


More information about the freebsd-current mailing list