[PATCH] hal probe modem caps ondemand

Vitja Makarov vitja.makarov at gmail.com
Tue May 6 00:12:26 PDT 2008


2008/5/6 Alex Kanavin <ak at sensi.org>:
> 2008/5/6 Vitja Makarov <vitja.makarov at gmail.com>:
>
> >  I'm wondering what for are CDMA, 3G, GSM subclasses.
>
>  Which subclasses? Where?
>
>

I mean protocols defined at linux/usb/cdc.h:

#define USB_CDC_ACM_PROTO_AT_V25TER		1
#define USB_CDC_ACM_PROTO_AT_PCCA101		2
#define USB_CDC_ACM_PROTO_AT_PCCA101_WAKE	3
#define USB_CDC_ACM_PROTO_AT_GSM		4
#define USB_CDC_ACM_PROTO_AT_3G			5
#define USB_CDC_ACM_PROTO_AT_CDMA		6
#define USB_CDC_ACM_PROTO_VENDOR		0xff


>  >  Here is new version of patch.
>  >  It simply calls prober for V.250 CDC-ACM modems.
>  >  Also I don't understand why we don't check interface.class and only
>  >  test interface.subclass?
>
>  Why do you think so? It clearly checks both:
>       <match key="@info.parent:usb.interface.class" int="0x02">
>          <match key="@info.parent:usb.interface.subclass" int="0x02">
>

Sorry, I'm wrong here. Sometimes it's hard to read xml.

vitja.


More information about the hal mailing list