Peter Robinson wrote:
> 
> Hi All,
> 
> I have the following USB Modem, as you can see below it appears to
> be Comm class but it isn't being claimed by the acm driver. But that
> doesn't necessarily supprise me as the are other sub classes (I think)
> of the comm class that aren't necessarily acm.
True, and we only support abstract control and ethernet models (that I know
of).
 
> Anyway does the sub=80 and/or Prot=ff have any effect on whether the
> device will be claimed by the acm driver. I know its vendor specific
> if the class is ff is that also true for the prot setting or whether
> there is something else that I'm missing.
Certainly the drivers check for a range of things. You can see this in the acm
code, in the acm_probe() function. The usb code checks for the device
interface (equal to 2 for communication class), and then the driver does some
more sanity checks. The checks are of the device descriptor (to make sure
there are two interfaces), and then on the interface descriptors (for a data
interface and a communication interface, and certain parameters on those
interfaces).

I have put the descriptor for a real acm modem (but without the driver
attached) at the bottom of this email. Your device doesn't seem to have a
second interface. Did you not copy this part, or is it not present? I'd have
to check the spec, but I don't think that communication class can run with
only one interface.


> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=07e1 ProdID=5201 Rev= 1.00
> S:  Manufacturer=Ambient Technologies,Inc.
> S:  Product=USB V.90 Modem
> S:  SerialNumber=12345678
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=02(comm.) Sub=80 Prot=ff Driver=(none)
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  32 Ivl=  0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  32 Ivl=  0ms

T:  Bus=01 Lev=02 Prnt=05 Port=01 Cnt=01 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=06ea ProdID=0002 Rev= 1.00
S:  Manufacturer=Sirius Technologies 
S:  Product=Roadster II 56 USB                      
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=400mA
I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  16 Ivl=  0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  16 Ivl=  0ms
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=128ms

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to