something changed in 2.6.18-rc1??
Trying to setup a usb printer, but ( from "Writing udev rules"):
udevinfo -a -p $(udevinfo -q path -n /dev/usb/lp0)
......................................
looking at device
'/devices/pci0000:00/0000:00:02.2/usb3/3-5/3-5:1.1/lp0':
KERNEL="lp0"
SUBSYSTEM="usb"
SYSFS{dev}="180:0" looking at parent device
'/devices/pci0000:00/0000:00:02.2/usb3/3-5/3-5:1.1':
ID="3-5:1.1"
BUS="usb"
DRIVER="usblp" SYSFS{ieee1284_id}="MFG:EPSON_CMD:ESCPL2,BDC,D4_MDL:Stylus Photo R300_CLS:PRINTER_DES:EPSON Stylus Photo R300_"
SYSFS{interface}="USB2.0 Printer"
SYSFS{modalias}="usb:v04B8p0803d0100dc00dsc00dp00ic07isc01ip02"
SYSFS{bInterfaceProtocol}="02"
SYSFS{bInterfaceSubClass}="01"
SYSFS{bInterfaceClass}="07"
SYSFS{bNumEndpoints}="02"
SYSFS{bAlternateSetting}=" 0"
SYSFS{bInterfaceNumber}="01" looking at parent device
'/devices/pci0000:00/0000:00:02.2/usb3/3-5':
ID="3-5"
BUS="usb"
DRIVER="usb"
SYSFS{configuration}="USB2.0 MFP_Hi-Speed_"
SYSFS{serial}="L17P10401110941270"
SYSFS{product}="USB2.0 MFP_Hi-Speed_"
SYSFS{manufacturer}="EPSON"
SYSFS{maxchild}="0"
SYSFS{version}=" 2.00"
SYSFS{devnum}="2"
SYSFS{speed}="480"
SYSFS{bMaxPacketSize0}="64"
SYSFS{bNumConfigurations}="1"
SYSFS{bDeviceProtocol}="00"
SYSFS{bDeviceSubClass}="00"
SYSFS{bDeviceClass}="00"
SYSFS{bcdDevice}="0100"
SYSFS{idProduct}="0803"
SYSFS{idVendor}="04b8"
SYSFS{bMaxPower}=" 2mA"
SYSFS{bmAttributes}="c0"
SYSFS{bConfigurationValue}="1"
SYSFS{bNumInterfaces}=" 2" looking at parent device
'/devices/pci0000:00/0000:00:02.2/usb3':
ID="usb3"
BUS="usb"
DRIVER="usb"
SYSFS{configuration}=""
SYSFS{serial}="0000:00:02.2"
SYSFS{product}="EHCI Host Controller"
SYSFS{manufacturer}="Linux 2.6.17-1.2358.fc6 ehci_hcd"
SYSFS{maxchild}="8"
SYSFS{version}=" 2.00"
SYSFS{devnum}="1"
SYSFS{speed}="480"
SYSFS{bMaxPacketSize0}="64"
SYSFS{bNumConfigurations}="1"
SYSFS{bDeviceProtocol}="01"
SYSFS{bDeviceSubClass}="00"
SYSFS{bDeviceClass}="09"
SYSFS{bcdDevice}="0206"
SYSFS{idProduct}="0000"
SYSFS{idVendor}="0000"
SYSFS{bMaxPower}=" 0mA"
SYSFS{bmAttributes}="e0"
SYSFS{bConfigurationValue}="1"
SYSFS{bNumInterfaces}=" 1"looking at parent device '/devices/pci0000:00/0000:00:02.2':
ID="0000:00:02.2"
BUS="pci"
DRIVER="ehci_hcd"
SYSFS{broken_parity_status}="0"
SYSFS{enable}="1"SYSFS{modalias}="pci:v000010DEd000000E8sv00001458sd00005004bc0Csc03i20"
SYSFS{local_cpus}="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001"
SYSFS{irq}="177"
SYSFS{class}="0x0c0320"
SYSFS{subsystem_device}="0x5004"
SYSFS{subsystem_vendor}="0x1458"
SYSFS{device}="0x00e8"
SYSFS{vendor}="0x10de"looking at parent device '/devices/pci0000:00':
ID="pci0000:00"
BUS=""
DRIVER=""Based on that I tried this rule in /etc/udev/rules.d/15-local.rules, based on the ieee1284_id since it was the most specific attribute I could find:
BUS="usb", SYSFS{ieee1284_id}="MFG:EPSON_CMD:ESCPL2,BDC,D4_MDL:Stylus Photo R300_CLS:PRINTER_DES:EPSON Stylus Photo R300_", SYMLINK+="epson-R300"
/dev/epson-R300 is not created. /dev/usb/lp0 does exist.
FWIW,
BUS="usb", KERNEL="lp0", SYMLINK+="epson_R300" SUBSYSTEM="usb", KERNEL="lp0", SYMLINK+="epson_R300
both worked, but are too generic.
puzzled.
sean
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
And:
udev-095
sean
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 116 lines · sean
Trying to setup a usb printer, but ( from "Writing udev rules"):
udevinfo -a -p $(udevinfo -q path -n
/dev/usb/lp0)
......................................
looking at device
'/devices/pci0000:00/0000:00:02.2/usb3/3-5/3-5:1.1/lp0':KERNEL="lp0" SUBSYSTEM="usb" SYSFS{dev}="180:0"looking at parent device
'/devices/pci0000:00/0000:00:02.2/usb3/3-5/3-5:1.1':ID="3-5:1.1" BUS="usb" DRIVER="usblp"SYSFS{ieee1284_id}="MFG:EPSON_CMD:ESCPL2,BDC,D4_MDL:Stylus Photo R300_CLS:PRINTER_DES:EPSON Stylus Photo
R300_"
SYSFS{interface}="USB2.0 Printer"
SYSFS{modalias}="usb:v04B8p0803d0100dc00dsc00dp00ic07isc01ip02"SYSFS{bInterfaceProtocol}="02" SYSFS{bInterfaceSubClass}="01" SYSFS{bInterfaceClass}="07" SYSFS{bNumEndpoints}="02" SYSFS{bAlternateSetting}=" 0" SYSFS{bInterfaceNumber}="01"looking at parent device
'/devices/pci0000:00/0000:00:02.2/usb3/3-5':ID="3-5" BUS="usb" DRIVER="usb" SYSFS{configuration}="USB2.0 MFP_Hi-Speed_" SYSFS{serial}="L17P10401110941270" SYSFS{product}="USB2.0 MFP_Hi-Speed_" SYSFS{manufacturer}="EPSON" SYSFS{maxchild}="0" SYSFS{version}=" 2.00" SYSFS{devnum}="2" SYSFS{speed}="480" SYSFS{bMaxPacketSize0}="64" SYSFS{bNumConfigurations}="1" SYSFS{bDeviceProtocol}="00" SYSFS{bDeviceSubClass}="00" SYSFS{bDeviceClass}="00" SYSFS{bcdDevice}="0100" SYSFS{idProduct}="0803" SYSFS{idVendor}="04b8" SYSFS{bMaxPower}=" 2mA" SYSFS{bmAttributes}="c0" SYSFS{bConfigurationValue}="1" SYSFS{bNumInterfaces}=" 2"looking at parent device
'/devices/pci0000:00/0000:00:02.2/usb3':ID="usb3" BUS="usb" DRIVER="usb" SYSFS{configuration}="" SYSFS{serial}="0000:00:02.2" SYSFS{product}="EHCI Host Controller" SYSFS{manufacturer}="Linux 2.6.17-1.2358.fc6 ehci_hcd" SYSFS{maxchild}="8" SYSFS{version}=" 2.00" SYSFS{devnum}="1" SYSFS{speed}="480" SYSFS{bMaxPacketSize0}="64" SYSFS{bNumConfigurations}="1" SYSFS{bDeviceProtocol}="01" SYSFS{bDeviceSubClass}="00" SYSFS{bDeviceClass}="09" SYSFS{bcdDevice}="0206" SYSFS{idProduct}="0000" SYSFS{idVendor}="0000" SYSFS{bMaxPower}=" 0mA" SYSFS{bmAttributes}="e0" SYSFS{bConfigurationValue}="1" SYSFS{bNumInterfaces}=" 1"looking at parent device '/devices/pci0000:00/0000:00:02.2': ID="0000:00:02.2" BUS="pci" DRIVER="ehci_hcd" SYSFS{broken_parity_status}="0" SYSFS{enable}="1"SYSFS{modalias}="pci:v000010DEd000000E8sv00001458sd00005004bc0Csc03i20"
SYSFS{local_cpus}="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001"
SYSFS{irq}="177" SYSFS{class}="0x0c0320" SYSFS{subsystem_device}="0x5004" SYSFS{subsystem_vendor}="0x1458" SYSFS{device}="0x00e8" SYSFS{vendor}="0x10de"looking at parent device '/devices/pci0000:00': ID="pci0000:00" BUS="" DRIVER=""Based on that I tried this rule in
/etc/udev/rules.d/15-local.rules, based on theieee1284_idsince it was the most specific attribute I could find:BUS="usb", SYSFS{ieee1284_id}="MFG:EPSON_CMD:ESCPL2,BDC,D4_MDL:Stylus Photo R300_CLS:PRINTER_DES:EPSON Stylus Photo
R300_", SYMLINK+="epson-R300"
/dev/epson-R300is not created./dev/usb/lp0does exist.FWIW,
BUS="usb", KERNEL="lp0", SYMLINK+="epson_R300" SUBSYSTEM="usb", KERNEL="lp0", SYMLINK+="epson_R300
Quoted 7 lines
both worked, but are too generic.
puzzled.
sean
Still puzzled.
How do I set up a usb printer symlink for a specific printer?
Is this a usb driver issue?
sean
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel