Date: Tue, 18 May 1999 23:58:23 -0700 (PDT) From: Piet Delaney <piet@cup.hp.com> To: davidh@progmatics.com.au, davidh@wr.com.au, piet@cup.hp.com, hasty@netcom.com Cc: freebsd-ports@freebsd.org, obrien@nuxi.com, piet@hpfsvr02.cup.hp.com, piet@piet.net, sane-devel@mostang.com Subject: Sane 1.0.1 - Looks like /usr/local/lib/libsaine-net.so.1 wasn't installed. Message-ID: <199905190658.XAA10796@hpfsvr02.cup.hp.com>
next in thread | raw e-mail | index | archive | help
> 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: <UMAX UMAX S-12 V2.0> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905190658.XAA10796>