[sane-devel] what am I doing wrong on netbsd/macppc with sane 1.0.7??

paul beard paulbeard@mac.com
Fri, 15 Feb 2002 16:39:20 -0800


Henning Meier-Geinitz wrote:

 >>
 >
 > Looks like your binary xsane is build with libusb-0.1.so.4 and
 > installed on a system that doesn't have this lib. I don't
 > know if this works on NetBSD but maybe you can just set a
 > link to the new library?
 >
 > The NetBSD binary packages are not created by the SANE
 > developers.

well, since my earlier email I built xsane from source (using 
pkgsrc), but this is after commenting out that line in scanimage.c.

now xsane will launch but can find no devices.

[/home/paul]# sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found SCSI scanner "  " at device /dev/ss0

[/home/paul]# dmesg | grep ss0
ss0 at scsibus0 target 2 lun 0: <UMAX, Astra 1200S, V2.7> SCSI2 
6/scanner fixed

this was a lot like the problem I was having a few weeks back 
before my scanner decided not to be visible.

So it seems I need to resolve why the kernel sees the device by 
sane doesn't. Oliver gave me some pointers last time this came up: 
I'll let you know what I find. And if someone can advise on the 
vprintf thing, I'd like to hear about it.