Gentoo Archives: gentoo-user

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
Date: Sat, 05 Nov 2011 13:30:19
Message-Id: CAHNvW1Joi0j+DWH0YfE_43CYkrHBuwYq_bLTZUD58GgRJQaT+w@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction by bill.longman@gmail.com
1 On Sat, Nov 5, 2011 at 2:30 PM, <bill.longman@×××××.com> wrote:
2
3 > Is there some inittab setting that's different on your laptop?
4 >
5 >
6 >
7 > -- Sent from my HP TouchPad
8 > ------------------------------
9 > On Nov 5, 2011 2:21 AM, Kfir Lavi <lavi.kfir@×××××.com> wrote:
10 > Hi all,
11 > I have a problem connecting my laptop to my server at home with a serial
12 > cable.
13 > I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
14 > This lets me test the connection between all serial outputs.
15 > Desktop1-minicom <-> Desktop2-minicom
16 > works with all connections, i.e ttyUSB0 <-> ttyUSB0, or ttyS0 <-> ttyUSB0
17 > and viseversa.
18 > So when connecting 2 desktop computers everything works as expected.
19 >
20 > The problem:
21 > When I connect my laptop to any of those desktops, I get just one way
22 > connection!
23 > If I swap the sides of the cable, the one way connection switch side.
24 > The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
25 > When I swap sides, it is just between two usb dongles.
26 >
27 > The usb dongles are PL2303 both sides.
28 > Settings of minicom is 38400 8n1 Hardware Flow Control=OFF
29 >
30 > Laptop setserial:
31 > setserial -a /dev/ttyUSB0
32 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0
33 > Baud_base: 460800, close_delay: 0, divisor: 0
34 > closing_wait: infinte
35 > Flags: spd_normal
36 >
37 > Desktop1 setserial:
38 > setserial -a /dev/ttyS0
39 > /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
40 > Baud_base: 115200, close_delay: 50, divisor: 0
41 > closing_wait: 3000
42 > Flags: spd_normal skip_test
43 >
44 > setserial -a /dev/ttyUSB0
45 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0
46 > Baud_base: 460800, close_delay: 0, divisor: 0
47 > closing_wait: infinte
48 > Flags: spd_normal
49 >
50 > I tried to add the skip_test but this seems to be not working.
51 > I'm not sure what to do next.
52 >
53 > Any help will be appreciated,
54 > Thanks,
55 > Kfir
56 >
57 No, it is the same as in the other laptop or servers.
58
59 Kfir