[sane-devel] Mac OS X: sane pixma (not) scanning

Peter Schoenrank peter at schoenrank.ca
Fri Mar 27 16:13:41 UTC 2009

On 09-Mar-26, at 15:35, Louis Lagendijk wrote:

> Try another USB cable, try the device on another (non Mac) computer  
> if possible.

I connected the MX850 to a 17" flat-panel iMac running Mac OS X  
10.4.11, using a different USB cable.

I installed gettext 0.17, libusb 0.1.13 beta 2009-02-22 and sane- 
backends 1.1.0-cvs 2009-02-20 as packaged for Mac OS X 10.4 by Mattias  
Ellert. And then I restarted the iMac. Then

$ cd ~/Desktop
$ mkdir scanning_from_the_command_line
$ cd scanning_from_the_command_line
$ mkdir 2009-03-26.testing
$ cd 2009-03-26.testing
$ export PATH=/usr/local/bin:$PATH
$ export SANE_DEBUG=255
$ export SANE_DEBUG_PIXMA=20
$ sane-find-scanner &> sane-find-scanner.log

found USB scanner (vendor=0x04a9 [Canon], product=0x172c [MX850  
series]) at libusb:007:002-04a9-172c-00-00

$ scanimage -L &> scanimage-L.log

device `pixma:04A9172C_21B0DA' is a CANON Canon PIXMA MX850 multi- 
function peripheral

$ scanimage -d pixma:04A9172C_21B0DA -T &> scanimage.log

scanimage hangs as on the OS 10.5 iMac, seemingly at the same place as  
on the OS 10.5 iMac. This time at least kill -9 managed to kill it.  
system.log shows

KernelEventAgent[34]: tid 00000000 received unknown event (12)

Interestingly, closing the Terminal window (since it seems to be  
irretrievably hung despite having killed scanimage), opening a new  
Terminal window, and doing the above all over again results in  
scanimage hanging seemingly at the same place, but this time the  
scanimage process is not killable, and the system.log shows

kernel[0]: USBF:	952.776	AppleUSBOHCI[0x1a30800]::DoIOTransfer - error  
0xe00002eb queueing request

This is repeatable on the 10.4 iMac: the first attempt at scanimage -T  
immediately after restarting results in the KernelEventAgent message  
and the scanimage process is killable. The second scanimage -T results  
in the kernel USBF message and the scanimage process is not killable.

The complete logs for the first and second runs are available at

Peter Schoenrank
mailto: peter at schoenrank.ca
phone: 250-655-6753

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090327/f04f4c42/attachment.htm 

More information about the sane-devel mailing list