linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Radke <a.radke@arcor.de>
To: linux-hotplug@vger.kernel.org
Subject: Re: group is not set properly for usb printer for older kernels
Date: Thu, 08 Oct 2009 20:11:52 +0000	[thread overview]
Message-ID: <20091008221152.019f7b23@workstation64.home> (raw)
In-Reply-To: <20091008191201.19276c15@workstation64.home>

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

> On Thu, Oct 8, 2009 at 20:33, Andreas Radke <a.radke@arcor.de> wrote:
> > Am Thu, 8 Oct 2009 20:24:14 +0200
> > schrieb Kay Sievers <kay.sievers@vrfy.org>:
> >
> >> On Thu, Oct 8, 2009 at 20:19, Andreas Radke <a.radke@arcor.de>
> >> 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­d
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2
SUBSYSTEM=usb
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/004/004
PRODUCTCd/c/100
TYPE=0/0/0
BUSNUM\04
DEVNUM\04
SEQNUM\x1894
ID_VENDOR=Lexmark_International__Inc.
ID_VENDOR_ENC=Lexmark\x20International\x2c\x20Inc.
ID_VENDOR_ID\x043d
ID_MODEL=Lexmark_Optra_E312
ID_MODEL_ENC=Lexmark\x20Optra\x20E312
ID_MODEL_ID\00c
ID_REVISION\x0100
ID_SERIAL=Lexmark_International__Inc._Lexmark_Optra_E312_8050926
ID_SERIAL_SHORT€50926
ID_BUS=usb
ID_USB_INTERFACES=:070102:
DEVNAME=/dev/bus/usb/004/004
MAJOR\x189
MINOR87
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­d
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/usb_endpoint/usbdev4.4_ep00
SUBSYSTEM=usb_endpoint
SEQNUM\x1898
DEVNAME=/dev/usbdev4.4_ep00
MAJOR%3
MINOR\x10
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­d
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
PRODUCTCd/c/100
TYPE=0/0/0
INTERFACE=7/1/2
MODALIAS=usb:v043Dp000Cd0100dc00dsc00dp00ic07isc01ip02
SEQNUM\x1895

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­d
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_ep01
SUBSYSTEM=usb_endpoint
SEQNUM\x1896
DEVNAME=/dev/usbdev4.4_ep01
MAJOR%3
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­d
DEVPATH=/devices/pci0000:00/0000:00:04.0/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_ep81
SUBSYSTEM=usb_endpoint
SEQNUM\x1897
DEVNAME=/dev/usbdev4.4_ep81
MAJOR%3
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

  parent reply	other threads:[~2009-10-08 20:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 17:12 group is not set properly for usb printer for older kernels Andreas Radke
2009-10-08 17:26 ` Kay Sievers
2009-10-08 18:19 ` Andreas Radke
2009-10-08 18:24 ` Kay Sievers
2009-10-08 18:33 ` Andreas Radke
2009-10-08 19:05 ` Kay Sievers
2009-10-08 20:11 ` Andreas Radke [this message]
2009-10-08 22:38 ` Kay Sievers
2009-10-09  3:36 ` Andreas Radke
2009-10-09  9:29 ` Kay Sievers
2009-10-09 10:33 ` Andreas Radke
2009-10-11 18:48 ` Andreas Radke
2009-10-13  3:30 ` Evangelos Foutras
2009-10-13  8:22 ` Kay Sievers
2009-10-15 13:28 ` Andreas Radke
2009-10-15 14:33 ` Evangelos Foutras
2009-10-20  8:05 ` Matthias Schwarzott
2009-10-20 11:59 ` Evangelos Foutras
2009-10-20 12:07 ` Matthias Schwarzott
2009-10-20 19:11 ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091008221152.019f7b23@workstation64.home \
    --to=a.radke@arcor.de \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).