Google
  Web www.spinics.net

Re: usb-serial: autodetecting device

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


On Tue, Jun 22, 2010 at 09:42:25AM -0300, Otavio Salvador wrote:
> Hello Greg,
> 
> On Mon, Jun 21, 2010 at 8:17 PM, Greg KH <greg@xxxxxxxxx> wrote:
> > On Mon, Jun 21, 2010 at 07:58:20PM -0300, Otavio Salvador wrote:
> >> Hello,
> >>
> >> I got a USB device that is compatible with usb-serial however it is
> >> detected automatically, in lastest kernel, as cdc_acm modem but it is
> >> not a modem but a Pinpad (device used for credit-card usage). I'm
> >> looking for a way to discover which chipset it has. How can I do that?
> >
> > It should be working ok as a cdc-acm device, right?  It just provides a
> > virtual tty port to read data from the device, no need to find out the
> > chipset as Linux should be working just fine with it already.
> 
> I see two issues with this:
> 
>  - the device is much near of a serial port then a modem (but doesn't
> appears as ttyUSBX);

I don't understand, can you rephrase this?

>  - how dynamically we can "detect" it is not a modem?

Why not treat it like a virtual modem, that is how the hardware was
designed to be treated, right?

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


B and H Foto and Electronics Corp.

[Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Old Linux USB Devel Archive]

Add to Google Powered by Linux