Hi Greg!
I searched around and many devices seem to configure their own device
names (ttyPZ, ttyGF, ttySDIO, ttyMX, ttyMI, ttyIPWp, ...), so I think
ttyFT for all the FTDI devices fits well as a name. I explained it
better in the commit message in the next patchset I will be sending.
On 11/28/23 11:29, Greg KH wrote:
On Sun, Nov 26, 2023 at 10:53:18AM +0100, Christina Quast wrote:
Hi Greg!
Thanks for the comments!
On 11/22/23 11:15, Greg KH wrote:
On Wed, Nov 22, 2023 at 10:40:03AM +0100, Christina Quast wrote:
This commit adds a serial interface /dev/FTx which implements the tty
serial driver ops, so that it is possible to set the baudrate, send
and receive data, etc.
Why is this a serial device? What type of device is it?
And why "FTx"? Where did that name come from? That's not a "normal"
tty name.
I meant /dev/ttyFTx. Since it's a hid device providing a serial interface,
in theory you could also call it /dev/ttySx or /dev/ttyUSBx, but both feel
wrong. It's an FTDI device, that functions as a USB to UART / I2C Master. Do
you have a better name in mind?
I thought we had a HID tty device name already, perhaps dig around for
that and tie into that interface? If not, sure, youcan use ttyFTx, but
it needs to be documented somewhere (and the correct wording here in the
changelog as well.)
thanks,
greg k-h