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

Louis Lagendijk louis at lagendijk.xs4all.nl
Thu Mar 26 22:35:36 UTC 2009


My guess that something in the kernel is causing the problems seems to
be right. Look at the system.log. It has a number of entries like:
Mar 26 13:34:19 localhost kernel[0]: USBF:6.248
AppleUSBEHCI[0x6a52800]::Found a transaction which hasn't moved in 5
seconds on bus 0xfd, timing out! (Addr: 2, EP: 0)

Some googling on "Found a transaction...." results in a number of
entries on USB errors. 
Are there more devices on the USB? If so, try removing them. Try another
USB cable, try the device on another (non Mac) computer if possible. I
saw an answer from a guy at Apple that seems to suggest that this is a
pretty low level USB issue. Maybe try another USB port. see for
example: 
http://lists.apple.com/archives/usb/2007/Feb/msg00001.html
http://www.insanelymac.com/forum/index.php?showtopic=18405 and
http://macosx.com/forums/mac-os-x-system-mac-software/303503-usb-ports-now-not-working-mbp-10-5-5-a.html


Louis

On Thu, 2009-03-26 at 13:58 -0700, Peter Schoenrank wrote:
> I did an archive & install of Mac OS X 10.5. I updated to Mac OS X
> 10.5.6.
> 
> 
> I did not install the software that comes with the Canon PIXMA MX850.
> I did not install Parallels Desktop, or anything else.
> 
> 
> 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.5 by
> Mattias Ellert. And then I 
> 
> 
> $ cd ~/Desktop/scanning_from_the_command_line
> $ mkdir 2009-03-26.testing
> $ cd 2009-03-26.testing
> $ export SANE_DEBUG_SANEI_USB=255
> $ 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 before, at the same place as before. This time at
> least kill -9 managed to kill it.
> 
> 
> 
> 
> On 09-Mar-25, at 14:00, Nicolas Martin wrote:
> 
> > If you run the scanimage -T command without sending the output to a
> > log
> > file, does it hang at the same place ? 
> 
> 
> As far as I can tell, yes. This time, kill -9 &c did not work and I
> had to restart.
> 
> 
> 
> 
> On 09-Mar-26, at 13:13, Louis Lagendijk wrote:
> 
> > Could you please check the system log WHILE starting the scan? I
> > would
> > guess that we are hanging in the kernel space
> 
> 
> So after the restart, I did all the command lines again. The
> system.log shows
> 
> 
> Mar 26 13:42:35 Peter login[148]: USER_PROCESS: 148 ttys000
> Mar 26 13:43:39 Peter kernel[0]: USBF: 568.261
> AppleUSBEHCI[0x6a52800]::Found a transaction past the completion
> deadline on bus 0xfd, timing out! (Addr: 2, EP: 0)
> Mar 26 13:43:41 Peter kernel[0]: USBF: 570.261
> AppleUSBEHCI[0x6a52800]::Found a transaction past the completion
> deadline on bus 0xfd, timing out! (Addr: 2, EP: 0)
> 
> 
> 
> 
> For those who care,
> sane-find-scanner.log
> scanimage-L.log
> scanimage.log
> system.log
> 
> are available at
> http://members.shaw.ca/schoenrank.ca/2009-03-06_sane_testing/
> 
> 
> 
> 
> Peter
> 
> -----
> Peter Schoenrank
> mailto: peter at schoenrank.ca
> phone: 250-655-6753
> 
> On 09-Mar-24, at 14:37, Chris Bagwell wrote:
> 
> > OK, I have to stick with build issue myself... Sorry, can't help
> > with USB issues.  I have only 1 addition suggestion.  Try running
> > configure with "--prefix=/usr/local/testsane" to have it installed
> > in a custom location.
> > 
> > I've not fully followed in the other threads if you've ever install
> > a previous copy of sane into the prefix /usr/local... but perhaps
> > libsane is loading some older version of your backend that has these
> > USB issues.
> > 
> > Anyways, the --prefix idea can only help I think... but likely is
> > not your issue.
> > 
> > Chris
> > 
> > On Tue, Mar 24, 2009 at 4:24 PM, Peter Schoenrank
> > <peter at schoenrank.ca> wrote:
> > On 09-Mar-24, at 11:22, Chris Bagwell wrote:
> > 
> > 
> > This still results in the warnings about IOKit/scsi/SCSITaskLib.h
> > that I previously posted, but as Chris suggested, I ignored those
> > because my scanner is USB not SCSI.
> > 
> > 
> > $ make check &> makecheck.log
> > $ make &> make.log
> > 
> > $ sudo make install &> makeinstall.log
> > $ 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
> > 
> > $ export SANE_DEBUG_SANEI_USB=255
> > $ export SANE_DEBUG=255
> > $ export SANE_DEBUG_PIXMA=20
> > $ scanimage -d pixma:04A9172C_21B0DA -T &> scanimage.log
> > 
> > And now I am back to where I was on Saturday: scanimage hangs.
> > 
> > 
> > For those who care,
> > 
> > config.log
> > configure.log
> > makecheck.log
> > make.log
> > 
> > makeinstall.log
> > sane-find-scanner.log
> > scanimage-L.log
> > scanimage.log
> > 
> > are available at
> > http://members.shaw.ca/schoenrank.ca/sane-scm-2009-03-24.2/
> > 
> > 
> > 
> > 
> > Peter
> > -----
> > Peter Schoenrank
> > mailto: peter at schoenrank.ca
> > phone: 250-655-6753
> > 
> > 
> > 
> > 
> 
> 
> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org




More information about the sane-devel mailing list