[PATCH] hal probe modem caps ondemand

Alex Kanavin ak at sensi.org
Tue May 6 00:50:38 PDT 2008


2008/5/6 Vitja Makarov <vitja.makarov at gmail.com>:
>  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

In theory an ACM device should specify them in the interface
description, but in practice we found that mobile phones always
specify 1 (v.25) and so a probe is needed, which is exactly what you
wrote - thanks.

More information:
http://bugs.freedesktop.org/show_bug.cgi?id=15346

Feel free to attach your patches to that bug.

-- 
Alexander


More information about the hal mailing list