LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-02-2015, 12:57 PM   #1
1ac0
LQ Newbie
 
Registered: Feb 2015
Posts: 6

Rep: Reputation: Disabled
epson ds-30


Hi folks,

I have Slackware 14.1 x86_64 (on IBM X301) and now I would like to use Epson DS-30 scanner. I have downloaded iscan and iscan-data x86_64 slackware packages from here:
http://www.giustetti.net/wiki/index....Slackware_14.0
and libgphoto2 from here:
http://slackbuilds.org/mirror/slackw.../l/libgphoto2/

When I try to start iscan, error occurs:
$> iscan
iscan: error while loading shared libraries: libgphoto2.so.2: cannot open shared object file: No such file or directory

Does someone know what I do wrong?

Thanks
 
Old 08-02-2015, 08:57 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
There're two Slackbuilds for iscan. Perhaps the READMEs in them will help you.

I have not way of testing them and, too tell the truth, I'm too lazy to download them and read the READMEs tonight.

Last edited by frankbell; 08-02-2015 at 08:58 PM.
 
Old 08-03-2015, 07:44 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I have packages for Slackware 14.1 x86_64;

iscan: http://www.slackware.com/~alien/slackbuilds/iscan/
iscan-data: http://www.slackware.com/~alien/slackbuilds/iscan-data/
and if you want to try scanning over the network, additionally you need iscan-network-nt: http://www.slackware.com/~alien/slac...an-network-nt/

I do not use iscan directly for scanning, rather I use the iscan "epkowa" backend for sane so that I can use the Gimp to acquire images from the scanner.
 
Old 08-03-2015, 07:54 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by 1ac0 View Post
I have downloaded iscan and iscan-data x86_64 slackware packages from here:
http://www.giustetti.net/wiki/index.php?title=Iscan_and_Slackware_14.0
and libgphoto2 from here:
http://slackbuilds.org/mirror/slackware/slackware-14.1/source/l/libgphoto2/
You installed iscan packages for Slackware 14.0 and libgphoto2 for Slackware 14.1 and now have library mismatches. The iscan builds were probably based on an older version of libgphoto2 and since you built a newer one, the iscan libraries complain.

Alien Bob (aka Eric Hameleers) has created an iscan package that seems to not require libgphoto2, however, it does have two dependencies, iscan-data and iscan-network-nt. Uninstall iscan and iscan-data and then try installing these.

It's a good idea to try and stay away from packages that were built for previous versions of Slackware as you can run into a lot of dependency mismatched errors. And Eric is awesome with his amount of packages (he is part of the Slackware development team, so his packages are some of the best -- and he provides slackbuilds if you want to build them yourself), so it's always a good idea to check and see if he has a package available.

EDIT: And Eric beat me to it

Last edited by bassmadrigal; 08-03-2015 at 07:54 AM. Reason: Too slow...
 
Old 08-03-2015, 02:42 PM   #5
1ac0
LQ Newbie
 
Registered: Feb 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
I have packages for Slackware 14.1 x86_64;
iscan: http://www.slackware.com/~alien/slackbuilds/iscan/
iscan-data: http://www.slackware.com/~alien/slackbuilds/iscan-data/
and if you want to try scanning over the network, additionally you need iscan-network-nt: http://www.slackware.com/~alien/slac...an-network-nt/
Many thanks, I have installed it and it looks like it's installed correctly.

Now I have (unrelevant output stripped):
root@x301:~# sane-find-scanner
found USB scanner (vendor=0x04b8 [Seiko Epson Corp. ], product=0x0147 [EPSON DS-30 ]) at libusb:004:005

in dmesg:
[ 2886.401163] usb 4-1: new high-speed USB device number 5 using ehci-pci
[ 2886.530409] usb 4-1: New USB device found, idVendor=04b8, idProduct=0147
[ 2886.530419] usb 4-1: New USB device strings: Mfr=10, Product=11, SerialNumber=12
[ 2886.530426] usb 4-1: Product: EPSON DS-30
[ 2886.530431] usb 4-1: Manufacturer: Seiko Epson Corp.
[ 2886.530436] usb 4-1: SerialNumber: Q5FZ011327

But when I run iscan:
1ac0@x301:~# iscan

message "Could not send command to scanner. Check the scanner's status." appear

Not know how to continue to do my scanner to work.

Does someone have an idea? Thanks
 
Old 08-03-2015, 07:20 PM   #6
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
You ran sane-find-scanner as root, and then iscan as a non-root user, right? If so you might have a permissions problem on the USB device file for the scanner.

Quick way to check: run sane-find-scanner as your non-root user. If it works as root and not otherwise, you have a permissions problem in the device file.

Use 'lsusb' to find the scanner's current USB Bus and Device number, for example "Bus 004 Device 001".

Then look at the permissions on /dev/bus/usb/BBB/DDD where BBB=bus number, DDD=device number. It should be set to group 'scanner' or 'lp' (depending on the Slackware setup), with group read and write. And your user ID should be in that group.

If the owner/permissions are wrong, you need a udev rule to set it up.
 
Old 08-04-2015, 04:19 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by ljb643 View Post
You ran sane-find-scanner as root, and then iscan as a non-root user, right? If so you might have a permissions problem on the USB device file for the scanner.

Quick way to check: run sane-find-scanner as your non-root user. If it works as root and not otherwise, you have a permissions problem in the device file.

Use 'lsusb' to find the scanner's current USB Bus and Device number, for example "Bus 004 Device 001".

Then look at the permissions on /dev/bus/usb/BBB/DDD where BBB=bus number, DDD=device number. It should be set to group 'scanner' or 'lp' (depending on the Slackware setup), with group read and write. And your user ID should be in that group.

If the owner/permissions are wrong, you need a udev rule to set it up.
Your user account must of course be a member of the "scanner" group. I had assumed the OP was aware of that, but that assumption may have been incorrect.
 
Old 08-04-2015, 07:41 AM   #8
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Your user account must of course be a member of the "scanner" group...
The reason I said 'scanner or lp', was - didn't that get changed in Slackware 14.0, to put scanners into the 'lp' group? In order to better support multi-function devices? (I still use 'scanner' but I think it did change.)
 
Old 08-04-2015, 07:49 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by ljb643 View Post
The reason I said 'scanner or lp', was - didn't that get changed in Slackware 14.0, to put scanners into the 'lp' group? In order to better support multi-function devices? (I still use 'scanner' but I think it did change.)
You are right of course: the user account needs to be in group "lp" (for good measure you can still put/kep it in "scanner" group as well but that should not be required). See http://taper.alienbase.nl/mirrors/sl..._AND_HINTS.TXT
 
Old 08-05-2015, 01:11 AM   #10
1ac0
LQ Newbie
 
Registered: Feb 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ljb643 View Post
You ran sane-find-scanner as root, and then iscan as a non-root user, right? If so you might have a permissions problem on the USB device file for the scanner.

Quick way to check: run sane-find-scanner as your non-root user. If it works as root and not otherwise, you have a permissions problem in the device file.

Use 'lsusb' to find the scanner's current USB Bus and Device number, for example "Bus 004 Device 001".

Then look at the permissions on /dev/bus/usb/BBB/DDD where BBB=bus number, DDD=device number. It should be set to group 'scanner' or 'lp' (depending on the Slackware setup), with group read and write. And your user ID should be in that group.

If the owner/permissions are wrong, you need a udev rule to set it up.
I have added my user into 'lp' group and 'scanner' group:
1ac0@x301:/dev/bus/usb/002 $> cat /etc/group | grep 1ac0
lp:x:7:lp,1ac0
scanner:x:93:1ac0
1ac0:x:1000:

and permissions for scanner (on current bus number) is:
1ac0@x301:/dev/bus/usb/002 $> ls -la 002
crw-rw-r-- 1 root lp 189, 129 Aug 5 08:01 002

Now I can run 'sane-find-scaneer' under normal account (unrellevant output stripped):
1ac0@x301:/dev/bus/usb/002 $> sane-find-scanner
found USB scanner (vendor=0x04b8 [Seiko Epson Corp. ], product=0x0147 [EPSON DS-30 ]) at libusb:002:002

But when I run iscan, result is same 'Could not send command to scanner. Check the scanner's status.'

At the moment I'm missed what to do next. Checking USB kernel modules? Something else? Maybe problem that scanner is not in power on mode?

Last edited by 1ac0; 08-05-2015 at 01:19 AM.
 
Old 08-05-2015, 06:36 PM   #11
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
I looked at the source, and unfortunately that error message is a catch-all for many things that can go wrong when the scanner is first opened and commands are sent.

However, in the iscan-data package that goes with iscan, I see the following note in the SUPPORTED-DEVICES file:
Quote:
- DS-30 (requires iscan-plugin-ds-30)
So it looks like your DS-30 scanner requires an additional package, called "iscan plugin package" on Epson's download site, listed for the DS-30. I don't think Alien Bob has this on his site, so you will have to get it from Epson and figure how to install it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Epson L120 Doesn't Print with Error: "/opt/epson-inkjet-printer-201310w/cups/lib/filt malekmustaq Linux - Newbie 3 09-08-2014 02:43 PM
Epson Scanner wilbyforce Linux - Software 1 09-01-2009 02:57 AM
epson dx3800 mtb Linux - Hardware 5 01-27-2006 04:45 PM
Epson C66 doesn't work with Epson drivers (print/pips-sc65_66s port) josealexandre Linux - Hardware 1 06-26-2005 11:51 AM
Epson C-45 ionmich Slackware 3 05-15-2005 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration