LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-08-2018, 09:31 AM   #16
lecho
LQ Newbie
 
Registered: Jan 2013
Location: Warsaw, Poland
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled

The name is "conf",
Code:
-rwxr-xr-x 1 root root 7 Dec 17  2013 conf
This file appeared as a result of running a POSTIN script from
Code:
iscan-2.29.3-1.usb0.1.ltdl7.x86_64.rpm
(most probably, it was 4 years ago).
 
Old 03-08-2018, 09:47 AM   #17
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 468

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by lecho View Post
The name is "conf",
ok, I ran this
Code:
# echo epkowa > /etc/sane.d/dll.d/conf
I'm gonna turn off the computer and check later, and maybe look more closely
at the files in the RPM archive
 
Old 03-08-2018, 09:57 AM   #18
lecho
LQ Newbie
 
Registered: Jan 2013
Location: Warsaw, Poland
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
BTW, have you converted rpms using rpm2tgz or a similar program? I had problems 4 years ago because at that time I didn't know options "-S" or at least "-s" dealing with postinstallation scripts from rpm.
As fido_dogstoyevsky wrote in his post in this thread
Quote:
NOTE the txz files were converted from rpm files using rpm2txz -c -S -n -d
 
Old 03-08-2018, 01:28 PM   #19
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 468

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by lecho View Post
BTW, have you converted rpms using rpm2tgz or a similar program? I had problems 4 years ago because at that time I didn't know options "-S" or at least "-s" dealing with postinstallation scripts from rpm.
No, I did this
Code:
mkdir tmp; cd tmp
tar xf ../iscan-perfection-v370-bundle-1.0.1.x64.rpm.tar.gz
mv iscan-perfection-v370-bundle-1.0.1.x64.rpm/* .
rmdir iscan-perfection-v370-bundle
rm install.sh README.rst
for d in core data plugins
do
  mv $d/*.* .
  rmdir $d
done
mv *.rpm ..; cd ..; rmdir tmp
Then for each RPM I wrote a SlackBuild. In each SlackBuild I used this
Code:
rpm2cpio $CWD/$archive | \
     cpio -i --make-directories --no-absolute-filenames
I moved some files around ...

I just looked at the debian bundle archive.
It has some files that are not in the RPM.
For instance, it has this file
Code:
etc/sane.d/dll.d/iscan
that contains this
Code:
# iscan -- enables the SANE backend(s) required
# Any changes to this file will be lost when upgrading iscan.

epkowa

Last edited by vonbiber; 03-08-2018 at 01:29 PM. Reason: typo
 
Old 03-13-2018, 06:08 AM   #20
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 468

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by vonbiber View Post
But now I got another issue:
Code:
Makefile:388: recipe for target 'all-recursive' failed
make[2]: *** No rule to make target '../non-free/libesmod.so', needed by 'iscan'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Well, I've been able to figure out this one.
Now I can build iscan from source and it's a more
recent version than the one in the binary distribution.
I doubt this will fix the issue but I'll try to install this instead
and I'll make a recap of what I've done later.
 
Old 03-23-2018, 08:22 AM   #21
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 468

Original Poster
Rep: Reputation: 102Reputation: 102
I installed devuan (it's a fork of debian without systemd) as a VirtualBox guest
and installed the 3 deb packages, rebooted and it's working.
I noticed that in their iscan.rules they set the group ownership to scanner
Code:
ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"
and I didn't notice an entry in their libsane.rules for this product (014a)
whereas my slackware libsane.rules does have an entry for it but sets the group to lp
Also, when the scanner is plugged-in and turned on when I check the appropriate device
in /dev/bus/usb
in slackware it's set to root:lp
but in devuan it's set to root:root
Unfortunately I wasn't able to install the guest additions to devuan, so right
now there's no possibility of retrieving the scanned files through a shared folder.
So, I guess, until I'll figure out how to install to slackware, I'll email them or
post them in a web server

Last edited by vonbiber; 03-23-2018 at 08:22 AM. Reason: typo
 
Old 03-28-2018, 01:17 PM   #22
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 468

Original Poster
Rep: Reputation: 102Reputation: 102
I installed centos as a VBox guest. Now I can scan and retrieve the scanned files.
I don't know why it doesn't work in slackware. I pretty much set the same kind of configs
(/etc/sane.d/epkowa.conf /etc/sane.d/dll.conf and /var/lib/iscan/interpreter), the permissions
look ok (lp group).
I give up for the time being and use the centos guest when I need to scan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with scanner Epson perfection v370 Toutatis Slackware 6 11-20-2015 09:53 PM
[SOLVED] Epson Perfection 350 Scanner driver will not recognize the scanner Mikech Linux - Hardware 4 10-25-2012 12:09 PM
[SOLVED] Epson Perfection 1270 Scanner Lexus45 Linux - Hardware 2 09-04-2011 11:35 PM
epson perfection 3490 scanner mtb Linux - Hardware 2 11-16-2005 02:13 PM
epson perfection 636 scanner... vance Linux - Hardware 1 12-15-2002 11:15 AM

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

All times are GMT -5. The time now is 07:50 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration