hi,
i am a developer for a USB capable modem. My target is to support both
MSFT's RNDIS and CDC-Ethernet.  My modem was working fine with Linux
2.4.X.(RH 7.2) Yesterday I downloaded Linux 2.6.2 from www.kernel.org (and
got it to work with some difficulty!!).. But now Linux 2.6.2  does not
recognize my CDC-Ethernet capability.

After going thru some of the mails in this list and studying the USB source
tree for 2.6.2, my analysis is as follows:
My modem offers 2 configurations (bNumConfigurations=2) Config 1 = MSFT
RNDIS & config 2 = CDC Ethernet.  In 2.4, the usb core would end up probing
config 2 with the CDCEther driver and successfully attach that driver. Now
in 2.6 the usbnet driver is not probed at all !!!! Based on the code, I
found that
1. the config chosen in my case is config 1... b'cos my RNDIS descriptor
does NOT say it is a vendor specific interface ( a quick fix soln of modem
reporting this vendor specific interface worked ok with Lnux 2.6.2 but
destroyed the functionality with MSFT windows!!!!!!!) ...
2. usb_hotplug also does not run thru all configurations... it only runs
thru interfaces... that too only if bDeviceClass==0

Also my modem works perfectly ok with Linux 2.6.2 if I configure it only for
CDC-Ethernet.

IMHO, if in a configuration, none of the interfaces are claimed by drivers
and more configurations are available then those configs should be tried..


Any suggestions ? ( I don;t  want to do the sysfs method!!)

I'm not very familiar with the linux USB source ... so pardon any ignorant
assumptions if any..

Thanks in advance
Prashanth


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

Reply via email to