Subject: Re: getting debugging messages from ums.c? more than three buttons in X?
To: None <port-macppc@netbsd.org>
From: Derek Peschel <dpeschel@eskimo.com>
List: port-macppc
Date: 01/03/2002 04:33:22
On Thu, Jan 03, 2002 at 01:03:54PM +0100, Lennart Augustsson wrote:
> Derek Peschel wrote:
>
> > > I'm not sure why you want to do this. You don't have to turn on debugging for
> > > normal use of the mouse.
> >
> > I wanted to see if NetBSD was recognizing all five buttons.
>
> How about looking at the attach message (with dmesg)? It says something like
> ums0 at uhidev0 reportid 2: 3 buttons and Z dir.
> wsmouse1 at ums0 mux 0
That works too. It correctly reports all five buttons. But I still wanted
to know if the USB driver was reporting them. (Your "od -X" method solved
that.) Mostly I wanted to know why the fourth and fifth buttons weren't
showing up as X events. (Looking at the X source answered that.)
I still don't understand why ukbd.c will happily print loads of messages
while ums.c remains silent.
And please don't Cc: me. I already said that in my last message!
-- Derek