[sane-devel] [sane-backends-1.0.16] Epson Perfection 1260 & OpenBSD 3.8-RELEASE

Manolis Tzanidakis manolis at tzanidakis.gr
Mon Nov 28 14:48:33 UTC 2005

[20051126] Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:

> By default it's /usr/local/var/lock/sane/ . I don't know the port, but
> maybe it's /var/lock/sane/ there? If nothing helps, strace should be
> able to print which file sane tries to access.

The port I used runs configure with:
--sbindir=${LOCALBASE}/libexec \
--with-docdir=${LOCALBASE}/share/doc/sane-backends \
--localstatedir=/var \

where LOCALBASE=/usr/local .

I've run 'scanimage -L' with 'systrace -A' and for the lock file I got:
native-fswrite: filename eq "/<non-existent filename>:\
/var/lock/sane/LCK..libusb:/dev/usb0:/dev/ugen0" then permit

> It does not exist?

So I did:
$ mkdir -p /var/lock/sane
$ chmod 777 /var/lock/sane
$ touch /var/lock/sane/LCK..libusb\:\/dev/usb0\:\/dev/ugen0
touch: LCK..libusb:/dev/usb0:/dev/ugen0: No such file or directory

Manolis Tzanidakis
manolis at tzanidakis.gr
mtzanidakis at gmail.com
jabber: mtzanidakis at jabber.org
icq: #102798230 
Grab My GPG Public key from my homepage.

More information about the sane-devel mailing list