LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-11-2004, 07:34 AM   #1
Dargason
LQ Newbie
 
Registered: Jul 2004
Location: Leuven, Belgium
Distribution: Mandrake 10, LFS 5.1.1, Debian
Posts: 29

Rep: Reputation: 15
Trouble installing Epson LiDE 30 scanner


All,

Greetings! I'm new to linux, having installed Mandrake 10 last weekend. This weekend I've been trying to get my scanner to work.

The scanner is an Epson LiDE 30 scanner, which according to other posts here should work "out of the box." Unfortunately, that hasn't been my experience -- instead the Mandrake Control Center cannot tells me that no scanners are connected. I've tried lots of things to troubleshoot this, so here goes.

Running "sane-find-scanner -v" as root gives me a whole bunch of:

checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
.
.
.
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)

Running lsmod tells me that I have 3 USB modules:

ehci-hcd 24196 0
ohci-hcd 18692 0
usbcore 99132 5 hid,ehci-hcd,ohci-hcd

And my /proc/bus/usb/devices file indicates 3 devices: an EHCI Host Controller and two OHCI Host controllers. As far as I can tell, the USB ports work fine -- I even tried a USB mouse and it worked without problems.

Mandrake 10 runs on a 2.6.3 kernel (at least this one is), which from what I've read does not require a "scanner kernal module" to be installed.

I tried booting up a Knoppix Live CD, and it recognized the scanner, so I think the scanner is functioning properly. Unfortunately, the knoppix CD doesn't have sane, so I couldn't do much.

I googled for information, but pretty much everything out there assumes that the scanner is detected by sane-find-scanner and goes on from there.

Other relevant(?) info:
libsane1-1.0.13-6mdk
sane-backends-1.0.13-6mdk
saned-1.0.13-6mdk
libusb0.1_4-0.1.7-1mdk
libusb0.1_4-devel-0.1.7-1mdk

What else should I try? What am I missing here?

Thanks!
Mike

Last edited by Dargason; 07-11-2004 at 07:35 AM.
 
Old 07-11-2004, 08:41 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
When you did lsmod, did you see a module called "scanner"? It should be there along with usbcore and ehci/ohci. If not, try loading it with "modprobe scanner". Then detect the scanner again
 
Old 07-11-2004, 09:27 AM   #3
Dargason
LQ Newbie
 
Registered: Jul 2004
Location: Leuven, Belgium
Distribution: Mandrake 10, LFS 5.1.1, Debian
Posts: 29

Original Poster
Rep: Reputation: 15
No, there's no module named 'scanner'. And when I try to do "modprobe scanner" I get:

FATAL: Module scanner not found.

Should I just re-install?
 
Old 07-11-2004, 09:40 AM   #4
Dargason
LQ Newbie
 
Registered: Jul 2004
Location: Leuven, Belgium
Distribution: Mandrake 10, LFS 5.1.1, Debian
Posts: 29

Original Poster
Rep: Reputation: 15
Ok, some more info

I used dmesg to view the startup messages, and pruned out the ones that didn't seem relevant. Here's the result:

drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: irq 11, pci mem e1805000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd 0000:00:02.1: OHCI Host Controller
ohci_hcd 0000:00:02.1: irq 5, pci mem e180c000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ehci_hcd 0000:00:02.2: EHCI Host Controller
ehci_hcd 0000:00:02.2: irq 10, pci mem e1834000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
hub 3-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
hub 3-0:1.0: over-current change on port 1
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
hub 3-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?
hub 3-0:1.0: over-current change on port 2
hub 3-0:1.0: Cannot enable port 3. Maybe the USB cable is bad?
hub 3-0:1.0: over-current change on port 3
hub 3-0:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 3-0:1.0: over-current change on port 4
hub 3-0:1.0: Cannot enable port 5. Maybe the USB cable is bad?
hub 3-0:1.0: over-current change on port 5
hub 3-0:1.0: Cannot enable port 6. Maybe the USB cable is bad?
hub 3-0:1.0: over-current change on port 6

For some reason, it cannot enable my USB ports, claiming an "over-current" change and offers the USB cable as a cause. However, it's worth pointing out that I have NOTHING attached to my USB bus at the moment. (I disconnected the scanner before booting to check).
 
Old 07-11-2004, 10:08 AM   #5
Dargason
LQ Newbie
 
Registered: Jul 2004
Location: Leuven, Belgium
Distribution: Mandrake 10, LFS 5.1.1, Debian
Posts: 29

Original Poster
Rep: Reputation: 15
Success!

I noticed that it was only hub 3 that was generating the "over current" errors, which made me think it was related to a specific USB port -- in this case I suspected the USB ports on the front of the box because those were the ones I connected by hand when I built the PC.

I unplugged those wires from the motherboard, rebooted, and viola! The sane-find-scanner function locates the scanner, and everything seems happy. Now I just need to figure out how to optimize the configuration -- scanning is slower than it was with windows. But at least now it works!

Thanks for your help!
Mike
 
  


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
Canon LiDE 20 scanner problems pjcvdpol Linux - Hardware 0 02-03-2005 04:44 AM
New Lide 35 scanner from Canon OldSarge Linux - Hardware 3 01-11-2005 06:30 PM
epson usb scanner kafnir Linux - Hardware 15 04-14-2003 02:11 PM
epson scanner kafnir Linux - Hardware 1 12-10-2002 09:08 PM
epson scanner problem kafnir Linux - General 4 12-09-2002 07:47 PM


All times are GMT -5. The time now is 10:30 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