On Mon, 6 Sep 2004 12:39:33 -0400 (EDT), Alan Stern
<[EMAIL PROTECTED]> wrote:
> On Mon, 6 Sep 2004, James JN wrote:
> 
> > > The messages in your new log show that this device is very non-standard,
> > > and it's no surprise that it doesn't work well.
> > >
> > > Since a USB mouse is very cheap, I suggest you just buy a new one.  Check
> > > on the web to find out which brands work well with Linux.
> > >
> > > Alan Stern
> > >
> > >
> >
> > your answer is little attractive, I I could make work my mouse with
> > the patch that you gave for version 2.6.0 of kernel.
> 
> You can try using this patch.  Maybe it will help.
> 
> Alan Stern
> 
> --- linux-usb/drivers/usb/core/message.c.orig   Fri Aug  6 16:42:36 2004
> +++ linux-usb/drivers/usb/core/message.c        Mon Sep  6 12:36:28 2004
> @@ -635,7 +635,7 @@
> 
>         /* Try to read the string descriptor by asking for the maximum
>          * possible number of bytes */
> -       rc = usb_get_string(dev, langid, index, buf, 255);
> +       rc = usb_get_string(dev, langid, index, buf, 256);
> 
>         /* If that failed try to read the descriptor length, then
>          * ask for just that many bytes */
> 
> 
the patch I solve the problem, thanks :)!!!!


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to