[sane-devel] Installation of Epson 1650 Scanner

John S. Dey jsdey at optonline.net
Tue Oct 29 03:51:51 GMT 2002


Karl and Others:

I went back over this log and discovered that the file epson.conf file 
had an incorrect entry .  I changed the enty from "/dev/usb/scanner0" to 
"usb  /dev/usb/scanner0" as I had been instructed.  Thanks for your 
assistance and patience.   Scanner seem to be working correctly and I 
have it working with gimp.  One last question.  Where do I get 
information with regards to linux drivers for my HP 970Cxi printer?  I 
am not at all happy with the print quality.

Again thank you very much.

John Dey

Karl Heinz Kremer wrote:

>On Sun, Oct 27, 2002 at 02:06:34PM -0500, John S. Dey wrote:
>  
>
>>Karl:
>>
>>(1) You were right -- the permission was "crw-------" but the owner was 
>>user.  When I change the permission to "crw-rw-rw" and set owner to 
>>"user.user" and logoff and logon again the values revert to "cwr-------" 
>>and "user.root".  RH does something or maybe Gnome.  I tried with 
>>another user account and observed the same behavior.
>>    
>>
>
>That's OK, something in our computer is changing the permissioins when
>you log in. Therefore whoever is logged into the console has access
>to the scanner. 
>
>Did you install RH 7.3 from scratch, or was this an update from 7.2?
>
>  
>
>>(2) After setting to "crw-rw-rw" and "user.user" and running xsane as 
>>before, the debug scan.log file now doesn't have the line "Send buf, 
>>Size=2" but ends with the line "[epson] attach failed: Access to 
>>resource has been denied"
>>    
>>
>
>This is odd, as long as you have rw access to the device, it should
>behave the same way.
>
>  
>
>>(3) There were no messages printed to the console
>>
>>(4) I don't have another USB cable but I have a Win98 machine that did 
>>work with the scanner.  I will check out that this is still the case.  I 
>>plan to install RH 7.3 on that machine and I will run the experiments 
>>using it.
>>
>>(5)  I am currently running on a Compaq Presario 5000 with a USB keyboard.
>>
>>Thank you for your efforts and suggestions.  Any further thoughts will 
>>be greatly appreciated.
>>    
>>
>
>I am running out of ideas here. Let me give you once again the check list,
>usually it's one of these points:
>
>- Verify that you only have one set of configuration file / one version
>of Sane installed.
>- Verify that you have the correct configuration line in epson.conf
>(very likely "usb /dev/usb/scanner0")
>- Verify that you have read and write access to the device file
>- Verify that the USB scanner driver is loaded (cat /proc/modules | grep scanner)
>- Verify that the scanner is recognized by the USB driver (cat 
>/proc/bus/usb/devices)
>- Verify that you get the same results as root and as normal user.
>- Connect the scanner directly to the computer and not via a hub.
>
>Karl Heinz
>
>
>
>
>  
>
>>Karl Heinz Kremer wrote:
>>
>>    
>>
>>>Sorry for the misunderstanding. The backend tries to send two bytes
>>>(the reset command), but never receives the acknowledgement from
>>>the scanner. You wrote in your first message that the permissions
>>>on the device file are 666, can you please verify this. 
>>>
>>>Do you see any messages on the console? 
>>>
>>>Is the scanner connected via a hub? If so, can you try to connect
>>>it directly to the computer and run the test again.
>>>
>>>Do you have a second USB cable that you can use? I have seen this
>>>problem once where replacing the cable fixed everything. 
>>>
>>>Do you have any other USB devices connected to your computer?
>>>
>>>Karl Heinz
>>>
>>>
>>>On Sat, Oct 26, 2002 at 09:10:30PM -0400, John S. Dey wrote:
>>>
>>>
>>>      
>>>
>>>>By home I meant that things are not working yet.  Please note that the 
>>>>device opens and the debug output ends with "Send buf, Size=2"  I 
>>>>rechecked the file epson.conf for the correct spelling for the device 
>>>>name and it appears correct.  Where do I go from here.
>>>>
>>>>
>>>>Karl Heinz Kremer wrote:
>>>>
>>>>  
>>>>
>>>>        
>>>>
>>>>>This is strange. I assume that you have not yet changed the 
>>>>>spelling of the entry in the config file. Therefore the scanner
>>>>>should not react at all. Or did I misinterpret your comment
>>>>>about not being home? 
>>>>>
>>>>>Karl Heinz
>>>>>
>>>>>On Sat, Oct 26, 2002 at 04:18:42PM -0400, John S. Dey wrote:
>>>>>
>>>>>
>>>>>    
>>>>>
>>>>>          
>>>>>
>>>>>>Karl:
>>>>>>
>>>>>>Thanks for correcting my spelling.  I'm not home yet however.  When I 
>>>>>>xsane, a window pops up and first says that it is "scanning for a 
>>>>>>device" . After about 15 sec. the light on the scanner is blinking and 
>>>>>>then  the window goes blank and the light on the scanner stops 
>>>>>>blinking and stays on.  The debug file indicates the device has been  
>>>>>>openned and a line "Send buf, Size=2" is added to file.  I couldn't 
>>>>>>delete the window and I couldn't kill it as user or super user.  
>>>>>>Logout/login got rid of the xsane process.   Have I experienced normal 
>>>>>>behavior or is there still something I am missing.  Thanks for your 
>>>>>>assistance.
>>>>>>
>>>>>>
>>>>>>Karl Heinz Kremer wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>      
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>The log files show that you are trying to open the file
>>>>>>>/dev/ubs/scanner0 and not /dev/usb/scanner0. I am pretty
>>>>>>>sure that the scanner will work once you correct the typo.
>>>>>>>
>>>>>>>Karl Heinz
>>>>>>>
>>>>>>>On Sat, Oct 26, 2002 at 02:16:53PM -0400, John S. Dey wrote:
>>>>>>>
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>>        
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>>>Hello:
>>>>>>>>
>>>>>>>>I am trying to connect my Epson Perfection 1650 to a Up2date RH7.3 
>>>>>>>>linux machine.  I researched the archives and ran the follow test. 
>>>>>>>>The scanner is on and connected.
>>>>>>>>The device, /dev/usb/scanner0, privelages was set to 666. Can anyone 
>>>>>>>>help me out with the installation?  
>>>>>>>>Thanks
>>>>>>>>
>>>>>>>>TESTS
>>>>>>>>
>>>>>>>>"sane-find-scanner" produces:
>>>>>>>>
>>>>>>>>sane-find-scanner: found USB scanner (vendor = 0x04b8, product = 
>>>>>>>>0x0110) at device /dev/usb/scanner0
>>>>>>>>
>>>>>>>>"export SANE_DEBUG_EPSON=3D12
>>>>>>>>xsane > /tmp/scan.log 2>&1" produces the output:
>>>>>>>>
>>>>>>>>[sanei_debug] Setting debug level of epson to 3.
>>>>>>>>[epson] sane_init: sane-backends 1.0.7
>>>>>>>>[epson] SANE Epson Backend v0.2.19 - 2002-01-18
>>>>>>>>[epson] attach: opening epson:/dev/ubs/scanner0
>>>>>>>>[epson] attach: open failed: Invalid argument
>>>>>>>>
>>>>>>>>I have set epson.conf to both /dev/ubs/scnner0 (output not shown) 
>>>>>>>>and epson:/dev/ubs/scanner0
>>>>>>>>
>>>>>>>>I issued:
>>>>>>>>"SANE_DEBUG_EPSON=255 scanimage -L" which produces:
>>>>>>>>[sanei_debug] Setting debug level of epson to 255.
>>>>>>>>. 
>>>>>>>>.
>>>>>>>>.
>>>>>>>>[epson] sane_init, >#               recognized.<
>>>>>>>>[epson] sane_init, >epson:/dev/ubs/scanner0<
>>>>>>>>[epson] sane_init, >epson:/dev/ubs/scanner0<
>>>>>>>>[epson] attach(epson:/dev/ubs/scanner0)
>>>>>>>>[epson] SANE Epson Backend v0.2.19 - 2002-01-18
>>>>>>>>[epson] attach(epson:/dev/ubs/scanner0)
>>>>>>>>[epson] attach: opening epson:/dev/ubs/scanner0
>>>>>>>>[epson] attach: open failed: Invalid argument
>>>>>>>>[epson] sane_get_devices()
>>>>>>>>. 
>>>>>>>>.
>>>>>>>>.
>>>>>>>>and finally I issued:
>>>>>>>>"SANE_DEBUG_DLL=255 scanimage -L" which produces:
>>>>>>>>
>>>>>>>>[sanei_debug] Setting debug level of dll to 255.
>>>>>>>>[dll] sane_init: SANE dll backend version 1.0.5 from 
>>>>>>>>sane-backends-1.0.7
>>>>>>>>[dll] add_backend: adding backend epson
>>>>>>>>[dll] load: loading backend epson
>>>>>>>>[dll] load: dlopen()ing `/usr/lib/sane/libsane-epson.so.1'
>>>>>>>>[dll] init: initializing backend `epson'
>>>>>>>>[sanei_debug] Setting debug level of epson to 3.
>>>>>>>>[epson] sane_init: sane-backends 1.0.7
>>>>>>>>[epson] SANE Epson Backend v0.2.19 - 2002-01-18
>>>>>>>>[epson] attach: opening epson:/dev/ubs/scanner0
>>>>>>>>[epson] attach: open failed: Invalid argument
>>>>>>>>[dll] init: backend `epson' is version 1.0.219
>>>>>>>>[dll] sane_exit: exiting
>>>>>>>>[dll] sane_exit: calling backend `epson's exit function
>>>>>>>>[dll] sane_exit: finished
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>_______________________________________________
>>>>>>>>Sane-devel mailing list
>>>>>>>>Sane-devel at www.mostang.com
>>>>>>>>http://www.mostang.com/mailman/listinfo/sane-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>    
>>>>>>>>
>>>>>>>>          
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>>        
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>      
>>>>>>
>>>>>>            
>>>>>>
>>>>>    
>>>>>
>>>>>          
>>>>>
>>>>  
>>>>
>>>>        
>>>>
>>>
>>>      
>>>
>>
>>    
>>
>
>  
>






More information about the sane-devel mailing list