From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 29 Sep 2004 23:16:57 +0000 Subject: Re: Questions concerning udev and removeable media, dvd and links Message-Id: <20040929231657.GA26548@kroah.com> List-Id: References: <20040629060122.GH14667@gamma.logic.tuwien.ac.at> In-Reply-To: <20040629060122.GH14667@gamma.logic.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Sep 29, 2004 at 12:17:15PM +0200, Harald Hoyer wrote: > Greg KH wrote: > >On Tue, Jun 29, 2004 at 08:01:22AM +0200, Norbert Preining wrote: > >> > >>Last question: What is the suggested place to add links I want to have? > >> > >>I would like to have a link > >> /dev/pilot -> /dev/ttyUSB1 > >>ttyUSB1 is only generated when I press the HotSync button on the palm, > >>but I want /dev/pilot to point to it. > >> > >>Where should I configure this. > > > > > >Add a symlink for ttyUSB1 with a rule like: > > KERNEL="ttyUSB1", SYMLINK="pilot" > > > > It's not ttyUSB1 all the time, isn't it?? Any better matching rule for this? It all depends on the type of device, and if you have any other usb to serial devices in the system at the same time. So, for visor devices, you can go by their usb id, or usb product string, but you need the second instance, but for some sony devices you need to use the first port. So writing a set of rules for all devices would be possible, but pretty complex :( I say stick with the default name for now, and any user can add a symlink rule once they determine the type of device they have. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel