0
:

 

 

Ricoh SP 150SU

  
: 1
Linux Mint 18.2 KDE x64

Ricoh SP 150SU.
: .
. .
Scanner Driver ( Ubuntu 12.04 LTS - , ).

r75389L2.gz

. README.txt c :

install.sh
PHP:
  1. ./install.sh
/etc/sane.d/dll.conf "alto"
/lib/udev/rules.d .

"SANE package".
, SANE package, - :
PHP:
  1. sudo apt-get install sane sane-utils libsane-extras
libusb.so.
libusb-dev :
PHP:
  1. # sudo apt-get update
  2. # sudo apt-get install libusb-dev
:
PHP:
  1. # sane-find-scanner
  2. # scanimage -L
sudo, :

PHP:
  1. No scanners were identified. If you were expecting something different,
  2. check that the scanner is plugged in, turned on and detected by the
  3. sane-find-scanner tool (if appropriate). Please read the documentation
  4. which came with this software (README, FAQ, manpages).
! , , .
!

P.S. SANE ( ), , , Sane ( , , , , ). Ricoh SP 150SU . , . , , Linux Scanner Driver? .
: 1 (: 23 2017 19:56)
: 1
install.sh:

################################################################################
# install
install()
{
src=""
dst=""

if [ $arch == "x86_64" ]; then
src="./64bit/"
else
src="./32bit/"
fi

if [ -d "/usr/lib/sane" ]; then
dst="/usr/lib/sane/"
copy_file $src $dst
fi

if [ -d "/usr/local/lib/sane" ]; then
dst="/usr/local/lib/sane/"
copy_file $src $dst
fi

if [ -d "/usr/lib64/sane/" ]; then
dst="/usr/lib64/sane/"
copy_file $src $dst
fi

if [ -d "/usr/lib/x86_64-linux-gnu/sane/" ]; then
dst="/usr/lib/x86_64-linux-gnu/sane/"
copy_file $src $dst
fi


, .
 
|
:
, .