From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Radke Date: Thu, 08 Oct 2009 20:11:52 +0000 Subject: Re: group is not set properly for usb printer for older kernels Message-Id: <20091008221152.019f7b23@workstation64.home> List-Id: References: <20091008191201.19276c15@workstation64.home> In-Reply-To: <20091008191201.19276c15@workstation64.home> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Am Thu, 8 Oct 2009 21:05:00 +0200 schrieb Kay Sievers : > On Thu, Oct 8, 2009 at 20:33, Andreas Radke wrote: > > Am Thu, 8 Oct 2009 20:24:14 +0200 > > schrieb Kay Sievers : > > > >> On Thu, Oct 8, 2009 at 20:19, Andreas Radke > >> 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_devi= ce\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: >=20 > If you get rid of it, all should work. >=20 > Kay >=20 Sadly not. # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=3Dy # CONFIG_USB_DEVICE_CLASS is not set CONFIG_USB_DYNAMIC_MINORS=3Dy CONFIG_USB_SUSPEND=3Dy # CONFIG_USB_OTG is not set CONFIG_USB_MON=3Dy [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=3D0 ACTION=ADd DEVPATH=3D/devices/pci0000:00/0000:00:04.0/usb4/4-2 SUBSYSTEM=3Dusb DEVTYPE=3Dusb_device DEVICE=3D/proc/bus/usb/004/004 PRODUCTCd/c/100 TYPE=3D0/0/0 BUSNUM=004 DEVNUM=004 SEQNUM=1894 ID_VENDOR=3DLexmark_International__Inc. ID_VENDOR_ENC=3DLexmark\x20International\x2c\x20Inc. ID_VENDOR_ID=043d ID_MODEL=3DLexmark_Optra_E312 ID_MODEL_ENC=3DLexmark\x20Optra\x20E312 ID_MODEL_ID=000c ID_REVISION=0100 ID_SERIAL=3DLexmark_International__Inc._Lexmark_Optra_E312_8050926 ID_SERIAL_SHORT=8050926 ID_BUS=3Dusb ID_USB_INTERFACES=3D:070102: DEVNAME=3D/dev/bus/usb/004/004 MAJOR=189 MINOR87 DEVLINKS=3D/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=3D0 ACTION=ADd DEVPATH=3D/devices/pci0000:00/0000:00:04.0/usb4/4-2/usb_endpoint/usbdev4.4_= ep00 SUBSYSTEM=3Dusb_endpoint SEQNUM=1898 DEVNAME=3D/dev/usbdev4.4_ep00 MAJOR%3 MINOR=10 DEVLINKS=3D/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=3D0 ACTION=ADd DEVPATH=3D/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0 SUBSYSTEM=3Dusb DEVTYPE=3Dusb_interface DEVICE=3D/proc/bus/usb/004/004 PRODUCTCd/c/100 TYPE=3D0/0/0 INTERFACE=3D7/1/2 MODALIAS=3Dusb: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=3D0 ACTION=ADd DEVPATH=3D/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/us= bdev4.4_ep01 SUBSYSTEM=3Dusb_endpoint SEQNUM=1896 DEVNAME=3D/dev/usbdev4.4_ep01 MAJOR%3 MINOR=3D8 DEVLINKS=3D/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=3D0 ACTION=ADd DEVPATH=3D/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/us= bdev4.4_ep81 SUBSYSTEM=3Dusb_endpoint SEQNUM=1897 DEVNAME=3D/dev/usbdev4.4_ep81 MAJOR%3 MINOR=3D9 DEVLINKS=3D/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