Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 20:14:11 +0200
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Hans Petter Selasky <hselasky@freebsd.org>
Cc:        freebsd-current@freebsd.org, Andrew Thompson <thompsa@freebsd.org>
Subject:   Re: usb2 moused issue
Message-ID:  <87wsbqmeq4.fsf@kobe.laptop>
In-Reply-To: <200902161752.56998.hselasky@freebsd.org> (Hans Petter Selasky's message of "Mon, 16 Feb 2009 17:52:56 %2B0100")
References:  <87mycme9wc.fsf@kobe.laptop> <200902161752.56998.hselasky@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Feb 2009 17:52:56 +0100, Hans Petter Selasky <hselasky@freebsd.org> wrote:
> 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?

Hmm, there's a dmesg line saying that:

  Feb 16 20:09:51 kobe kernel: Symlink: ums0 -> usb4.2.0.16

but there is no ums0 symlink in /dev:

  # ls -ld ums*
  ls: ums*: No such file or directory
  #

Maybe this is why moused fails to work when it is launched from devd.

>> 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

That's the device name for the touchpad port.  The default devd.conf
file passes `ums0' to /etc/rc.d/moused start ... so it shouldn't matter.




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