LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2008, 02:59 AM   #1
Keith Harwood
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
Using combined scanner/printer under SANE


I am trying to use a combined scanner/printer (Epson CX5500).

Current problem is SANE can't find the scanner. Problem seems to be reported in kern.log as
Aug 13 16:37:19 localhost kernel: usb 2-2: usbfs: interface 1 claimed by usblp while 'scanimage' sets config #1
Aug 13 16:37:30 localhost kernel: usb 2-2: USB disconnect, address 8
Aug 13 16:37:30 localhost kernel: usblp0: removed

Looks to me as if kernel has given the interface device (correctly) to the printer and when 'scanimage' tries to use it kernel barfs.

How do I make the printer and scanner play nicely together?

(And I sincerely hope this isn't as silly a problem as last night's.)
 
Old 08-13-2008, 11:50 AM   #2
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
Check this page . Then select the link "scanner search engine"
 
Old 08-13-2008, 02:36 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Try 'scanimage -L' both as regular user and as root, does it see the scanner both times ?
 
Old 08-13-2008, 07:50 PM   #4
Keith Harwood
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H View Post
Try 'scanimage -L' both as regular user and as root, does it see the scanner both times ?
It doesn't see the scanner at all. Only sane-find-scanner ever sees it.
 
Old 08-13-2008, 07:53 PM   #5
Keith Harwood
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by garyg007 View Post
Check this page . Then select the link "scanner search engine"
Been there, done that. Problem seems to be at a lower level. While my scanner doesn't appear there explicitly, similar ones do and the udev rules that come with the sane backends do explicitly refer to it.
 
Old 08-13-2008, 10:24 PM   #6
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
We seem to get different results. When I go to the link I gave you, and select "Scanner Search Engine" and then fill in the manufacturer - epson
model name - cx5500
buss type - usb

I get a hit which has a link to "http://avasys.jp/hp/menu000000500/hpg000000442.htm" From there you eventually navigate to: this page which asks some questions and then takes you to a page which has the driver download links.
 
Old 08-13-2008, 11:48 PM   #7
Keith Harwood
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by garyg007 View Post
We seem to get different results. When I go to the link I gave you, and select "Scanner Search Engine" and then fill in the manufacturer - epson
model name - cx5500
buss type - usb

I get a hit which has a link to "http://avasys.jp/hp/menu000000500/hpg000000442.htm" From there you eventually navigate to: this page which asks some questions and then takes you to a page which has the driver download links.
Ah yes. I followed that link. It didn't help. That site appears, correct me if I'm wrong and point out where, that it only provides binaries for specific operating systems and specific platforms. I need source code. My machine is an Alpha, not i86 and I build everything from sources, can't get it any other way.
 
Old 08-14-2008, 01:26 AM   #8
Keith Harwood
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H View Post
Try 'scanimage -L' both as regular user and as root, does it see the scanner both times ?
I tried persuading udev to create a symlink under the name /dev/usb/scanner and 'scanimage -L' still can't find it.
 
Old 08-14-2008, 04:54 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by Keith Harwood View Post
Ah yes. I followed that link. It didn't help. That site appears, correct me if I'm wrong and point out where, that it only provides binaries for specific operating systems and specific platforms. I need source code. My machine is an Alpha, not i86 and I build everything from sources, can't get it any other way.
The source code is on there, just choose "others" for OS, then it will let you download the source code.
 
Old 08-14-2008, 12:47 PM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
I have seen a printer/scanner (I forget the details), where the scanner was not detectable or usable until the SCAN button was pressed on the scanner. Then everything was just fine.

HTH
 
Old 08-15-2008, 02:03 AM   #11
Keith Harwood
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H View Post
The source code is on there, just choose "others" for OS, then it will let you download the source code.
Got it, built it, installed it. Although the doco says it needs the non-free libraries (which are built only for i386) a hint in the NEWS file suggested that it might work for non-86 architectures. And indeed it built without a hitch.

However, problem not yet solved.
scanimage -L
still says
No scanners were identified.
And
sane-find-scanner
still finds it.

BTW, as a printer, it works well, so the hardware is OK.

I feel sure that all I need is to fiddle some configuration file somewhere, but where I don't know. I have fiddled with /etc/sane.d/dll.conf, commenting out all backends except initially epson and now epkowa. And I have made epkowa.conf refer to the usb.

And I doubt if the problem is in sane. When I run "scanimage -L"
the kern.log reports
Aug 15 15:57:14 localhost kernel: usblp0: removed
Aug 15 15:57:14 localhost kernel: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04B8 pid 0x083F
which is the correct identification of the scanner, so someone is doing something. But what?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Scanner/Printer Combo Unit - Scanner Works - Printer Does Not rrrssssss Linux - Hardware 1 03-04-2007 11:49 PM
Sane will NOT detect installed scanner! revdg Linux - Hardware 2 01-21-2005 06:04 PM
sane /dev/scanner? jeru Linux - Hardware 3 10-22-2004 10:28 PM
Help with SANE, parallel scanner sb73542 Linux - Software 0 07-31-2003 10:47 PM
Installing Scanner (SANE - PlusTek) seidren Linux - Hardware 2 06-11-2003 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration