Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: mirka.suchomelova 10 Ledna 2009, 20:20:06
-
Ahoj, jsem linuxová začátečnice a prosím o radu. Pokouším se zprovoznit multifunkční zařízení Epson stylus DX4450. Přečetla jsem si a vyzkoušela už různé návody, ale zatím bezúspěchu. O zprovoznění skeneru jsem se pokusila podle tady doporučovaného návodu na angl.fóru, příkazy jsem si kopírovala a v kládala do terminálu, až jsem narazila na SYSFS{nějaképarametry}, a to mi terminál nevzal, napsal příkaz nenalezen. Takže to se mi už vložit nepodařilo. Nicméně když jsem pak spustila Xsane, skener byl nalezen. Problém nastal při pokusu o spuštění, vyhodilo mi to hlášku "Spuštění skeneru selhalo. Neplatný argument." Žádný seznam chyb jsem nikde nenašla, ví někdo co s tím? Díky. Mirka
-
Hoď sem ten návod, aby ti někdo mohl lépe poradit.
-
Tady dodávám ten anglický návod: /přestal mi fungovat u SYSFS/
Download the drivers from:
Avasys official Epson drivers
select your printer and then select Debian, then Others. Select country and then personal use. Download the files listed as scanner drivers for gcc 3.4 (the first 2 .rpm under gcc 3.4)
Open the terminal and insert the following commands.
Install Alien and sane utils
Code:
sudo apt-get install sane sane-utils xsane alien fakeroot
Enter the directory of the downloaded files and Debianize the files:
Code:
fakeroot alien iscan*.rpm
Install the deb created
Code:
sudo dpkg -i iscan*.deb
(automatic procedure) Now let's select the driver and comment out scsi then un comment usb:
Code:
sudo perl -p -i.bak -e 's/epson\n/epkowa\n#epson\n/g' /etc/sane.d/dll.conf
sudo perl -p -i.bak -e 's/scsi EPSON\n/#scsi EPSON\n/g' /etc/sane.d/epkowa.conf
sudo perl -p -i.bak -e 's/#usb\n/usb\n/g' /etc/sane.d/epkowa.conf
And you're done modifying the files. (end automatic procedure)
Just to be extra correct I'll insert the manual procedure to modify the files:
(manual procedure) Now let's select the driver and comment out scsi then un comment usb:
Code:
sudo gedit /etc/sane.d/epkowa.conf
put # in front of scsi entry, do it the other way with usb entry, save close.
Code:
sudo gedit /etc/sane.d/dll.conf
comment out the epson entry and insert a new one just below it called epkowa, save close. (end of manual procedure)
Let's add the scanner to the system
Code:
sudo gedit /etc/udev/rules.d/45-libsane.rules
by adding a new entry
Code:
# Epson Stylus CX-4300 CX-4400 CX-4450 CX-5500 CX-5600 DX-4400 DX-4450
SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="083f", MODE="664", GROUP="scanner"
Restart the system
Now run the scanner identifier
Code:
sane-find-scanner
and see where it is located as a usb, the scanner will always have product=0x083f
Modify the permission
Code:
sudo chmod 0755 /proc/bus/usb/*/*
The asterisks can be 001/002 or 001/003 or whatever, that depends on the response above.
Now we can run the program
Code:
iscan
It should work.
If you want to use xsane it should work as well, modify the permission:
Code:
sudo chmod 0755 /usr/bin/xsane
and run it either in a terminal or with the menu.
Last edited by Axx83; March 12th, 2008 at 07:47 AM..
Axx83 is offline Reply With Quote
The Following User Says Thank You to Axx83 For This Useful Post:
jonas_e (January 10th, 2008)
-
V Terminálu zadej a pošli, co Ti vypíše cat /etc/udev/rules.d/45-libsane.rules a (se zapnutou a připojenou tiskárnou) lsusb.
-
Upravte si si súbor : do terminalu napíš : "sudo gedit /etc/udev/rules.d/45-libsan.rules" a do neho pridaj nasledovné : "# Epson Stylus DX-4450
SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="083f", MODE="664", GROUP="scanner" a potom restart. a potom pokračovat ďalej, v návode.
-
tady je výpis terminálu:
mirka@mirka-desktop:~$ cat /etc/udev/rules.d/45-libsane.rules
mirka@mirka-desktop:~$ lsusb
Bus 001 Device 002: ID 04b8:083f Seiko Epson Corp. Stylus DX4450
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-
To vypadá dobře. Teď dej příkaz sudo echo "SYSFS{idVendor}==\"04b8\", SYSFS{idProduct}==\"083f\", MODE=\"664\", GROUP=\"scanner\"" > /etc/udev/rules.d/45-libsane.rules. Jestli nehlásí žádnou chybu, restart, a dál dle návodu (sane-find-scanner atd). Good luck.
-
Terminál mi dal hlášku: /neumím moc anglicky a nevím co znamená/:
bash: /etc/udev/rules.d/45-libsane.rules: Permission denied
-
Dala jsi tam to sudo na začátek? (omlouvám se, dopsal jsem ho až později : )
-
Jo, sudo jsem tam dala. Ale podařilo se mi to nakonec podle toho druhýho chlapíka příkazem sudo gedit... a pak do souboru vložit ty sysf údaje / protože umím tak mizerně anglicky, tak občas špatně pochopím co kam vložit.../ No a teď další chybová hláška:
mirka@mirka-desktop:/$ sudo chmod 0755 /proc/bus/usb/*/*
chmod: cannot access „/proc/bus/usb/*/*“: No such file or directory
-
Co Ti vypsal ten příkaz sane-find-scanner?
Edit:
A taky ls -R /proc/bus/usb
-
mirka@mirka-desktop:~$ 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 [Language Error], product=0x083f [Language Error]) 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.
# 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.
-
mirka@mirka-desktop:~$ ls -R /proc/bus/usb
/proc/bus/usb:
-
Zkus tedy příkaz iscan a/nebo scanimage -L a napiš, jestli funguje, příp. co to píše.
-
mirka@mirka-desktop:~$ scanimage -L
device `epkowa:libusb:001:002' is a Epson Stylus CX4300/CX4400/CX5500/CX5600/DX4400 flatbed scanner
-
Zkus tedy skenovat pomocí scanimage >/tmp/obrazek.pnm. Jede to? Zkontroluj příp. ten obrázek v adresáři /tmp. Pokud nějaký příkaz háže chybu, zkus ho znovu a dej před něj sudo(mezera).
-
mirka@mirka-desktop:~$ scanimage >/tmp/obrazek.pnm
scanimage: sane_start: Invalid argument
A u příkazu iscan mi naskočí obrazovka pro skenování, ale když chci náhled, skenovat, dá mi to hlášku:
Could not send command to scanner. Check the scanners status.
a jestě jednu:
Scanner is warning up. Please wait.
No a nic se neděje.
Jinak moc děkuju za pomoc, pro dnešek to už balím. Dobrou.
-
Jo, a ještě sudo chmod 0755 /dev/bus/usb/001/002. Pak ještě zkus ten scanimage >/tmp/obrazek.pnm jako sudo scanimage >/tmp/obrazek.pnm
-
A skúste sa pridať do skupiny Skenery (alebo tak nejak). Systém - Správa - Užívatelé a skupiny a tam to snáď už nájdete. A potom odhlásiť a prihlásiť alebo reset.
-
Skenuje!!!! Díky, díky Arrange a všichni, kdo jste mi pomáhali. M.
-
snazil jsem se postupovat podle tohoto navodu co jste zde resili ale scener nejde.
typon@typon-desktop:~$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages)
zde se zaseknu a nevim kde jsem udal chybu