--- Alan Stern <[EMAIL PROTECTED]> wrote: > On Sat, 17 Jan 2004, Jon Smirl wrote: > > > I have a new Motorolo T730 phone which supports USB. I plugged it into 2.6.1 > and > > the kernel doesn't pick up the devices correctly. I add some debug message > to > > the usb driver and this is what I saw: > > > > hub 3-0:1.0: new USB device on port 2, assigned address 4 > > drivers/usb/core/config.c: number of interfaces 8 > > drivers/usb/core/config.c: interface number is 0 > > drivers/usb/core/config.c: interface number is 1 > > drivers/usb/core/config.c: interface number is 2 > > drivers/usb/core/config.c: interface number is 3 > > drivers/usb/core/config.c: interface number is 3 > > drivers/usb/core/config.c: interface number is 3 > > drivers/usb/core/config.c: interface number is 3 > > drivers/usb/core/config.c: interface number is 4 > > drivers/usb/core/config.c: interface number is 4 > > drivers/usb/core/config.c: interface number is 4 > > drivers/usb/core/config.c: interface number is 4 > > drivers/usb/core/config.c: interface number is 5 > > drivers/usb/core/config.c: interface number is 6 > > drivers/usb/core/config.c: interface number is 8 > > drivers/usb/core/config.c: no alternate settings for interface 7 > > drivers/usb/core/config.c: missing altsetting 0 for interface 7 > > > > The problem is that the phone supports 8 interfaces but instead of being > > numbered 0-7 they are numbered 0-6 and 8. This breaks the code in > > usb/core/config.c which assumes no gaps in the interface numbers. > > > > My guess is that there is an interface seven but it is disabled in retail > phones > > and turned on in developer models. > > > > I'll try looking some more at the code for this but I'm new to the world of > USB > > drivers. For example, is it legal to have gaps in the interface numbers? > > It is not legal. But a number of devices are wrong in this respect, and I > sent in a patch to handle it back in mid-December: > > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107167512506341&w=2 > > You can try applying it; it would be worthwhile to learn if it succeeds in > working with your phone. > > Greg, is there some reason I should know about why this patch hasn't been > accepted yet? > > Alan Stern > >
===== Jon Smirl [EMAIL PROTECTED] __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
