Re: usb: class: cdc-acm: /dev/ttyACM0 HowTo disable interrupt and control URBs

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

 



On 09.11.2012 15:43, Oliver Neukum wrote:
On Friday 09 November 2012 14:42:24 Markus Kolb wrote:
[...]
I've found e.g.
URB_NO_INTERRUPT and USBDEVFS_URB_NO_INTERRUPT in

http://code.metager.de/source/xref/linux/stable/drivers/usb/core/devio.c#1386
but how do I set this?

You don't. This is for usbfs. If your modem cannot handle status
transfers it makes no sense to use cdc-acm. You better blacklist the
device and use usb-serial.


Ok. Should the vendor_id/product_id combination be blacklisted in cdc-acm?
I think the device is detected for cdc-acm because of

http://code.metager.de/source/xref/linux/stable/drivers/usb/class/cdc-acm.c#1653

1653	/* control interfaces without any protocol set */
1654	{ USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ACM,
1655		USB_CDC_PROTO_NONE) },

Or is udev the right place to handle buggy descriptors?

Thanks
--
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