Hello,

Like many others, I'm also faced with the device busy error when trying to 
scan with an OfficeJet T65. The scanning seems to start (the device display 
reports: "Scanning page" and the On led starts to flash), but nothing 
actually happens. OTOH, if I try to start the scan from the device, it 
reports: "Cannot connect to PC". Copying works fine.

On the computer side SANE finds the device just fine and 'scanimage -L' 
reports:
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.18
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `hpaio'
[dll] sane_get_devices
[dll] load: searching backend `hpaio' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.6
[dll] sane_get_devices: found 1 devices
device `hpaio:/par/OfficeJet_T_Series?device=/dev/parport0' is a hp HP 
OfficeJet T Series multi-function peripheral
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished

However, when 'I do scanimage >image.pnm', I get:
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.18
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `hpaio'
[dll] sane_get_devices
[dll] load: searching backend `hpaio' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.6
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open 
`hpaio:/par/OfficeJet_T_Series?device=/dev/parport0'
[dll] sane_open: open successful
[dll] 
sane_control_option(handle=0x8061480,option=0,action=0,value=0xbfe45ca0,info=(nil))
[dll] 
sane_control_option(handle=0x8061480,option=0,action=0,value=0xbfe44b78,info=(nil))
[dll] sane_get_option_descriptor(handle=0x8061480,option=0)
[dll] sane_get_option_descriptor(handle=0x8061480,option=1)
[dll] sane_get_option_descriptor(handle=0x8061480,option=2)
[dll] sane_get_option_descriptor(handle=0x8061480,option=3)
[dll] sane_get_option_descriptor(handle=0x8061480,option=4)
[dll] sane_get_option_descriptor(handle=0x8061480,option=5)
[dll] sane_get_option_descriptor(handle=0x8061480,option=6)
[dll] sane_get_option_descriptor(handle=0x8061480,option=7)
[dll] sane_get_option_descriptor(handle=0x8061480,option=8)
[dll] sane_get_option_descriptor(handle=0x8061480,option=9)
[dll] sane_get_option_descriptor(handle=0x8061480,option=10)
[dll] sane_get_option_descriptor(handle=0x8061480,option=11)
[dll] sane_get_option_descriptor(handle=0x8061480,option=12)
[dll] sane_get_option_descriptor(handle=0x8061480,option=13)
[dll] sane_get_option_descriptor(handle=0x8061480,option=14)
[dll] sane_get_option_descriptor(handle=0x8061480,option=15)
[dll] 
sane_control_option(handle=0x8061480,option=15,action=0,value=0x8051db8,info=(nil))
[dll] sane_get_option_descriptor(handle=0x8061480,option=16)
[dll] 
sane_control_option(handle=0x8061480,option=16,action=0,value=0x8051dbc,info=(nil))
[dll] 
sane_control_option(handle=0x8061480,option=13,action=0,value=0xbfe44b74,info=(nil))
[dll] 
sane_control_option(handle=0x8061480,option=14,action=0,value=0xbfe44b74,info=(nil))
[dll] 
sane_control_option(handle=0x8061480,option=13,action=0,value=0xbfe45c94,info=(nil))
[dll] sane_get_option_descriptor(handle=0x8061480,option=15)
[dll] 
sane_control_option(handle=0x8061480,option=15,action=1,value=0xbfe45c98,info=0xbfe44b78)
[dll] 
sane_control_option(handle=0x8061480,option=14,action=0,value=0xbfe45c94,info=(nil))
[dll] sane_get_option_descriptor(handle=0x8061480,option=16)
[dll] 
sane_control_option(handle=0x8061480,option=16,action=1,value=0xbfe45c98,info=0xbfe44b78)
[dll] sane_start(handle=0x8061480)
scanimage: sane_start: Device busy
[dll] sane_cancel(handle=0x8061480)
[dll] sane_close(handle=0x8061480)
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished

When trying to scan, 'tail -f /var/log/messages' reports the following:
Nov  2 01:18:20 lassi ppdev0: registered pardevice
Nov  2 01:18:26 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:27 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:28 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:29 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:30 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:31 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:32 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:33 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:34 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:35 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:36 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:37 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:38 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:39 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:40 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:41 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:42 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:43 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:44 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:45 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:46 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:47 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:48 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:49 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:50 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:51 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:52 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:53 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:54 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:55 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:56 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:57 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:58 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:18:59 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:00 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:01 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:02 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:03 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:04 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:05 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:06 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:07 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:08 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:09 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:10 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:11 lassi hpiod: ParDevice::wait_status timeout status=df mask=40 
val=0 us=1000000: io/hpiod/ppdevice.cpp 118
Nov  2 01:19:11 lassi hpiod: unable to read MlcReverseData header: Success 
hp:/par/OfficeJet_T_Series?device=/dev/parport0 io/hpiod/mlc.cpp 500
Nov  2 01:21:47 lassi ppdev0: negotiated back to compatibility mode because 
user-space forgot
Nov  2 01:21:47 lassi ppdev0: unregistered pardevice

I'm running Gentoo with the following software versions:
hplip-1.6.10
sane-backends-1.0.18-r2
gentoo-sources-2.6.17-r8
cups-1.1.23-r8

The AFAIK relevant parts of my kernel config are:
Parallel port support  --->
        <*> Parallel port support
        <*>   PC-style hardware
        < >     Multi-IO cards (parallel and serial)
        [*]     Use FIFO/DMA if available (EXPERIMENTAL)
        [ ]     SuperIO chipset support (EXPERIMENTAL)
        [*] IEEE 1284 transfer modes
Character devices  --->
        <*> Parallel printer support
        [ ]   Support for console on line printer
        <*> Support for user-space parallel port device drivers

P.S. Please CC me when you answer, as I'm not subscribed to the list.

-- 
Jani-Matti Hätinen

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to