setserial:无法获取序列信息:设备的 ioctl 不合适

Tor*_*erg 7 linux serial-port

$ setserial /dev/ttyUSB0 -G
Cannot get serial info: Inappropriate ioctl for device
Run Code Online (Sandbox Code Playgroud)

这个错误是什么意思?stty工作正常:

$ stty -F /dev/ttyUSB0
speed 9600 baud; line = 0;
eof = ^A; min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
Run Code Online (Sandbox Code Playgroud)

Faz*_*ton 5

这意味着驱动程序不支持setserial正在使用的 IOCTL:

setserial gets the information via an ioctl() call. In case the driver 
for your device does not support TIOCGSERIAL, the "invalid argument" is 
returned.
Run Code Online (Sandbox Code Playgroud)

Debian 错误报告)

我认为stty应该能够执行 USB 串行设备所需的任何配置。