Brad Hards wrote:
>
> 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).
<snip>
I finally got onto this, and looked at the spec. 80 is vendor specific
subclass (actually anything between 0x80 and 0xfe, see Table 16 in the CDC
spec). Similarly, 0xff in the protocol spec means vendor specific.
You need Sub=02 for it to be ACM, and Sub=06 for it to be ethernet.
> > 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
Has anyone seen devices using other CDC subclasses?
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel