Re: usb-serial: autodetecting device

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

 



On Wed, Jun 23, 2010 at 10:06:32AM +0200, Oliver Neukum wrote:
> 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.

True, but you could just ignore all the modem stuff, and send and
receive data from the device, right?  That is probably what happens on
Windows, as the device was made to work with the Microsoft-provided
driver.

So a new driver isn't always needed 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