| Autor | 
    Nachricht | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: USB scanner only as root 
             Verfasst am: 20.03.2006, 20:11 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 03. Jul 2004 
            Beiträge: 525 
             
            
            
           | 
         
       
     | 
    
      
        
          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 | 
         
        
          
          
            
          
             _________________ Kernel 2.6.21-slh-up-7
 
_____________________
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: USB scanner only as root 
             Verfasst am: 20.03.2006, 21:04 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 22. Jan 2006 
            Beiträge: 1296 
            Wohnort: Budapest 
            
            
           | 
         
       
     | 
    
      
        
          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 | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 20.03.2006, 21:34 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 03. Jul 2004 
            Beiträge: 525 
             
            
            
           | 
         
       
     | 
    
      
        
          Thanks hubi
 
 
drb | 
         
        
          
          
            
          
             _________________ Kernel 2.6.21-slh-up-7
 
_____________________
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 09.04.2006, 12:52 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 02. Apr 2006 
            Beiträge: 121 
             
            
            
           | 
         
       
     | 
    
      
        
          | drb, Can you tell me how you got the Epson 4490 to work? | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 09.04.2006, 13:51 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 03. Jul 2004 
            Beiträge: 525 
             
            
            
           | 
         
       
     | 
    
      
        
          Vilde - just off to watch a football match - I'll try and retrace my steps regarding the 4490 and reply later.
 
 
drb | 
         
        
          
          
            
          
             _________________ Kernel 2.6.21-slh-up-7
 
_____________________
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 09.04.2006, 19:40 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 03. Jul 2004 
            Beiträge: 525 
             
            
            
           | 
         
       
     | 
    
      
        
          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 | 
         
        
          
          
            
          
             _________________ Kernel 2.6.21-slh-up-7
 
_____________________
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 10.04.2006, 14:10 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 02. Apr 2006 
            Beiträge: 121 
             
            
            
           | 
         
       
     | 
    
      
        
          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. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 10.04.2006, 17:36 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 03. Jul 2004 
            Beiträge: 525 
             
            
            
           | 
         
       
     | 
    
      
        
          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 | 
         
        
          
          
            
          
             _________________ Kernel 2.6.21-slh-up-7
 
_____________________
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 10.04.2006, 18:40 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 02. Apr 2006 
            Beiträge: 121 
             
            
            
           | 
         
       
     | 
    
      
        
          ok I will try with that conversion
 
thanks | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 10.04.2006, 19:00 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 14. Mar 2006 
            Beiträge: 126 
             
            
            
           | 
         
       
     | 
    
      
        
           | 
         
        
          
          
            
          
            
            
  Zuletzt bearbeitet von frankqn am 29.04.2009, 21:31 Uhr, insgesamt ein Mal bearbeitet
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 10.04.2006, 20:14 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 02. Apr 2006 
            Beiträge: 121 
             
            
            
           | 
         
       
     | 
    
      
        
          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??? | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 10.04.2006, 20:26 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 08. Feb 2004 
            Beiträge: 456 
            Wohnort: Berlin 
            
            
           | 
         
       
     | 
    
      
        
          | 
 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 | 
         
        
          
          
            
          
             _________________ PC und Laptop: 2006-01 RC4 mit 2.6.18-kanotix-1 im Produktiveinsatz. Printer, Scanner, WLAN ok
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
          
             
           | 
					
            Titel:  
             Verfasst am: 10.04.2006, 20:33 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 02. Apr 2006 
            Beiträge: 121 
             
            
            
           | 
         
       
     | 
    
      
        
          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.   | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: Root only Scanner Solved 
             Verfasst am: 29.06.2006, 03:15 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 14. Feb 2006 
            Beiträge: 73 
             
            
            
           | 
         
       
     | 
    
      
        
          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. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
  
    | 
      
     |