From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 08 Oct 2009 17:26:08 +0000 Subject: Re: group is not set properly for usb printer for older kernels Message-Id: List-Id: References: <20091008191201.19276c15@workstation64.home> In-Reply-To: <20091008191201.19276c15@workstation64.home> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Oct 8, 2009 at 19:12, Andreas Radke wrote: > Hi, I'm maintaining the ArchLinux kernel 2.6.27.xx series + cups > packages. > > We added the git fix for libusb "lp" group required by new cups 1.4.x > to our udev 146 pkg, this fix is working with kernels 2.6.30 > and 2.6.31 but fails with our 2.6.27.xx kernels. The kernel config > is modified only in a few parts. > > With kernel 2.6.27.xx the rule is well applied on cold boot > but whenever I switch power off and on the printer devices stays in > root group. Every udev call done by hand like udevadm trigger or test > "fixes" the group permission. > update_link: found 2 devices with name '/dev/char/189:386' > udev_device_new_from_syspath: device 0xb59430 has devpath '/devices/pci0000:00/0000:00:04.0/usb4/4-2/usb_device/usbdev4.3' > udev_device_read_db: device 0xb59430 filled with db symlink data '/dev/usbdev4.3' > update_link: '/dev/char/189:386' with target '/dev/bus/usb/004/003' has the highest priority 0, create it > node_symlink: atomically replace '/dev/char/189:386' Not sure if that is related, but it looks weird. How can two devices claim the same major/minor? What's in /dev/.udev/names/ for that device node/symlink? Kay