simple-scan log below. I'm available to provide any other info, needed,
to make it work
y...@yaroslav-desktop:~$ simple-scan -d
** (simple-scan:4979): DEBUG: Starting Simple Scan 1.0.3, PID=4979
** (simple-scan:4979): DEBUG: Restoring window to 600x400 pixels
** (simple-scan:4979): DEBUG: sane_init () -> SANE_STATUS_GOOD
** (simple-scan:4979): DEBUG: SANE version 1.0.20
** (simple-scan:4979): DEBUG: Requesting redetection of scan devices
** (simple-scan:4979): DEBUG: Processing request
** (simple-scan:4979): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
** (simple-scan:4979): DEBUG: Device:
name="hpaio:/net/HP_LaserJet_M1522n_MFP?zc=NPIF5D728" vendor="Hewlett-Packard"
model="HP_LaserJet_M1522n_MFP" type="all-in-one"
** (simple-scan:4979): DEBUG: Requesting scan at 150 dpi from device
'hpaio:/net/HP_LaserJet_M1522n_MFP?zc=NPIF5D728'
** (simple-scan:4979): DEBUG: scanner_scan
("hpaio:/net/HP_LaserJet_M1522n_MFP?zc=NPIF5D728", 150, SCAN_SINGLE)
** (simple-scan:4979): DEBUG: Processing request
** (simple-scan:4979): DEBUG: sane_open
("hpaio:/net/HP_LaserJet_M1522n_MFP?zc=NPIF5D728") -> SANE_STATUS_GOOD
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (0)
** (simple-scan:4979): DEBUG: Option 0: name='option-cnt' title='Number of
options' type=int size=4 cap=soft-detect
** (simple-scan:4979): DEBUG: Description: Read-only option that specifies
how many options a specific devices supports.
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (1)
** (simple-scan:4979): DEBUG: Option 1: name='mode-group' title='Scan mode'
type=group size=0
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (2)
** (simple-scan:4979): DEBUG: Option 2: name='mode' title='Scan mode'
type=string size=32 values=["Lineart", "Gray", "Color"]
cap=soft-select,soft-detect
** (simple-scan:4979): DEBUG: Description: Selects the scan mode (e.g.,
lineart, monochrome, or color).
** (simple-scan:4979): DEBUG: sane_control_option (2, SANE_ACTION_SET_VALUE,
"Lineart") -> (SANE_STATUS_GOOD, "Lineart")
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (3)
** (simple-scan:4979): DEBUG: Option 3: name='resolution' title='Scan
resolution' type=int size=4 unit=dpi values=[75, 100, 150, 200, 300, 600, 1200]
cap=soft-select,soft-detect
** (simple-scan:4979): DEBUG: Description: Sets the resolution of the scanned
image.
** (simple-scan:4979): DEBUG: sane_control_option (3, SANE_ACTION_SET_VALUE,
150) -> (SANE_STATUS_GOOD, 150)
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (4)
** (simple-scan:4979): DEBUG: Option 4: name='source' title='Scan source'
type=string size=32 values=["Flatbed", "ADF"] cap=soft-select,soft-detect
** (simple-scan:4979): DEBUG: Description: Selects the scan source (such as a
document-feeder).
** (simple-scan:4979): DEBUG: sane_control_option (4, SANE_ACTION_SET_VALUE,
"Flatbed") -> (SANE_STATUS_GOOD, "Flatbed")
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (5)
** (simple-scan:4979): DEBUG: Option 5: name='advanced-group' title='Advanced'
type=group size=0 cap=advanced
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (6)
** (simple-scan:4979): DEBUG: Option 6: name='contrast' title='Contrast'
type=int size=4 min=-127, max=127, quant=0 cap=soft-select,soft-detect,advanced
** (simple-scan:4979): DEBUG: Description: Controls the contrast of the
acquired image.
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (7)
** (simple-scan:4979): DEBUG: Option 7: name='compression' title='Compression'
type=string size=32 values=["None", "JPEG"] cap=soft-select,soft-detect,advanced
** (simple-scan:4979): DEBUG: Description: Selects the scanner compression
method for faster scans, possibly at the expense of image quality.
** (simple-scan:4979): DEBUG: sane_control_option (7, SANE_ACTION_SET_VALUE,
"None") -> (SANE_STATUS_GOOD, "None")
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (8)
** (simple-scan:4979): DEBUG: Option 8: name='jpeg-quality' title='JPEG
compression factor' type=int size=4 min=0, max=100, quant=0
cap=soft-select,soft-detect,inactive,advanced
** (simple-scan:4979): DEBUG: Description: Sets the scanner JPEG compression
factor. Larger numbers mean better compression, and smaller numbers mean better
image quality.
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (9)
** (simple-scan:4979): DEBUG: Option 9: name='geometry-group' title='Geometry'
type=group size=0 cap=advanced
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (10)
** (simple-scan:4979): DEBUG: Option 10: name='tl-x' title='Top-left x'
type=fixed size=4 unit=mm min=0,000000, max=215,899994, quant=0
cap=soft-select,soft-detect
** (simple-scan:4979): DEBUG: Description: Top-left x position of scan area.
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (11)
** (simple-scan:4979): DEBUG: Option 11: name='tl-y' title='Top-left y'
type=fixed size=4 unit=mm min=0,000000, max=296,925995, quant=0
cap=soft-select,soft-detect
** (simple-scan:4979): DEBUG: Description: Top-left y position of scan area.
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (12)
** (simple-scan:4979): DEBUG: Option 12: name='br-x' title='Bottom-right x'
type=fixed size=4 unit=mm min=0,000000, max=215,899994, quant=0
cap=soft-select,soft-detect
** (simple-scan:4979): DEBUG: Description: Bottom-right x position of scan
area.
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (13)
** (simple-scan:4979): DEBUG: Option 13: name='br-y' title='Bottom-right y'
type=fixed size=4 unit=mm min=0,000000, max=296,925995, quant=0
cap=soft-select,soft-detect
** (simple-scan:4979): DEBUG: Description: Bottom-right y position of scan
area.
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (14)
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (12)
** (simple-scan:4979): DEBUG: sane_control_option (12, SANE_ACTION_SET_VALUE,
215,899994) -> (SANE_STATUS_GOOD, 215,899994)
** (simple-scan:4979): DEBUG: sane_get_option_descriptor (13)
** (simple-scan:4979): DEBUG: sane_control_option (13, SANE_ACTION_SET_VALUE,
296,925995) -> (SANE_STATUS_GOOD, 296,925995)
** (simple-scan:4979): DEBUG: sane_start (page=0, pass=0) -> SANE_STATUS_GOOD
** (simple-scan:4979): DEBUG: sane_get_parameters () -> SANE_STATUS_GOOD
** (simple-scan:4979): DEBUG: Parameters: format=SANE_FRAME_GRAY
last_frame=SANE_TRUE bytes_per_line=0 pixels_per_line=0 lines=0 depth=1
** (simple-scan:4979): DEBUG: Page is 0 pixels wide, 0 pixels high, 1 bits per
pixel
(simple-scan:4979): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion `width >
0' failed
** (simple-scan:4979): DEBUG: sane_read (1) -> (SANE_STATUS_GOOD, 1)
Floating point exception
--
simple-scan doesn't scan from HP M1522nf (MFP), while xsane works
https://bugs.launchpad.net/bugs/575191
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs