1 |
Hi all, |
2 |
I have a problem connecting my laptop to my server at home with a serial |
3 |
cable. |
4 |
I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. |
5 |
This lets me test the connection between all serial outputs. |
6 |
Desktop1-minicom <-> Desktop2-minicom |
7 |
works with all connections, i.e ttyUSB0 <-> ttyUSB0, or ttyS0 <-> ttyUSB0 |
8 |
and viseversa. |
9 |
So when connecting 2 desktop computers everything works as expected. |
10 |
|
11 |
The problem: |
12 |
When I connect my laptop to any of those desktops, I get just one way |
13 |
connection! |
14 |
If I swap the sides of the cable, the one way connection switch side. |
15 |
The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 |
16 |
When I swap sides, it is just between two usb dongles. |
17 |
|
18 |
The usb dongles are PL2303 both sides. |
19 |
Settings of minicom is 38400 8n1 Hardware Flow Control=OFF |
20 |
|
21 |
Laptop setserial: |
22 |
setserial -a /dev/ttyUSB0 |
23 |
/dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0 |
24 |
Baud_base: 460800, close_delay: 0, divisor: 0 |
25 |
closing_wait: infinte |
26 |
Flags: spd_normal |
27 |
|
28 |
Desktop1 setserial: |
29 |
setserial -a /dev/ttyS0 |
30 |
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 |
31 |
Baud_base: 115200, close_delay: 50, divisor: 0 |
32 |
closing_wait: 3000 |
33 |
Flags: spd_normal skip_test |
34 |
|
35 |
setserial -a /dev/ttyUSB0 |
36 |
/dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0 |
37 |
Baud_base: 460800, close_delay: 0, divisor: 0 |
38 |
closing_wait: infinte |
39 |
Flags: spd_normal |
40 |
|
41 |
I tried to add the skip_test but this seems to be not working. |
42 |
I'm not sure what to do next. |
43 |
|
44 |
Any help will be appreciated, |
45 |
Thanks, |
46 |
Kfir |