linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Questions concerning udev and removeable media, dvd and links
Date: Wed, 29 Sep 2004 23:16:57 +0000	[thread overview]
Message-ID: <20040929231657.GA26548@kroah.com> (raw)
In-Reply-To: <20040629060122.GH14667@gamma.logic.tuwien.ac.at>

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

      parent reply	other threads:[~2004-09-29 23:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-29  6:01 Questions concerning udev and removeable media, dvd and links Norbert Preining
2004-06-29  6:15 ` Greg KH
2004-06-29  6:50 ` Norbert Preining
2004-06-29  7:00 ` Greg KH
2004-06-29  7:22 ` Norbert Preining
2004-06-29  7:22 ` Norbert Preining
2004-06-29  7:24 ` Greg KH
2004-06-29  7:29 ` Norbert Preining
2004-09-29 10:17 ` Harald Hoyer
2004-09-29 23:16 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040929231657.GA26548@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).