Hello, I want my device to support both ACM(Vendor specific protocol) and ECM sub-classes of CDC. I decided to use alternate settings in Interface to achieve this. When I use Alternate setting 0 for ECM and 1 for ACM(vendor specific protocol) Linux recognizes the device and uses ECM as expected, but When I change the alternate setting, 1 for ECM and 0 for ACM(vendor specific protocol) Linux does not recognizes the device. Why this dependency coming in ?
What is preferred in this case ? Either two configurations or interface with two alternate settings ? /proc/bus/usb/devices [ECM in alternateSetting 0 and ACM in alternateSetting 1] T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 7 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=1110 ProdID=6489 Rev= 0.00 C:* #Ifs= 2 Cfg#= 1 Atr=40 MxPwr=200mA I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=CDCEther E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms I: If#= 0 Alt= 1 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=CDCEther E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=CDCEther E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms /proc/bus/usb/devices [ACM in alternateSetting 1 and ECM in alternateSetting 0] T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 7 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=1110 ProdID=6489 Rev= 0.00 C:* #Ifs= 2 Cfg#= 1 Atr=40 MxPwr=200mA I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=none E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms I: If#= 0 Alt= 1 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=none E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=none E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms Thanks Sp.Raja ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
