Epson Perfection 1670 scanner non funzionante su F17

Buonasera a tutti, ho un vecchio scanner Epson Perfection 1670 che, nonostante gli anni e l’uso, non m’ha mai dato il minimo problema ma non riesco ad installarlo sulla mia F17; googlando qui e lì m’è parso di capire che il driver ci sia, in realtà, ma manchi il firmware: qualcuno mi potrebbe dire cosa fare, per favore?

Vi ringrazio anticipatamente. :slight_smile:

il @1670 e’ supportato da sane senza problemi, non cosi se e’ un photo. Ma lusb cosa dice?
?

pinco@pinco-laptop-lan:~$ lsusb | grep 1670
Bus 002 Device 008: ID 04b8:011f Seiko Epson Corp. Perfection 1670

Non mi pare proprio sia un photo: sullo scanner c’è scritto “Epson Perfection 1670”

possiamo vedere da root:

[code]# scanimage -L

sane-find-scanner[/code]

ed anche da utente:

$ scanimage -L $ sane-find-scanner

Da root:

[root@pinco-laptop-lan pinco]# scanimage -L
[1device `v4l:/dev/video0' is a Noname HP Webcam virtual device
device `snapscan:libusb:002:005' is a EPSON EPSON Scanner flatbed scanner
(arg: 1) 
[root@pinco-laptop-lan pinco]# 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=0x04b8, product=0x011f) at libusb:002:005
found USB scanner (vendor=0x07ca [AVerMedia], product=0xa309 [A309]) at libusb:002:004
  # 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.
[root@pinco-laptop-lan pinco]#

Ecco ora l’output degli stessi comandi dati come utente normale:

pinco@pinco-laptop-lan:~$ scanimage -L
device `v4l:/dev/video0' is a Noname HP Webcam virtual device
pinco@pinco-laptop-lan:~$ 
pinco@pinco-laptop-lan:~$ 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=0x04b8, product=0x011f) at libusb:002:005
found USB scanner (vendor=0x07ca, product=0xa309) at libusb:002:004
  # 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.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
pinco@pinco-laptop-lan:~$

scusa:

se usi Xsane dovresti proprio vederlo, lo vede sane…

è evidente dal tuo post 5 che ci sono problemi di permessi.
scanimage lo vede da root ma non da utente.

controlliano bene, installa:

# yum install xsane
lancialo sia da root che da utente:

xsane

dacci conferma se lo vede da root ma non da utente.

Allora, ho avviato xsane con sudo e questo è stato l’output:

pinco@pinco-laptop-lan:~$ sudo xsane
No protocol specified

(xsane:10657): Gtk-WARNING **: cannot open display: :1.0
pinco@pinco-laptop-lan:~$ 

Ho poi provato ad avviarlo come utente normale e il programma è partito, ma quando sono andato ad avviare una scansione, m’è comparso un popup che diceva: “Error - Failed to start scanner: Invalid argument”

Che devo fare?

devi lanciarlo da root con:

[code]$ su -
password_di_root

xsane[/code]

Stesso messaggio di quando l’ho avviato da utente normale

molto bene.
vediamo:

[code]# cat /etc/sane.d/dll.conf

cat /etc/sane.d/snapscan.conf[/code]

[root@pinco-laptop-lan ~]# cat /etc/sane.d/dll.conf
# enable the next line if you want to allow access through the network:
#net
#abaton
#agfafocus
#apple
#avision
#artec
#artec_eplus48u
#as6e
#bh
#canon
#canon630u
#canon_dr
#canon_pp
#cardscan
#coolscan
#coolscan2
#coolscan3
#dc25
#dc210
#dc240
#dell1600n_net
#dmc
epjitsu
epson
epson2
#fujitsu
#gphoto2
#genesys
#gt68xx
#hp
#hp3900
#hpsj5s
#hp3500
#hp4200
#hp5400
#hp5590
#hpljm1005
#hs2p
#ibm
#kodak
#kodakaio
#kvs1025
#kvs20xx
#leo
#lexmark
#ma1509
#magicolor
#matsushita
#microtek
#microtek2
#mustek
#mustek_pp
#mustek_usb
#mustek_usb2
#nec
#niash
#p5
#pie
#pint
#pixma
#plustek
#plustek_pp
#pnm
#qcam
#ricoh
#rts8891
#s9036
#sceptre
#sharp
#sm3600
#sm3840
snapscan
#sp15c
#st400
#stv680
#tamarack
#teco1
#teco2
#teco3
#test
#u12
#umax
#umax_pp
#umax1220u
v4l
#xerox_mfp
[root@pinco-laptop-lan ~]# cat /etc/sane.d/dll.conf
#------------------------------ General -----------------------------------

# Change to the fully qualified filename of your firmware file, if
# firmware upload is needed by the scanner
firmware /usr/share/sane/snapscan/your-firmwarefile.bin

# If not automatically found you may manually specify a device name.

# For USB scanners also specify bus=usb, e.g.
# /dev/usb/scanner0 bus=usb

# For SCSI scanners specify the generic device, e.g. /dev/sg0 on Linux.
# /dev/sg0

#---------------------------------------------------------------------------
# No changes should be necessary below this line
#---------------------------------------------------------------------------

#-------------------------- SCSI scanners ----------------------------------
# These SCSI devices will be probed automatically
scsi AGFA * Scanner
scsi COLOR * Scanner
scsi Color * Scanner
scsi ACERPERI * Scanner

#--------------------------- USB scanners -----------------------------------
# These USB devices will be probed automatically
# (This will currently work only on Linux)

# Benq/Acer/Vuego 310U
usb 0x04a5 0x1a20
usb 0x04a5 0x1a26

# Benq/Acer/Vuego 320U
usb 0x04a5 0x2022

# Benq/Acer/Vuego 620U / 620UT
usb 0x04a5 0x1a2a
usb 0x04a5 0x2040

# Benq/Acer/Vuego 640U
usb 0x04a5 0x2060

# Benq/Acer/Vuego 640BU
usb 0x04a5 0x207e

# Benq/Acer/Vuego 640BT
usb 0x04a5 0x20be

# Benq/Acer/Vuego 1240U
usb 0x04a5 0x20c0

# Benq/Acer/Vuego 3300 / 4300
usb 0x04a5 0x20b0

# Benq/Acer/Vuego 4300
usb 0x04a5 0x20de

# Benq 5000E / 5000U
usb 0x04a5 0x20f8

# Benq 5000
usb 0x04a5 0x20fc

# Benq/Acer 5300
usb 0x04a5 0x20fe

# Benq 5250C
usb 0x04a5 0x2137

# Agfa 1236U
usb 0x06bd 0x0002

# Agfa 1212U
usb 0x06bd 0x0001
usb 0x06bd 0x2061

# Agfa Snapscan e10
usb 0x06bd 0x2093

# Agfa Snapscan e20
usb 0x06bd 0x2091

# Agfa Snapscan e25
usb 0x06bd 0x2095

# Agfa Snapscan e26
usb 0x06bd 0x2097

# Agfa Snapscan e40
usb 0x06bd 0x208d

# Agfa Snapscan e42
usb 0x06bd 0x20ff

# Agfa Snapscan e50
usb 0x06bd 0x208f

# Agfa Snapscan e52
usb 0x06bd 0x20fd

# Epson Perfection 660
usb 0x04b8 0x0114

# Epson Perfection 1670
usb 0x04b8 0x011f

# Epson Perfection 2480
usb 0x04b8 0x0121

# Epson Perfection 3490
usb 0x04b8 0x0122

# Epson Stylus CX-1500
usb 0x04b8 0x080c

[code]$ su -
password_di_root

gedit /etc/sane.d/dll.conf

[/code]
commenta le righe così:

#epson #epson2
riprova a lanciare xsane da root:

# xsane

lo vede ?

Fatto: xsane sembrava ok perché è partito molto più rapidamente di ieri e m’ha dato sùbito la scelta tra l’acquisizione delle immagini dalla webcam e dallo scanner, ma quando ho selezionato quest’ultimo m’ha dato un popup di errore. Sono andato a guardare l’output del terminale dal quale avevo lanciato xsane e ho trovato questo:

[root@pinco-laptop-lan ~]# xsane
[snapscan] Cannot open firmware file /usr/share/sane/snapscan/your-firmwarefile.bin.
[snapscan] Edit the firmware file entry in snapscan.conf.

Quindi è un problema di firmware come avevo capito io?

dai il comando:

# yum install iscan-firmware

poi riprova.

Installato iscan-firmware e riavviato xsane da root ma, selezionato lo scanner m’è apparso lo stesso errore di prima, la cui dicitura ora vi riporto parola per parola:

Error: Failed to open device `snapscan:libusb:005:002’: Invalid argument.

il 1670 deve essere riconosciuto in automatico senza pacchetti aggiuntivi, cosi come accade per il 1640 che uso con soddisfazione

Beato te, a me non sta andando… :frowning:

da root:

[code]$ su -
password_di_root

wget http://www.commercialventvac.com/~jeffs/ESFW30.BIN

cp ESFW30.BIN /usr/share/sane/snapscan/ESFW30.BIN

gedit /etc/sane.d/snapscan.conf

[/code]
cambia la linea ( la quarta )

firmware /usr/share/sane/snapscan/your-firmwarefile.bin

in :

firmware /usr/share/sane/snapscan/ESFW30.BIN

salva chiudi.
togli e rimetti la presa usb e riprova ad usare xsane sia da root che da utente.

Fatto tutto: xsane parte sempre rapidamente ma invece di un’unica finestra me ne dà 4 diverse (un po’ come Gimp) e quando clicco su “Scan” mi dà:

Error - Failed to start scanner: Invalid argument

Per completezza posto anche /etc/sane.d/snapscan.conf :

#------------------------------ General -----------------------------------

# Change to the fully qualified filename of your firmware file, if
# firmware upload is needed by the scanner
firmware /usr/share/sane/snapscan/ESFW30.BIN

# If not automatically found you may manually specify a device name.

# For USB scanners also specify bus=usb, e.g.
# /dev/usb/scanner0 bus=usb

# For SCSI scanners specify the generic device, e.g. /dev/sg0 on Linux.
# /dev/sg0

#---------------------------------------------------------------------------
# No changes should be necessary below this line
#---------------------------------------------------------------------------

#-------------------------- SCSI scanners ----------------------------------
# These SCSI devices will be probed automatically
scsi AGFA * Scanner
scsi COLOR * Scanner
scsi Color * Scanner
scsi ACERPERI * Scanner

#--------------------------- USB scanners -----------------------------------
# These USB devices will be probed automatically
# (This will currently work only on Linux)

# Benq/Acer/Vuego 310U
usb 0x04a5 0x1a20
usb 0x04a5 0x1a26

# Benq/Acer/Vuego 320U
usb 0x04a5 0x2022

# Benq/Acer/Vuego 620U / 620UT
usb 0x04a5 0x1a2a
usb 0x04a5 0x2040

# Benq/Acer/Vuego 640U
usb 0x04a5 0x2060

# Benq/Acer/Vuego 640BU
usb 0x04a5 0x207e

# Benq/Acer/Vuego 640BT
usb 0x04a5 0x20be

# Benq/Acer/Vuego 1240U
usb 0x04a5 0x20c0

# Benq/Acer/Vuego 3300 / 4300
usb 0x04a5 0x20b0

# Benq/Acer/Vuego 4300
usb 0x04a5 0x20de

# Benq 5000E / 5000U
usb 0x04a5 0x20f8

# Benq 5000
usb 0x04a5 0x20fc

# Benq/Acer 5300
usb 0x04a5 0x20fe

# Benq 5250C
usb 0x04a5 0x2137

# Agfa 1236U
usb 0x06bd 0x0002

# Agfa 1212U
usb 0x06bd 0x0001
usb 0x06bd 0x2061

# Agfa Snapscan e10
usb 0x06bd 0x2093

# Agfa Snapscan e20
usb 0x06bd 0x2091

# Agfa Snapscan e25
usb 0x06bd 0x2095

# Agfa Snapscan e26
usb 0x06bd 0x2097

# Agfa Snapscan e40
usb 0x06bd 0x208d

# Agfa Snapscan e42
usb 0x06bd 0x20ff

# Agfa Snapscan e50
usb 0x06bd 0x208f

# Agfa Snapscan e52
usb 0x06bd 0x20fd

# Epson Perfection 660
usb 0x04b8 0x0114

# Epson Perfection 1670
usb 0x04b8 0x011f

# Epson Perfection 2480
usb 0x04b8 0x0121

# Epson Perfection 3490
usb 0x04b8 0x0122

# Epson Stylus CX-1500
usb 0x04b8 0x080c