Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati

Versione 1 del 07/12/2005 10.23.59

Nascondi questo messaggio

Guida estratta dal Forum => http://forum.ubuntu-it.org/index.php?topic=12257.0 Altra guida => http://khk.net/sane/libusb.html

Voglio condividere la mia esperienza prima che l'oblio la cancelli :-) Ieri sono riuscito ad installare e far vedere come scanner una Epson dx4800. Ho attinto le informazioni da qui http://khk.net/sane/libusb.html Ho ottenuto il codice venditore e stampante digitando da console:

sudo sane-find-scanner

che ha restituito:

  • # 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 SCSI driver for your SCSI adapter. # Also you need support for SCSI Generic (sg) in your operating system. # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x04b8 [EPSON], product=0x0819 [USB2.0 MFP]) at libusb:001: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.

La linea n. 10 contiene i codici da passare al backend aggiungendo al file /etc/hotplug/usb/libsane.usermap la riga:

# Epson Corp.|Stylus DX4800 libusbscanner 0x0003 0x04b8 0x0819 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000

ed al file /etc/sane.d/epson.conf che riporto:

# epson.conf # # here are some examples for how to configure the EPSON backend # # SCSI scanner: scsi EPSON # # Parallel port scanner: #pio 0x278 #pio 0x378 #pio 0x3BC # # USB scanner: # There are two different methods of configuring a USB scanner: libusb and the kernel module # For any system with libusb support (which is pretty much any recent Linux distribution) the # following line is sufficient. This however assumes that the connected scanner (or to be more # accurate, it's device ID) is known to the backend. usb usb 0x4b8 0x819 usb /dev/usbscanner0

Notate la riga usb 0x4b8 0x819 fornisce i codici costruttore e dispositivo e la riga usb /dev/usbscanner0 che punta al dispositivo a blocchi .

Ho creato ud device a blocchi col comando:

sudo mknod /dev/usbscanner0 c 180 48

E ne ho cambiato gli attributi con:

sudo chmod 666 /dev/usbscanner0

Dopodiche' ho commentato tutte le voci del file /etc/sane.d/dll.conf meno la voce epson.

Ho lanciato xsane ed il gioco e' fatto :-)

Spero di essere stato utile. Ciao.