Re: What driver for generic bulk to tty?

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

 



Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
writes:

> On Wed, 20 Mar 2013, 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?
>
> For something like this, usb-serial may indeed be the best solution,
> even though it has relatively low throughput.  I don't think any of the
> more specific drivers are suited to this protocol.

OK, thanks, get it.

Now, if I'd like to adresss the problem from the other end, i.e., from
the USB device side, what's the simplest thing I can implement so that
some of the existing drivers can work with the device? What is the right
thing to implement (provided it does not match the simplest one)?

-- 
Sergei.

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