It looks like the something to do with "connection refused".
Is there some network access permissions that need to be configured on 
the pc with the scanner?

Here is the output from the client pc:

============================
[root@my90newpc root]# /usr/local/bin/scanimage -d 
net:192.168.1.50:gt68xx:/dev/usb/scanner0
[sanei_debug] Setting debug level of net to 255.
[net] sane_init: authorize = 0x80491d0, version_code = 0xbfffce1c
[net] sane_init: SANE net backend version 1.0.13 (AF-indep+IPv6) from 
sane-backends 1.0.16
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] sane_init: trying to add 192.168.1.50:gt68xx:/dev/usb/scanner0
[net] add_device: adding backend 192.168.1.50:gt68xx:/dev/usb/scanner0
[net] add_device: error while getting address of host 
192.168.1.50:gt68xx:/dev/usb/scanner0: Name or service not known
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: done
[net] sane_open("192.168.1.50:gt68xx:/dev/usb/scanner0")
[net] sane_open: host = 192.168.1.50, device = gt68xx:/dev/usb/scanner0
[net] sane_open: device 192.168.1.50 not found, trying to register it anyway
[net] add_device: adding backend 192.168.1.50
[net] add_device: backend 192.168.1.50 added
[net] sane_open: device not connected yet...
[net] connect_dev: trying to connect to 192.168.1.50
[net] connect_dev: [0] failed to connect (Connection refused)
[net] connect_dev: [1] failed to connect (Connection refused)
[net] connect_dev: [2] failed to connect (Connection refused)
[net] connect_dev: couldn't connect to host (see messages above)
[net] sane_open: could not connect to device
scanimage: open of device net:192.168.1.50:gt68xx:/dev/usb/scanner0 
failed: Error during device I/O
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x8051a90, ctl=-1
[net] sane_exit: finished.
============================


Henning Meier-Geinitz wrote:

>Hi,
>
>On Wed, Sep 14, 2005 at 10:08:30AM -0400, Martin wrote:
>  
>
>>The scanner is working properly on oldpc.
>>
>>This is the ouput on oldpc.
>>
>>[root@oldpc]# /usr/local/bin/scanimage -L
>>device `gt68xx:/dev/usb/scanner0' is a Mustek ScanExpress 1200 UB Plus 
>>flatbed scanner
>>    
>>
>
>Does scanimage -L also show the scanner on the client?
>
>Could you enable debugging on the client, i.e. do
>export SANE_DEBUG_NET=255
>and then run scanimage as done before. Please send us the output.
>
>  
>
>>Question: Does the client pc, in this case "newpc" have to have the same 
>>sane installed on it as oldpc, to run it from newpc?
>>    
>>
>
>No. At least if you use versions of sane released in the last 4 years
>this shouldn't be a problem.
>
>Bye,
>  Henning
>
>  
>

-- 
-------------- next part --------------
Skipped content of type multipart/related
From mich...@con-rad.de  Wed Sep 14 19:47:34 2005
From: mich...@con-rad.de (Michael Conrad)
Date: Wed Sep 14 19:47:53 2005
Subject: Re2(!): [sane-devel] End of file reached OSX
In-Reply-To: <20050914171123.gb22...@meier-geinitz.de>
References: <d8fdb257-da63-413d-a713-7890b3450...@con-rad.de>
        <20050914171123.gb22...@meier-geinitz.de>
Message-ID: <2abf0433-89d1-4998-9a1e-401791e92...@con-rad.de>

Hi,

Its me again, i found debug possibilty.

The error message, which appears short before "End of File", is

gt68xx] gt68xx_device_read: trying to read 7872 bytes
[gt68xx] gt68xx_device_read_raw: enter: size=7872
[gt68xx] gt68xx_device_read_raw: bulk read failed: End of file reached
[gt68xx] gt68xx_device_read: read failed
[gt68xx] somewhere: gt68xx_device_read (reader->dev, pixel_buffer,  
&size): End of file reached
[gt68xx] gt68xx_afe_cis_read_lines: gt68xx_line_reader_read failed:  
End of file reached
[gt68xx] somewhere: gt68xx_afe_cis_read_lines (&values, scanner, 0,  
first, r_obuffer, g_obuffer, b_obuffer): End of file reached
[gt68xx] gt68xx_scanner_calibrate: gt68xx_afe_*_auto failed: End of  
file reached
[gt68xx] somewhere: gt68xx_scanner_calibrate (s, &scan_request): End  
of file reached

This is all, everything before looks normal and like with scanimage

Any ideas?

Greetings

Michael

Am 14.09.2005 um 21:11 schrieb Henning Meier-Geinitz:



> Hi,
>
> On Tue, Sep 13, 2005 at 05:08:07PM +0400, Michael Conrad wrote:
>
>
>
>> i am using an Mustek 1248UB, which is fully supported by gt48xx.
>>
>> Operating System is OSX.
>>
>> I installed all necessary packages for OSX and scanimage -L and
>> scanning with scanimage works.
>>
>> But when i use an application, which uses the Twain-Sane-Bridge, the
>> scanner does something short and dies after it. And i get the error
>> message : End of file reached. It happens with all applications,
>> which are using this bridge.
>>
>>
>>
>
> Does this happen with sane-backends 1.0.16?
>
> Is there a way to generate a debug log when using the
> Twain-Sane-Bridge? For scanimage and bash this would look like this:
>
> export SANE_DEBUG_GT68XX=255
> scanimage >image.pnm 2>log.txt
>
> Bye,
>   Henning
>
> -- 
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-requ...@lists.alioth.debian.org
>
>
>



Am 14.09.2005 um 21:11 schrieb Henning Meier-Geinitz:

> Hi,
>
> On Tue, Sep 13, 2005 at 05:08:07PM +0400, Michael Conrad wrote:
>
>> i am using an Mustek 1248UB, which is fully supported by gt48xx.
>>
>> Operating System is OSX.
>>
>> I installed all necessary packages for OSX and scanimage -L and
>> scanning with scanimage works.
>>
>> But when i use an application, which uses the Twain-Sane-Bridge, the
>> scanner does something short and dies after it. And i get the error
>> message : End of file reached. It happens with all applications,
>> which are using this bridge.
>>
>
> Does this happen with sane-backends 1.0.16?
>
> Is there a way to generate a debug log when using the
> Twain-Sane-Bridge? For scanimage and bash this would look like this:
>
> export SANE_DEBUG_GT68XX=255
> scanimage >image.pnm 2>log.txt
>
> Bye,
>   Henning
>
> -- 
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-requ...@lists.alioth.debian.org
>

Reply via email to