Am Montag, 6. September 2004 18:46 schrieben Sie:
> 
> > Please apply this diagnostic patch, recompile with debug and
> > send in the syslog.
> 
> I think you are on the right track. Syslog now gives me the extra line :
> 
> Sep  6 17:58:11 gateway kernel: usb 1-2: new full speed USB device using 
> address 3
> Sep  6 17:58:11 gateway kernel: drivers/usb/class/cdc-acm.c: Zero length 
> descriptor references
> Sep  6 17:58:11 gateway kernel: cdc_acm: probe of 1-2:1.0 failed with 
> error -22

OK. So I thought.
Please try this one to be applied on top of the earlier patch.

        Regards
                Oliver


You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.

===================================================================


[EMAIL PROTECTED], 2004-09-06 20:15:20+02:00, [EMAIL PROTECTED]
  - yet another kludge


 cdc-acm.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


diff -Nru a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
--- a/drivers/usb/class/cdc-acm.c       Mon Sep  6 20:18:28 2004
+++ b/drivers/usb/class/cdc-acm.c       Mon Sep  6 20:18:28 2004
@@ -548,8 +548,14 @@
        }
 
        if (!buflen) {
-               err("Zero length descriptor references");
-               return -EINVAL;
+               if (usb_dev->actconfig->extralen && usb_dev->actconfig->extra) {
+                       dev_dbg(&intf->dev,"Seeking extra descriptors on config");
+                       buflen = usb_dev->actconfig;
+                       buffer = usb_dev->actconfig->extra;
+               } else {
+                       err("Zero length descriptor references");
+                       return -EINVAL;
+               }
        }
 
        while (buflen > 0) {

===================================================================


This BitKeeper patch contains the following changesets:
1.1825
## Wrapped with gzip_uu ##


M'XL( /2I/$$  [U4VT[<,!!]7G_%""0$HDELY[[5KJ" 6E34(BA]Z OR.I-L
M1-9&=G8+:OKO=1;*1:([EMAIL PROTECTED]/C/GS)'7X<RB&0YT4R_0D'7XH&WKMJBT
M0G^J9]C4:G[E:U.YX(G6+ACTQX%NFIH'7PRB#?H<RQ/[EMAIL PROTECTED]/SP
[EMAIL PROTECTED]@DAHQ'L386J\!1;&(U(J\U"-(7=$>VTT<IOC5!VAJWP
MI9YU=ZD=IY2[/[EMAIL PROTECTED],2PHC[(D([EMAIL PROTECTED]
ME'51F.4)V0?FLXS'0*. [EMAIL PROTECTED]@-,ABX><;E,^I!168,,V X^2=_!OV>P1"1Y<
M.Z&$TNT4#5PT\Z)"\A&B,*><'-]K2;R__ [EMAIL PROTECTED],[EMAIL PROTECTED]/F@
M]8BRM(N3-$^ZB0SCDK&21V$98CI9)=8C3-D(:P-92.\.O1]-PC(6L:BC/,[9
MTC0K+CUOHU>R6&FG%[#H#9:YP<;]=FFP)'[EMAIL PROTECTED] X__3WLM9?\,GOF^
M7,XMQZLF\ KS[<<Q TX.XYA#1@:#NH1-AWQ>X,(;"]E*K<[EMAIL PROTECTED]&!C
M _X8WX([EMAIL PROTECTED]<J%5;>F.W?;-VBGA1JPJ6>5"@E::^=#I:T IN0-:V
MWO:W)_.RKS-ZHLSO>.DT>BI^VT:?]A.PL7C3#QJSN?8-C08'7+73!^7!H -#
K)='>EC?8SHT"[^#PT]?=HR74_;,[EMAIL PROTECTED]'PVXF4JA)L?^06QA;@RP 4     


-------------------------------------------------------
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-devel

Reply via email to