On Tue, Oct 13, 2009 at 05:30, Evangelos Foutras <foutrelis@xxxxxxxxx> wrote: > I set udev's loglevel to "debug" and saw something interesting in my logs > [1] after turning on the printer. Specifically, the following line appears > to be of interest: > > Oct 12 19:38:26 foutboxd udevd-work[7541]: '/lib/udev/usb_id' (stderr) > 'error opening USB device 'descriptors' file' > > Maybe the 'descriptors' file hasn't been created when the udev rules fire? I > think this would explain why subsequent calls to udevadm test/trigger apply > the correct group to the printer. Yes, that might be. There have been numerous fixes to recent kernel versions to address issues like this. You could try to set up rules with WAIT_FOR_SYSFS="..." to possibly work around that on older kernel versions. The real fix though, is to run a kernel that matches the time the system-level tools are developed and used with in the major distros. Only these combinations are well tested and debugged. Mixing older kernel versions with newer system-level tools usually works fine, but there are many things that can go wrong, because nobody really tests the combinations in this direction. People usually only make sure, that newer kernels run on older systems, not the other way around. Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html