From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RMdKd-0004VO-LQ for garchives@archives.gentoo.org; Sat, 05 Nov 2011 10:18:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2720821C062; Sat, 5 Nov 2011 10:18:26 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 98C8121C048 for ; Sat, 5 Nov 2011 10:17:26 +0000 (UTC) Received: by wyg8 with SMTP id 8so3813039wyg.40 for ; Sat, 05 Nov 2011 03:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=xk51AVaZ05aJ5we8dkQDRARUKfG1pm+gBZwqN0pfivQ=; b=blLln/+I3o8H57dIQrEKoarTdR0vNhnPvjjlbrbh1oD78lQu56UaIWAb0M3HOCsNnM 2FcapfhtFInoUk1FSWtLmkDUc8qTCxS3GJhFuuo7XaVpwoB8uj+RqZNIk9bmNm85znZD Jg/0Eo3S+UDBvUYQ6D8+e6rDKyYUtiqbuDvY8= Received: by 10.181.13.82 with SMTP id ew18mr2546682wid.16.1320488245810; Sat, 05 Nov 2011 03:17:25 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPS id fs1sm1217325wib.3.2011.11.05.03.17.24 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 Nov 2011 03:17:24 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction Date: Sat, 5 Nov 2011 10:17:22 +0000 User-Agent: KMail/1.13.7 (Linux/3.0.6-gentoo; KDE/4.6.5; x86_64; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1732743.lDzWj67e8W"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201111051017.24591.michaelkintzios@gmail.com> X-Archives-Salt: 3c6e520d-406c-42eb-a2af-5d032f277391 X-Archives-Hash: 9554c0acd2758ee04ceb3fa31438cc8c --nextPart1732743.lDzWj67e8W Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote: > Hi all, > I have a problem connecting my laptop to my server at home with a serial > cable. > I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. > This lets me test the connection between all serial outputs. > Desktop1-minicom <-> Desktop2-minicom > works with all connections, i.e ttyUSB0 <-> ttyUSB0, or ttyS0 <-> ttyUSB0 > and viseversa. > So when connecting 2 desktop computers everything works as expected. >=20 > The problem: > When I connect my laptop to any of those desktops, I get just one way > connection! > If I swap the sides of the cable, the one way connection switch side. > The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 > When I swap sides, it is just between two usb dongles. >=20 > The usb dongles are PL2303 both sides. > Settings of minicom is 38400 8n1 Hardware Flow Control=3DOFF >=20 > Laptop setserial: > setserial -a /dev/ttyUSB0 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0 > Baud_base: 460800, close_delay: 0, divisor: 0 > closing_wait: infinte > Flags: spd_normal >=20 > Desktop1 setserial: > setserial -a /dev/ttyS0 > /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 > Baud_base: 115200, close_delay: 50, divisor: 0 > closing_wait: 3000 > Flags: spd_normal skip_test >=20 > setserial -a /dev/ttyUSB0 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0 > Baud_base: 460800, close_delay: 0, divisor: 0 > closing_wait: infinte > Flags: spd_normal >=20 > I tried to add the skip_test but this seems to be not working. > I'm not sure what to do next. >=20 > Any help will be appreciated, > Thanks, > Kfir I think that you will need the pin mapping of a 'null modem' to be able to= =20 have bidirectional connectivity. Have a look here: http://en.wikipedia.org/wiki/Null_modem I think I still have an RS-232 to D9 null modem adaptor somewhere in my bin= s=20 of spares. HTH. =2D-=20 Regards, Mick --nextPart1732743.lDzWj67e8W Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk61DTQACgkQVTDTR3kpaLYtpACgxC3KufDhpBdOx+J1PYFeD96e Ze8An1dnWn9iLsIvRezzwFA2Ne8kdMRb =Rw6F -----END PGP SIGNATURE----- --nextPart1732743.lDzWj67e8W--