1 |
On Sat, Nov 5, 2011 at 12:17 PM, Mick <michaelkintzios@×××××.com> wrote: |
2 |
|
3 |
> On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote: |
4 |
> > Hi all, |
5 |
> > I have a problem connecting my laptop to my server at home with a serial |
6 |
> > cable. |
7 |
> > I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. |
8 |
> > This lets me test the connection between all serial outputs. |
9 |
> > Desktop1-minicom <-> Desktop2-minicom |
10 |
> > works with all connections, i.e ttyUSB0 <-> ttyUSB0, or ttyS0 <-> ttyUSB0 |
11 |
> > and viseversa. |
12 |
> > So when connecting 2 desktop computers everything works as expected. |
13 |
> > |
14 |
> > The problem: |
15 |
> > When I connect my laptop to any of those desktops, I get just one way |
16 |
> > 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 |
50 |
> |
51 |
> I think that you will need the pin mapping of a 'null modem' to be able to |
52 |
> have bidirectional connectivity. |
53 |
> |
54 |
> Have a look here: |
55 |
> |
56 |
> http://en.wikipedia.org/wiki/Null_modem |
57 |
> |
58 |
> I think I still have an RS-232 to D9 null modem adaptor somewhere in my |
59 |
> bins |
60 |
> of spares. |
61 |
> |
62 |
> HTH. |
63 |
> -- |
64 |
> Regards, |
65 |
> Mick |
66 |
> |
67 |
Hi and thanks for replaying. |
68 |
This cable setup is working between the 2 desktop computers |
69 |
bidirectionally. So, it seems that that part I got right. |
70 |
The problem is when the laptop use the same cable connection and have just |
71 |
one direction. |
72 |
|
73 |
Basically, I need to cross pin 2 and 3, and I have the setup open, so I can |
74 |
cross whatever pin I want. |
75 |
|
76 |
Regards, |
77 |
Kfir |