[PLUG] usb scanners and linux
Kyle Accardi
sandbox at pacifier.com
Thu May 30 07:05:42 UTC 2002
Figured out the missing piece was to supply vendor and model to the modprobe
command ie,
modprobe scanner vendor=0x04b8 product=0x0110
I had been under the assumption that scanner.o would magically know what
scanner was attached.
Andrew, did you get your setup working? If you really need the new
scanner.c and scanner.h files you mentioned, they replace those of the same
names in your kernel source tree (drivers/usb/). Of course, you'll need to
recompile your kernel. Well, since you only need the scanner.o module, I
think you might be able to get away with
make oldconfig && make modules && make modules_install
But perhaps not, if you're using RH's OEM kernel-source rpm you might have
to start from the beginning.
--
Cheers,
Kyle Accardi
Kyle Accardi wrote:
> I'm in the same boat. Got an Epson Perfection 1650. Kernel says:
>
> kernel: usb.c: USB device 33 (vend/prod 0x4b8/0x110) is not claimed by
> any active driver.
> kernel: scanner.c: open_scanner(0): Unable to access minor data
> modprobe: modprobe: Can't locate module char-major-81
>
> Dunno why it's looking for video4linux (char) or an I2O harddisk (block).
>
> /proc/bus/usb/devices indicates an Epson scanner.
>
> Modules `scanner` and `usbcore` are loaded.
>
> usbdevfs is mounted.
>
> /dev/usbscanner -> /dev/usbscanner0
>
>
> Setting the debug envars as per docs and running
>
> $ scanimage -d epson:/dev/usbscanner >t.pnm
>
> yields, in part,
>
> [epson] SANE Epson Backend v0.2.08 - 2001-06-09
> [epson] attach(usb /dev/usbscanner0)
> [epson] attach: opening usb /dev/usbscanner0
> [epson] sane_start: /dev/usbscanner0 open (USB) failed: No such device
> [dll] init: backend `epson' is version 1.0.208
> [epson] sane_open(/dev/usbscanner)
> [epson] SANE Epson Backend v0.2.08 - 2001-06-09
> [epson] attach(/dev/usbscanner)
> [epson] attach: opening /dev/usbscanner
> [epson] attach: open failed: Invalid argument
> scanimage: open of device epson:/dev/usbscanner failed: Invalid argument
>
>
>
> I think SANE is for Scanner Access Not Easy
>
> --
> Kyle Accardi
>
>
>
>
> Andrew Puch wrote:
>
>> On Mon, 2002-05-27 at 09:12, Dave Phillips wrote:
>>
>>> I have a usb scanner I have been trying to get to work. It is a
>>> visioneer 6100. I have read the docs, and visited linux-usb etc and
>>> I am sooo close. I am running RH7.3
>>>
>>> 1. I have a new scanner.c & scanner.h file I downloaded that supports
>>> my scanner(where do these go?)
>>>
>>> 2. I have inserted the scanner module with my vendor and product ID
>>>
>>> 3. usbview shows the scanner attached, kernelcfg show the module is
>>> loaded
>>>
>>> Xsane still doesn't recognize it, any help on my next move would be
>>> greatly appriciated
>>
>>
>>
>> I went there the same thing with my microtek usb C6
>> make sure that you have mounted the usbfile system
>>
>> mount -t usbdevfs /proc/bus/usb
>> then you should be going with gas.
More information about the PLUG
mailing list