From: vijay manchala Date: Fri, 07 Aug 2009 12:54:30 +0000 Subject: udev_rules_init Message-Id: <17751.64212.qm@web110710.mail.gq1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I have written one udev rule in the file 10-local.rules for my driver and placed in /etc/udev/rules.d/ I reloaded the udevcontrol command and even rebooted also But My module is not getting inserted, instead I saw error message in /var/log/messages as below udev_rules_init: could not read '/etc/udev/rules.d/10-local.rules': No such file or directory below is my udev rule BUS!="usb", ACTION!="add", GOTO="test_add_end" BUS="usb", SYSFS{idVendor}="xxxx", SYSFS{idProduct}="xxxx", ACTION="add", RUN+="/sbin/insmod /lib/modules/2.6.18-92.el5.1/kernel/drivers/usb/input/testpedal.ko" LABEL="test_add_end" KERNEL="event*", SYSFS{idVendor}="ffff", SYSFS{idProduct}="0000", \ ACTION="add", NAME="input/%k", SYMLINK+="test_pedal", OPTIONS="remove_symlinks" BUS!="usb", ACTION!="remove", GOTO="test_remove_end" BUS="usb", SYSFS{idVendor}="ffff", SYSFS{idProduct}="0000", \ ACTION="remove", RUN+="/sbin/rmmod testpedal" LABEL="test_remove_end" am not getting what exactly happening, but able read that file properless with less command please let me know if am doing wrong. Thanks & Regards Kumar