[sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-19 Thread andreo73
Hi,
I'm trying to get a ix500 work on my pc with ubuntu 14.04 freshly installed;
the scanner is attached through usb cable to a usb2 port (my pc has only
usb2 ports)

when the usb cable is first connected (or the scanner is switched on), dmesg
reports

 usb 2-6: new high-speed USB device number 6 using ehci-pci
 usb 2-6: New USB device found, idVendor=04c5, idProduct=132b
 usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
 usb 2-6: Product: ScanSnap iX500
 usb 2-6: Manufacturer: Fujitsu

the backend is installed from the debian libsane package (version number
1.0.23-3ubuntu3)

I've modified the fujitsu.conf file appending at the end

#ScanSnap iX500
usb 0x04c5 0x132b

I've also modified /etc/default/saned to have RUN=yes  and restarted with
sudo service saned restart 
(the service starts with no errors)

sane-find-scanner *does not* find anything, even with sudo

sudo scanimage -L remains silend for almost a minute, during which the
scanner's blue light change status, becomes half/orange and flashing ; after
a minute or more, the response is No scanners were identified. 

any suggestion? where to start?

thanks!!




--
View this message in context: 
http://sane.10972.n7.nabble.com/fujitus-scansnap-ix500-not-found-by-sane-find-scanner-tp18666.html
Sent from the SANE - Dev mailing list archive at Nabble.com.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
Dear allan, thanks for the quick reply

following your advice, I've installed 1.0.24 (after installing libusb-dev
package, I've followed standard procedure: ./configure, make and sudo make
install, now executables are under /usr/local/bin )

now sane-find-scanner works

 /usr/local/bin/sane-find-scanner

found USB scanner (vendor=0x04c5, product=0x132b) at libusb:002:007

-

and with sudo it works even better:

 sudo /usr/local/bin/sane-find-scanner

found USB scanner (vendor=0x04c5 [Fujitsu], product=0x132b [ScanSnap iX500])
at libusb:002:007

however sadly

 sudo /usr/local/bin/scanimage -L

No scanners were identified. If you  (etc. etc.)

again the scanner remains stuck with a yellow flashing half-light

any suggestion? I am concerned about the message received when the scanner
is powered on (from dmesg):

usb 2-6: new high-speed USB device number 7 using ehci-pci

is it normal ehci-pci?? 

any help is really welcome

thanks

 Andrea






--
View this message in context: 
http://sane.10972.n7.nabble.com/fujitus-scansnap-ix500-not-found-by-sane-find-scanner-tp18666p18675.html
Sent from the SANE - Dev mailing list archive at Nabble.com.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
ouch! you're so right

 SANE_DEBUG_FUJITSU=5 scanimage -L

[sanei_debug] Setting debug level of fujitsu to 5.
[fujitsu] sane_init: fujitsu backend 1.0.111, from sane-backends 1.0.23
[fujitsu] sane_get_devices: config option buffer-size (262144) is  65536,
warning!


I don't understand, how can it be? did it link to the wrong libraries during
compilation? how can I get the correct link? 





--
View this message in context: 
http://sane.10972.n7.nabble.com/fujitus-scansnap-ix500-not-found-by-sane-find-scanner-tp18666p18678.html
Sent from the SANE - Dev mailing list archive at Nabble.com.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
Thanks!! Before changing /etc/ld.so.conf I try simplest methods, e.g. 

1) change name of /usr/lib/sane to /usr/lib/sane_OLDVERSION hoping that it
is sufficient to remove them from dynamical linking, but it did'nt work
(wonder why...)

2) prepend LD_LIBRARY_PATH=/usr/local/lib to the executable; this worked but
only with sudo

 LD_LIBRARY_PATH=/usr/local/lib SANE_DEBUG_FUJITSU=5 scanimage -L

[sanei_debug] Setting debug level of fujitsu to 5.
[fujitsu] sane_init: fujitsu backend 1.0.117, from sane-backends 1.0.24
[fujitsu] sane_get_devices: config option buffer-size (262144) is  65536,
warning!
[fujitsu] connect_fd: could not open device: 11

No scanners were identified. (etc.)

or otherwise with sudo:

 sudo LD_LIBRARY_PATH=/usr/local/lib SANE_DEBUG_FUJITSU=5 scanimage -L

[sanei_debug] Setting debug level of fujitsu to 5.
[fujitsu] sane_init: fujitsu backend 1.0.117, from sane-backends 1.0.24
[fujitsu] sane_get_devices: config option buffer-size (262144) is  65536,
warning!
device `fujitsu:ScanSnap iX500:55189' is a FUJITSU ScanSnap iX500 scanner



in conclusion now with

 sudo LD_LIBRARY_PATH=/usr/local/lib simple-scan 

I can get pages scanned!!

Hints (or reference) on how to fix the permission problem?

thanks a lot for the fast and precise help

Andrea




--
View this message in context: 
http://sane.10972.n7.nabble.com/fujitus-scansnap-ix500-not-found-by-sane-find-scanner-tp18666p18680.html
Sent from the SANE - Dev mailing list archive at Nabble.com.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
Ok, for the record (maybe useful for other people), in ubuntu udev is
controlling usb devices mounting

I've created the new file

/etc/udev/rules.d/40_fujitsu_scanner.rules

which contains the line

SUBSYSTEM==usb, ENV{DEVTYPE}==usb_device, ATTR{idVendor}==04c5,
ATTR{idProduct}==132b, MODE:=666

and now, whenever I switch on the scanner, the device is created with the
right permissions, no more need of sudo

thanks again

 Andrea



--
View this message in context: 
http://sane.10972.n7.nabble.com/fujitus-scansnap-ix500-not-found-by-sane-find-scanner-tp18666p18682.html
Sent from the SANE - Dev mailing list archive at Nabble.com.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org