[sane-devel] Unknown SANE status code -1081075667

carterbueford at gmx.net carterbueford at gmx.net
Mon Oct 26 17:12:59 UTC 2009


Hi at all,

I've got the following error trying to scan with my Epson Stylus Photo RX640
over XSane.

>> >> [sanei_debug] Setting debug level of epson2 to 128.
>> >> [epson2] sane_epson2_init: sane-backends 1.0.19
>> >> [epson2] sane_epson2_init: reading config file, epson2.conf
>> >> [epson2]  scsi EPSON
>> >> [epson2]  usb
>> >> [epson2] attach_one_usb: dev =
>> >> [epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30
>> >> [epson2] attach: devname = , type = 3
>> >> [epson2] attach: opening , type = 3
>> >> [epson2]  net autodiscovery
>> >> [epson2] attach_one_net: dev = autodiscovery
>> >> [epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30
>> >> [epson2] attach: devname = autodiscovery, type = 4
>> >> [epson2] attach: opening autodiscovery, type = 4
>> >> [epson2] e2_network_discovery, sent discovery packet
>> >> [epson2] e2_network_discovery, end
>> >> [epson2] close_scanner: fd = -1
>> >> [epson2] sane_epson2_get_devices

Simple scanimage from server mashine and client PC works.

Any ideas.

Regards
Oliver
 

-----Ursprüngliche Nachricht-----
Von: m. allan noah [mailto:kitno455 at gmail.com] 
Gesendet: Montag, 26. Oktober 2009 13:27
An: Oliver Polch
Betreff: Re: [sane-devel] Unknown SANE status code -1081075667

xsane cannot speak over the network. it has some portion of sane
(perhaps just the net backend) installed inside it.

I am not sure what you can do to fix this- how about this: can you get
the scanner setup via USB in your linux VM? then share it with the
windows host via saned, and see if the same problem occurs. That will
tell us if the compile on the router is part of the problem...

allan

On Mon, Oct 26, 2009 at 6:31 AM, Oliver Polch <CarterBueford at gmx.net> wrote:
> Hi,
>
> on the client there is no sane, only XSane 0,996.
> On the server there is sane-backends, the latest git.
>
> Regards
> Oliver
>
> -------- Original-Nachricht --------
>> Datum: Sun, 25 Oct 2009 16:15:10 -0400
>> Von: "m. allan noah" <kitno455 at gmail.com>
>> An: carterbueford at gmx.net
>> Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
>
>> hmm- notice that there are no messages from epson2 prior to the
>> segfault. strange. what version of sane is in use on the client
>> machine?
>>
>> allan
>>
>> On Sun, Oct 25, 2009 at 10:18 AM,  <carterbueford at gmx.net> wrote:
>> > Hi Allan,
>> >
>> > see the attached logfile.
>> >
>> > Regards
>> > Oliver
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: m. allan noah [mailto:kitno455 at gmail.com]
>> > Gesendet: Sonntag, 25. Oktober 2009 12:43
>> > An: Oliver Polch
>> > Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
>> >
>> > ahh, yes- this won't work on the client machine. we instead need to
>> > set it somehow in the xinetd config, and send the output into a file
>> > that the user can write to. I've never done that before, you'll have
>> > to figure it out.
>> >
>> > allan
>> >
>> > On Sun, Oct 25, 2009 at 5:25 AM, Oliver Polch <CarterBueford at gmx.net>
>> wrote:
>> >> Hi,
>> >>
>> >> here is the log:
>> >>
>> >> [sanei_debug] Setting debug level of epson2 to 128.
>> >> [epson2] sane_epson2_init: sane-backends 1.0.19
>> >> [epson2] sane_epson2_init: reading config file, epson2.conf
>> >> [epson2]  scsi EPSON
>> >> [epson2]  usb
>> >> [epson2] attach_one_usb: dev =
>> >> [epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30
>> >> [epson2] attach: devname = , type = 3
>> >> [epson2] attach: opening , type = 3
>> >> [epson2]  net autodiscovery
>> >> [epson2] attach_one_net: dev = autodiscovery
>> >> [epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30
>> >> [epson2] attach: devname = autodiscovery, type = 4
>> >> [epson2] attach: opening autodiscovery, type = 4
>> >> [epson2] e2_network_discovery, sent discovery packet
>> >> [epson2] e2_network_discovery, end
>> >> [epson2] close_scanner: fd = -1
>> >> [epson2] sane_epson2_get_devices
>> >>
>> >> Regards
>> >> Oliver
>> >>
>> >>
>> >> -------- Original-Nachricht --------
>> >>> Datum: Sat, 24 Oct 2009 16:05:37 -0400
>> >>> Von: "m. allan noah" <kitno455 at gmail.com>
>> >>> An: Oliver Polch <CarterBueford at gmx.net>
>> >>> Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
>> >>
>> >>> try with epson2 debug instead:
>> >>>
>> >>> SANE_DEBUG_EPSON2=128 xsane 2>ep2.log
>> >>>
>> >>> allan
>> >>>
>> >>> On Sat, Oct 24, 2009 at 3:52 PM, Oliver Polch <CarterBueford at gmx.net>
>> >>> wrote:
>> >>> > Hi,
>> >>> >
>> >>> > here is the logfile:
>> >>> >
>> >>> > [sanei_debug] Setting debug level of net to 10.
>> >>> > [net] sane_init: authorize = 0x413a70, version_code =
0x7fff8a519aa4
>> >>> > [net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6)
>> from
>> >>> sane-backends 1.0.19
>> >>> > [net] sane_init: Client has little endian byte order
>> >>> > [net] sane_init: searching for config file
>> >>> > [net] net_avahi_browse_callback: CACHE_EXHAUSTED
>> >>> > [net] sane_init: trying to add 192.168.1.1
>> >>> > [net] add_device: adding backend 192.168.1.1
>> >>> > [net] add_device: backend 192.168.1.1 added
>> >>> > [net] sane_init: done reading config
>> >>> > [net] sane_init: evaluating environment variable SANE_NET_HOSTS
>> >>> > [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
>> >>> > [net] sane_init: done
>> >>> > [net] sane_get_devices: local_only = 0
>> >>> > [net] connect_dev: trying to connect to 192.168.1.1
>> >>> > [net] connect_dev: [0] connection succeeded (IPv4)
>> >>> > [net] connect_dev: sanei_w_init
>> >>> > [net] connect_dev: net_init (user=ram32, local version=1.0.3)
>> >>> > [net] connect_dev: freeing init reply (status=Success, remote
>> >>> version=1.0.3)
>> >>> > [net] connect_dev: done
>> >>> > [net] net_avahi_browse_callback: ALL_FOR_NOW
>> >>> > [net] sane_get_devices: got 192.168.1.1:epson2:libusb:002:004
>> >>> > [net] sane_get_devices: finished (1 devices)
>> >>> > [net] sane_open("192.168.1.1:epson2:libusb:002:004")
>> >>> > [net] sane_open: host = 192.168.1.1, device = epson2:libusb:002:004
>> >>> > [net] sane_open: device found in list
>> >>> > [net] sane_open: net_open
>> >>> > [net] sane_open: getting option descriptors
>> >>> > [net] fetch_options: 0x2782510
>> >>> > [net] fetch_options: get_option_descriptors
>> >>> > [net] fetch_options: creating 45 local option descriptors
>> >>> > [net] fetch_options: copying 45 option descriptors
>> >>> > [net] fetch_options: 45 options fetched
>> >>> > [net] sane_open: success
>> >>> > [net] sane_control_option: option 0, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 1
>> >>> > [net] sane_get_option_descriptor: option 2
>> >>> > [net] sane_get_option_descriptor: option 2
>> >>> > [net] sane_control_option: option 2, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 3
>> >>> > [net] sane_get_option_descriptor: option 4
>> >>> > [net] sane_get_option_descriptor: option 5
>> >>> > [net] sane_get_option_descriptor: option 5
>> >>> > [net] sane_control_option: option 5, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 6
>> >>> > [net] sane_get_option_descriptor: option 7
>> >>> > [net] sane_get_option_descriptor: option 8
>> >>> > [net] sane_get_option_descriptor: option 8
>> >>> > [net] sane_control_option: option 8, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 9
>> >>> > [net] sane_get_option_descriptor: option 10
>> >>> > [net] sane_get_option_descriptor: option 10
>> >>> > [net] sane_control_option: option 10, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 11
>> >>> > [net] sane_get_option_descriptor: option 12
>> >>> > [net] sane_get_option_descriptor: option 13
>> >>> > [net] sane_get_option_descriptor: option 14
>> >>> > [net] sane_get_option_descriptor: option 15
>> >>> > [net] sane_get_option_descriptor: option 15
>> >>> > [net] sane_control_option: option 15, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 16
>> >>> > [net] sane_get_option_descriptor: option 17
>> >>> > [net] sane_get_option_descriptor: option 18
>> >>> > [net] sane_get_option_descriptor: option 19
>> >>> > [net] sane_get_option_descriptor: option 19
>> >>> > [net] sane_control_option: option 19, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 20
>> >>> > [net] sane_get_option_descriptor: option 21
>> >>> > [net] sane_get_option_descriptor: option 22
>> >>> > [net] sane_get_option_descriptor: option 23
>> >>> > [net] sane_get_option_descriptor: option 24
>> >>> > [net] sane_get_option_descriptor: option 25
>> >>> > [net] sane_get_option_descriptor: option 26
>> >>> > [net] sane_get_option_descriptor: option 27
>> >>> > [net] sane_get_option_descriptor: option 28
>> >>> > [net] sane_get_option_descriptor: option 29
>> >>> > [net] sane_get_option_descriptor: option 30
>> >>> > [net] sane_get_option_descriptor: option 31
>> >>> > [net] sane_get_option_descriptor: option 32
>> >>> > [net] sane_get_option_descriptor: option 33
>> >>> > [net] sane_get_option_descriptor: option 33
>> >>> > [net] sane_control_option: option 33, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 34
>> >>> > [net] sane_get_option_descriptor: option 34
>> >>> > [net] sane_control_option: option 34, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 35
>> >>> > [net] sane_get_option_descriptor: option 35
>> >>> > [net] sane_control_option: option 35, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 36
>> >>> > [net] sane_get_option_descriptor: option 36
>> >>> > [net] sane_control_option: option 36, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 37
>> >>> > [net] sane_get_option_descriptor: option 38
>> >>> > [net] sane_get_option_descriptor: option 38
>> >>> > [net] sane_control_option: option 38, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 39
>> >>> > [net] sane_get_option_descriptor: option 40
>> >>> > [net] sane_get_option_descriptor: option 41
>> >>> > [net] sane_get_option_descriptor: option 42
>> >>> > [net] sane_get_option_descriptor: option 43
>> >>> > [net] sane_get_option_descriptor: option 44
>> >>> > [net] sane_get_option_descriptor: option 38
>> >>> > [net] sane_get_option_descriptor: option 38
>> >>> > [net] sane_control_option: option 38, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: remote done (Success, info 0)
>> >>> > [net] sane_control_option: done (Success, info 0)
>> >>> > [net] sane_get_option_descriptor: option 2
>> >>> > [net] sane_get_option_descriptor: option 2
>> >>> > [net] sane_control_option: option 2, action 0
>> >>> > [net] sane_control_option: remote control option
>> >>> > [net] sane_control_option: auth required
>> >>> > [net]
>> >>> >
>> >>> >
>> >>> > Regards
>> >>> > Oliver
>> >>> >
>> >>> >
>> >>> > -------- Original-Nachricht --------
>> >>> >> Datum: Sat, 24 Oct 2009 08:44:23 -0400
>> >>> >> Von: "m. allan noah" <kitno455 at gmail.com>
>> >>> >> An: carterbueford at gmx.net
>> >>> >> Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
>> >>> >
>> >>> >> now get the xsane debug log i asked for on your ubuntu vm...
>> >>> >>
>> >>> >> allan
>> >>> >>
>> >>> >> On Sat, Oct 24, 2009 at 8:36 AM,  <carterbueford at gmx.net> wrote:
>> >>> >> > Hi,
>> >>> >> >
>> >>> >> > I have Ubuntu running in a VM, XSane still doesn't work,
>> scanimage
>> >>> does.
>> >>> >> > Might be a problem with XSane and epson2?
>> >>> >> >
>> >>> >> > Seems not to be a problem with the windows-version of XSane.
>> >>> >> >
>> >>> >> > I'm going to crosscompile a new version of sane-backends with
the
>> >>> flags
>> >>> >> and
>> >>> >> > take a look at the logs.
>> >>> >> >
>> >>> >> > Regards
>> >>> >> > Oliver
>> >>> >> >
>> >>> >> > -----Ursprüngliche Nachricht-----
>> >>> >> > Von: m. allan noah [mailto:kitno455 at gmail.com]
>> >>> >> > Gesendet: Donnerstag, 22. Oktober 2009 14:46
>> >>> >> > An: carterbueford at gmx.net
>> >>> >> > Cc: sane-devel at lists.alioth.debian.org
>> >>> >> > Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
>> >>> >> >
>> >>> >> > On Thu, Oct 22, 2009 at 1:17 AM,  <carterbueford at gmx.net> wrote:
>> >>> >> >> Hi,
>> >>> >> >>
>> >>> >> >> "easy, open a terminal window on the scanning client, and run
>> the
>> >>> >> >> command i gave you."
>> >>> >> >>
>> >>> >> >> Does not work. I am using Windows XP and after executing the
>> >>> command,
>> >>> >> the
>> >>> >> >> log is empty.
>> >>> >> >> Command I used:
>> >>> >> >> C:\sane\bin>xsane 2>net.log
>> >>> >> >
>> >>> >> > ahh- somewhere along the way you should have mentioned that
>> windows
>> >>> >> > was involved. You might try asking the author of xsane...
>> >>> >> >
>> >>> >> >> "SANE_DEBUG_NET=10" Where do I have to execute this command? It
>> > only
>> >>> >> works
>> >>> >> >> on my router.
>> >>> >> >
>> >>> >> > this sets an enviroment variable in unix, you put it on the same
>> >>> >> > command line right before you call the program, just like i
typed
>> it
>> >>> >> > before.
>> >>> >> >
>> >>> >> >> "what about scanimage on the client machine?"
>> >>> >> >> Works!
>> >>> >> >>
>> >>> >> >> "if you maintain the package, you should know how to modify the
>> .bb
>> >>> >> >> file to add arguments to the gcc call. Something like
>> CFLAGS="-Wall
>> >>> >> >> -Werror"
>> >>> >> >> Yes, no problem to set the flags, but I did not understand what
>> >>> effect
>> >>> >> it
>> >>> >> >> will have. Is this option for debugging or to solve the problem
>> >>> after
>> >>> >> >> compiling?
>> >>> >> >
>> >>> >> > the -W options to gcc make it give more warnings at compile
time.
>> > you
>> >>> >> > will have to find the bitbake logfile to see the noise.
>> >>> >> >
>> >>> >> > but frankly, I am now thinking the windows compile of xsane
might
>> be
>> >>> >> > part of the problem. The easiest way to know would be for you to
>> >>> >> > install a real OS on your machine (i.e. Linux, perhaps in a VM),
>> and
>> >>> >> > make sure that you can scan over the network.
>> >>> >> >
>> >>> >> > allan
>> >>> >> >
>> >>> >> >>
>> >>> >> >> Regards
>> >>> >> >> Oliver
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> -----Ursprüngliche Nachricht-----
>> >>> >> >> Von: m. allan noah [mailto:kitno455 at gmail.com]
>> >>> >> >> Gesendet: Dienstag, 20. Oktober 2009 14:41
>> >>> >> >> An: carterbueford at gmx.net
>> >>> >> >> Cc: Olaf Meeuwissen; sane-devel at lists.alioth.debian.org
>> >>> >> >> Betreff: Re: [sane-devel] Unknown SANE status code -1081075667
>> >>> >> >>
>> >>> >> >> On Tue, Oct 20, 2009 at 2:49 AM,  <carterbueford at gmx.net>
>> wrote:
>> >>> >> >>> Hi,
>> >>> >> >>>
>> >>> >> >>> @allan: I do not run xsane on the same mashine like the
>> >>> sane-server,
>> >>> >> so I
>> >>> >> >> do not understand how to write the log you want me to.
>> >>> >> >>> "xsane... 2>net.log"
>> >>> >> >>
>> >>> >> >> easy, open a terminal window on the scanning client, and run
the
>> >>> >> >> command i gave you.
>> >>> >> >>
>> >>> >> >>> sanimage on the mashine where the sane-server runs, works
fine.
>> >>> >> >>
>> >>> >> >> what about scanimage on the client machine?
>> >>> >> >>
>> >>> >> >> Tthere are three likely sources for this error:
>> >>> >> >>
>> >>> >> >> 1. xsane makes different API calls than scanimage, and triggers
>> a
>> >>> bug
>> >>> >> in
>> >>> >> >> epson2
>> >>> >> >> 2. net backend munges the data
>> >>> >> >> 3. saned munges the data
>> >>> >> >>
>> >>> >> >>> @Olaf:"Compile the backend with gcc -Wall -Werror should give
a
>> >>> >> cluebat."
>> >>> >> >> What is meant by that?
>> >>> >> >>> I'm using the optware package, so it is not compiled on my
>> router.
>> >>> I
>> >>> >> am
>> >>> >> >> maintainer of the package, so I can patch it to be compiled in
a
>> >>> >> different
>> >>> >> >> way, but how?
>> >>> >> >>
>> >>> >> >> if you maintain the package, you should know how to modify the
>> .bb
>> >>> >> >> file to add arguments to the gcc call. Something like
>> CFLAGS="-Wall
>> >>> >> >> -Werror"
>> >>> >> >>
>> >>> >> >> bitbake puts its compilation output someplace funny, you'll
have
>> to
>> >>> >> >> look for the log...
>> >>> >> >>
>> >>> >> >> allan
>> >>> >> >> --
>> >>> >> >> "The truth is an offense, but not a sin"
>> >>> >> >>
>> >>> >> >>
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> > --
>> >>> >> > "The truth is an offense, but not a sin"
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> --
>> >>> >> "The truth is an offense, but not a sin"
>> >>> >
>> >>> > --
>> >>> > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
>> Firefox
>> >>> 3.5 -
>> >>> > sicherer, schneller und einfacher!
>> > http://portal.gmx.net/de/go/chbrowser
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> "The truth is an offense, but not a sin"
>> >>
>> >> --
>> >> Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
>> >> http://portal.gmx.net/de/go/dsl02
>> >>
>> >
>> >
>> >
>> > --
>> > "The truth is an offense, but not a sin"
>> >
>>
>>
>>
>> --
>> "The truth is an offense, but not a sin"
>
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5
-
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
>



-- 
"The truth is an offense, but not a sin"




More information about the sane-devel mailing list