My setup:
- scanner - Canon MP640
- sane 1.0.21
- xsane 0.997
Problem: xsane recognizes my scanner, but when I try to “Acquire Preview” or scan it doesn’t do anything. It’s like it can’t communicate with the scanner. It waits till I click cancel.
Sane is setup correctly - I tried skanlite and it works just fine.
Any idea how to debug it, I can’t really think of anything that could be wrong.
Thanks,
art
I’m not sure why skanlite work and not xsane. Maybe try it as root like this:
kdesu xsane
If using Gnome
gnomesu xsane
Any difference?
Thanks for the reply!
It works as root, so it looks like permissions to the device file maybe? But this is wireless network scanner, so if that what it is where would I check that?
Hmmm… thats a good question. I’m not familiar with wireless network-attached scanners, (although I have had experience with scanners via ethernet in the past). I would have a look at /etc/udev/rules.d/ for any udev rules that may have been added by the Canon scanner driver package. That may explicitly set particular group access.
Then add the relevant user to that group via
YaST > Security and Users > User and Group Management
Yes, I checked that. Looks like udev has rules from sane and it sets ‘lp’ group which my user was part of already, and canon rules set mode=666. Priority is 55 for sane rules and 80 for canon…
I’m really confused with this and then permissions wouldn’t explain why skanlite worked for the user. I think skanlite is a part of sane frontends, just like xsane?
Any, alternatives to xsane that would be able to handle multipage?
Never mind, I’m an idiot!! I had a “Button-controlled scan” checked in Options. I have no idea how this got checked, I never open this window, but I noticed this after deleting .sane folder in my home dir and starting xsane again with all 4 windows opened.
Never mind, I’m an idiot!! I had a “Button-controlled scan” checked in Options. I have no idea how this got checked, I never open this window, but I noticed this after deleting .sane folder in my home dir and starting xsane again with all 4 windows opened.
Operator errors can be the hardest problems to track down, but its a good way to learn!
Glad its all working for you now.