I've just found out that I don't seem to be able to use setserial to
turn on the control lines on my USB serial port. To be honest, setserial
does nto seem to recognise the USB serial ports. The statserial command
will recognise it, will not recognise missing serial devices, and
pilot-link goes so I know the USB device is basically operating. Here si
what I get:

[EMAIL PROTECTED] root]# statserial -n /dev/ttyUSB0
Device: /dev/ttyUSB0

Signal  Pin  Pin  Direction  Status  Full
Name    (25) (9)  (computer)         Name
-----   ---  ---  ---------  ------  -----
FG       1    -      -           -   Frame Ground
TxD      2    3      out         -   Transmit Data
RxD      3    2      in          -   Receive  Data
RTS      4    7      out         1   Request To Send
CTS      5    8      in          0   Clear To Send
DSR      6    6      in          0   Data Set Ready
GND      7    5      -           -   Signal Ground
DCD      8    1      in          0   Data Carrier Detect
DTR     20    4      out         1   Data Terminal Ready
RI      22    9      in          0   Ring Indicator
[EMAIL PROTECTED] root]# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
[EMAIL PROTECTED] root]# setserial /dev/ttyUSB0
Cannot get serial info: Invalid argument

Exactly the same thing happens on Debian and RH with different makes of
serial USB adaptor.

Any ideas how I can set the DTR or RTS line on from the command line?

Vik :v)

Reply via email to