linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* empty BUS name
@ 2005-01-09 15:27 Alessandro Zummo
  2005-01-09 15:44 ` Kay Sievers
  2005-01-09 15:56 ` Alessandro Zummo
  0 siblings, 2 replies; 3+ messages in thread
From: Alessandro Zummo @ 2005-01-09 15:27 UTC (permalink / raw)
  To: linux-hotplug


 Hello,

  this is the output of udevinfo on my usb printer:

device '/sys/class/usb/lp0' has major:minor 180:0
  looking at class device '/sys/class/usb/lp0':
    SYSFS{dev}="180:0"

follow the class device's "device"
  looking at the device chain at '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.2/1-1.2:1.0':
    BUS=""
    ID="1-1.2:1.0"
    SYSFS{bAlternateSetting}=" 0"

 [..]

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.2':
    BUS=""
    ID="1-1.2"
    SYSFS{bConfigurationValue}="1"
    SYSFS{bDeviceClass}="00"
    SYSFS{bDeviceProtocol}="00"
    SYSFS{bDeviceSubClass}="00"
    SYSFS{bMaxPower}="  0mA"
    SYSFS{bNumConfigurations}="1"
    SYSFS{bNumInterfaces}=" 1"
    SYSFS{bcdDevice}="0100"
    SYSFS{bmAttributes}="c0"
    SYSFS{detach_state}="0"
    SYSFS{devnum}="3"
    SYSFS{idProduct}="300c"
    SYSFS{idVendor}="04e8"
    SYSFS{manufacturer}="Samsung Electronics Co., Ltd."
    SYSFS{maxchild}="0"
    SYSFS{product}="Samsung Laser Printer ML-1200 Series"
    SYSFS{speed}="12"
    SYSFS{version}=" 1.10"

 shouldn't BUS="" be BUS="usb" ?

 some udev rules are not triggered due to this mismatch..
 tried with kernels 2.6.10-bk5 and bk12

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: empty BUS name
  2005-01-09 15:27 empty BUS name Alessandro Zummo
@ 2005-01-09 15:44 ` Kay Sievers
  2005-01-09 15:56 ` Alessandro Zummo
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2005-01-09 15:44 UTC (permalink / raw)
  To: linux-hotplug

On Sun, 2005-01-09 at 16:27 +0100, Alessandro Zummo wrote:
>  Hello,
> 
>   this is the output of udevinfo on my usb printer:
> 
> device '/sys/class/usb/lp0' has major:minor 180:0
>   looking at class device '/sys/class/usb/lp0':
>     SYSFS{dev}="180:0"
> 
> follow the class device's "device"
>   looking at the device chain at '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.2/1-1.2:1.0':
>     BUS=""
>     ID="1-1.2:1.0"

What does:
  ls -l /sys/bus/usb/devices/

print?


It works on my box:
  [kay@pim ~]$ udevinfo -a -p/sys/class/usb/lp0

  device '/sys/class/usb/lp0' has major:minor 180:0
    looking at class device '/sys/class/usb/lp0':
      SYSFS{dev}="180:0"

  follow the class device's "device"
    looking at the device chain at '/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1.3/3-1.3:1.0':
      BUS="usb"
      ID="3-1.3:1.0"
      SYSFS{bAlternateSetting}=" 0"
      SYSFS{bInterfaceClass}="07"
      SYSFS{bInterfaceNumber}="00"

Kay



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: empty BUS name
  2005-01-09 15:27 empty BUS name Alessandro Zummo
  2005-01-09 15:44 ` Kay Sievers
@ 2005-01-09 15:56 ` Alessandro Zummo
  1 sibling, 0 replies; 3+ messages in thread
From: Alessandro Zummo @ 2005-01-09 15:56 UTC (permalink / raw)
  To: linux-hotplug

On Sun, 09 Jan 2005 16:44:26 +0100
Kay Sievers <kay.sievers@vrfy.org> wrote:

> On Sun, 2005-01-09 at 16:27 +0100, Alessandro Zummo wrote:
> >  Hello,
> > 
> >   this is the output of udevinfo on my usb printer:
> > 
> > device '/sys/class/usb/lp0' has major:minor 180:0
> >   looking at class device '/sys/class/usb/lp0':
> >     SYSFS{dev}="180:0"
> > 
> > follow the class device's "device"
> >   looking at the device chain at '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1.2/1-1.2:1.0':
> >     BUS=""
> >     ID="1-1.2:1.0"
> 
> What does:
>   ls -l /sys/bus/usb/devices/
> 
> print?

ls -l /sys/bus/usb/devices/
ls: /sys/bus/usb/devices/: Not a directory

 ARGH!!! That was the problem.. 
 
 somehow I ended with this line on my fstab

 none            /sys/bus/usb    usbfs   devmode\x0666            0       0

 Thank you very much! I will accept any penality for
 such a fault! :D


-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-09 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-09 15:27 empty BUS name Alessandro Zummo
2005-01-09 15:44 ` Kay Sievers
2005-01-09 15:56 ` Alessandro Zummo

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