|
Bugzilla – Full Text Bug Listing |
| Summary: | USB to Parallel Port dongle not fully initialized at boot (udev-configure-printer failure) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Forgotten User xdG2V-P5g9 <forgotten_xdG2V-P5g9> |
| Component: | Basesystem | Assignee: | Dominique Leuenberger <dimstar> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | forgotten_l5QCzUHucG, forgotten_xdG2V-P5g9, jslaby, oneukum, rmilasan |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | openSUSE 12.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Forgotten User xdG2V-P5g9
2012-01-30 13:21:55 UTC
(In reply to comment #0) > 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? Could be both. usblp would log something if probe succeeded. (In reply to comment #2) > usblp would log something if probe succeeded. Does it? Closing due to lack of response. Hi Jiri, I'm not the original reported but I got bitten by this as well. My set-up is a HP BusinessInkjet 1200 connected to an box running OpenSuse 12.1 with a USB<->Parallel Port converter cable. The printer is set-up via Yast2 and I can print a test page successfully. However, upon reboot, the printer is not properly initialised. It appears that the CUPS daemon has not started or is not responding yet as the dmesg output shows the following: [ 14.754637] udev-configure-printer[690]: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0 [ 14.754806] udev-configure-printer[690]: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1 [ 14.754846] udev-configure-printer[690]: Device vendor/product is 067B:2305 [ 14.758783] udev-configure-printer[690]: MFG:HP MDL:HP Business Inkjet 1200 SERN:TH55P34042 serial:- [ 15.034984] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305 [ 15.037050] 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 [ 16.355480] udev-configure-printer[690]: failed to connect to CUPS server; giving up I solved this by adding rmmod usblp modprobe usblp to my boot.local The printer now works as expected. So it doesn't look like a kernel issue as such and more like a timing issue with respect to the start-up of the cups daemon but that's just a wild guess on my part. (In reply to comment #5) > 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. Well according to the error this doesn't look like udev issue and udev-configure-printer is a different package, it doesn't belong to udev. Also an idea would be to add usblp to initrd. Maybe adding the maintainer of udev-configure-printer would be a good idea. (In reply to comment #7) > 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. Sorry, the actual package name is system-config-printer and udev-configure-printer is part of it. Hi Jiri, So I removed my boot.local workaround and added usblp to the appropriate section via Yast (which ran mkinitrd). Unfortunately, it did not make any difference. dmesg shows exactly the same error message as in Comment 5 Re-enabling my boot.local solution brings the printer back on-line. Any other info that I can provide you with? Cheers, Steve Steve, Thank you very much for your report and time on this issue. 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) This is an autogenerated message for OBS integration: This bug (744076) was mentioned in https://build.opensuse.org/request/show/128567 Factory / system-config-printer Marking resolved (for 12.2 at least). the startup logic is largely changed by the use of systemd. |