kanotix.com

Hardware - USB scanner only as root

drb - 20.03.2006, 20:11 Uhr
Titel: USB scanner only as root
After a bit of a struggle I've got my Epson 4490 USB scanner to work but only whilst running as root (Image Scan, Vuescan and xsane GUIs). How do I get it to run as normal user? Is it a matter of setting up some scanner group?

drb
hubi - 20.03.2006, 21:04 Uhr
Titel: USB scanner only as root
Look at /etc/udev/libsane.rules if your scanner is listed. If not so, add it to this list. This solved the same problem with an Epson scanner here.

Greetings,
hubi
drb - 20.03.2006, 21:34 Uhr
Titel:
Thanks hubi

drb
vilde - 09.04.2006, 12:52 Uhr
Titel:
drb, Can you tell me how you got the Epson 4490 to work?
drb - 09.04.2006, 13:51 Uhr
Titel:
Vilde - just off to watch a football match - I'll try and retrace my steps regarding the 4490 and reply later.

drb
drb - 09.04.2006, 19:40 Uhr
Titel:
Lost 2-1!!! Not a good match!

I followed the instructions :

If you're using the Epson Perfection 4490 (GT-X750), make sure you have /usr/lib/libesint54.so from the Epson AVASYS SANE distribution. You also need to set up the environment variable SANEI_EPKOWA_FIRMWAREFILE to point to the firmware file esfw54.bin. For newer versions of iscan, set up ISCAN_FW_DIR instead.

You can get the driver from here : http://www.avasys.jp/english/linux_e/dl_scan.html

Then added the scanner with correct nomenclature for the scanner (see below) to /etc/udev/libsane.rules so I didn't have to run as root. Everything works well now.

SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="012a", MODE="664", GROUP="scanner", RUN+="/etc/hotplug.d/usb/libsane.hotplug"

drb
vilde - 10.04.2006, 14:10 Uhr
Titel:
Thanks for the answer and i'ts a pitty that you lost the football match.
I'm sorry but I don't understand what to do, I'm a user of linux not really anything else and I don't have any idea what how to do what you wrote. I found some download from Avasys, two RPM:s one drive and one plugin, then there was the source file. The RPM didn't work because of dependensys and when I try to install with the source I get errors when I do "./conigure" "sh: gtk-config: command not found". Probably this was not the way to do it either.
I'm running Kanotix KANOTIX 2006 CeBIT Version and did a dist-uprade yesterday.
drb - 10.04.2006, 17:36 Uhr
Titel:
I'm certainly no expert and use 'trial and (lots of) error(s)'! I converted the rpm package to a deb package using alien which I installed locally using kpackage. I recall adding the 4490 to the list of scanners to run as user. I may have converted the 4490 plugin (iscan-plugin-gt-x750) separately; I'm not sure if I did anything else.

drb
vilde - 10.04.2006, 18:40 Uhr
Titel:
ok I will try with that conversion
thanks
frankqn - 10.04.2006, 19:00 Uhr
Titel:

vilde - 10.04.2006, 20:14 Uhr
Titel:
I got it to work as root but not as user
I have managed to install the Avasys driver and the plugin
I have not done this:"You also need to set up the environment variable SANEI_EPKOWA_FIRMWAREFILE to point to the firmware file esfw54.bin. For newer versions of iscan, set up ISCAN_FW_DIR instead." Because I have no idea what it is or what to do.
This:
SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="012a", MODE="664", GROUP="scanner", RUN+="/etc/hotplug.d/usb/libsane.hotplug"
was already in /etc/udev/libsane.rules.

But according to usbview my scanner has id 0119 so I tried to add the above in /etc/udev/libsane.rules with the change of "012a" to "0119" but that did not help either. Maybe that was wrong???
oduffo - 10.04.2006, 20:26 Uhr
Titel:
Zitat:
This:
SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="012a", MODE="664", GROUP="scanner", RUN+="/etc/hotplug.d/usb/libsane.hotplug"
was already in /etc/udev/libsane.rules.

Check whether the file /etc/hotplug.d/usb/libsane.hotplug really exists and can be executed.

oduffo
vilde - 10.04.2006, 20:33 Uhr
Titel:
Now it works, after a restart of the computer it works as user also. So now I have my scanner working. Thanks for the help. Auf den Arm nehmen
aking469 - 29.06.2006, 03:15 Uhr
Titel: Root only Scanner Solved
I was having the same problem with my scanner. I went in as root and changed the permissions for the "Sane" files and then I was able to use the scanner as both root/user.

I realize this is a bit late, but I hope it helps.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007