Gentoo Archives: gentoo-user

From: Jeremy McSpadden <deface@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
Date: Mon, 07 Nov 2011 00:09:04
Message-Id: DE6F4C45-CC08-4583-B25D-97D7A5A8B8AB@uberpenguin.net
In Reply to: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction by Kfir Lavi
1 My question is why the hell would you want to connect it over serial? Try ethernet, its much faster.
2
3 --
4 Jeremy
5 On Nov 5, 2011, at 4:20 AM, Kfir Lavi wrote:
6
7 > Hi all,
8 > I have a problem connecting my laptop to my server at home with a serial cable.
9 > I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
10 > This lets me test the connection between all serial outputs.
11 > Desktop1-minicom <-> Desktop2-minicom
12 > works with all connections, i.e ttyUSB0 <-> ttyUSB0, or ttyS0 <-> ttyUSB0 and viseversa.
13 > So when connecting 2 desktop computers everything works as expected.
14 >
15 > The problem:
16 > When I connect my laptop to any of those desktops, I get just one way connection!
17 > If I swap the sides of the cable, the one way connection switch side.
18 > The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
19 > When I swap sides, it is just between two usb dongles.
20 >
21 > The usb dongles are PL2303 both sides.
22 > Settings of minicom is 38400 8n1 Hardware Flow Control=OFF
23 >
24 > Laptop setserial:
25 > setserial -a /dev/ttyUSB0
26 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0
27 > Baud_base: 460800, close_delay: 0, divisor: 0
28 > closing_wait: infinte
29 > Flags: spd_normal
30 >
31 > Desktop1 setserial:
32 > setserial -a /dev/ttyS0
33 > /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
34 > Baud_base: 115200, close_delay: 50, divisor: 0
35 > closing_wait: 3000
36 > Flags: spd_normal skip_test
37 >
38 > setserial -a /dev/ttyUSB0
39 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0
40 > Baud_base: 460800, close_delay: 0, divisor: 0
41 > closing_wait: infinte
42 > Flags: spd_normal
43 >
44 > I tried to add the skip_test but this seems to be not working.
45 > I'm not sure what to do next.
46 >
47 > Any help will be appreciated,
48 > Thanks,
49 > Kfir