Bug 7637 - Unable to set option resolution for scanning with Photosmart C6380
Summary: Unable to set option resolution for scanning with Photosmart C6380
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
Keywords: PATCH
Depends on:
Reported: 2012-09-30 17:14 CEST by Julien Moragny
Modified: 2013-11-23 16:13 CET (History)
1 user (show)

See Also:
Source RPM: hplip-3.12.4-1.mga2.src.rpm
Status comment:

Complete trace of hp-scan (38.13 KB, text/plain)
2012-09-30 17:14 CEST, Julien Moragny
proposed patch (362 bytes, patch)
2012-10-03 19:39 CEST, Julien Moragny
Details | Diff

Description Julien Moragny 2012-09-30 17:14:13 CEST

My scanner is an all in one HP photosmart C6380  (driver photosmart C6300).

With hplip version 3.12.6, no resolution is available for scanning.

I just tested every version since mga1 and the bug appeared with version 3.12.4 ; 3.12.2 is OK.

It's still present with 3.12.9.

Here is interesting part of trace with hp-scan (complete trace as attachment) :

hp-scan[11554]: debug: Device supported resolutions [75, 100, 150, 200, 300, 600, 1200, 2400, 4800]

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (215.899994mm, 296.925995mm)
  Width: 215.899994mm
  Height: 296.925995mm
Destination(s): file
Output file: 
error: Unable to set option resolution to value 300
hp-scan[11554]: debug: Supported source Options: [] size=0
error: Unable to set option source to value Flatbed
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/jules/rpm/cauldron/hplip/RPMS/x86_64/hpscan001.png'.

Debian bug reports for the same problem :
Comment 1 Julien Moragny 2012-09-30 17:14:41 CEST
Created attachment 2877 [details]
Complete trace of hp-scan
Comment 2 Julien Moragny 2012-10-03 19:38:10 CEST

It seems it's a bogus value in file /usr/share/hplip/data/models/models.dat

in section photosmart_c6300_series, replace scan-src=2 by scan-src=1 and, at least for me, it solves the problem.
Comment 3 Julien Moragny 2012-10-03 19:39:13 CEST
Created attachment 2908 [details]
proposed patch

Proposed patch against hplip 3.12.9 to fix this bug
Comment 4 Julien Moragny 2012-10-03 19:39:48 CEST
Forget to say the answer come from a dev on launchpad :
Comment 5 Julien Moragny 2012-10-04 18:29:17 CEST
This bug is fixed in just released hplip-3.12.10 :

so cauldron should be fine as soon as this version is pushed.

Can we get an update for mga2 ?
Julien Moragny 2012-10-04 18:43:00 CEST

Source RPM: hplip-3.12.6-1.mga2.src.rpm => hplip-3.12.4-1.mga2.src.rpm

Julien Moragny 2012-11-02 21:40:05 CET

CC: (none) => doktor5000

Comment 6 Florian Hubold 2012-11-03 15:49:03 CET
Outstanding hplip update cannot be pushed: https://bugs.mageia.org/show_bug.cgi?id=5395

So if you help in validating that one, i can add this patch to it, so we fix two bugs with one update.
Florian Hubold 2012-11-03 15:59:41 CET

Keywords: (none) => PATCH
Assignee: bugsquad => doktor5000

Comment 7 Florian Hubold 2013-06-23 19:56:12 CEST
Could you please check hplip-3.12.10-1.mga4 which was pushed to cauldron? Should hit mirrors soon, if it fixes the issue this could be pushed to Mageia 3, not sure about Mageia 2.
Comment 8 Julien Moragny 2013-09-08 17:53:34 CEST
Sorry I couldn't test sooner. 
The latest package in cauldron (3.12.11-1) fix the bug and does seems to work in mga3.

Comment 9 Manuel Hiebel 2013-10-22 12:09:54 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete.

The Mageia Bugsquad
Comment 10 Manuel Hiebel 2013-11-23 16:13:30 CET
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no
longer maintained, which means that it will not receive any further security or
bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

The Mageia Bugsquad

Resolution: (none) => OLD

Note You need to log in before you can comment on or make changes to this bug.