[sane-devel] Fwd: TWAIN SANE Interface for MacOS X

Randy Becker randy@lemnar.com
Tue, 20 Jan 2004 18:55:41 -0500


--Apple-Mail-2--301023028
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Any help?

also, i've begun scanning via the command line over the network and
after a few (~ 15) scans the remote box seems to lock up, and I need to  
reboot
it...

-Randy

Begin forwarded message:

> From: Randy Becker <randy@lemnar.com>
> Date: January 18, 2004 10:56:21 PM EST
> To: mattias.ellert@tsl.uu.se
> Subject: TWAIN SANE Interface for MacOS X
>
> Hello, I just dug up an old scanner of mine, and got it set up with  
> saned on my linux box, and am able to use scanimage to scan via it,  
> but when I use an application such as Photoshop or GraphicConverter  
> and attempt to select the source, the app crashes/disappears. I  
> enabled the test interface, so when I bring up the acquire menu, I can  
> see and use the test backends, but when I select my networked scanner  
> from the list, it crashes. I followed the instructions, and did this:
>
> $ SANE_DEBUG_NET=255 \>  
> /System/Library/Frameworks/Carbon.framework/Versions/A/Support/ 
> LaunchCFMApp /Users/rbecker/Desktop/GraphicConverter\ US\  
> X/GraphicConverter.app
> [sanei_debug] Setting debug level of net to 255.
> [net] sane_init: authorize = 0x477b6e0, version_code = 0xbfffd830
> [net] sane_init: SANE net backend version 1.0.12 (AF-indep+IPv6) from  
> sane-backends 1.0.13
> [net] sane_init: Client has big endian byte order
> [net] sane_init: searching for config file
> [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: 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=rbecker, local version=1.0.3)
> [net] connect_dev: freeing init reply (status=Success, remote  
> version=1.0.3)
> [net] connect_dev: done
> [net] sane_get_devices: got 192.168.1.1:umax:/dev/scanner
> [net] sane_get_devices: got 192.168.1.1:umax:/dev/sg0
> [net] sane_get_devices: finished (2 devices)
> [net] sane_open("192.168.1.1:umax:/dev/scanner")
> [net] sane_open: host = 192.168.1.1, device = umax:/dev/scanner
> [net] sane_open: device found in list
> [net] sane_open: net_open
> [net] sane_open: success
> [net] sane_get_option_descriptor: option 1
> [net] sane_get_option_descripter: getting option descriptors
> [net] fetch_options: 0x3da380
> [net] fetch_options: get_option_descriptors
> [net] fetch_options: creating 68 local option descriptors
> [net] fetch_options: copying 68 option descriptors
> [net] fetch_options: 68 options fetched
> Abort trap
>
> Which is where it closes.
>
> Any ideas?
>
> -Randy Becker
>

--Apple-Mail-2--301023028
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

Any help?


also, i've begun scanning via the command line over the network and

after a few (~ 15) scans the remote box seems to lock up, and I need
to reboot

it...


-Randy


Begin forwarded message:


<excerpt><bold><color><param>0000,0000,0000</param>From:
</color></bold>Randy Becker <<randy@lemnar.com>

<bold><color><param>0000,0000,0000</param>Date: </color></bold>January
18, 2004 10:56:21 PM EST

<bold><color><param>0000,0000,0000</param>To:
</color></bold>mattias.ellert@tsl.uu.se

<bold><color><param>0000,0000,0000</param>Subject: </color>TWAIN SANE
Interface for MacOS X

</bold>

Hello, I just dug up an old scanner of mine, and got it set up with
saned on my linux box, and am able to use scanimage to scan via it,
but when I use an application such as Photoshop or GraphicConverter
and attempt to select the source, the app crashes/disappears. I
enabled the test interface, so when I bring up the acquire menu, I can
see and use the test backends, but when I select my networked scanner
from the list, it crashes. I followed the instructions, and did this:


$ SANE_DEBUG_NET=255 \>
/System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp
/Users/rbecker/Desktop/GraphicConverter\ US\ X/GraphicConverter.app

[sanei_debug] Setting debug level of net to 255.

[net] sane_init: authorize = 0x477b6e0, version_code = 0xbfffd830

[net] sane_init: SANE net backend version 1.0.12 (AF-indep+IPv6) from
sane-backends 1.0.13

[net] sane_init: Client has big endian byte order

[net] sane_init: searching for config file

[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: 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=rbecker, local version=1.0.3)

[net] connect_dev: freeing init reply (status=Success, remote
version=1.0.3)

[net] connect_dev: done

[net] sane_get_devices: got 192.168.1.1:umax:/dev/scanner

[net] sane_get_devices: got 192.168.1.1:umax:/dev/sg0

[net] sane_get_devices: finished (2 devices)

[net] sane_open("192.168.1.1:umax:/dev/scanner")

[net] sane_open: host = 192.168.1.1, device = umax:/dev/scanner

[net] sane_open: device found in list

[net] sane_open: net_open

[net] sane_open: success

[net] sane_get_option_descriptor: option 1

[net] sane_get_option_descripter: getting option descriptors

[net] fetch_options: 0x3da380

[net] fetch_options: get_option_descriptors

[net] fetch_options: creating 68 local option descriptors

[net] fetch_options: copying 68 option descriptors

[net] fetch_options: 68 options fetched

Abort trap


Which is where it closes.


Any ideas?


-Randy Becker


</excerpt>
--Apple-Mail-2--301023028--