From owner-freebsd-ports Tue May 18 23:58:40 1999 Delivered-To: freebsd-ports@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 3F6CC14FF8 for ; Tue, 18 May 1999 23:58:38 -0700 (PDT) (envelope-from piet@cup.hp.com) Received: from hpfsvr02.cup.hp.com (root@hpfsvr02.cup.hp.com [15.28.74.198]) by palrel3.hp.com (8.8.6 (PHNE_17135)/8.8.5tis) with ESMTP id XAA13524; Tue, 18 May 1999 23:58:25 -0700 (PDT) Received: from piet1.sparc.engr.sgi.com (piet1.cup.hp.com [15.28.75.241]) by hpfsvr02.cup.hp.com with SMTP (8.8.6/8.7.3 TIS Messaging 5.0) id XAA10796; Tue, 18 May 1999 23:58:23 -0700 (PDT) Date: Tue, 18 May 1999 23:58:23 -0700 (PDT) From: Piet Delaney Message-Id: <199905190658.XAA10796@hpfsvr02.cup.hp.com> To: davidh@progmatics.com.au, davidh@wr.com.au, piet@cup.hp.com, hasty@netcom.com Subject: Sane 1.0.1 - Looks like /usr/local/lib/libsaine-net.so.1 wasn't installed. Cc: freebsd-ports@freebsd.org, obrien@nuxi.com, piet@hpfsvr02.cup.hp.com, piet@piet.net, sane-devel@mostang.com Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > The scsi pass thru on FreeBSD is strange :( > > Do a man on : > pass > camcontrol > > ls -ald /dev/xpt0 /dev/pass1 > crw------- 1 hasty operator 104, 0 Nov 22 23:38 /dev/xpt0 > > crw-rw-r-- 1 root wheel 31, 3 Apr 19 11:20 /dev/pass1 I think using pass1 with minor device 1 would be less confusing. > > pass1 is my umax scanner -- the minor device in /dev/pass1 denotes the > pass device printed with dmes: > {hasty} dmesg | grep pass > pass3 at ahc1 bus 0 target 5 lun 0 > pass3: Fixed Scanner SCSI-2 device > pass3: 3.300MB/s transfers > > cd /usr/local/etc/sane.d > {hasty} ls > abaton.conf dc210.conf hp.conf ricoh.conf tamarack.conf > agfafocus.conf dc25.conf microtek.conf s9036.conf umax.conf > apple.conf dll.conf microtek2.conf saned.conf > artec.conf dmc.conf mustek.conf sharp.conf > coolscan.conf epson.conf net.conf snapscan.conf > {hasty} cat umax.conf > /dev/pass1 My umax file has more stuff in it: scsi UMAX * Scanner scsi LinoHell Office . . . /dev/scanner > Make doubly sure that your *.conf entry where is required does point to > a string /dev/pass[0-9] otherwise the user cam interface will fail > to talk to your scsi device --- for instance if I change umax.conf > to point to /dev/scanner which is a symlink -- the scsi interface > library will fail: I changed from using the symbolic link (Like the docs recomend!), but it didn't change anything. Seems kinda absurd that the guys that wrote this don't fix it. There must be a rational reason for this. > > Don't forget to create the /dev/xpt0 device or again the cam (scsi) > interface library will fail to access your scsi device. > That should do it. I found all this out by doing a ktrace on "sane" > and examining the devices which it opened :( I ran scanimage with ktrace and it seems to be stopping when scanimage tried to access /usr/local/lib/libsane-net.so.1 which doesn't exist. Perhaps the port makefile is missing the install of libsane-net? I briefly looked at the makefile and didn't see where libsain-net is installed. -piet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message