Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 18:52:54 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Rui Paulo <rpaulo@fnop.net>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 123399 for review
Message-ID:  <200707251852.55254.hselasky@c2i.net>
In-Reply-To: <46A5FF7A.1090803@fnop.net>
References:  <200707121918.l6CJIFkI094946@repoman.freebsd.org> <200707131604.22648.hselasky@c2i.net> <46A5FF7A.1090803@fnop.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 24 July 2007, Rui Paulo wrote:
> Hans Petter Selasky wrote:
> > Remove all USB device drivers from your kernel config file, except
> > "device ugen". All your USB devices should show up like "ugenX" devices.
> > Then install "/usr/ports/sysutils/udesc_dump" and run this command on all
> > /dev/ugenX instances. Redirect the contents to a set of files and upload
> > them somewhere. I want to have a look at the descriptors. Maybe there is
> > a USB descriptor that you can detect, that makes a keyboard an Apple
> > keyboard. That will be more generic than adding these quirks!
>
> The output of udesc_dump is attached. ugen3 is what you really wanted to
> take a look.
>

Yes, there it is.

I suggest you do the following.

Try to cat the various interrupt endpoints, for example /dev/ugen3.X and see 
if you get anything.

Really, I think that FreeBSD 7-current should be able to handle more than one 
inputdevice!

Second, compile your kernel with "options USB_DEBUG".

Then "sysctl hw.usb.ums.debug=15".

On which mouse device do you get data when you move the mouse ?

Or maybe you get no data at all.

Anyway, I would object to your patch. Try to get moused fixed or whatever so 
that it works.

--HPS



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