Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 17:52:56 +0100
From:      Hans Petter Selasky <hselasky@freebsd.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-current@freebsd.org, Andrew Thompson <thompsa@freebsd.org>
Subject:   Re: usb2 moused issue
Message-ID:  <200902161752.56998.hselasky@freebsd.org>
In-Reply-To: <87mycme9wc.fsf@kobe.laptop>
References:  <87mycme9wc.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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