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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-27-2004, 04:24 AM
|
#1
|
Member
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132
Rep:
|
SANE and SCANNERS help
hi
i have installed sane, sane backends and xsane. when i launch the command
sane-find-scanner
no sccanners are detected.
so i used the -v option and i have an output like this:
searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
...........
and the same for SCSI devices.
the fact is that none of the checked files are present on my computer inside /dev directory or /dev/usb.
how can i manage to create them? i have tried to search the kernel for "scanner" or usb options but none....
scanner (+printer) ---> EPSON STYLUS CX3200
kernel ---> 2.6.8
on Gentoo linux.
thanks
Matteo
|
|
|
09-27-2004, 08:32 AM
|
#2
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
Make sure you have usb file system (usbfs) support enabled in the kernel. The filesystem also needs to be mounted, best way to do that is in /etc/fstab. Add this line:
Code:
none /proc/bus/usb usbfs defaults 0 0
Also, check the output of "lsmod", it should show usbcore and a module for uhci and/or ehci, unless you built it into the kernel
All this is relevant for Slackware, things might be different in Gentoo.
|
|
|
09-27-2004, 12:54 PM
|
#3
|
Member
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132
Original Poster
Rep:
|
i hava already activated usbfs in my kernel and it does not appear in lsmod, maybe because i have compiled it static into the kernel.
i have also added that line in fstab and now the fs mounts at boot.
but the problem persists, i cant find any "/dev/usb/scanner*" or /dev/usbscanner*". the only thing that i can see is /dev/usb/lp0 maybe because being this a combo printer and scanner it is identified ad a generic "lp0"...so i have made a lymbolic link like
/dev/usb/scanner ---> /dev/usb/lp0
now sane finds a scanner, but it cant see the model, and i can neither use it...
have you got any other suggestions?
thanks for your help!
Matteo
|
|
|
09-27-2004, 01:34 PM
|
#4
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
Check in /var/log/dmesg for any reference that the kernel is loading usb drivers. For example, these are some of the lines I have at bootup:
Code:
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ehci_hcd 0000:00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 0000:00:02.2: irq 5, pci mem e18e1000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
usb 1-1: new high speed USB device using address 2
Does "scanimage -L" give any output?
|
|
|
09-27-2004, 02:15 PM
|
#5
|
Member
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132
Original Poster
Rep:
|
dmesg shows this:
-----------------------
ehci_hcd 0000:00:03.2: Silicon Integrated Systems [SiS] USB 2.0 Controller
ehci_hcd 0000:00:03.2: irq 11, pci mem e080d000
ehci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:03.2
ehci_hcd 0000:00:03.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 5 (level, low) -> IRQ 5
ohci_hcd 0000:00:03.0: Silicon Integrated Systems [SiS] USB 1.0 Controller
ohci_hcd 0000:00:03.0: irq 5, pci mem e080f000
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:00:03.1[B] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:03.1: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
ohci_hcd 0000:00:03.1: irq 10, pci mem e0811000
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
--------------------------------------
i dont know sincerly if this is a kernel or module-loading or something like that... i think the problem is a driver-problem...
when i used mkd10.0 the scanner were working perfectly!
Matteo
|
|
|
09-27-2004, 02:17 PM
|
#6
|
Member
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132
Original Poster
Rep:
|
ah ops i forgot:
scanimage -L:
---------------
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
---------------
sane-find-scanner -v:
---------------
searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking /dev/usbscanner11... failed to open (Invalid argument)
checking /dev/usbscanner12... failed to open (Invalid argument)
checking /dev/usbscanner13... failed to open (Invalid argument)
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)
# No USB scanners found. If you expected something different, make sure that
# you have loaded a driver for your USB host controller and have installed a
# kernel scanner module.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
-----------------------------------
Matteo
|
|
|
All times are GMT -5. The time now is 07:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|