[sane-devel] Re: (Mis)Configuring 0x04b8:0x010c [Epson 640U]

Adam Bogacki afb@paradise.net.nz
Mon, 30 Aug 2004 15:03:31 +1200


Hmm ... no joy. See below.

>  USB scanner:
> # There are two different methods of configuring a USB scanner: libusb 
> and the kernel module
> # For any system with libusb support (which is pretty much any recent 
> Linux distribution) the
> # following line is sufficient. This however assumes that the 
> connected scanner (or to be more
> # accurate, it's device ID) is known to the backend.
> #usb 0x04b8 0x010c
> # For libusb support for unknown scanners use the following command
> # usb <product ID> <device ID>
> # e.g.:
>  usb 0x4b8 0x110
> # And for the scanner module, use the following configuration:
> #usb /dev/usbscanner0
> #usb /dev/usb/scanner0

and

> adam@Tux:~$ iscan
> iscan: error while loading shared libraries: libesmod.so.1: cannot 
> open shared object file: No such file or directory

 'sane-find-scanner' tells me

>  # 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.

and I've donne the Epkowa thing as root ...

> Not all distributions are created equal and one of the places that may 
> show is in the USB scanner devices provided. Should these be missing 
> on your system, you need to add these yourself. The information on how 
> to do this is buried somewhere in the Linux kernel documentation, so 
> we figured we dig it up for you. Here it is. Note that this only 
> applies to USB scanner devices for kernels that do not use the device 
> file system, a.k.a. devfs.
>
> First of all, you need to check what device name to use. This is 
> specified in /etc/sane.d/epson.conf and most likely is set to 
> /dev/usb/scanner0. I will use that in the remainder, adjust if 
> necessary. The USB scanner devices are allotted major 180 and minors 
> from 48 to 63, so you can use up to 16 USB scanners with your system. 
> Scanner users will need read and write access to the device. Device 
> nodes are made with the mknod and usually requires root permissions.
>
> If that was all Greek to you, don't worry, here are the commands to 
> add a working /dev/usb/scanner0:
>
> # mknod /dev/usb/scanner0 c 180 48
> # chmod 0666 /dev/usb/scanner0
>
> The c up there indicates that a scanner is a character device, in case 
> you care.

 Any ideas folks ? It must be something simple.

Adam Bogacki,
afb@paradise.net.nz





Olaf Meeuwissen wrote:

>Adam Bogacki <afb@paradise.net.nz> writes:
>
>  
>
>>Thanks Olaf.
>>
>>I'm trying to get my Epson Perfection 640U configured without success -
>>'sane-find-scanne'r and 'xsane' tell me "no devices available".
>>/usr/lib/sane/dll.conf contains 'net' followed by '0x04b8:0x010c' and
>>    
>>
>
>You don't need anything after the net entry in dll.conf.
>
>  
>
>>/etc/sane.d/epson.conf contains the line 'usb 0x04b8:0x010c' followed
>>    
>>
>
>Replace the colon with a space: usb 0x04b8 0x010c
>
>  
>
>>by ' usb /dev/usb/scanner0'
>> ... but after reboot nothing ... and no response at #irc on FreeNode.
>>
>>What am I missing here ?
>>
>>Adam Bogacki,
>>afb@paradise.net.nz
>>
>>Olaf Meeuwissen wrote:
>>
>>    
>>
>>>Adam Bogacki <afb@paradise.net.nz> writes:
>>>
>>>
>>>
>>>      
>>>
>>>>Thanks - where does one download  < iscan-1.10.0-3.tar.gz >  from ?
>>>>Google gave one hit by that name.
>>>>
>>>>
>>>>        
>>>>
>>>>From http://www.epkowa.co.jp/english/linux_e/index.html.
>>># Apologies for the questionnaire :-(
>>>
>>>
>>>
>>>      
>>>
>>>>At the moment sane & xsane are not recognising my Epson 640U and I'm
>>>>reading the 'man' files.
>>>>
>>>>
>>>>        
>>>>
>>>
>>>      
>>>
>
>  
>