Am Freitag, 7. Januar 2005 17:57 schrieb [EMAIL PROTECTED]:
> On Thu, 6 Jan 2005 14:43:40 +0100, "Oliver Neukum" <[EMAIL PROTECTED]>
> said:
> > Am Donnerstag, 6. Januar 2005 15:39 schrieb [EMAIL PROTECTED]:
> > > I think this is what you're asking for:
> > > 
> > > Here's the section of /var/log/syslog showing 2.6.10 booting, as well
> > > as an attempt to use the modem with the command 'pon'
> > 
> > Yes, it is. EBUSY is a very unusual error under these ciurcumstances.
> > Could you change "#undef DEBUG" to "#define DEBUG" in cdc-acm.c,
> > recompile, retest and reprovide the log?
> 
> Here it is.

Does this help?

        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], 2005-01-07 18:24:31+01:00, [EMAIL PROTECTED]
  - fix work around


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


diff -Nru a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
--- a/drivers/usb/class/cdc-acm.c       Fri Jan  7 18:27:50 2005
+++ b/drivers/usb/class/cdc-acm.c       Fri Jan  7 18:27:50 2005
@@ -544,24 +544,24 @@
        
        /* normal probing*/
        if (!buffer) {
-               err("Wierd descriptor references");
+               err("Wierd descriptor references\n");
                return -EINVAL;
        }
 
        if (!buflen) {
                if (intf->cur_altsetting->endpoint->extralen && 
intf->cur_altsetting->endpoint->extra) {
-                       dev_dbg(&intf->dev,"Seeking extra descriptors on 
endpoint");
+                       dev_dbg(&intf->dev,"Seeking extra descriptors on 
endpoint\n");
                        buflen = intf->cur_altsetting->endpoint->extralen;
                        buffer = intf->cur_altsetting->endpoint->extra;
                } else {
-                       err("Zero length descriptor references");
+                       err("Zero length descriptor references\n");
                        return -EINVAL;
                }
        }
 
        while (buflen > 0) {
                if (buffer [1] != USB_DT_CS_INTERFACE) {
-                       err("skipping garbage");
+                       err("skipping garbage\n");
                        goto next_desc;
                }
 
@@ -614,14 +614,10 @@
                }
        }
        
-               if (data_interface_num != call_interface_num)
-                       dev_dbg(&intf->dev,"Seperate call control interface. 
That is not fully supported.");
+       if (data_interface_num != call_interface_num)
+               dev_dbg(&intf->dev,"Seperate call control interface. That is 
not fully supported.\n");
 
 skip_normal_probe:
-       if (usb_interface_claimed(data_interface)) { /* valid in this context */
-               dev_dbg(&intf->dev,"The data interface isn't available\n");
-               return -EBUSY;
-       }
 
        /*workaround for switched interfaces */
        if (data_interface->cur_altsetting->desc.bInterfaceClass != 
CDC_DATA_INTERFACE_TYPE) {
@@ -636,6 +632,13 @@
                        return -EINVAL;
                }
        }
+       
+       if (usb_interface_claimed(data_interface)) { /* valid in this context */
+               dev_dbg(&intf->dev,"The data interface isn't available\n");
+               return -EBUSY;
+       }
+
+
        if (data_interface->cur_altsetting->desc.bNumEndpoints < 2)
                return -EINVAL;
 

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


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


M'XL( );&WD$  [65?8O<-A"'_[8^Q>0"Z5V2M27Y;7?#AC0O-*&%'O=":0@<
MLCQ>F[4E(\F7A#K?/5IOLKE+N;LVM)9AL#0S>F;F![X/YQ;-,M!M<XF&W(?7
MVKIET E9H*M#A<-FZ$)MUO[H1&M_%-6ZPVCG'YT91!NUC1HLSXCW.19.UN"/
M[#)@8;S?<1][7 8GKWXY_^WG$T)6*WA1"[7&4W2P6A&GS:5H2_M,N+K5*G1&
M*-NA$Z'4W;AW'3FEW*^4Y3%-LY%E-,E'R4K&1,*PI#R99PG9P3W[>Q'7,Z64
MT8QQ-J=LI&D^I^0EL)#-.0>:1I1%- <V7_)D&;-'E"TIA1LSPR,&,TJ>PW];
MR0LB8095\P'>:[,[EMAIL PROTECTED](KI)Z9''_K(9G]RX<0*BAY>@=N:;;EVFBP121D
M%\HKV EE^9AF^2(;"QFG%6,53^(JQKRXN4W7,LI66!O)4L[VN;<CR5G.$[88
M><SB;)+*+4%WB^<':[A%1'?4D##N^;FW=.2<T7225;;X7E1L\0]$%<.,_9^R
MTH/K!P?6F4:M[;0MM3$H'[EMAIL PROTECTED]>]=K;S>5WF)GWT^O%='S;B'Y FR_3
MQ'>)O-F9([EMAIL PROTECTED]:-"44**5INE]/[EMAIL 
PROTECTED]:51/M.'1P]\5%I/$5-)@B"$B\O
MRF)]^*!1KIH]]9^/#TX1-[Y4P ^^A5>R6= *4)6]]L[[?#N*=$>QPWB+1D.+
M:NWJVV&R9 J>[EMAIL PROTECTED]"K/&+;\9RX.1-QN;>!$T%AZ5PXL*3H*F$
MQ LU='!O!5*T[?7=(W)3F3T:X7 [EMAIL PROTECTED]"06-!:0?5T+8?P0Y]
MKXW#,OQ*Q1DDGBJ>0TZ"'9>?[Q4 /^FFP_([VJ,C^ NBA^ %VY3^3G"UOVC+
MX)L.#Z,;D,]JA&VB;Y2>3_WD0%R*IA5%^Z5;06#0#4;![-7S\],__<8G\LZO
9_;]&[EMAIL PROTECTED](JD6!Y#/[EMAIL PROTECTED]     


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to