Package: setserial
Version: 2.17

I'm trying to use an USB-to-Serial device, model: "U232-P9" (see http://www.mct.com.tw/prod/rs232.html).

Plugging it in, it is correctly recognized:


root> tail /var/log/messages
Jun 3 14:14:55 lxw2 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic Jun 3 14:14:55 lxw2 kernel: usbcore: registered new driver usbserial_generic
Jun  3 14:14:55 lxw2 kernel: usbcore: registered new driver usbserial
Jun 3 14:14:55 lxw2 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
Jun  3 14:14:55 lxw2 usb.agent[8496]:      pl2303: loaded successfully
Jun 3 14:14:55 lxw2 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303
Jun  3 14:14:55 lxw2 kernel: pl2303 2-2:1.0: PL-2303 converter detected
Jun 3 14:14:55 lxw2 kernel: usb 2-2: PL-2303 converter now attached to ttyUSB0
Jun  3 14:14:55 lxw2 kernel: usbcore: registered new driver pl2303
Jun 3 14:14:55 lxw2 kernel: drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.11


So it is advertised as ttyUSB0.
Fine. But now I cannot get hold of or change the parameters with setserial:


root> setserial -g  /dev/ttyUSB0
Cannot get serial info: Invalid argument
root> setserial -v -g /dev/ttyUSB0
Cannot get serial info: Invalid argument
root> setserial /dev/ttyUSB0
Cannot get serial info: Invalid argument


There is no mention of USB serial devices in the --help or setserial manpage. If another tool has to be used for USB devices, a reference in said documentation would be very helpful.


On the contrary, the following command works just fine:

root> statserial /dev/ttyUSB0

[displays line status] But I still don't know how to set/get the baud rate.


Now what? How can I know/set the parameters of this port which the kernel correctly advertised in its log?

Greetings
Peer



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to