[sane-devel] CanoScan 9000F code compilation

2011-07-03 Thread Al Bogner
Am So, 03 Jul 2011 09:54:31 CEST schrieb Stefan Polakowski:

 Al,
 
 no success here under Ubuntu 10.10, also after waiting almost one
 day... I compiled Gernot's sane backend and added the udev rule as
 well. sane-find-scanner does find the scanner, but scanimage -L does
 not find it.

I tried it with Natty (11.04). First I thought it is necessary to
reboot, but with another machine, I had to wait only a few hours and
the scanner was recognized then, without doing anything. I was shopping
in the meantime.

 I tried as root,

Did you install the driver as root or with sudo? Try as root.

I mean
sudo passwd root
...
su -

 and also changed the access rights to the USB
 device /dev/bus/usb/002/00x (I know it's not the right way, just
 experimental).
 sane-find-scanner is checking various device files
 like /dev/usb/scanner0..15 and /dev/usbscanner0..15 (as shown when
 using the -v option), but all without success. Finally it prints:
 found USB scanner (vendor=0x04a9 [Canon], product=0x1908 [CanoScan])
 at libusb:002:006
 This makes me think: Should there be a special device file for the
 scanner, like sane-find-scanner is looking for?

Maybe you contact Gernot privately. Gernot helped me a lot, but he is
very busy.

Al



[sane-devel] xscanimage crashes with my Epson Stylus Office BX525WD

2011-07-03 Thread Torfinn Ingolfsen
Hello again,

On Sat, Jul 2, 2011 at 11:47 AM, Torfinn Ingolfsen tingox at gmail.com wrote:
 Hello,

 On Fri, Jul 1, 2011 at 1:42 AM, Olaf Meeuwissen
 olaf.meeuwissen at avasys.jp wrote:
?For GIMP plugins
 you may want to try xsane or iscan. ?The former should be packaged for
 Xubuntu, the latter is available via

 I just tested xsane as a GIMP plugin on Xubuntu, and it works nicely. Thank 
 you.

But on FreeBSD, xsane doesn't find the scanner automatically.
If I try just 'xsane' it says no devices available.
If I try 'xsane epson2:net:10.1.161.8' it works.
This makes it hard to use as a GIMP plugin. I tried a few things:
tingo at kg-v2$ SANE_NET_HOSTS=10.1.161.8 xsane
tingo at kg-v2$ SANE_NET_HOSTS=epson2:net:10.1.161.8 xsane
tingo at kg-v2$ SANE_DEFAULT_DEVICE=epson2:net:10.1.161.8 xsane
but none of them worked (no devices available again).

All this on:
tingo at kg-v2$ uname -a
FreeBSD kg-v2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #3: Thu Sep 16
22:18:48 CEST 2010 root at kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC
amd64

tingo at kg-v2$ xsane -v
xsane-0.998 (c) 1998-2010 Oliver Rauch
  E-mail: Oliver.Rauch at xsane.org
  package xsane-0.996
  compiled with GTK-2.22.1
  with color management function
  with GIMP support, compiled with GIMP-2.6.11
  XSane output formats: jpeg, pdf(compr.), png, pnm, ps(compr.), tiff, txt

How can I get xsane on FreeBSD to recognize my scanner automatically?
-- 
Regards,
Torfinn Ingolfsen