empty BUS name
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
Signature · 17 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · Alessandro Zummo
Hello,
this is the output of udevinfo on my usb printer:
Quoted 8 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 14 lines · On Sun, 09 Jan 2005 16:44:26 +0100 Kay Sievers <[email protected]> wrote:
Quoted 4 lines · Alessandro Zummo
Hello,
this is the output of udevinfo on my usb printer:
Quoted 8 lines
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"
Quoted 4 lines
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 devmode66 0 0
Thank you very much! I will accept any penality for such a fault! :D
Signature · 17 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel