Re: confirm LTS kernel / usb printer permission issues

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



Evangelos Foutras wrote:
Evangelos Foutras wrote:
Andreas Radke wrote:
btw: do you have problems using an usb printer and "lp" group
permission like I posted to the mailing lists? I could only workaround
it.

-Andy

It happens here too. However, the printer device ends up in the vboxusers group, regardless of whether the printer is on during boot or started afterwards.

/etc/udev/rules.d/10-vboxdrv.rules contains:

KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"
 SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0664"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="vboxusers", MODE="0664"

I'm not familiar with the way udev rules are evaluated, but it appears that the rule that's supposed to set the printer's group to "lp" isn't being applied, for some reason.

I can further confirm that, after moving the 10-vboxdrv.rules file out of the rules.d directory and starting the printer, it ends up in the root group. If I then run `udevadm trigger' like you did, the printer switches to the lp group.

This is weird. :)

One more thing I just noticed is that the output of `udevadm monitor' when starting the printer after boot on each kernel differs greatly.

Output of main kernel:

KERNEL[1255295569.533848] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3 (usb) UDEV [1255295569.537766] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3 (usb) KERNEL[1255295569.538878] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0 (usb) UDEV [1255295569.538904] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/usb_device/usbdev2.2 (usb_device) KERNEL[1255295569.538925] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/usb_device/usbdev2.2 (usb_device) UDEV [1255295569.580559] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0 (usb)

Output of lts kernel:

KERNEL[1255295761.541586] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3 (usb) KERNEL[1255295761.544490] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0 (usb) KERNEL[1255295761.544514] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0/usb_endpoint/usbdev2.2_ep01 (usb_endpoint) KERNEL[1255295761.544533] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0/usb_endpoint/usbdev2.2_ep82 (usb_endpoint) KERNEL[1255295761.544551] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/usb_device/usbdev2.2 (usb_device) KERNEL[1255295761.544568] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/usb_endpoint/usbdev2.2_ep00 (usb_endpoint) UDEV [1255295761.546607] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3 (usb) UDEV [1255295761.546639] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/usb_endpoint/usbdev2.2_ep00 (usb_endpoint) UDEV [1255295761.546819] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/usb_device/usbdev2.2 (usb_device) UDEV [1255295761.585708] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0 (usb) UDEV [1255295761.586338] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0/usb_endpoint/usbdev2.2_ep01 (usb_endpoint) UDEV [1255295761.586368] add /devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0/usb_endpoint/usbdev2.2_ep82 (usb_endpoint)

Not sure if the above is important, but it struck me as a bit strange. :>

PS: Moving the discussion to the arch-general mailing list, in case anyone wants to chime in. :)


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux