Re: usb-serial: autodetecting device

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

 



Am Dienstag, 22. Juni 2010, 16:10:24 schrieb Greg KH:
> On Tue, Jun 22, 2010 at 10:51:32AM -0300, Otavio Salvador wrote:
> > Hello,
> > 
> > On Tue, Jun 22, 2010 at 9:56 AM, Greg KH <greg@xxxxxxxxx> wrote:
> > > On Tue, Jun 22, 2010 at 09:42:25AM -0300, Otavio Salvador wrote:

> > > Why not treat it like a virtual modem, that is how the hardware was
> > > designed to be treated, right?
> > 
> > It can't dial. Why treat it as a modem if in fact it is a USB to
> > Serial adapter?
> 
> Because that is the USB spec for usb to serial devices :)

Well, no. CDC-ACM is clearly modeled on a modem. It has notions
like learning about loss of carrier and other stuff and encapsulated
commands to an external modem. It is not just a serial driver.

If you have a device that uses none of the extended features of cdc-acm,
you are better of writing a minimal serial driver.

	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