Skip to contentSkip to conversation

udev rule not working after kernel upgrade

DISCUSSION Paul Gaynor 2 participants 3 messages Dec 8, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

After upgrading to kernel 2.6.14 my udev rule:

BUS="usb", KERNEL="event[0-3]*", SYSFS{product}="USB TouchController", SYMLINK="input/touchscreen"

is no longer working. a rule further down in the rules file is being ran instead:

KERNEL="event[0-9]*", NAME="input/%k"

from syslog:

Dec  7 18:43:09 localhost udev[4904]: configured rule in

'/etc/udev/rules.d/udev.rules[68]' applied, 'event1' becomes 'input/%k'

Is there something that i might be missing in the kernel for my rule to work?

What else should i look into to get my rule working? I can cat the /sys for the "product" and it comes up correct. The rule worked fine on kernel 2.6.8. Any advice?

Thanks,
Paul

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 18 lines · Paul Gaynor

Hi,

After upgrading to kernel 2.6.14 my udev rule:

BUS="usb", KERNEL="event[0-3]*", SYSFS{product}="USB TouchController", SYMLINK="input/touchscreen"

is no longer working. a rule further down in the rules file is being ran instead:

KERNEL="event[0-9]*", NAME="input/%k"

from syslog:

Dec  7 18:43:09 localhost udev[4904]: configured rule in

'/etc/udev/rules.d/udev.rules[68]' applied, 'event1' becomes 'input/%k'

Quoted 6 lines

Is there something that i might be missing in the kernel for my rule to work?

What else should i look into to get my rule working? I can cat the /sys for the "product" and it comes up correct. The rule worked fine on kernel 2.6.8. Any advice?

What version of udev is that?

Kay

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Paul Gaynor

An upgrade to udev .074 has fixed my issue.

Thanks for the help

Quoted 38 lines

From: Kay Sievers <[email protected]>
Date: 2005/12/07 Wed PM 09:24:38 EST
To: Paul Gaynor <[email protected]>
CC: Linux Hotplug <[email protected]>
Subject: Re: udev rule not working after kernel upgrade

Quoted 18 lines · Paul Gaynor

Hi,

After upgrading to kernel 2.6.14 my udev rule:

BUS="usb", KERNEL="event[0-3]*", SYSFS{product}="USB TouchController", SYMLINK="input/touchscreen"

is no longer working. a rule further down in the rules file is being ran instead:

KERNEL="event[0-9]*", NAME="input/%k"

from syslog:

Dec  7 18:43:09 localhost udev[4904]: configured rule in

'/etc/udev/rules.d/udev.rules[68]' applied, 'event1' becomes 'input/%k'

Quoted 6 lines

Is there something that i might be missing in the kernel for my rule to work?

What else should i look into to get my rule working? I can cat the /sys for the "product" and it comes up correct. The rule worked fine on kernel 2.6.8. Any advice?

What version of udev is that?

Kay

Quoted 10 lines

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel