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

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

 



should be this:

[root@server64 andyrtr]# ls -1hR /dev/.udev/names/usbdev4.5
/dev/.udev/names/usbdev4.5:
\x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2fusb4\x2f4-2\x2fusb_device\x2fusbdev4.5


udevadm monitor -e --udev shows this:

UDEV  [1255025639.950847] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2 (usb)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2
SUBSYSTEM=usb
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/004/005
PRODUCT=43d/c/100
TYPE=0/0/0
BUSNUM=004
DEVNUM=005
SEQNUM=1919
ID_VENDOR=Lexmark_International__Inc.
ID_VENDOR_ENC=Lexmark\x20International\x2c\x20Inc.
ID_VENDOR_ID=043d
ID_MODEL=Lexmark_Optra_E312
ID_MODEL_ENC=Lexmark\x20Optra\x20E312
ID_MODEL_ID=000c
ID_REVISION=0100
ID_SERIAL=Lexmark_International__Inc._Lexmark_Optra_E312_8050926
ID_SERIAL_SHORT=8050926
ID_BUS=usb
ID_USB_INTERFACES=:070102:
DEVNAME=/dev/bus/usb/004/005
MAJOR=189
MINOR=388
DEVLINKS=/dev/char/189:388

UDEV  [1255025639.952481] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2/usb_endpoint/usbdev4.5_ep00 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/usb_endpoint/usbdev4.5_ep00
SUBSYSTEM=usb_endpoint
SEQNUM=1924
DEVNAME=/dev/usbdev4.5_ep00
MAJOR=253
MINOR=10
DEVLINKS=/dev/char/253:10

UDEV  [1255025639.959575] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2/usb_device/usbdev4.5 (usb_device)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/usb_device/usbdev4.5
SUBSYSTEM=usb_device
SEQNUM=1923
DEVNAME=/dev/usbdev4.5
MAJOR=189
MINOR=388
DEVLINKS=/dev/char/189:388

UDEV  [1255025639.986799] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0 (usb)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/004/005
PRODUCT=43d/c/100
TYPE=0/0/0
INTERFACE=7/1/2
MODALIAS=usb:v043Dp000Cd0100dc00dsc00dp00ic07isc01ip02
SEQNUM=1920

UDEV  [1255025639.987745] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.5_ep81 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.5_ep81
SUBSYSTEM=usb_endpoint
SEQNUM=1922
DEVNAME=/dev/usbdev4.5_ep81
MAJOR=253
MINOR=9
DEVLINKS=/dev/char/253:9

UDEV  [1255025639.987812] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.5_ep01 (usb_endpoint)
UDEV_LOG=0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.5_ep01
SUBSYSTEM=usb_endpoint
SEQNUM=1921
DEVNAME=/dev/usbdev4.5_ep01
MAJOR=253
MINOR=8
DEVLINKS=/dev/char/253:8

[root@server64 andyrtr]# ls -lhR /dev/bus/usb/004/005
crw-rw-r-- 1 root root 189, 388  8. Okt 20:13 /dev/bus/usb/004/005

...
Andy
--
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