LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2016, 01:15 AM   #1
gchandler
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Linux Mint 17.3
Posts: 86

Rep: Reputation: 15
Why exactly 1 minute delay before scanning with xsane?


I have a Canon FB630U scanner which works fine in a Windows XP VM in Linux Mint 18. However, when I try to acquire a preview or scan an image in Linux Mint 18, there is a sound from the scanner and then nothing for exactly one minute, at which point the scan is completed successfully.

Because the delay is constant and precisely timed, I am thinking the delay might be caused by some configuration setting somewhere, but have no idea where I might find it.

Can anyone suggest why this delay is occurring and how I might stop it? It makes the scanner almost unusable for more than a single page scan.
 
Old 12-31-2016, 01:29 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Likely built in (intentionally or unintentionally) to the SANE driver behaviour for this device.

From 'man sane-canon630u' I note that it is mentioned
Quote:
NOTES

Due to Canon's unwillingness to provide scanner documentation, this
software was developed by analyzing the USB traffic of the Windows 2000
driver. So things like the calibration procedure I kind of made up; it
seems to work for my scanner. If you have complaints, let me know.
Quote:
SEE ALSO

sane(7), sane-usb(5), sane-find-scanner(1)
http://canon-fb630u.sourceforge.net/

AUTHOR

Nathan Rutman
A bug report may be the best course of action here
http://www.sane-project.org/bugs.html
 
Old 12-31-2016, 01:33 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
After reading through the man page, I also noticed
Quote:
/tmp/canon.cal
The calibration file used to normalize pixel brightness. This
is calculated every time the scanner is first used after it has
lost power. Deleting this file will force recalibration.
So, it does seem that it does a calibration after every power up. It's a shame that it can't write to ~/.config/canon.cal (or similar) and store this persistently. I still suggest a bug report for this reason.
 
Old 01-01-2017, 07:33 AM   #4
gchandler
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Linux Mint 17.3
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
So, it does seem that it does a calibration after every power up. It's a shame that it can't write to ~/.config/canon.cal (or similar) and store this persistently. I still suggest a bug report for this reason.
The repeat of calibration would only occur if power is lost to the device, but this delay I refer to occurs at every consecutive page scan.

But I will read those man pages you mention carefully and if I can't figure a fix will submit a bug report. Thanks for your follow up. It's appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XSane Scanning Negatives measekite Linux - Software 11 06-27-2013 10:50 PM
Scanning Problem XSane Ingla Linux - General 2 08-13-2007 02:59 PM
xsane not scanning entire flatbed Apostasy Linux - Software 3 08-21-2005 03:29 AM
HP PSC 2110xi and scanning with xsane matttah Linux - Software 0 11-18-2004 05:07 PM
Scanning - xsane question harry_fine Linux - Hardware 5 09-18-2004 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration