support for TIOCSERGETLSR in ftdi_sio

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

 



Hi,

I have a set of (closed source) programs running on ubuntu linux that seem to need support for TIOCSERGETLSR in the ftdi_sio module.

What I notice is that the programs work using a normal serial port but fail when using a USB serial port. Output of strace suggests it keeps on calling ioctl with TIOCSERGETLSR. It probably wants to know if it's data is sent.

In the header file (ftdi_sio.h) I see a definition of FTDI_RS_TEMT which could be read from byte 1 from the IN EndPoint.

Is it possible someone point me to information on where I can learn how to get hold of such an EndPoint? Or is there another way this functionality (detect all data is actually sent) can be implemented?


regards,

--
Willem-Jan de Hoog
--
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