Results 1 to 7 of 7

Thread: xsane stopped working

  1. #1

    Default xsane stopped working

    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

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,978
    Blog Entries
    1

    Default Re: xsane stopped working

    I'm not sure why skanlite work and not xsane. Maybe try it as root like this:

    Code:
    kdesu xsane
    If using Gnome

    Code:
    gnomesu xsane
    Any difference?

  3. #3

    Default Re: xsane stopped working

    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?

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,978
    Blog Entries
    1

    Default Re: xsane stopped working

    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

  5. #5

    Default Re: xsane stopped working

    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?

  6. #6

    Default Re: xsane stopped working

    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.

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,978
    Blog Entries
    1

    Default Re: xsane stopped working

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •