LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   No module for scanner? (https://www.linuxquestions.org/questions/linux-hardware-18/no-module-for-scanner-342081/)

can3p 07-11-2005 04:40 AM

No module for scanner?
 
I have a usb scanner Epson Perfection 2480 PHOTO, it works perfectly at windows, but at Linux I have a problem.
As I understand,I need the scanner module to make device working properly. But in menuconfig I see only one thing related to scanners: "Driver for Microtek Scanmaker X6 USB scanner".
Is this a driver for all scanners, or where can I get normal driver?

solar1951 07-11-2005 08:43 AM

Have a look at the SANE website, your scanner is supported

http://www.sane-project.org/cgi-bin/...n+3480&bus=any

mdg 07-11-2005 11:29 AM

Module "scanner" only works with the 2.4 kernel. If you're using the 2.6 kernel, you need to set up your scanner with libusb (see here )

Have you already run "sane-find-scanner" to configure your scanner?

can3p 07-12-2005 01:15 AM

My scanner is supported, here is the output from sane-find-scanner
Code:

found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON Scanner]) at libusb:001:003
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

The backend for my scanner is snapscan. In /etc/sane.d/snapscan.conf I have found lines for my scanner. What should I do to make it working together? xscanimage still says that there is no scanner installed

mdg 07-12-2005 02:34 AM

In snapscan.conf make sure that the line under the name of your scanner is not commented out. It should be something like: usb 0x04b8 0x0121

Save the file and make it executable. No other files in /etc/sane.d should be executable, only snapscan.conf

Run scanimage -L and see if the scanner is recognized. (You may need to reboot before)

can3p 07-12-2005 06:59 AM

Quote:

Originally posted by mdg
In snapscan.conf make sure that the line under the name of your scanner is not commented out. It should be something like: usb 0x04b8 0x0121

Save the file and make it executable. No other files in /etc/sane.d should be executable, only snapscan.conf

Run scanimage -L and see if the scanner is recognized. (You may need to reboot before)

I made all as you say, but there is no effect.
As I can understand, my system sees the scanner but does nothing =\.
Here is the output from dmesg:
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: default language 0x0409
usb 1-1: Product: EPSON Scanner
usb 1-1: Manufacturer: EPSON
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
uhci_hcd 0000:00:11.2: port 2 portsc 01ab,00
hub 1-0:1.0: port 2, status 0301, change 0003, 1.5 Mb/s
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301

mdg 07-12-2005 08:18 AM

First, post the result of "lsmod" and "cat /proc/filesystems | grep usb".

Go to /proc/bus/usb. You should have two directories (amongst others) there, one called 001 and one called 003. Make all files in those directories readable and writable

can3p 07-13-2005 03:42 AM

Great thanks to you!
After I changed permissions in /proc/bus/usb it started to work.

Linuxquestions.org is the best site! Thanks again :)

mdg 07-13-2005 05:12 AM

Glad you got it working;)


All times are GMT -5. The time now is 04:26 AM.