http://bugzilla.novell.com/show_bug.cgi?id=562282
http://bugzilla.novell.com/show_bug.cgi?id=562282#c2
--- Comment #2 from Peter Küppers 2009-12-13 20:27:57 UTC ---
Hello Johannes,
thank's for your help.
The thing with the printer is getting worse.
When I try to install the printer with docking-station
(printer->parallel->dockingstation->usb->laptop) via YaST or cups webinterface,
the laptop freezes suddenly on detecting the printer. I've found bug 229231,
but it didn't gave a solution.
I tested now to install the printer on laptop directly
(printer->parallel->laptop) and it works, but only until I connect the
docking-station (without printer).
Steps:
- booting
- switch on printer (it works)
- connect docking-station (fails, cause lp- and parport-enumeration changes)
see below.
I suppose, that there is something wrong with udev-configure-printer. That
would explain maybe the info from hwinfo --usb (see above)?
Maybe also there is trouble with the uss720 module in this kernel. I get
sometimes errors like this:
kernel: [ 518.056084] get_1284_register timeout
kernel: [ 518.056266] uss720: async_complete: urb error -104
I also tried https://bugzilla.novell.com/show_bug.cgi?id=264219#c1 which worked
for me on openSUSE 11.1, but since the printer is no more recognized on
/dev/usb/lp0, it don't work.
Cheers
Peter
<<< begin testing>>>
I've /lib/udev/devices/lp0 ('fixed device') from installation
1st step: booting (printer connected on laptop parallel port but not switched
on)
devices: /dev/lp0, /dev/parport0
lsmod:
parport_pc 40004 0
parport 40236 2 ppdev,parport_pc
/var/log/boot.msg:
parport_pc 00:0a: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
hwinfo --printer: nothing
lpstat -t:
scheduler is running
no system default destination
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.
lpinfo -v:
network socket
network beh
direct hpfax
direct hp
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
network smb
2nd step: switch on printer
no direct recognition
installation per YaST
devices: /dev/lp0, /dev/parport0
lsmod:
lp 10276 0
parport_pc 40004 0
parport 40236 3 lp,ppdev,parport_pc
/var/log/messages:
kernel: [ 484.721108] lp0: using parport0 (interrupt-driven).
kernel: [ 484.727413] lp0: ECP mode
udev-configure-printer: add /module/lp
udev-configure-printer: add /devices/pnp0/00:0a/printer/lp0
laptop udev-configure-printer: Failed to get parent
laptop hp[3779]: io/hpmud/musb.c 1987: invalid usb_open: Permission denied
kernel: [ 1447.769524] parport_pc 00:0a: disabled
kernel: [ 1447.824877] parport1: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
kernel: [ 1447.916069] parport1: Printer, Hewlett-Packard HP LaserJet 1100
kernel: [ 1448.022508] parport_pc 00:0a: activated
kernel: [ 1448.022565] parport_pc 00:0a: reported by Plug and Play ACPI
kernel: [ 1448.022658] parport1: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
kernel: [ 1448.048069] parport1: Printer, Hewlett-Packard HP LaserJet 1100
kernel: [ 1448.119427] lp0: using parport1 (interrupt-driven).
udev-configure-printer: add /devices/pnp0/00:0a/printer/lp0
udev-configure-printer: Failed to get parent
udev-configure-printer: add /module/lp
udev-configure-printer: Failed to get parent
kernel: [ 1547.007021] lp0: ECP mode
hp[22449]: io/hpmud/musb.c 1987: invalid usb_open: Permission denied
/var/log/YaST2/y2log:
[YCP] Printer.ycp:535 Autodetected printers: [$["class":"network",
"deviceID":"", "info":"AppSocket/HP JetDirect", "model":"Unknown",
"uri":"socket"], $["class":"network", "deviceID":"", "info":"Backend Error
Handler", "model":"Unknown", "uri":"beh"], $["class":"direct", "deviceID":"",
"info":"HP Fax (HPLIP)", "model":"Unknown", "uri":"hpfax"], $["class":"direct",
"deviceID":"MFG:Hewlett-Packard;MDL:HP LaserJet 1100;DES:HP LaserJet 1100A
Printer-Copier-Scanner;CMD:MLC,MFPDTF1,PCL,PJL;CLS:PRINTER;REV:1.0;IO
PREFS:ECP18;", "info":"HP LaserJet 1100 LPT #1", "model":"HP LaserJet 1100",
"uri":"parallel:/dev/lp0"], $["class":"direct",
"deviceID":"MFG:Hewlett-Packard;MDL:HP LaserJet 1100;DES:HP LaserJet 1100A
Printer-Copier-Scanner;CMD:MLC,MFPDTF1,PCL,PJL;CLS:PRINTER;REV:1.0;IO
PREFS:ECP18;", "info":"HP LaserJet 1100 LPT parport0 HPLIP", "model":"HP
LaserJet 1100", "uri":"hp:/par/HP_LaserJet_1100?device=/dev/parport0"],
$["class":"network", "deviceID":"", "info":"Internet Printing Protocol (http)",
"model":"Unknown", "uri":"http"], $["class":"network", "deviceID":"",
"info":"Internet Printing Protocol (ipp)", "model":"Unknown", "uri":"ipp"],
$["class":"network", "deviceID":"", "info":"LPD/LPR Host or Printer",
"model":"Unknown", "uri":"lpd"], $["class":"direct", "deviceID":"",
"info":"SCSI Printer", "model":"Unknown", "uri":"scsi"], $["class":"network",
"deviceID":"", "info":"Windows Printer via SAMBA", "model":"Unknown",
"uri":"smb"], $[]]
[YCP] Printer.ycp:1038 skipped 'hp:/par/' DeviceURI
'hp:/par/HP_LaserJet_1100?device=/dev/parport0'
[YCP] printer/basicadd.ycp:375 Selected connection is: $["class":"direct",
"deviceID":"MFG:Hewlett-Packard;MDL:HP LaserJet 1100;DES:HP LaserJet 1100A
Printer-Copier-Scanner;CMD:MLC,MFPDTF1,PCL,PJL;CLS:PRINTER;REV:1.0;IO
PREFS:ECP18;", "info":"HP LaserJet 1100 LPT #1", "model":"HP LaserJet 1100",
"uri":"parallel:/dev/lp0"]
[YCP] printer/basicadd.ycp:384 Drivers for 'HP LaserJet 1100'
hwinfo --printer:
13: Parallel 00.0: 10900 Printer
[Created at parallel.156]
Unique ID: 6r1H.U9jKjN2Dfx1
Parent ID: +X1u.ecK7NLYWZ5D
Hardware Class: printer
Model: "Hewlett-Packard HP LaserJet 1100"
Vendor: "Hewlett-Packard"
Device: "HP LaserJet 1100"
Device File: /dev/lp1
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #12 (Parallel controller)
lpstat -t:
scheduler is running
no system default destination
device for hplaserjet1100A: parallel:/dev/lp0
hplaserjet1100A accepting requests since Sun Dec 13 17:43:22 2009
printer hplaserjet1100A is idle. enabled since Sun Dec 13 17:43:22 2009
lpinfo -v:
network socket
network beh
direct canon:/dev/lp0
direct epson:/dev/lp0
direct hpfax
direct hp:/par/HP_LaserJet_1100?device=/dev/parport1
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
network smb
3rd step: plug in docking station
devices: /dev/lp0, /dev/lp1, /dev/parport1 /dev/parport2
lsmod:
usblp 14592 0
lp 10276 0
uss720 11488 1
parport_pc 40004 1
parport 40236 4 uss720,lp,parport_pc,ppdev
/var/log/messages:
kernel: [ 1686.600459] parport2: fix this legacy no-device port driver!
kernel: [ 1686.600968] lp1: using parport2 (polling).
kernel: [ 1686.601084] usbcore: registered new interface driver uss720
kernel: [ 1686.601099] uss720: v0.6:USB Parport Cable driver for Cables using
the Lucent Technologies USS720 Chip
kernel: [ 1686.601111] uss720: NOTE: this is a special purpose driver to allow
nonstandard
kernel: [ 1686.601120] uss720: protocols (eg. bitbang) over USS720 usb to
parallel cables
kernel: [ 1686.601129] uss720: If you just want to connect to a printer, use
usblp instead
udev-configure-printer: add /devices/virtual/printer/lp1
udev-configure-printer: failed to claim interface
kernel: [ 1686.693540] usbcore: registered new interface driver usblp
udev-configure-printer: failed to claim interface
udev-configure-printer: invalid or missing IEEE 1284 Device ID
udev-configure-printer: Failed to get parent
hwinfo --printer: nothing !!!
lpstat -t:
scheduler is running
no system default destination
device for hplaserjet1100A: parallel:/dev/lp0
hplaserjet1100A accepting requests since Sun Dec 13 17:43:22 2009
printer hplaserjet1100A is idle. enabled since Sun Dec 13 17:43:22 2009
lpinfo -v:
network socket
network beh
direct canon:/dev/lp0
direct epson:/dev/lp0
direct hpfax
direct parallel:/dev/lp1
direct hp:/par/HP_LaserJet_1100?device=/dev/parport1
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
network smb
and after a while:
devices: /dev/lp0, /dev/lp1, /dev/parport2 /dev/parport4
/var/log/messages:
kernel: [ 2740.394810] lp0: ECP mode
hp[22613]: io/hpmud/musb.c 1987: invalid usb_open: Permission denied
hp[22613]: io/hpmud/pp.c 627: unable to read device-id ret=-1
python: io/hpmud/pp.c 627: unable to read device-id ret=-1
kernel: [ 2788.815400] parport_pc 00:0a: disabled
kernel: [ 2788.841522] parport3: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
kernel: [ 2788.916061] parport3: Printer, Hewlett-Packard HP LaserJet 1100
kernel: [ 2789.034261] parport_pc 00:0a: activated
kernel: [ 2789.034317] parport_pc 00:0a: reported by Plug and Play ACPI
kernel: [ 2789.034411] parport3: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
kernel: [ 2789.060065] parport3: Printer, Hewlett-Packard HP LaserJet 1100
kernel: [ 2789.133172] lp0: using parport2 (polling).
kernel: [ 2789.133307] lp1: using parport3 (interrupt-driven).
udev-configure-printer: add /module/lp
udev-configure-printer: add /devices/virtual/printer/lp0
udev-configure-printer: Failed to get parent
udev-configure-printer: add /devices/pnp0/00:0a/printer/lp1
udev-configure-printer: Failed to get parent
udev-configure-printer: Failed to get parent
kernel: [ 3054.814163] lp1: ECP mode
hp[22793]: io/hpmud/musb.c 1987: invalid usb_open: Permission denied
<<< end testing>>>
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.