Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758392AbZA2Qed (ORCPT ); Thu, 29 Jan 2009 11:34:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753278AbZA2QeY (ORCPT ); Thu, 29 Jan 2009 11:34:24 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:54385 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752653AbZA2QeX (ORCPT ); Thu, 29 Jan 2009 11:34:23 -0500 Date: Thu, 29 Jan 2009 16:34:42 +0000 From: Alan Cox To: Jiri Kosina Cc: Pazzo Da Legare , linux-kernel@vger.kernel.org Subject: Re: NEWBIE: how to change serial device<->port association Message-ID: <20090129163442.13a9a3f7@lxorguk.ukuu.org.uk> In-Reply-To: References: <1a26b4920901290302w5c9bb79cra29fda5e67cc96a4@mail.gmail.com> <20090129134537.12121834@lxorguk.ukuu.org.uk> <1a26b4920901290616r40c1edd0tec62d0e6bf24dc9@mail.gmail.com> <20090129160602.235840c2@lxorguk.ukuu.org.uk> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 22 On Thu, 29 Jan 2009 17:22:54 +0100 (CET) Jiri Kosina wrote: > On Thu, 29 Jan 2009, Alan Cox wrote: > > > > The hws have a different combination of kind serials and I would like > > > to present the same ttyS* to applications. I need to have different > > By having multiple different kernels for the different systems ? That > > sounds like a really really complicated way to go about the problem when > > you could just add a config file to your application. > > Another possibility is udev rule. If its a simple naming choice then a symlink might do the job. What Fedora and several other distros do is to create symbolic links from "virtual" names like /dev/modem and /dev/cdrom to the relevant port using ln -s -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/