Pomoc Skaner HP 1315

Status
Brak możliwości dodawania odpowiedzi.

softart

Passing Basics
Beginner
5 Marzec 2011
26
2
3
QNAP
Ethernet
100 Mbps
Czy da się uruchomić funkcję skanera w HP1315 podłączonej do QNAP 112
 
Hmmm hmmm

Trzeba sprawdzić czy w Optware jest 'sane'. Jeśli nie ma to zainstalować natywnego Debiana i na nim postawić sane.

Właściwie mogę napisać tutorial jak to zrobić. Ale będziesz musiał pomóc w testach ponieważ sam nie mam skanera, a więc ciężko będzie mi zweryfikować poprawne działanie aplikacji.Wcześniej sprawdź czy Twój skaner jest na liście kompatybilności: http://www.sane-project.org/sane-mfgs.html#SCANNERS
 
Kaktus melduje że jest we władaniu hp psc1315 oraz Photosmart C4580 - takie "mydelniczki" do drukowania i skanowania.
Jako ciekawostkę powiem, że Sane lepszej jakości skany robi niż fabryczne oprogramowanie HP. Do tego jeszcze jest cudowna funkcja odplamkowanie.Z tego co kojarzę żaden router soho z wbudowanym printserwerem na usb, nie miał wsparcia do tych modeli (PSC). Działały tylko "same" drukarki.
 
Na desktopie wystarczy zainstalować xsane, a na Qnap-ie to musi nasz Szanowny SysOp popracować aby dobrze działało, bo ja nawet nie wyobrażam sobie jak tego dokona, pewno będą jakieś jedne ustawienia na "sztywno", bez możliwości ingerencji użyszkodnika, a wynik skanu wyląduje w pliku.
 
kaktus to upewniam się, masz hp1315 podlaczone do qnapa i poprzez zainstalowany sane uzywasz skanera ?. Czy wystarczylo zainstalowac paczke sane poprzez ipkg czy trzeba byo instalowac debiana ? Mariusz moze twoj pomysl z gotowa paczka bedzie dobrym pomyslem i soro osob wykorzysta w pelni mozliwosci "kombajnow" podlaczonych do qnapa
 
No i próbowałem zainstalować :) początki z problemami

Kod:
[~] # ipkg install sane-backends
Package sane-backends (1.0.22-1) installed in root is up to date.
Configuring sane-backends

sane-backends has been installed. To finish the installation, you should consider installing
either xinetd or inetd to make sane-backend running.
For inetd, add the following to /opt/etc/inetd.conf:
        sane-port  stream  tcp  nowait  admin.administrators  /opt/sbin/saned saned
For xinetd, create a /opt/etc/xinetd.d/saned file like:
service saned
{
        socket_type = stream
        server = /opt/sbin/saned
        protocol = tcp
//opt/lib/ipkg/info/sane-backends.postinst: line 65: /opt/etc/xinetd.d/saned: No such file or directory
//opt/lib/ipkg/info/sane-backends.postinst: line 66: /opt/etc/xinetd.d/saned: No such file or directory
//opt/lib/ipkg/info/sane-backends.postinst: line 67: /opt/etc/xinetd.d/saned: No such file or directory
postinst script returned status 1
ERROR: sane-backends.postinst returned 1
Nothing to be done
Successfully terminated.

stworzyłem katalog
Kod:
mkdir /opt/etc/xinetd.d

Instalacja poszła i skończyła poprawnie wg mnie

Kod:
[~] # ipkg install sane-backends
Package sane-backends (1.0.22-1) installed in root is up to date.
Configuring sane-backends

sane-backends has been installed. To finish the installation, you should consider installing
either xinetd or inetd to make sane-backend running.
For inetd, add the following to /opt/etc/inetd.conf:
        sane-port  stream  tcp  nowait  admin.administrators  /opt/sbin/saned saned
For xinetd, create a /opt/etc/xinetd.d/saned file like:
service saned
{
        socket_type = stream
        server = /opt/sbin/saned
        protocol = tcp
Successfully terminated.

testuje
Kod:
[~] # sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0 [hp], product=0x3f11 [psc 1310 series ]) at lib
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.
  # Not checking for parallel port scanners.
  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
[~] # scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

co dalej ???????????????????????
 
No i próbowałem zainstalować :) początki z problemami

Kod:
[~] # ipkg install sane-backends
Package sane-backends (1.0.22-1) installed in root is up to date.
Configuring sane-backends

sane-backends has been installed. To finish the installation, you should consider installing
either xinetd or inetd to make sane-backend running.
For inetd, add the following to /opt/etc/inetd.conf:
        sane-port  stream  tcp  nowait  admin.administrators  /opt/sbin/saned saned
For xinetd, create a /opt/etc/xinetd.d/saned file like:
service saned
{
        socket_type = stream
        server = /opt/sbin/saned
        protocol = tcp
//opt/lib/ipkg/info/sane-backends.postinst: line 65: /opt/etc/xinetd.d/saned: No such file or directory
//opt/lib/ipkg/info/sane-backends.postinst: line 66: /opt/etc/xinetd.d/saned: No such file or directory
//opt/lib/ipkg/info/sane-backends.postinst: line 67: /opt/etc/xinetd.d/saned: No such file or directory
postinst script returned status 1
ERROR: sane-backends.postinst returned 1
Nothing to be done
Successfully terminated.

stworzyłem katalog
Kod:
mkdir /opt/etc/xinetd.d

Instalacja poszła i skończyła poprawnie wg mnie

Kod:
[~] # ipkg install sane-backends
Package sane-backends (1.0.22-1) installed in root is up to date.
Configuring sane-backends

sane-backends has been installed. To finish the installation, you should consider installing
either xinetd or inetd to make sane-backend running.
For inetd, add the following to /opt/etc/inetd.conf:
        sane-port  stream  tcp  nowait  admin.administrators  /opt/sbin/saned saned
For xinetd, create a /opt/etc/xinetd.d/saned file like:
service saned
{
        socket_type = stream
        server = /opt/sbin/saned
        protocol = tcp
Successfully terminated.

testuje
Kod:
[~] # sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0 [hp], product=0x3f11 [psc 1310 series ]) at lib
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.
  # Not checking for parallel port scanners.
  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
[~] # scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

co dalej ???????????????????????

To jeszcze trzeba bylo zrobic a nie folder.

Kod:
ipkg install xinetd
Installing xinetd (2.3.14-11) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ts509/cross/unstable/xinetd_2.3.14-11_i686.ipk
Configuring sane-backends

sane-backends has been installed. To finish the installation, you should consider installing
either xinetd or inetd to make sane-backend running.

For inetd, add the following to /opt/etc/inetd.conf:
  sane-port  stream  tcp  nowait  admin.administrators  /opt/sbin/saned saned

For xinetd, create a /opt/etc/xinetd.d/saned file like:
service saned
{
  socket_type = stream
  server = /opt/sbin/saned
  protocol = tcp
Configuring xinetd
Warning: the current only_from configuration in /opt/etc/xinetd.conf is
  only_from  = localhost 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
change to your subnet accordingly and tighten security!
 
Status
Brak możliwości dodawania odpowiedzi.