[Bug 744076] New: USB to Parallel Port dongle not fully initialized at boot
https://bugzilla.novell.com/show_bug.cgi?id=744076 https://bugzilla.novell.com/show_bug.cgi?id=744076#c0 Summary: USB to Parallel Port dongle not fully initialized at boot Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: PC OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: wk@ire.pw.edu.pl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.7.2 Safari/534.34 I have USB to Parallel Port dongle (noname, Prolific chip inside) with a parallel printer connected. If this dongle is inserted at boot moment, it is recognized and a kernel module usblp is loaded but no device file /dev/usblp0 created. Without it I can't use the printer. The dmesg output is: .. [ 1.484040] usb 6-2: new full speed USB device number 2 using ohci_hcd [ 1.633170] usb 6-2: New USB device found, idVendor=067b, idProduct=2305 [ 1.633173] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.633174] usb 6-2: Product: IEEE-1284 Controller [ 1.633176] usb 6-2: Manufacturer: Prはlific Technology Inc. [... If I remove a dongle and insert it again, the device file is created and I can use the printer (with some manual changes in cups configuration). The dmesg output is now: .. [ 416.485317] usb 6-2: USB disconnect, device number 2 [ 419.842112] usb 6-3: new full speed USB device number 3 using ohci_hcd [ 419.990242] usb 6-3: New USB device found, idVendor=067b, idProduct=2305 [ 419.990251] usb 6-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 419.990258] usb 6-3: Product: IEEE-1284 Controller [ 419.990263] usb 6-3: Manufacturer: Prはlific Technology Inc. [ 424.994806] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305 Reproducible: Always Steps to Reproduce: 1. Boot the computer with the dongle connected 2. ls /dev/usblp* 3. Remove the dongle from the computer, connect it back and wait for driver reload 4. ls /dev/usblp* Actual Results: No file in first try /dev/usblp0 in the second try -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c1
Jiri Slaby
Steps to Reproduce: 1. Boot the computer with the dongle connected 2. ls /dev/usblp* 3. Remove the dongle from the computer, connect it back and wait for driver reload 4. ls /dev/usblp*
Hmm... Is this a kernel or udev issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c2
--- Comment #2 from Oliver Neukum
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c3
Jiri Slaby
usblp would log something if probe succeeded.
Does it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c4
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c5
Steve Wesemeyer
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c6
Jiri Slaby
udev-configure-printer[706]: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/usb/lp0 udev-configure-printer[690]: failed to connect to CUPS server; giving up
Nothing for us => reassigning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c7
--- Comment #7 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c8
Jiri Slaby
Also an idea would be to add usblp to initrd.
Steve, could you add usblp to INITRD_MODULES in /etc/sysconfig/kernel and regenerate initrds using mkinitrd if that makes a difference?
Maybe adding the maintainer of udev-configure-printer would be a good idea.
Ah, ok. The name confused me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c9
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c10
Steve Wesemeyer
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c11
--- Comment #11 from Dominique Leuenberger
From the description, this indeed looks like a racing condition between udev-configure-printer and cups starting up.
There is a slight chance that this might improve in openSUSE 12.2, when booting systemd, as the startup of services is triggered in various ways. As such, udev-configure-printer would be an own systemd service there, triggered to load up cups first (I just submitted a system-config-printer package which actually installs the systemd service files, to GNOME:Factory for review) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c12
--- Comment #12 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=744076
https://bugzilla.novell.com/show_bug.cgi?id=744076#c13
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com