I was having trouble emergeing kooka, but thanks to greg_g@gentoo.org, I got kooka installed (by adding "scanner" as a USE variable, and re-emergeing kdegraphics). However, it doesn't find my USB scanner (HP PSC 750), which has been working fine as a printer. If I open Kooka from the K menu (or from a Konsole, with the command 'kooka'), and go to Settings --> Select Scan Device, it does nothing. This isn't very helpful or informative. If I open Kooka with the command 'kooka -d <anything at all here>', it opens with a message in the bottom left, saying: ---- Problem: No Scanner was found. Your system does not provide a SANE (Scanner Access Now Easy) installation, which is required by the KDE scan support. Please install and configure SANE correctly on your system. Visit the SANE homepage under ... ---- The thing is, when I re-emerged kdegraphics, it installed sane-backends-1.0.15 as a dependency. Reproducible: Always Steps to Reproduce: enoch ~ # emerge --info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl eds emboss encode fam foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Setting up a scanner with sane can be tricky, I can only suggest to look at this project: http://hpinkjet.sourceforge.net/ (in portage as net-print/hplip) and to experiment with the 'sane-find-scanner' utility shipped with sane-backends. Apart from that, you can find more help for these issue in the forums, as this a support request more than a bug.
Let's forget for a moment about the problem of getting my scanner working. The reason I put this in a bug report is that I think there's a bug. I don't know whether it's a problem that you guys can fix or whether it's a problem the Kooka developers need to fix, but all the same, something seems to be wrong: portage installed sane-backends, but kooka complains that sane isn't there. As far as I can tell, there are two broad possibilities: 1. When I re-emerged kdegraphics with the "scanner" USE-flag set, portage didn't install sane properly where Kooka could find it. OR 2. Sane is there properly, but when Kooka is opened with the -d command-line option, it gives a misleading error message (or possibly the wrong error message entirely). Remember, it claims that sane is not there at all. The fact that going to Settings --> Select Scan Device in Kooka does absolutely nothing (no error message; no message saying "I can't find any scanners"; etc.) is also arguably a bug. At the very least, it's got to be bad practice. I didn't originally make a big point of that one, though, because it's fairly clearly Kooka's fault, not the fault of the Gentoo developers.
kooka indeed has various problems, as documented here for instance: https://bugs.kde.org/show_bug.cgi?id=110338 https://bugs.kde.org/show_bug.cgi?id=107390 https://bugs.kde.org/show_bug.cgi?id=93612 There could be other problems, but then you should help by doing some investigations, otherwise this bug is not really useful. Have you tried with other programs (e.g. xsane)? Have you tried to experiment with net-print/hplip and with sane-find-scanner? You are of course free to reopen and give more details.