Re: [SUGGESTION] Add generic modem without AT command capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 26, 2010 at 10:52:48AM +0200, Philippe Corbes wrote:
> Hello,
> 
> I founded electronic gadgets based on microcontrolers. They configured
> the Interface descriptor as:
>       bInterfaceClass         2 Communications
>       bInterfaceSubClass      2 Abstract (modem)
>       bInterfaceProtocol      0 None
> 
> I think it would be interesting to manage this kind of peripheral. We
> should not specify "1 AT-commands (v.25ter)" when the node do not
> support AT commands.
> Does anybody have another idea?
> 
> I suggest this modification in class/cdc-acm.c
> 1597 ????????/*?Support?Lego?NXT?using?pbLua?firmware?*/
> 1598 ????????{?USB_DEVICE(0x0694,?0xff00),
> 1599 ????????.driver_info?=?NOT_A_MODEM,
> 1600 ????????},
> 1601
>              /*?control?interfaces?without?any protocol?sets?*/
>              {?USB_INTERFACE_INFO(USB_CLASS_COMM,?USB_CDC_SUBCLASS_ACM,
>              ????USB_CDC_PROTO_NONE)?},
> 
> 1602 ????????/*?control?interfaces?with?various?AT-command?sets?*/
> 1603 ????????{?USB_INTERFACE_INFO(USB_CLASS_COMM,?USB_CDC_SUBCLASS_ACM,
> 1604 ????????????????USB_CDC_ACM_PROTO_AT_V25TER)?},
> 1605 ????????{?USB_INTERFACE_INFO(USB_CLASS_COMM,?USB_CDC_SUBCLASS_ACM,
> 1606 ????????????????USB_CDC_ACM_PROTO_AT_PCCA101)?},

Care to provide a patch in the format described in
Documentation/SubmittingPatches so that we can see what you are
referring to here?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux