Re: group is not set properly for usb printer for older kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 8, 2009 at 19:12, Andreas Radke <a.radke@xxxxxxxx> 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
--
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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux