Re: What driver for generic bulk to tty?

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

 



OK. Do you know the protocol?

User space - use /proc entries. See Apogee CCD driver for an example, or ask me, I might be able to reveal parts of MI CCD driver which does that.

Kernel space - see some existing (FTDI,..) drivers and write your own.

Petr

On Wed, 20 Mar 2013 18:41:41 +0400, Sergei Organov wrote:
What is recomended driver to use for a USB device that provides just
2 bulk end-points, in and out, to create a TTY to talk to it? Exact
data formats that are used are application-specific, so only generic IO
TTY-alike device (with no control) is required from the kernel.
Searching through the lists and Internet uncovered multiple posts of why "usbserial" is a wrong driver for this purpose, but nowhere did I
find what the right alternative is.

what shows lsusb (e.g. what is TTY PID)? What is chip inside? Usually
the chips are either FTDI or something similar, and then ftdi driver
should work (coupled with right parameters for "unsuported" IDs - you
can then propose patch once you will see the device working).

Thanks, but this is _not_ FTDI or any other widely-known device. It's not
usb-to-serial converter or modem of any kind at all. Just a device to
which one can talk over 2 USB bulk end-points, and I want to get a TTY
to talk to it. Maybe some user-space alternative?

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