Hardy => Possibile manca il file 45-libsane.rules

Riconoscimento, installazione e configurazione delle periferiche.
ska81
Prode Principiante
Messaggi: 33
Iscrizione: sabato 31 marzo 2007, 13:39

Hardy => Possibile manca il file 45-libsane.rules

Messaggio da ska81 »

Ragazzi ho da poco scaricato HH e mentre stavo per installare il mio scanner mi sono accorto che manca il file /etc/udev/rules.d/45-libsane.rules possibile????
Ho un multifunzione samsung scx-4100 che su feisty andava da dio ora senza sto file non so dove aggiungere i dati dello scanner. >:(

PS la stampante funziona il problema è solo dello scanner

Consigli? Grazieee
Avatar utente
carver55
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2490
Iscrizione: domenica 13 agosto 2006, 10:52
Località: lucca

Re: Hardy => Possibile manca il file 45-libsane.rules

Messaggio da carver55 »

/etc/udev/rules.d/readme
Linux User # 454540. Ubu user #17949
Ci sedemmo dalla parte del torto perchè tutti gli altri posti erano occupati.
ska81
Prode Principiante
Messaggi: 33
Iscrizione: sabato 31 marzo 2007, 13:39

Re: Hardy => Possibile manca il file 45-libsane.rules

Messaggio da ska81 »

si avevo visto ed ho visto anche che le librerie libstdc++2.10-glibc2.2 non sono compatibili con HH ma non ho ancora capito come risolvere??
Prima seguivo questa guida:

Get Samsung SCX-4100 printer and scanner working

Last updated: March 1, 2008, I can't seem to get my scanner working on Gutsy :/

First, you need to install some required libs and programs:
sudo apt-get install libstdc++2.10-glibc2.2 libsane-dev sane sane-utils
Download the Linux driver from the SCX-4100 Downloads page

Open a terminal and change to the directory where you downloaded the driver (example: /home/install/samsung-scx-4100-printer):
cd /home/install/samsung-scx-4100-printer

Extract the driver (the driver could be named something different if it has been updated):
tar -xzf 20070725084555687_UnifiedLinuxDriver.tar.gz

Start the driver installation script:
sudo ./cdroot/Linux/install.sh
Press "4" because you want to install the "[4] SCX 4100 Series" driver
Press "1" since you want to "[1] Install driver package".

You should already have CUPS installed so Press "2":
[2] I am sure I have necessary software installed. Continue installation
You'll get a whole spew of stuff printed on the screen along with some errors that you can probably just ignore.

Open /etc/cups/printers.conf Under "DefaultPrinter scx4100" change the "DeviceURI" so it looks like this:
DeviceURI file:/dev/usblp0

Restart cups:
sudo /etc/init.d/cupsys restart
If printer gets stuck in a stopped state do the following (on KDE, I assume Gnome has something similar)
Click on "K Menu -> System Settings"
Click on "Printers"
The "scx4100" printer should already be selected, if not click on it.
Click on the "Printer" button near the top.
From the drop-down click on "Start/Stop Printer -> Start Printer"
Printing should now work.

Add the following 2 lines near end of /etc/udev/rules.d/45-libsane.rules (use sudo with your favourite text editor)
# Samsung|SCX-4100
SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="3413", MODE="664", GROUP="scanner"

Be sure to put it before LABEL="libsane_rules_end"

All this does is make sure that the permissions for the device file is correct and setting its group to scanner. The device is identified by the vendor id and product id. So all users in group scanner will now have access to the scanning functions.

Add the following 2 lines to the end of /etc/udev/rules.d/60-symlinks.rules (use sudo with your favourite text editor)
# Create symlink for usb printer to /dev/usb/lp*
BUS=="usb", KERNEL=="lp[0-9]*",        SYMLINK+="usb/%k"

A usb printer is assigned the device file /dev/usblp0 (or whichever number at the end). See /etc/udev/rules.d/20-names.rules which is where it is assigned. These lines make sure that the devices are also symlinked to /dev/usb/lp0.

These rules will be read and executed on startup so no other startup scripts are necessary.

You don't have to restart just execute:
sudo /etc/init.d/udev restart

This will restart udev.
Scanning using OpenOffice.org (Insert -> Picture -> Scan -> Request), and the GIMP (File -> Aquire -> xscanimage -> Device dialog...) should now work.

Ma ora x lo scanner non va +  bene
Avatar utente
carver55
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2490
Iscrizione: domenica 13 agosto 2006, 10:52
Località: lucca

Re: Hardy => Possibile manca il file 45-libsane.rules

Messaggio da carver55 »

mi dispiace ma non posso esserti di aiuto. Io ho uno scanner Epson 3590 e non veniva rilevato. Ho risolto seguendo il readme e prendendo 45-libsane.rules da gutsy e rinominandola in 50-libsane.rules
Linux User # 454540. Ubu user #17949
Ci sedemmo dalla parte del torto perchè tutti gli altri posti erano occupati.
ska81
Prode Principiante
Messaggi: 33
Iscrizione: sabato 31 marzo 2007, 13:39

Re: Hardy => Possibile manca il file 45-libsane.rules

Messaggio da ska81 »

carver55 ha scritto: mi dispiace ma non posso esserti di aiuto. Io ho uno scanner Epson 3590 e non veniva rilevato. Ho risolto seguendo il readme e prendendo 45-libsane.rules da gutsy e rinominandola in 50-libsane.rules
Scusami ma la sola cosa che hai fatto è stato prendere il file 45-libsane.rules da gutsy e rinominandola in 50-libsane.rules?? Ho hai apportato qualche modifica al file?
grazie
Avatar utente
carver55
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2490
Iscrizione: domenica 13 agosto 2006, 10:52
Località: lucca

Re: Hardy => Possibile manca il file 45-libsane.rules

Messaggio da carver55 »

nessuna modifica
Linux User # 454540. Ubu user #17949
Ci sedemmo dalla parte del torto perchè tutti gli altri posti erano occupati.
Avatar utente
Mescal
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 460
Iscrizione: domenica 27 novembre 2005, 14:52

Re: Hardy => Possibile manca il file 45-libsane.rules

Messaggio da Mescal »

Ho lo stesso identico problema di ska, non viene assolutamente rilevato lo scanner della 4100, eppure sane lo supporta ottimamente...boh, se avete risolto mi fate sapere?
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: caturen e 6 ospiti