Re: Easy webscan 19200
Inviato: giovedì 15 settembre 2016, 21:41
siamo contenti per te
un ultimo sforzo
metti Risolto nel titolo del primo post 
Il forum della comunità italiana di Ubuntu.
https://forum.ubuntu-it.org/
Codice: Seleziona tutto
sudo chmod 666 /usr/share/sane/artec_eplus48u/Artec48.usbCodice: Seleziona tutto
groups
Codice: Seleziona tutto
locate artec_eplus48u
Codice: Seleziona tutto
vincenzo@vi-casa:~$ groups
vincenzo adm cdrom sudo dip plugdev lpadmin sambashareCodice: 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.usbCodice: Seleziona tutto
sudo adduser vincenzo scanner
Codice: Seleziona tutto
sudo adduser vincenzo saned
Codice: Seleziona tutto
cat /etc/sane.d/artec_eplus48u.conf
Codice: Seleziona tutto
sudo sane-find-scanner
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.
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
modifica artec_eplus48 aggiungendo la u che ti è saltata nel digitarlo; è artec_eplus48u# 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"
Codice: Seleziona tutto
cat /var/log/syslog | grep sane
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
Codice: Seleziona tutto
sudo apt-get install libsane-extras