Re: usb-serial: autodetecting device

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

 



Am Dienstag, 22. Juni 2010, 15:49:20 schrieb Otavio Salvador:
> Hello,
> 
> On Tue, Jun 22, 2010 at 9:53 AM, Oliver Neukum <oneukum@xxxxxxx> wrote:
> > Am Dienstag, 22. Juni 2010, 14:42:25 schrieb Otavio Salvador:
> >>  - the device is much near of a serial port then a modem (but doesn't
> >> appears as ttyUSBX);
> >>  - how dynamically we can "detect" it is not a modem?
> >
> > We can't. We'd need to blacklist in cdc-acm.c. Does the device support
> > the cdc status notifications?
> 
> I have the patch to "backlist" it in cdc-acm.c already. The missing
> part is discover which driver I could add it. If I use generic it
> works but generic has no devices mapped in it.

Look at eg.moto-modem. A thin cover on the generic driver is trivial.
But before you do that I'd like to know for sure that cdc-acm shouldn't
be used. That depends on the device really using notifications.

	Regards
		Oliver
--
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