On Sat, Jan 14, 2006 at 02:46:30PM -0800, Brian A. Stumm wrote:
> On Sat, 14 Jan 2006, Vojtech Pavlik wrote:
>
> > > What else might happen in different order for windows vs linux? Tried
> > > both
> > > of these suggestions but to no avail. Also, is usbmouse.c affected by
> > > these tests? I was assuming no and using the usbhid driver.
> >
> > usbmouse.c tries not to talk to the device more than necessary exactly
> > to work in all conditions, so it doesn't set the idle time not ask for
> > the descriptor, assuming boot protocol layout. If usbmouse.c doesn't
> > work, something is wrong in the usb core and/or hcd parts, or the mouse
> > requires these calls to work, which would be hard to believe.
>
> I've mentioned this before with noone commenting specifically but I need
> to ask again. This device has 2 interfaces reporting their class, sub,
> proto as 3, 1, 1 (keyboard) and 3, 0, 0 (mouse). usbhid detects the mouse
> as a pointer but in order for usbmouse.c to detect it I had to hack the
> following and I wonder if usbmouse.c might still be broken due to the
> mis-report of the mouse interface? With this hack a regular usb mouse
> still works and the touchpad in the keyboard gets assigned the usbmouse
> driver.
This just means the mouse doesn't support the HID Boot Protocol. As
such, it insists on a full HID driver (usbhid) instead of just a simple
one (usbmouse).
Since only few BIOSes support mice, it's quite common for mouse
manufacturers to ignore the Boot Protocol for mice.
> static struct usb_device_id usb_mouse_id_table [] = {
> { USB_INTERFACE_INFO(3, 0, 0) },
> { USB_INTERFACE_INFO(3, 1, 2) },
> { } /* Terminating entry */
> };
--
Vojtech Pavlik
SuSE Labs, SuSE CR
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users