Skip to contentSkip to conversation

05-udev-early.rules

DISCUSSION Alexander E. Patrakov 2 participants 2 messages May 4, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

which of the rules in 05-udev-early.rules are actually relevant for linux-2.6.16.13? I am asking because the following has been reported:

udevd-event[992]: wait_for_sysfs: waiting for '/sys/devices/platform/i8042/serio0/serio2/bus' failed

Right after it, the kernel reports:

IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint as /class/input/input3

How to deal with this wait_for_sysfs failure?

The uevents are:

UDEV_LOG=3
ACTION­d
DEVPATH=/class/input/input3
SUBSYSTEM=input
SEQNUMW2 PHYSDEVPATH=/devices/platform/i8042/serio0/serio2 PHYSDEVBUS=serio
PHYSDEVDRIVER=psmouse
PRODUCT/2/a/0
NAME="TPPS/2 IBM TrackPoint" PHYS="synaptics-pt/serio0/input0"
EV=7
KEYp000 0 0 0 0 0 0 0 0
REL=3 MODALIAS=input:b0011v0002p000Ae0000-e0,1,2,k110,111,112,r0,1,amlsfw UDEVD_EVENT=1

UDEV_LOG=3
ACTION­d
DEVPATH=/class/input/input3/mouse2
SUBSYSTEM=input
SEQNUMW3
PHYSDEVPATH=/devices/platform/i8042/serio0/serio2
PHYSDEVBUS=serio
PHYSDEVDRIVER=psmouse
MAJOR
MINOR4
UDEVD_EVENT=1
DEVNAME=/dev/input/mouse2

UDEV_LOG=3
ACTION­d
DEVPATH=/class/input/input3/event3
SUBSYSTEM=input
SEQNUMW4
PHYSDEVPATH=/devices/platform/i8042/serio0/serio2
PHYSDEVBUS=serio
PHYSDEVDRIVER=psmouse
MAJOR
MINORg
UDEVD_EVENT=1
DEVNAME=/dev/input/event3

Signature · 12 lines
Alexander E. Patrakov


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 2 lines · Alexander E. Patrakov

which of the rules in 05-udev-early.rules are actually relevant for linux-2.6.16.13? I am asking because the following has been reported:

There are two rules in the file in the source tree, both are needed. If that:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h”69d458b90bfb9117cbb488cfa645d94c3921b1
isn't in, you may need something to work around the netdev race too.

Quoted 9 lines

udevd-event[992]: wait_for_sysfs: waiting for '/sys/devices/platform/i8042/serio0/serio2/bus' failed

Right after it, the kernel reports:

IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint as /class/input/input3

How to deal with this wait_for_sysfs failure?

"input" is kind of weird regarding this timing. There is nothing you can do besides increasing the timeout in the source code, or adding the same rule a second time for "input". This may prevent it from happen in the future:
http://www.kernel.org/git/?p=linux/kernel/git/gregkh/patches.git;a=blob;hb=HEAD;f=driver/driver-core-bus-device-event-delay.patch

Kay

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel