1 |
On Sat, Nov 5, 2011 at 9:57 PM, <bill.longman@×××××.com> wrote: |
2 |
|
3 |
> Pardon my top post please. |
4 |
> |
5 |
> You'll have too ensure that you have only three wires. Line 2 to 3, line 3 |
6 |
> to 2 and line 5 straight through. I don't think you'll be able to get bi |
7 |
> directional serial links if you have the other hardware lines connected. |
8 |
> |
9 |
> I have connected the wires by hand, 3-2 and 2-3 but without 5. |
10 |
I'll try it again today with 5 connected, and post my findings. |
11 |
|
12 |
Regards, |
13 |
Kfir |
14 |
|
15 |
> |
16 |
> |
17 |
> |
18 |
> -- Sent from my HP TouchPad |
19 |
> ------------------------------ |
20 |
> On Nov 5, 2011 3:17 AM, Mick <michaelkintzios@×××××.com> wrote: |
21 |
> On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote: |
22 |
> > Hi all, |
23 |
> > I have a problem connecting my laptop to my server at home with a serial |
24 |
> > cable. |
25 |
> > I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. |
26 |
> > This lets me test the connection between all serial outputs. |
27 |
> > Desktop1-minicom <-> Desktop2-minicom |
28 |
> > works with all connections, i.e ttyUSB0 <-> ttyUSB0, or ttyS0 <-> |
29 |
> ttyUSB0 |
30 |
> > and viseversa. |
31 |
> > So when connecting 2 desktop computers everything works as expected. |
32 |
> > |
33 |
> > The problem: |
34 |
> > When I connect my laptop to any of those desktops, I get just one way |
35 |
> > connection! |
36 |
> > If I swap the sides of the cable, the one way connection switch side. |
37 |
> > The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 |
38 |
> > When I swap sides, it is just between two usb dongles. |
39 |
> > |
40 |
> > The usb dongles are PL2303 both sides. |
41 |
> > Settings of minicom is 38400 8n1 Hardware Flow Control=OFF |
42 |
> > |
43 |
> > Laptop setserial: |
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 |
> > Desktop1 setserial: |
51 |
> > setserial -a /dev/ttyS0 |
52 |
> > /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 |
53 |
> > Baud_base: 115200, close_delay: 50, divisor: 0 |
54 |
> > closing_wait: 3000 |
55 |
> > Flags: spd_normal skip_test |
56 |
> > |
57 |
> > setserial -a /dev/ttyUSB0 |
58 |
> > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0 |
59 |
> > Baud_base: 460800, close_delay: 0, divisor: 0 |
60 |
> > closing_wait: infinte |
61 |
> > Flags: spd_normal |
62 |
> > |
63 |
> > I tried to add the skip_test but this seems to be not working. |
64 |
> > I'm not sure what to do next. |
65 |
> > |
66 |
> > Any help will be appreciated, |
67 |
> > Thanks, |
68 |
> > Kfir |
69 |
> |
70 |
> I think that you will need the pin mapping of a 'null modem' to be able to |
71 |
> have bidirectional connectivity. |
72 |
> |
73 |
> Have a look here: |
74 |
> |
75 |
> http://en.wikipedia.org/wiki/Null_modem |
76 |
> |
77 |
> I think I still have an RS-232 to D9 null modem adaptor somewhere in my |
78 |
> bins |
79 |
> of spares. |
80 |
> |
81 |
> HTH. |
82 |
> -- |
83 |
> Regards, |
84 |
> Mick |
85 |
> |