Description of problem: Scanning works when accessing the device using the embedded server of DeskJet 3775. When scanning in Document Scanner (simple-scan?) and selecting the scanner connected either USB or network, scanning does not work. In hplip-gui, it says: ``` Status: Scan job failed Code: 2002 Description: Please correct the problem and try again ``` In Document Scanner: `Failed to scan. Unable to connect to scanner.` Version-Release number of selected component (if applicable): 3.19.10-2 How reproducible: 100% Steps to Reproduce: 1. Open Document Scanner (simple-scan?) 2. Select the scanner in preferences 3. Scan Actual results: Scanning fails. Expected results: Document is scanned. Additional info: Printing works without issues.
Hi Basil, thank you for reporting the issue! I did not find your device on the list of supported devices http://www.sane-project.org/sane-mfgs.html or https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index . Did the scanner work in the past in simple-scan/xsane/scanimage? Printing is probably working due IPP everywhere, but scanning does not have anything similar and relies on driver support. Would you mind trying and attaching the file from command: $ SANE_DEBUG_DLL=255 SANE_DEBUG_HPAIO=255 SANE_DEBUG_SANEI_USB=255 scanimage -L &> find_scanner.log
Created attachment 1640195 [details] log Yeah, maybe because it's unsupported. :( This is the first time I'm using the device.
I tested hplip in raspbian buster (hplip 3.18.12). Scanning works fine via xsane. There is an option "scan" in actions tab of hplip while in fedora there is none.
Created attachment 1640243 [details] log from raspbian
Basil, I think this is the same bug as 1777587 and 1777519... would you mind trying previous build https://koji.fedoraproject.org/koji/taskinfo?taskID=39384138 if it works?
Hi Zdenek, I was able to scan via simple-scan using the downgraded version.
I mean, using https://koji.fedoraproject.org/koji/taskinfo?taskID=39384138.
Thank you for confirming it! Would you mind sharing the output of '$ sudo lpinfo -l -v'? I would like to see how the printer advertises itself, because I see in the log of scanimage: device `hpaio:/usb/DeskJet_3700_series?serial=CN6CE2D07Q06H4' is a Hewlett-Packard DeskJet_3700_series all-in-one device `hpaio:/net/DeskJet_3700_series?ip=172.16.100.173' is a Hewlett-Packard DeskJet_3700_series all-in-one but I'm not sure if "DeskJet_3700_series" is the name how the device advertises itself or if it is somehow changed in hplip.
*** Bug 1777587 has been marked as a duplicate of this bug. ***
*** Bug 1777519 has been marked as a duplicate of this bug. ***
(In reply to Zdenek Dohnal from comment #8) > Would you mind sharing the output of '$ sudo lpinfo -l -v'? > Device: uri = socket class = network info = AppSocket/HP JetDirect make-and-model = Unknown device-id = location = Device: uri = beh class = network info = Backend Error Handler make-and-model = Unknown device-id = location = Device: uri = cups-pdf:/ class = file info = CUPS-PDF make-and-model = Virtual PDF Printer device-id = MFG:Generic;MDL:CUPS-PDF Printer;DES:Generic CUPS-PDF Printer;CLS:PRINTER;CMD:POSTSCRIPT; location = Device: uri = hp class = direct info = HP Printer (HPLIP) 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 = cups-brf:/ class = file info = CUPS-BRF make-and-model = Virtual Braille BRF Printer device-id = MFG:Generic;MDL:CUPS-BRF Printer;DES:Generic CUPS-BRF Printer;CLS:PRINTER;CMD:BRF; location = Device: uri = ipps class = network info = Internet Printing Protocol (ipps) 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 = lpd class = network info = LPD/LPR Host or Printer make-and-model = Unknown device-id = location = Device: uri = smb class = network info = Windows Printer via SAMBA make-and-model = Unknown device-id = location = Device: uri = hpfax class = direct info = HP Fax (HPLIP) make-and-model = Unknown device-id = location = Device: uri = dnssd://HP%20DeskJet%203700%20series%20%5B0C506E%5D._ipp._tcp.local/?uuid=e3d8b255-1793-db89-9518-6cb5156802fc class = network info = HP DeskJet 3700 series [0C506E] make-and-model = HP DeskJet 3700 series device-id = MFG:HP;MDL:DeskJet 3700 series;CMD:PCL,JPEG,URF,PWG; location = Device: uri = socket://172.16.100.173:9100 class = network info = DeskJet 3700 series make-and-model = HP DeskJet 3700 series device-id = MFG:HP;MDL:DeskJet 3700 series;CMD:PCL3GUI,PJL,Automatic,JPEG,PCLM,AppleRaster,PWGRaster,DW-PCL,802.11,DESKJET,DYN;CLS:PRINTER;DES:J9V87B;CID:HPDeskjet_P976D;LEDMDIS:USB#FF#CC#00,USB#07#01#02,USB#FF#04#01;SN:CN6CE2D07Q06H4;S:038000C480a00001002c246000ac1400064;Z:05000001000008,12000,1700005a000000,181; location = Device: uri = ipp://HP30E1710C506E.local:631/ipp/print class = network info = HP DeskJet 3700 series (driverless) make-and-model = HP DeskJet 3700 series device-id = MFG:HP;MDL:DeskJet 3700 series;CMD:PCLM,PCL,PWGRaster,AppleRaster,JPEG,URF,PWG; location = By the way, the sticker on my printer says: HP DeskJet Ink Advantage 3775
Basil, would you mind testing following build https://koji.fedoraproject.org/koji/taskinfo?taskID=39385839 ? Thank you!
This one worked in my small testing program, I hope it helps. The problem was that I did compare return value of strncasecmp with anything, so 'if' statement used return value as condition and strncasecmp returns 0 if strings matches and non-zero if not... mistake made in hurry :( ...
Hi Zdenek, The new build works for me. Thank you very much.
FEDORA-2019-6d5ceeb446 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6d5ceeb446
hplip-3.19.11-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6d5ceeb446
hplip-3.19.11-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.