Loading ...
Sorry, an error occurred while loading the content.
 

Re: [nslu2-linux] Re: SANE Windows Front-End unable to connect to back-end

Expand Messages
  • David Karlström
    ... Yep, only root has access to USB by default under linux. To change that, look at the section Setting up saned on
    Message 1 of 3 , Dec 29, 2005
      On On, 2005-12-28, 21:50, supergerg79 skrev:
      > Maybe something wrong with my config, but if I change the user in the
      > xinetd config file for saned from nobody to root it works now
      >
      > gerg

      Yep, only root has access to USB by default under linux. To change that,
      look at the section "Setting up saned" on
      http://www.nslu2-linux.org/wiki/HowTo/SetUpAScannerServerWithSANE .

      / David

      >
      > --- In nslu2-linux@yahoogroups.com, "supergerg79" <supergerg@c...> wrote:
      >>
      >> I have setup SANE under OpenSlug 2.7, and the scanner works locally
      >> from the slug when I run:
      >> scanimage --mode Color | pnmtojpeg -quality=95 > foo.jpg
      >>
      >> But when I try and connect from my Windows Front-End, the programs do
      >> not discover any devices. Has anyone successfully setup saned with
      >> Windows Front-End?
      >>
      >> XSane Windows v0.98 & SaneTwain v1.27RC7 give the same below output in
      >> /var/log/messages:
      >> Jan 27 05:42:46 (none) daemon.debug saned[1608]: saned (AF-indep+IPv6)
      >> from sane-backends 1.0.15 ready
      >> Jan 27 05:42:46 (none) daemon.debug saned[1608]: check_host: access by
      >> remote host: 192.168.1.3
      >> Jan 27 05:42:46 (none) daemon.debug saned[1608]: init: access granted
      >> to Dad@1...
      >> Jan 27 05:42:49 (none) daemon.debug saned[1608]: quit: exiting
      >>
      >> Using SaneTwain v1.26 I get a little further but fails again to
      >> discover the scanner:
      >> Jan 27 05:46:22 (none) daemon.debug saned[1611]: saned (AF-indep+IPv6)
      >> from sane-backends 1.0.15 ready
      >> Jan 27 05:46:22 (none) daemon.debug saned[1611]: check_host: access by
      >> remote host: 192.168.1.3
      >> Jan 27 05:46:22 (none) daemon.debug saned[1611]: init: access granted
      >> to PCUSER@1...
      >> Jan 27 05:46:22 (none) daemon.debug saned[1611]: process_request:
      >> (open) device_list[0] == 0
      >> Jan 27 05:46:28 (none) daemon.debug saned[1611]: decode_handle:
      >> cancel: error while decoding handle argument (h=0, Success)
      >> Jan 27 05:46:28 (none) daemon.debug saned[1611]: decode_handle: close:
      >> error while decoding handle argument (h=0, Success)
      >>
      >>
      >> Any ideas?
      >> TIA
      >> gerg
      >>
      >
      >
      >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.