>From merged bug: I have a HP LaserJet m1120 MFP. Printing works perfect and scanning with xsane too.
When running it from the terminal, this is the error I got after trying to scan (it starts scanning and it shows the image being scanned, but when it is done it says something along the lines of "communication with the device failed" -- my system is in portuguese, I wouldn't know the exact translation): ** (simple-scan:3311): WARNING **: Unable to read frame from device: End of file reached (simple-scan:3311): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy_area: assertion `dest_y >= 0 && dest_y + height <= dest_pixbuf->height' failed And the page goes black. ////////// https://bugs.launchpad.net/simple-scan/+bug/574454/+attachment/1370206/+files/simple-scan.log https://bugs.launchpad.net/simple-scan/+bug/574454/+attachment/1398409/+files/simple-scan1.log ////////// Well, first, when I click on digitalizes button, in debug appear it: "** (simple-scan:3841): DEBUG: Starting Simple Scan 1.0.3, PID=3841 ** (simple-scan:3841): DEBUG: Restoring window to 600x400 pixels ** (simple-scan:3841): DEBUG: Restoring window to maximized ** (simple-scan:3841): DEBUG: sane_init () -> SANE_STATUS_GOOD ** (simple-scan:3841): DEBUG: SANE version 1.0.20 ** (simple-scan:3841): DEBUG: Requesting redetection of scan devices ** (simple-scan:3841): DEBUG: Processing request ** (simple-scan:3841): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD ** (simple-scan:3841): DEBUG: Device: name="hpljm1005:libusb:001:002" vendor="Hewlett-Packard" model="LaserJet M1120" type="multi-function peripheral" ** (simple-scan:3841): DEBUG: Device: name="hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM" vendor="Hewlett-Packard" model="HP_LaserJet_M1120_MFP" type="all-in-one" ** (simple-scan:3841): DEBUG: Requesting scan at 300 dpi from device 'hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM' ** (simple-scan:3841): DEBUG: scanner_scan ("hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM", 300, SCAN_SINGLE) ** (simple-scan:3841): DEBUG: Processing request ** (simple-scan:3841): DEBUG: sane_open ("hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM") -> SANE_STATUS_IO_ERROR ** (simple-scan:3841): WARNING **: Unable to get open device: Error during device I/O after, it appear fail and messages to me change the scanner and I choose "HP Laserjet M1120" instead "HP HP Laserjet M1120 MFP"... It start to scan, I see the image being scanned, but it gave me a fail msg and the image appear totally black. The debug show me this in the end: ** (simple-scan:3836): WARNING **: Unable to read frame from device: End of file reached ** (simple-scan:3836): DEBUG: sane_cancel () ** (simple-scan:3836): DEBUG: sane_close () ** (simple-scan:3836): DEBUG: Trimming image height from 3768 pixels to 3503 pixels (simple-scan:3883): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy_area: assertion `dest_y >= 0 && dest_y + height <= dest_pixbuf->height' failed I'm uploading the complete log. -- You received this bug notification because you are a member of Simple Scan Development Team, which is the registrant for Simple Scan. https://bugs.launchpad.net/bugs/575191 Title: simple-scan doesn't scan from HP M1522nf (MFP), while xsane works Status in Simple Scan: Confirmed Status in “simple-scan” package in Ubuntu: Confirmed Bug description: Binary package hint: simple-scan 1) lsb_release -rd Description: Ubuntu 9.10 Release: 9.10 2) apt-cache policy simple-scan simple-scan: Installiert: 1.0.3-0ubuntu1 Kandidat: 1.0.3-0ubuntu1 Versions-Tabelle: *** 1.0.3-0ubuntu1 0 500 http://ppa.launchpad.net karmic/main Packages 100 /var/lib/dpkg/status 3) scan a page from hpaio:/usb/HP_LaserJet_M1522nf_MFP... 4) did not scan, in more detail: It looks like simple-scan does not wait long enough for the scanner: just when it sounds like calibration has finished and the scanner will start to send the data the program seems to cancel the scan. At least that's what the following snippet from 'simple-scan -d' -output suggests: ---8<-------------------------------- ** (simple-scan:5083): DEBUG: sane_control_option (13, SANE_ACTION_SET_VALUE, 296,925995) -> (SANE_STATUS_GOOD, 296,925995) ** (simple-scan:5083): DEBUG: sane_start (page=0, pass=0) -> SANE_STATUS_GOOD ** (simple-scan:5083): DEBUG: sane_get_parameters () -> SANE_STATUS_GOOD ** (simple-scan:5083): DEBUG: Parameters: format=SANE_FRAME_RGB last_frame=SANE_TRUE bytes_per_line=7647 pixels_per_line=2549 lines=3506 depth=8 ** (simple-scan:5083): DEBUG: sane_read (7648) -> (SANE_STATUS_CANCELLED, 1804678464) ** (simple-scan:5083): WARNING **: Unable to read frame from device: Operation was cancelled ---8<-------------------------------- [The full output is in the attached file (serial number removed).] A very few times some data was really transferred and I could see the first bit of the scan displayed, but then it would suddenly stop with the same error-message. Xsane worked without any problems, so the scanner+driver are okay. I had the same bug on Lucid (10.04) with the included simple-scan version 1.0.2. If you need any further information, please let me know. To manage notifications about this bug go to: https://bugs.launchpad.net/simple-scan/+bug/575191/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~simple-scan-team Post to : [email protected] Unsubscribe : https://launchpad.net/~simple-scan-team More help : https://help.launchpad.net/ListHelp

