Pagina 3 di 3

Re: Easy webscan 19200

Inviato: giovedì 15 settembre 2016, 21:41
da maxbigsi
siamo contenti per te ;) un ultimo sforzo :D metti Risolto nel titolo del primo post :birra:

Re: [Risolto] Easy webscan 19200

Inviato: venerdì 16 settembre 2016, 10:13
da magozurlinux
Prego, di nulla!

Perfetto!

:birra:

:ciao:

Re: [Risolto] Easy webscan 19200

Inviato: sabato 30 settembre 2017, 8:55
da tomeiv
Buongiorno a tutti

vorrei chiedere il vs. aiuto per lo stesso argomento: Easy webscan 19200
attualmente dopo aver seguito le varie istruzioni mi ritrovo in impasse.... :cry:

ovvero ogni qualvolta lancio l'applicazione mi viene segnalato l'errore:
"Non è possibile aprire il dispositivo 'artec_eplus48u:libusb:004:002' : l'argomento non è valido"
...

mentre se lo lancio dal Terminal "sudo xsane" funziona correttamente

.. pertanto ho perso qualche colpo nel seguire le istruzione .....
Sembrerebbe che il mio USERS non sia stato configurato correttamente nell'installazione di XSANE.

Qualcuno potrebbe aiutarmi?
:ciao:

Re: [Risolto] Easy webscan 19200

Inviato: sabato 30 settembre 2017, 13:12
da maxbigsi
forse hai saltato questo comando?

Codice: Seleziona tutto

sudo chmod 666 /usr/share/sane/artec_eplus48u/Artec48.usb
... comunque aspettiamo il mago e vediamo cosa dice :sisi:

Re: [Risolto] Easy webscan 19200

Inviato: sabato 30 settembre 2017, 17:29
da magozurlinux
Eccomi! :D

Sicuramente avrai saltato qualche passaggio.

Da terminale postami questi comandi:

Codice: Seleziona tutto

groups

Codice: Seleziona tutto

locate artec_eplus48u

Re: [Risolto] Easy webscan 19200

Inviato: sabato 30 settembre 2017, 20:36
da tomeiv
ecco l'output del terminale a seguito dei 2 comandi:

Codice: Seleziona tutto

vincenzo@vi-casa:~$ groups
vincenzo adm cdrom sudo dip plugdev lpadmin sambashare

Codice: Seleziona tutto

vincenzo@vi-casa:~$ locate artec_eplus48u
/etc/sane.d/.artec_eplus48u.conf.swl
/etc/sane.d/.artec_eplus48u.conf.swm
/etc/sane.d/.artec_eplus48u.conf.swn
/etc/sane.d/.artec_eplus48u.conf.swo
/etc/sane.d/artec_eplus48u.conf
/etc/share/sane/artec_eplus48u
/etc/share/sane/artec_eplus48u/Artec48.usb
/usr/lib/i386-linux-gnu/sane/libsane-artec_eplus48u.la
/usr/lib/i386-linux-gnu/sane/libsane-artec_eplus48u.so.1
/usr/lib/i386-linux-gnu/sane/libsane-artec_eplus48u.so.1.0.25
/usr/local/etc/sane.d/artec_eplus48u.conf
/usr/share/man/man5/sane-artec_eplus48u.5.gz
/usr/share/sane/artec_eplus48u
/usr/share/sane/artec_eplus48u.conf
/usr/share/sane/artec_eplus48u/Artec48.usb

Re: [Risolto] Easy webscan 19200

Inviato: sabato 30 settembre 2017, 21:36
da giulux
Inseriti come hai fatto i listati rendono il post troppo lungo e di difficile lettura.
In futuro incolali tra i tag [ code] e [ /code] che si creano cliccando su Codice in alto, sopra la finestra di scrittura (editor completo) così:
  • [ code]listato
    da postare
    [ /code]
Correggi il post precedente cliccando su "modifica", poi seleziona il listato, clicca su Codice e salva, come da clip esemplificativa
0tag_codice.gif
Ciao

Re: [Risolto] Easy webscan 19200

Inviato: domenica 1 ottobre 2017, 10:39
da tomeiv
spero di farne una corretta... :cry:

Re: [Risolto] Easy webscan 19200

Inviato: domenica 1 ottobre 2017, 19:01
da magozurlinux
Il tuo gruppo non appartiene a scanner e saned.

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo adduser vincenzo scanner

Codice: Seleziona tutto

sudo adduser vincenzo saned
riavvia il pc.

Da terminale postami questi comandi:

Codice: Seleziona tutto

cat /etc/sane.d/artec_eplus48u.conf

Codice: Seleziona tutto

sudo sane-find-scanner

Re: [Risolto] Easy webscan 19200

Inviato: sabato 7 ottobre 2017, 9:27
da tomeiv
ecco quanto chiesto

Codice: Seleziona tutto

vincenzo@vi-casa:~$ cat /etc/sane.d/artec_eplus48u.conf
# artec_eplus48u - SANE Backend configuration file

# This section is for use with the Artec E+ 48U scanner
# This scanner is also sold as
# Tevion MD 9693, Medion MD 9705, Medion MD 9693, Medion MD4394
# This sections contains verbose description of each option.
# For other scanners, see below.
#
# The USB section:
# each device needs at least the following line:
# usb vendor-ID and product-ID
# Every device configuration in this file must begin with an usb entry.
usb 0x05d8 0x4003

# Path to the firmware file
# This file comes with the Windows driver
# The scanner won't work without it
option artecFirmwareFile /usr/share/sane/artec_eplus48u/Artec48.usb

# Is the scanner an Artec E Plus Pro (or compatible)? 0 = no, 1 = yes
option ePlusPro   0

# for adjusting the default gamma values
option redGamma         1.0
option greenGamma       1.0
option blueGamma        1.0
option masterGamma      1.9

#Use this options to set the default offset and exposure time values.
option redOffset        0x28
option greenOffset      0x2f
option blueOffset       0x2f
option redExposure      0xa7
option greenExposure    0x116
option blueExposure     0xdc

# The vendor and model string
# This string is displayed by the frontends. If you do not want to get your
# scanner reported as "Artec E+ 48U", then change the option accordingly.
option vendorString "Artec"
option modelString "E+ 48U"

# device-name
#
# If autodetection does not work, then you can specify the device here
# The device entry must be the last one in this config file (or the last one before a
# new usb entry).
#If you are using libusb, a device looks like this:
#device libusb:001:002
#If you are using the scanner module (kernel driver), a device looks like this:
#device /dev/usbscanner

# ----------------------------------------------------------------------------

# Since the Trust Easy Webscan 19200 uses a different product id, we add
# another usb section here.
usb 0x05d8 0x4006
#device libusb:004:002
option artecFirmwareFile /etc/sane.d/artec_eplus48/Artec48.usb
option vendorString "Trust"
option modelString "Easy Webscan 19200"

# ----------------------------------------------------------------------------

# Since the Memorex Mem48U uses a different product id, we add
# another usb section here.
usb 0x05d8 0x4005
option artecFirmwareFile /usr/share/sane/artec_eplus48u/Artec48.usb
option vendorString "Memorex"
option modelString "MEM 48U"

# ----------------------------------------------------------------------------

# Since the Trust 240H Easy Webscan Gold uses a different product id, we add
# another usb section here.
usb 0x05d8 0x4007
option artecFirmwareFile /usr/share/sane/artec_eplus48u/Artec48.usb
option ePlusPro         1
option vendorString "Trust"
option modelString "240H Easy Webscan Gold"

# ----------------------------------------------------------------------------

# Since the UMAX AstraSlim SE uses a different product id, we add
# another usb section here.
usb 0x05d8 0x4009
option artecFirmwareFile /usr/share/sane/artec_eplus48u/Artec48.usb
option vendorString "UMAX"
option modelString "AstraSlim SE"

# ----------------------------------------------------------------------------

# This section is for the Artec E+ Pro
# Note, that the name of the firmware file is called 1200.usb for
# this device
usb 0x05d8 0x4004
option artecFirmwareFile /usr/share/sane/artec_eplus48u/1200.usb
option ePlusPro   1
option vendorString "Artec"
option modelString "E+ Pro"

# ----------------------------------------------------------------------------

# This section is for the UMAX AstraSlim 1200 SE
# Note, that the name of the firmware file is called 1200.usb for
# this device
usb 0x05d8 0x4010
option artecFirmwareFile /usr/share/sane/artec_eplus48u/1200.usb
option vendorString "UMAX"
option modelString "AstraSlim 1200 SE"

# ----------------------------------------------------------------------------

# Since the Yakumo Scan50 uses a different product id, we add
# another usb section here.
usb 0x05d8 0x4011
option artecFirmwareFile /usr/share/sane/artec_eplus48u/Artec48.usb
option vendorString "Yakumo"
option modelString "Scan50"

Codice: Seleziona tutto

vincenzo@vi-casa:~$ sudo sane-find-scanner
[sudo] password di vincenzo: 

  # 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=0x05d8, product=0x4006 [USB Scanner], chip=GT-6816) at libusb:004:002
  # 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.

Re: [Risolto] Easy webscan 19200

Inviato: sabato 7 ottobre 2017, 12:16
da magozurlinux
Da terminale dai questi comandi:

Codice: Seleziona tutto

cd /etc/sane.d/

Codice: Seleziona tutto

sudo mkdir artec_eplus48u

Codice: Seleziona tutto

sudo cp /usr/share/sane/artec_eplus48u/Artec48.usb /etc/sane.d/artec_eplus48u/

Codice: Seleziona tutto

sudo -H gedit /etc/sane.d/artec_eplus48u.conf
scorri il file fino a queste righe relative al tuo scanner:
# Since the Trust Easy Webscan 19200 uses a different product id, we add
# another usb section here.
usb 0x05d8 0x4006
#device libusb:004:002
option artecFirmwareFile /etc/sane.d/artec_eplus48/Artec48.usb
option vendorString "Trust"
option modelString "Easy Webscan 19200"
modifica artec_eplus48 aggiungendo la u che ti è saltata nel digitarlo; è artec_eplus48u

salva ed esci dall'editor di testo.

riavvia il pc.

Prova lo scanner.

Re: [Risolto] Easy webscan 19200

Inviato: domenica 8 ottobre 2017, 10:09
da tomeiv
Grazie mille mi vedo lo scanner!!

unico punto aperto è un messaggio di errore in uscita (ho provato ad eseguire e salvare scansione ed è ok):
"NON E' POSSIBILE CREARE IL FILE: PERMESSO NEGATO"

Re: [Risolto] Easy webscan 19200

Inviato: domenica 8 ottobre 2017, 17:07
da magozurlinux
Prego, di nulla!

quell'errore non so a cosa si riferisce è un problema di permessi; bisogna indagare dall'output di /var/log/syslog.

Se hai avviato la scansione con xsane, il comando va preceduto da sudo; forse è per questo che ha emesso l'errore.

Prova a fare una scansione, quando emette quell'errore, da terminale postami questo comando:

Codice: Seleziona tutto

cat /var/log/syslog | grep sane

Re: [Risolto] Easy webscan 19200

Inviato: sabato 14 ottobre 2017, 8:24
da tomeiv
ecco:

Codice: Seleziona tutto

vincenzo@vi-casa:~$ cat /var/log/syslog | grep sane
Oct  9 21:09:08 vi-casa colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1
Oct  9 21:27:43 vi-casa colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1
Oct 14 08:17:43 vi-casa colord-sane: [bjnp] create_broadcast_socket: ERROR - bind socket to local address failed - Cannot assign requested address
Oct 14 08:17:50 vi-casa colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1
Oct 14 08:19:54 vi-casa xsane: io/hpmud/pp.c 627: unable to read device-id ret=-1
Oct 14 08:21:45 vi-casa xsane[2591]: Failed to read filechooser settings from "/home/vincenzo/.config/gtk-2.0/gtkfilechooser.ini": Permesso negato
Oct 14 08:21:45 vi-casa xsane[2591]: message repeated 5 times: [ Failed to read filechooser settings from "/home/vincenzo/.config/gtk-2.0/gtkfilechooser.ini": Permesso negato]
Oct 14 08:21:49 vi-casa xsane[2591]: Failed to read filechooser settings from "/home/vincenzo/.config/gtk-2.0/gtkfilechooser.ini": Permesso negato

Re: [Risolto] Easy webscan 19200

Inviato: sabato 14 ottobre 2017, 12:26
da magozurlinux
Prova a dare questo comando connesso ad Internet:

Codice: Seleziona tutto

sudo apt-get install libsane-extras
riavvia il pc.