From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Wed, 14 Feb 2007 00:02:59 +0000 Subject: Re: usblp attributes split in udevinfo Message-Id: <200702140102.59614.zzam@gentoo.org> List-Id: References: <20070213230520.64fe8c2b.aahrend@web.de> In-Reply-To: <20070213230520.64fe8c2b.aahrend@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid0709&bid&3057&dat1642 _______________________________________________ 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