From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 09 Jan 2004 20:11:53 +0000 Subject: Re: Is a new udev version planned to go with linux 2.6.1 ? (rules don't work anymore) Message-Id: <20040109201153.GB4090@kroah.com> List-Id: References: <200401091645.06702.remco@d-compu.dyndns.org> In-Reply-To: <200401091645.06702.remco@d-compu.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Jan 09, 2004 at 04:45:06PM +0100, Remco wrote: > I updated to kernel 2.6.1 today and noticed that none of the udev > rules got applied. All device nodes created by udev have their > standard (kernel) values. Nothing changed in 2.6.1 to stop udev from working that I can see. It works fine for me here. > => > => case 1 > => # IDE - hd* (CD and HD) devices > => CALLOUT, BUS="ide", PROGRAM="/home/remco/udev/ide-devfs.sh %k %b %n", ID="hd*", NAME="%2c" #, SYMLINK="%1c" What's that '#' doing in there? That will break the rule, comments can't go in the middle of a line, sorry. And as per your log, it doesn't even show up as a rule. > => case 2 > => # tty devices > => REPLACE, KERNEL="tty[0-9]*", NAME="vc/%n" > => > Jan 9 16:23:40 vp6 udev[3247]: main: version 012 > Jan 9 16:23:40 vp6 udev[3247]: get_dirs: sysfs_path='/sys' > Jan 9 16:23:40 vp6 udev[3247]: parse_config_file: reading '/etc/udev/udev.conf' as config file > Jan 9 16:23:40 vp6 udev[3247]: main: called by hotplug > Jan 9 16:23:40 vp6 udev[3247]: udev_hotplug: looking at '/class/tty/ttyS7' ttyS7 does not match up with your rule, so it is not applied. If it was tty7, it would, and it does work on 2.6.1, I just tested it. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ 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