All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Schwarzott <zzam@gentoo.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: usblp attributes split in udevinfo
Date: Wed, 14 Feb 2007 00:02:59 +0000	[thread overview]
Message-ID: <200702140102.59614.zzam@gentoo.org> (raw)
In-Reply-To: <20070213230520.64fe8c2b.aahrend@web.de>

On Mittwoch, 14. Februar 2007, Arne Ahrend wrote:
> Thanks for replying. I am trying to create a persistent symlink (e.g.
> HL-1050) to the lp0 device.
>
> The modalias or ieee1284_id attributes are in one group, but KERNEL="lp0"
> is in another. So what is the best way to have a symlink /dev/HL-1050 ->
> /dev/usb/lp0 created automatically?
>
> It used to be as easy as
>
> 	SUBSYSTEM="usb",
> sysfs{modalias}="usb:v04F9p0002d0100dc00dsc00dp00ic07isc01ip02",
> SYMLINK="HL-1050"
>
Why not change that minimally to:

SUBSYSTEM="usb", \ 
ATTRS{modalias}="usb:v04F9p0002d0100dc00dsc00dp00ic07isc01ip02", \ 
SYMLINK="HL-1050"

(like output of udevinfo suggests)
and perhaps add a KERNEL="lp*"

-- 
Matthias Schwarzott (zzam)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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:[~2007-02-14  0:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 22:05 usblp attributes split in udevinfo Arne Ahrend
2007-02-13 22:10 ` Kay Sievers
2007-02-13 23:53 ` Arne Ahrend
2007-02-14  0:02 ` Matthias Schwarzott [this message]
2007-02-14  7:18 ` Kay Sievers
2007-02-14 17:40 ` Arne Ahrend

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=200702140102.59614.zzam@gentoo.org \
    --to=zzam@gentoo.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.