| Summary: | xsane doen't detect the scanner of HP color laserjet Pro MFP M282 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | peter lawford <petlaw726> |
| Component: | RPM Packages | Assignee: | Lewis Smith <lewyssmith> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | ouaurelien |
| Version: | 7 | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: |
return_of_commands.txt
hp-setup return xsane clicking xsane-1 xsane-2 xsane-3 xsane-4 return of hplip-3.21.2.run |
||
|
Description
peter lawford
2021-02-26 17:46:56 CET
Sorry for the problem. For starters, can you please post the output of (works better as root): sane-find-scanner Also: $ scanimage -L $ lpinfo -v $ rpm -q xsane $ rpm -q sane-backends $ rpm -q hplip And from the various 'HP...' options from clicking the HPLIP Systray icon? Have asked on a Mageia forum whether anyone else has been able to scan with this MFP model? The experience of other users is valuable. http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD shows only the following HP USB Laserjet USB scanners are supported: LaserJet M1005 MFP LaserJet M1120 MFP LaserJet M1120n MFP It may be that this new device is not [yet?] supported by Sane. https://sourceforge.net/p/hplip/news/2019/12/31912/ HPLIP 3.19.12 Release Notes Added support for the following new Printers: -HP Color LaserJet Pro MFP M282nw but the relevance of that for Sane, I am not sure. https://bugs.launchpad.net/hplip/+bug/1822762 "HP Color LaserJet m278-m281 needs plugin for scanning" may be relevant; the model a near miss from yours. https://forums.linuxmint.com/viewtopic.php?p=1711447#p1711447 Re: HP Color Laserjet Pro MFP M281fdw - unable to scan although for a different device model, & LinuxMint, may be worth investigating. "I hope I come bearing good news!" and the next comment: "Success! ...After [all] that I invoked simple-scan and it worked. I rebooted PC and printer, invoked simple-scan again. It continues working." Assignee:
bugsquad =>
lewyssmith (In reply to Lewis Smith from comment #1) > Sorry for the problem. > For starters, can you please post the output of (works better as root): > sane-find-scanner > Also: > $ scanimage -L > $ lpinfo -v > $ rpm -q xsane > $ rpm -q sane-backends > $ rpm -q hplip here attached "return_of_commands.txt" > And from the various 'HP...' options from clicking the HPLIP Systray icon? > > Have asked on a Mageia forum whether anyone else has been able to scan with > this MFP model? The experience of other users is valuable. > > http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD > shows only the following HP USB Laserjet USB scanners are supported: > LaserJet M1005 MFP > LaserJet M1120 MFP > LaserJet M1120n MFP > It may be that this new device is not [yet?] supported by Sane. > > https://sourceforge.net/p/hplip/news/2019/12/31912/ > HPLIP 3.19.12 Release Notes > Added support for the following new Printers: > -HP Color LaserJet Pro MFP M282nw > but the relevance of that for Sane, I am not sure. I have also tried the method given in bug 26695 comment 30; here attached return of command "hp'setup"; it seems to be successfull, but it is not for the scanner. successive sequences of screenshots when attempting to use xsane are provided as here attached .png files by using spectacle > > https://bugs.launchpad.net/hplip/+bug/1822762 > "HP Color LaserJet m278-m281 needs plugin for scanning" > may be relevant; the model a near miss from yours. > > https://forums.linuxmint.com/viewtopic.php?p=1711447#p1711447 > Re: HP Color Laserjet Pro MFP M281fdw - unable to scan > although for a different device model, & LinuxMint, may be worth > investigating. > "I hope I come bearing good news!" > and the next comment: > "Success! ...After [all] that I invoked simple-scan and it worked. I > rebooted PC and printer, invoked simple-scan again. It continues working." simple-scan doesn'twork too (the same as xsane) Created attachment 12401 [details]
return_of_commands.txt
Created attachment 12402 [details]
hp-setup return
Created attachment 12403 [details]
xsane clicking
Created attachment 12404 [details]
xsane-1
Created attachment 12405 [details]
xsane-2
Created attachment 12406 [details]
xsane-3
Created attachment 12407 [details]
xsane-4
recto-verso printing doesn't work too sorry, but recto-verso printing doesn't work with this machine; it's independant of hplip in comment 11, I would want to say that recto-verso printing is not encountered by my printer, and then recto-verso printing is of course impossible sorry I tried to run hplip-3.21.2.run I have downloaded at HP'site, but unsuccessfully; it seems that mageia is not recognized, as are major distros (ubuntu, fedora,... and so on): see attached file hplip-3.21.2.run.txt Created attachment 12411 [details]
return of hplip-3.21.2.run
Thank you for the various attachments, most of which showed things progressing as they should. > # scanimage -L > device `hpaio:/usb/Officejet_7300_series?serial=MY59EN80020407' is a > Hewlett-Packard Officejet_7300_series all-in-one > device `hpaio:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBRNCJFLC' is a > Hewlett-Packard HP_ColorLaserJet_MFP_M282-M285 all-in-one > > # sane-find-scanner > found USB scanner (vendor=0x03f0 [HP], product=0x4211 > [Officejet 7300 series]) at libusb:002:008 > found USB scanner (vendor=0x03f0 [HP], product=0x0970 > [HP ColorLaserJet MFP M282-M285]) at libusb:002:009 > > # lpinfo -v > direct hp:/usb/Officejet_7300_series?serial=MY59EN80020407 > direct hp:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBRNCJFLC all looks very encouraging: the scanner *is* 'seen'. 'scanimage -L' is more fragile than 'sane-find-scanner', meaning that the former sometimes does not find a scanner that the latter does (which is the case for me). But it did for you, which is convincing. As for 'lpinfo -v', the forum thread I gave said "Your lpinfo -v output shows direct hp Otherwise it is empty of content. It should not be" which indicates that your output is what it should be. > I've just changed my old HP office jet 7310 all-in-one against a > color laserjet Pro M282nw Added rather than changed? All these command outputs show both attached. Can we take it that the OfficeJet 7310 *does* work for scanning? The 3rd attachment "xsane clicking" in fact contradicts the bug title, because it shows that Xsane *does* see the new scanner; it even says 'M282'. Attachment xsane-1 shows it wants a proprietary plugin. -2 the installation dialogue for that -3 the checksum failure of same, captioned <3> -4 failure to install the plugin, captioned <2> which also mentions a password. Were you asked for one? It makes one wonder whether this plugin installation should be done with root privilege. Re attachment 'return of hplip-3.21.2.run': I do not think you should have messed with this, because from comment 1: "HPLIP 3.19.12 Release Notes Added support for the following new Printers: -HP Color LaserJet Pro MFP M282nw" and it seems that the latest Mageia 7 version is hplip-3.20.6-1.mga7, already there. Can you make sure you have that? Reviewing all this indicates that your problem comes down to installing successfully the proprietary HP plugin. Do you agree? Status:
NEW =>
NEEDINFO solved! it was really a bug I have downloaded hplip-3.20.6-plugin.run and hplip-3.20.6-plugin.run.asc, respectively in ~/scan/ and ~/.hplip I have ran hp-plugin in a terminal, a window automatically opened (see xsane-2.png), at this step I've choosen "select and install...plugin-file (advanced)", then "next" and selected the path ~/scan/; at this step, the name of the plugin had changed and became _hplip-3.20.6-plugin.run (with an underscore as first character); here was the bug; after deleting this underscore, everything successfully proceed: [alain4@mga6-64 ~]$ hp-plugin HP Linux Imaging and Printing System (ver. 3.20.6) Plugin Download and Install Utility ver. 2.1 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. HP Linux Imaging and Printing System (ver. 3.20.6) Plugin Download and Install Utility ver. 2.1 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. kf5.kio.core: "Impossible d'entrer dans le dossier tags:/." Downloading plug-in from: file:///home/alain4/scan/hplip-3.20.6-plugin.run 1100%Receiving digital keys: /usr/bin/gpg --homedir /home/alain4/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9 Creating directory plugin_tmp Verifying archive integrity... All good. Uncompressing HPLIP 3.20.6 Plugin Self Extracting Archive.............................................................. HP Linux Imaging and Printing System (ver. 3.20.6) Plugin Installer ver. 3.0 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Plug-in version: 3.20.6 Installed HPLIP version: 3.20.6 Number of files to install: 64 note: Using PyQt5 Done. Plug-in installation successful Done. now the scanner fine works thank you for all best regards Thank you for your perseverence, and congratulations on your eventual success. It would be nice to clarify what you did outside Mageia, for the benefit of others. Difficult to see the wood for the trees. > I have downloaded hplip-3.20.6-plugin.run and > hplip-3.20.6-plugin.run.asc, respectively in ~/scan/ and ~/.hplip Was this from the HP site? I am not on M7 at the moment, and see nothing of these in our M8 packages. How did you know where to put them? Did you need any other HP additions (extra to hplip), or were those two sufficient? > the name of the plugin had changed and became _hplip-3.20.6-plugin.run > (with an underscore as first character); here was the bug; > after deleting this underscore, everything successfully proceeded Is this 'bug' in any Mageia package, or the HP additions? Closing the bug, but your response would be appreciated. Status:
NEEDINFO =>
RESOLVED (In reply to Lewis Smith from comment #17) > Thank you for your perseverence, and congratulations on your eventual > success. > > It would be nice to clarify what you did outside Mageia, for the benefit of > others. Difficult to see the wood for the trees. > > I have downloaded hplip-3.20.6-plugin.run and > > hplip-3.20.6-plugin.run.asc, respectively in ~/scan/ and ~/.hplip > Was this from the HP site? I am not on M7 at the moment, and see nothing of > these in our M8 packages. no, I've downloaded then from https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ > How did you know where to put them? I use usually ~/scan/ to put results of paper documents scanning, and remove them when I no longer need; therefore, this directory is almost always empty, and, then, it is easy to find a file inside it, and furthermore the path is short; but any other download directory can be choosen as well; for ~/.hplip/, when considering the return of hp-plugin (see comment 16) you see it is convenient that the gpg key were in this directory. > Did you need any other HP additions (extra to hplip), or were those two > sufficient? those two were sufficient; even more, I tried to run hp-plugin without downloading hplip-3.20.6-plugin.run.asc and it did work, but the system complained and asked me if I agreed to process the installation without checking gpg-key: I replied "yes" > > > the name of the plugin had changed and became _hplip-3.20.6-plugin.run > > (with an underscore as first character); here was the bug; > > after deleting this underscore, everything successfully proceeded > Is this 'bug' in any Mageia package, or the HP additions? I can't say, but I think this bug was in the HP additions > > Closing the bug, but your response would be appreciated. |