lineart scan hpaio HPLJ3200

Asked by little linux girl

tested on
- Gentoo 2.6.25-r5 x86_64
- Kubuntu 2.6.24-19 i686

Printer/scanner/fax: HP LaserJet 3200 USB

Problem:
When i'm scanning 4 pages in one time at Gray mode using X-sane
multipage every thing is OK
When i'm scanning 1 page in Lineart mode using X-sane multipage every
thing is OK
but
When im scanning the same 4 pages in one time at Lineart using the
same X-sane multipage there are errors:
tail -f /var/log/messages |grep sane
Jun 26 21:35:10 xsane: invalid read: exp=11 act=2 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 21:37:26 xsane: invalid bufsize: size=131080 max=17408 ReadMfpdtfBlock scan/sane/mfpdtf.c 518
Jun 26 21:39:13 xsane: invalid read: exp=8 act=2 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 21:57:59 xsane: invalid read: exp=12 act=2 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 21:58:46 xsane: invalid read: exp=91 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 21:59:29 xsane: invalid read: exp=88 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 22:01:09 xsane: invalid read: exp=79 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 22:02:37 xsane: invalid read: exp=12 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 22:08:09 xsane: invalid read: exp=12 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 22:08:09 xsane: invalid read: exp=12 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 26 22:11:58 xsane: invalid bufsize: size=738197760 max=17408 ReadMfpdtfBlock scan/sane/mfpdtf.c 518
Jun 26 22:13:30 xsane: invalid read: exp=37 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
When scanning page progress indicator don't reach the end, stops near end and then shows errors
Because Kooka have problem with lineart scans too, i think this problem is in hpaio lineart driver.

Regards
LLG

Question information

Language:
English Edit question
Status:
Needs information
For:
HPLIP Edit question
Assignee:
Aaron Albright Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
little linux girl (little-linux-girl) said :
#1

cat hp-check.log
hp-check[22883]: info: :
Initializing. Please wait...
planista jest uruchomiony

1.3.7

Linux Scanman 2.6.25-gentoo-r5-phc #1 SMP PREEMPT Thu Jun 19 10:17:41 CEST 2008 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux

warning: Invalid ppd_dir value: None
hp-check[22883]: info: :
hp-check[22883]: info: :---------------
hp-check[22883]: info: :| SYSTEM INFO |
hp-check[22883]: info: :---------------
hp-check[22883]: info: :
hp-check[22883]: info: :Basic system information:
hp-check[22883]: info: :Linux Scanman 2.6.25-gentoo-r5-phc #1 SMP PREEMPT Thu Jun 19 10:17:41 CEST 2008 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux
hp-check[22883]: info: :
hp-check[22883]: info: :Distribution:
hp-check[22883]: info: :gentoo 0.0
hp-check[22883]: info: :
HPOJ running?
hp-check[22883]: info: :No, HPOJ is not running (OK).
hp-check[22883]: info: :
hp-check[22883]: info: :Checking Python version...
hp-check[22883]: info: :OK, version 2.5.2 installed
hp-check[22883]: info: :
hp-check[22883]: info: :Checking PyQt version...
hp-check[22883]: info: :OK, version 3.17 installed.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking SIP version...
hp-check[22883]: info: :OK, Version 4.7.6 installed
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for CUPS...
hp-check[22883]: info: :Status: planista jest uruchomiony
hp-check[22883]: info: :Version: 1.3.7
hp-check[22883]: info: :error_log is set to level: info
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dbus/python-dbus...
hp-check[22883]: info: :dbus daemon is running.
hp-check[22883]: info: :python-dbus version: 0.82.4
hp-check[22883]: info: :
hp-check[22883]: info: :
hp-check[22883]: info: :------------------------------------
hp-check[22883]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[22883]: info: :------------------------------------
hp-check[22883]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: dbus - Message bus system...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: libtool - Library building support services...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: libusb - USB library...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: python-devel - Python development files...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: SANE - Scanning library...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :
hp-check[22883]: info: :----------------------
hp-check[22883]: info: :| HPLIP INSTALLATION |
hp-check[22883]: info: :----------------------
hp-check[22883]: info: :
hp-check[22883]: info: :
hp-check[22883]: info: :Currently installed HPLIP version...
hp-check[22883]: info: :HPLIP 2.8.5 currently installed in '/usr/share/hplip'.
hp-check[22883]: info: :
hp-check[22883]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[22883]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.8.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.8.5
icon=/usr/share/applications
cupsbackend=/usr/libexec/cups/backend
cupsfilter=/usr/libexec/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=no
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
internal-tag=2.8.5.23

hp-check[22883]: info: :
hp-check[22883]: info: :--------------------------
hp-check[22883]: info: :| DISCOVERED USB DEVICES |
hp-check[22883]: info: :--------------------------
hp-check[22883]: info: :
hp-check[22883]: info: :
hp-check[22883]: info: :---------------------------------
hp-check[22883]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[22883]: info: :---------------------------------
hp-check[22883]: info: :
hp-check[22883]: info: :
warning: No queues found.
hp-check[22883]: info: :
hp-check[22883]: info: :----------------------
hp-check[22883]: info: :| SANE CONFIGURATION |
hp-check[22883]: info: :----------------------
hp-check[22883]: info: :
hp-check[22883]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[22883]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking output of 'scanimage -L'...
hp-check[22883]: info: :device `hpaio:/usb/HP_LaserJet_3200?serial=00CNGT011391' is a Hewlett-Packard HP_LaserJet_3200 all-in-one

hp-check[22883]: info: :
hp-check[22883]: info: :---------------------
hp-check[22883]: info: :| PYTHON EXTENSIONS |
hp-check[22883]: info: :---------------------
hp-check[22883]: info: :
hp-check[22883]: info: :Checking 'cupsext' CUPS extension...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking 'pcardext' Photocard extension...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking 'hpmudext' I/O extension...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :Checking 'scanext' SANE scanning extension...
hp-check[22883]: info: :OK, found.
hp-check[22883]: info: :
hp-check[22883]: info: :
hp-check[22883]: info: :-----------------
hp-check[22883]: info: :| USB I/O SETUP |
hp-check[22883]: info: :-----------------
hp-check[22883]: info: :
hp-check[22883]: info: :
hp-check[22883]: info: :Checking for permissions of USB attached printers...
hp-check[22883]: info: :
HP Device 0x117 at 002:002:
hp-check[22883]: info: : Device URI: hp:/usb/HP_LaserJet_3200?serial=00CNGT011391
hp-check[22883]: info: : Device node: /dev/bus/usb/002/002
hp-check[22883]: info: : Mode: 0664
hp-check[22883]: info: :
hp-check[22883]: info: :-----------
hp-check[22883]: info: :| SUMMARY |
hp-check[22883]: info: :-----------
hp-check[22883]: info: :
error: 4 errors and/or warnings.
hp-check[22883]: info: :
hp-check[22883]: info: :Please refer to the installation instructions at:
hp-check[22883]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[22883]: info: :
hp-check[22883]: info: :Done.

Revision history for this message
little linux girl (little-linux-girl) said :
#2

this are errors from Kooka and lineart scans at 300dpi
Jun 27 08:28:35 Scanman kooka: invalid read: exp=10 act=2 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 27 08:28:35 Scanman kooka: sane_hpaio_read(maxLength=338): No scan pending!
Jun 27 08:38:01 Scanman kooka: invalid bufsize: size=131080 max=17408 ReadMfpdtfBlock scan/sane/mfpdtf.c 518
Jun 27 08:38:01 Scanman kooka: sane_hpaio_read(maxLength=338): No scan pending!
Jun 27 08:38:04 Scanman kooka: io/hpmud/dot4.c 121: unexpected DOT4CreditRequest: cmd=4, hid=4, pid=4, maxcredit=65535
Jun 27 08:40:34 Scanman kooka: invalid read: exp=85 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 27 08:40:34 Scanman kooka: sane_hpaio_read(maxLength=338): No scan pending!
Jun 27 08:40:43 Scanman kooka: io/hpmud/dot4.c 698: invalid Dot4CreditReply: cmd=f6, result=3
Jun 27 08:40:43 Scanman kooka: io/hpmud/pml.c 465: GetPml channel_read failed ret=12 len=0
Jun 27 08:40:43 Scanman kooka: sane_hpaio_read(maxLength=338): No scan pending!
Jun 27 08:40:54 Scanman kooka: io/hpmud/dot4.c 140: unexpected command: cmd=83, result=0
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 136: unexpected DOT4Error: cmd=7f, psocket=1, ssocket=1, error=84
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 698: invalid Dot4CreditReply: cmd=7f, result=1
Jun 27 08:40:55 Scanman kooka: io/hpmud/pml.c 379: SetPml channel_read failed ret=12 len=0
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 136: unexpected DOT4Error: cmd=7f, psocket=0, ssocket=0, error=4
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 659: invalid Dot4CloseChannelReply: cmd=7f, result=0
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 136: unexpected DOT4Error: cmd=7f, psocket=0, ssocket=0, error=4
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 659: invalid Dot4CloseChannelReply: cmd=7f, result=0
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 136: unexpected DOT4Error: cmd=7f, psocket=0, ssocket=0, error=4
Jun 27 08:40:55 Scanman kooka: io/hpmud/dot4.c 368: invalid DOT4ExitReply: cmd=7f, result=0
Jun 27 08:44:09 Scanman kooka: invalid read: exp=74 act=4 ReadMfpdtfBlock scan/sane/mfpdtf.c 527
Jun 27 08:44:09 Scanman kooka: sane_hpaio_read(maxLength=338): No scan pending!
Jun 27 08:44:21 Scanman kooka: invalid bufsize: size=65538 max=17408 ReadMfpdtfBlock scan/sane/mfpdtf.c 518
Jun 27 08:44:21 Scanman kooka: sane_hpaio_read(maxLength=338): No scan pending!
Some scans are good,
in this with errors there are part of page ok, and the rest black.

this logs are from gentoo,
i can put there logs from kubuntu too, if you want.

Revision history for this message
little linux girl (little-linux-girl) said :
#3

as i wrote, i have problems only with lineart scans,
gray scans with Kooka and Xsane works fine every time even with ADF!
Regards
LLG

Revision history for this message
John Hosszu (john-hosszu) said :
#4

We do not support lineart mode. I'll double check just to be sure.

Thanks

jh

Revision history for this message
little linux girl (little-linux-girl) said :
#5

Hi John,

I achieved to scan about 50 pages ok in lineart mode,
there are no pattern when error occurs,
I'm wondering if this error is in compresion?
Is there any other reason for errors in data size?

Gray scaning is much slower than lineart :(
Lineart is god enough to scan paper docs to pdfs.

Is there any chance to repair lineart mode?
It must be little bug, so one time lineart works, another not.

Thanks for Your time :)
LLG

Revision history for this message
John Hosszu (john-hosszu) said :
#6

I'll pass it up to the Scan engineer...

Thanks

jh

Revision history for this message
little linux girl (little-linux-girl) said :
#7

Hi John,
Is there anythig new with hplip lineart mode?
Will this mode be included to hplip?

Regs

LLG

Revision history for this message
John Hosszu (john-hosszu) said :
#8

Naw the bug is me :).

I was wrong about the lineart mode...let me wrap my mind on your issue and I'll post back.

Thanks and I apologize for the error.

jh

Revision history for this message
little linux girl (little-linux-girl) said :
#9

Ok,
no problem,
:)
i'll wait for your work.

BTW: Can You Ask any engineer from HP,
why they limit scan height to 381 mm??
Can you increase max scan height in hpaio ?? (1m?)

Regs,
LLG

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#10

I'm working on reproducing this. Should have some results tomorrow.

Thanks for your support.

Aaron

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#11

Setting to open.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#12

LLG,

Hey I wont be able to have any results for you until monday. Sorry about that--but I haven't forgotten!

A

Revision history for this message
little linux girl (little-linux-girl) said :
#13

Hi,
good luck in work,
and have fun at weekend :D
Regs,
LLG

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#14

We can reproduce this and we will be working on this in the future.

Sorry for any inconvenience.

Aaron

Revision history for this message
little linux girl (little-linux-girl) said :
#15

Hi,
Can you give here a note when you fix this bug?
Can you increase max scan height too?
Regs,
LLG

Revision history for this message
little linux girl (little-linux-girl) said :
#16

Hi,
how is going work on this bug?
Regs,
LLG

Revision history for this message
little linux girl (little-linux-girl) said :
#17

Hi Aaron,
Is anybody there ? :D
How is going work on this bug?
Regs,
LLG

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#18

Hey LLG,

Sorry for the delay. We are still going to be working on this in the future..I'll check with the engineer on if/when and maybe get a better ETA for you.

Thanks!

Aaron

Can you help with this problem?

Provide an answer of your own, or ask little linux girl for more information if necessary.

To post a message you must log in.