Greg KH a écrit : >On Wed, Jan 28, 2004 at 12:58:33AM +0100, mjl wrote: > > >>>Build udev with DEBUG=true and USE_LOG=true and show us what the debug >>>logs say when you run udev. >>> >>> >>> >>> >>the only things that seems to be usefull is "udev_hotplug : no devpath?" >>looking into the test scripts I saw that the script set DEVPATH and then >>call udev.... and this way work so it seems that hotplug don't set DEVPATH >> >> > >The kernel sets up DEVPATH when it calls hotplug. You are using a 2.6 >kernel for your device, right? :) > >thanks, > >greg k-h > > > right I use 2.6.1.... yesterday I made some tests 1rst pci.rc don't work for me : logs only reports that no modules can be found even if the modules exist and loads fine (doing a modprobe) so I writed this little patch (see hotplug patch) 2) I played around with udev 2.1) the tests (see debug.log, 1rst part) everything worked fine appart that tty creation is really really looooooooong 2.2)playing with pci.rc and my usb mouse (see debug.log, 2nd part and event.log) as you'll notice in event.log DEVPATH is set correctly and as you'll notice in debug.log 2nd part no udev output occurs.... looks like udev is never called (but hotplug do) jlm@Sorcerer:~$ ls -lh /etc/hotplug.d/default/ total 4.5K -rwxr-xr-x 1 root root 2.8K 2004-01-28 21:34 default.hotplug lrwxrwxrwx 1 root root 10 2004-01-29 00:56 udev.hotplug -> /sbin/udev any idea? thanks