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

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

 



Am Thu, 8 Oct 2009 21:05:00 +0200
schrieb Kay Sievers <kay.sievers@xxxxxxxx>:

> On Thu, Oct 8, 2009 at 20:33, Andreas Radke <a.radke@xxxxxxxx> wrote:
> > Am Thu, 8 Oct 2009 20:24:14 +0200
> > schrieb Kay Sievers <kay.sievers@xxxxxxxx>:
> >
> >> On Thu, Oct 8, 2009 at 20:19, Andreas Radke <a.radke@xxxxxxxx>
> >> wrote:
> >> > 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
> >>
> >> usbdev4.5 should not exist with recent kernels, the device nodes
> >> are provided by the usb bus device directly. Do you have:
> >> CONFIG_USB_CLASS_DEVICE enabled?
> >>
> >> Kay
> >>
> >
> > Yes. It's enabled:
> 
> If you get rid of it, all should work.
> 
> Kay
> 

Sadly not.

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
CONFIG_USB_MON=y


[root@server64 andyrtr]# ls -lhR /dev/bus/usb/004/
/dev/bus/usb/004/:
insgesamt 0
crw-rw-r-- 1 root root 189, 384  8. Okt 22:03 001
crw-rw-r-- 1 root root 189, 387  8. Okt 22:09 004


UDEV  [1255032558.475180] 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/004
PRODUCT=43d/c/100
TYPE=0/0/0
BUSNUM=004
DEVNUM=004
SEQNUM=1894
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/004
MAJOR=189
MINOR=387
DEVLINKS=/dev/char/189:387

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

UDEV  [1255032558.504858] 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/004
PRODUCT=43d/c/100
TYPE=0/0/0
INTERFACE=7/1/2
MODALIAS=usb:v043Dp000Cd0100dc00dsc00dp00ic07isc01ip02
SEQNUM=1895

UDEV  [1255032558.505436] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_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.4_ep01
SUBSYSTEM=usb_endpoint
SEQNUM=1896
DEVNAME=/dev/usbdev4.4_ep01
MAJOR=253
MINOR=8
DEVLINKS=/dev/char/253:8

UDEV  [1255032558.505498] add      /devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_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.4_ep81
SUBSYSTEM=usb_endpoint
SEQNUM=1897
DEVNAME=/dev/usbdev4.4_ep81
MAJOR=253
MINOR=9
DEVLINKS=/dev/char/253:9


[root@server64 andyrtr]# ls -lhR  /dev/.udev/names/usbdev4.4*
/dev/.udev/names/usbdev4.4_ep00:
insgesamt 0
-rw-r--r-- 1 root root 0  8. Okt 22:09 \x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2fusb4\x2f4-2\x2fusb_endpoint\x2fusbdev4.4_ep00

/dev/.udev/names/usbdev4.4_ep01:
insgesamt 0
-rw-r--r-- 1 root root 0  8. Okt 22:09 \x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2fusb4\x2f4-2\x2f4-2:1.0\x2fusb_endpoint\x2fusbdev4.4_ep01

/dev/.udev/names/usbdev4.4_ep81:
insgesamt 0
-rw-r--r-- 1 root root 0  8. Okt 22:09 \x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2fusb4\x2f4-2\x2f4-2:1.0\x2fusb_endpoint\x2fusbdev4.4_ep81


another idea?

-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