From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Razza" Date: Thu, 03 May 2007 11:54:29 +0000 Subject: RE: udev problem DVB-S/T Cards Message-Id: <000701c78d79$cef3c570$6cdb5050$@com> List-Id: References: <000301c78982$db8615e0$929241a0$@com> In-Reply-To: <000301c78982$db8615e0$929241a0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Bryan Kadzban wrote on 03 May 2007 12:13: > Razza wrote: > > I have located path_id which is in /sbin on Fedora core 5 > Hmm; it should be in /lib/udev AFAIK. But maybe this doesn't matter. Wouldn't be the first time something is in a completely different place in Fedora! > > there are some pretty long case statements in there (one I counted had 47 lines!), > Yeah, it's complicated. But I don't think we can do much about that... :o) Agree - The user (me) needs to get more intelligent! ----------8< snip! >8---------- > That should be the right case, but that doesn't look like the current > version of the script. The script from udev-110 looks like this: > > case "$TYPE" in > block) > handle_device > echo "ID_PATH=$d" > ;; > scsi_tape) > handle_device > echo "ID_PATH=$d" > ;; > input) > handle_device > echo "ID_PATH=$d" > ;; > *) > RESULT=1 > ;; > esac > > And then it's followed by: > > exit $RESULT > > But I don't think it's safe to modify the script that you have unless > it has a case that matches this layout (because the script you have is > quite different from mine, so I don't think my modifications are valid > for your system). Is it possible to get an updated udev? I know that > the path_id script from udev-105 should work with the changes I posted > last night, and I know -110 should too, so I assume anything between > those two should also work. Interestingly also in the commented out section of path_id it states (and remember this is Fedora 5) : # Copyright (C) 2005 SUSE Linux Products GmbH # Author: Hannes Reinecke > (But use a distro version of udev, not the sources. The sources will > put the path_id script in /lib/udev, and it sounds like your distro > already has that script somewhere else. There will probably be other > issues too.) ----------8< snip! >8---------- I have looked at the (rpm) version of udev, running my system: udev-084-13.fc5.2.i386 Which appears to be the latest, see - http://rpmfind.net/linux/rpm2html/search.php?query=udev-persistent The build date is "Build date: Wed Aug 16 17:19:57 2006" - could try forcing the FC6 or 7 rpm's? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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