> On Fri, 13 Feb 2004 [EMAIL PROTECTED] wrote:
>
>> here this
>>
>> http://virtual.shia.ws:8000/~informatica/otros/dmesg-withpatch.txt
>>
>> thanks.
>
> It got a little farther that time.  Try this patch instead.  Maybe it
> will  get even farther.
>
> Alan Stern
>
>
> ===== drivers/usb/core/message.c 1.67 vs edited =====
> --- 1.67/drivers/usb/core/message.c   Fri Jan 30 22:02:33 2004
> +++ edited/drivers/usb/core/message.c Fri Feb 13 16:48:11 2004
> @@ -1196,7 +1196,7 @@
>
>       /* get langid for strings if it's not yet known */
>       if (!dev->have_langid) {
> -             err = usb_get_string(dev, 0, 0, tbuf, 4);
> +             err = usb_get_string(dev, 0, 0, tbuf, dev->epmaxpacketin[0]);
>               if (err < 0) {
>                       err("error getting string descriptor 0 (error=%d)", err);
>                       goto errout;
> @@ -1217,7 +1217,8 @@
>        * ask for the length of the string
>        */
>
> -     err = usb_get_string(dev, dev->string_langid, index, tbuf, 2);
> +     err = usb_get_string(dev, dev->string_langid, index, tbuf,
> +                     dev->epmaxpacketin[0]);
>       if(err<2)
>               goto errout;
>       len=tbuf[0];

the report of dmesg

http://virtual.shia.ws:8000/~informatica/otros/dmesg-withpatch2.txt

it does not work :(





-----------------------------------------
IRC.CL la red de IRC m�s grande de Chile.
Visita http://www.irc.cl/      




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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