Hide Forgot
Created attachment 501894 [details] system-config-printer's troubleshooter output Description of problem: Printing any document after scanning doesn't work; a message appears in the message tray saying: "Not connected? Printer Deskjet-F2400-series may not be connected". It happens only after scanning and powering off and then on the printer prints the pending job immediately. I ran system-config-printer's troubleshooter and it said not problem was encountered. After scanning, in messages appears: May 30 17:57:20 big kernel: [ 6533.154529] usblp0: removed and su -c "lpinfo -l -v" doesn't show it: Device: uri = lpd class = network info = LPD/LPR Host or Printer make-and-model = Unknown device-id = location = Device: uri = https class = network info = Internet Printing Protocol (https) make-and-model = Unknown device-id = location = Device: uri = scsi class = direct info = SCSI Printer make-and-model = Unknown device-id = location = Device: uri = ipp class = network info = Internet Printing Protocol (ipp) make-and-model = Unknown device-id = location = Device: uri = http class = network info = Internet Printing Protocol (http) make-and-model = Unknown device-id = location = Device: uri = socket class = network info = AppSocket/HP JetDirect make-and-model = Unknown device-id = location = but after rebooting the printer, it appears: Device: uri = usb://HP/Deskjet%20F2400%20series?serial=CN035BG0S605BS class = direct info = HP Deskjet F2400 series make-and-model = HP Deskjet F2400 series device-id = MFG:HP;MDL:Deskjet F2400 series;CMD:MLC,PCL,DW-PCL,PML,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:CB730A;SN:CN035BG0S605BS;S:038000C484001021012c0000000c0000000;J: ;Z:0102,05037dca007da8,0600,0c0,0e00000000,0f00000004,10000008000008,12000,147,150,163c8c37dc000112c0145a0001; location = It's using the default config, driver hpcups and the ppd is /etc/cups/ppd/Deskjet-F2400-series.ppd Version-Release number of selected component (if applicable): hplip-libs-3.11.5-2.fc15.x86_64 hpijs-3.11.5-2.fc15.x86_64 hplip-common-3.11.5-2.fc15.x86_64 cups-1.4.6-15.fc15.x86_64 How reproducible: always Steps to Reproduce: 1. scan in simple-scan 2. try to print the test page Actual results: noting prints and message appears Expected results: job prints Additional info: it didn't happen in fedora 14, using the defaults
Hmm, there's no error_log in the troubleshooter output. Please run 'cupsctl --debug-logging; service cups restartlog' then try to scan & print and finally attach the relevant part of /var/log/cups/error_log Thanks.
When the printer is used for scanning, the SANE backend needs to use libusb to talk to the device at a low level. I think it might deliberately unload the usblp kernel driver at this point. The 'usb://...' device URI requires the usblp kernel driver to be loaded. Ordinarily this situation is resolved by using an 'hp://...' device URI, but you don't appear to have one listed for some reason. The way you can do this in system-config-printer normally is by clicking 'Change...' next to the Device URI in the printer properties, then clicking on '> Connection' in the bottom right of that screen. (This only appears when more than one device URI refers to the same physical device.) What do you see if you run 'lpinfo -l --include-schemes=hp -v' before scanning?
(In reply to comment #2) > When the printer is used for scanning, the SANE backend needs to use libusb to > talk to the device at a low level. I think it might deliberately unload the > usblp kernel driver at this point. > > The 'usb://...' device URI requires the usblp kernel driver to be loaded. > Ordinarily this situation is resolved by using an 'hp://...' device URI, but > you don't appear to have one listed for some reason. > > The way you can do this in system-config-printer normally is by clicking > 'Change...' next to the Device URI in the printer properties, then clicking on > '> Connection' in the bottom right of that screen. (This only appears when more > than one device URI refers to the same physical device.) > > What do you see if you run 'lpinfo -l --include-schemes=hp -v' before scanning? nothing: [ivan@big ~]$ su -c 'lpinfo -l --include-schemes=hp -v' Contraseña: [ivan@big ~]$
Created attachment 502622 [details] error log
Is anything written to /var/log/messages when you run /usr/lib/cups/backend/hp as root?
(In reply to comment #5) > Is anything written to /var/log/messages when you run /usr/lib/cups/backend/hp > as root? bash: /usr/lib/cups/backend/hp: No such file or directory
Installing hplip package (which contains /usr/lib/cups/backend/hp) fixes it. The device uir is still usb://HP/Deskjet%20F2400%20series?serial=CN035BG0S605BS. Maybe hplip should be installed by default? When I first powered on the printer, the Printers panel installed some packages but not hplip. By the way, there's another bug: it doesn't print in color. Should I open a different bug?
(In reply to comment #7) > Installing hplip package (which contains /usr/lib/cups/backend/hp) fixes it. > The device uir is still > usb://HP/Deskjet%20F2400%20series?serial=CN035BG0S605BS. Sorry about it, after closing and reopening s-c-p it says: hp:/usb/Deskjet_F2400_series?serial=CN035BG0S605BS
Oh, I should have spotted that -- hplip is missing from the packages you listed. yum install hplip ..and try again, starting from comment #2 (i.e. changing configuration to use the hp:// URI). Does that fix it?
Oh.. I see in comment #7 it does. Great, closing.