Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290168 - media-gfx/iscan-2.21.0: Won't allow Epson 4490 to scan at full 4800dpi
Summary: media-gfx/iscan-2.21.0: Won't allow Epson 4490 to scan at full 4800dpi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-22 20:47 UTC by Corey J. Bukolt
Modified: 2010-07-21 22:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corey J. Bukolt 2009-10-22 20:47:15 UTC
This report may come off slightly messy, since I'm using a two non-portage ebuilds, and its my first time reporting.

I'm using:

iscan-2.20.0-r1.ebuild from bug 248898
(Portage iscan appears broken)

iscan-plugin-gt-x750-2.1.0.ebuild from bug 277117

The problem is that the scanner misreports its DPI lower then what it actually supports.  There is an older patch [1] avalable for the epkowa driver, but it won't work with the newer version of iscan.  Perhaps somebody could take a few seconds and write up a hackish patch as a temporary fix?

[1] -- http://www.patrickmin.com/linux/tip.php?name=epson4490

Reproducible: Always

Steps to Reproduce:
1. Attach scanner
2. Run scanimage --mode Color --depth 8 --resolution 4800 -t 0 -l 50 -x 25.4 -y 10 --format=pnm --verbose > test.pnm


Actual Results:  
scanimage: rounded value of resolution from 4800 to 2400
scanimage: scanning image of size 2392x944 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
scanimage: acquiring RGB frame
scanimage: min/max graylevel value = 0/255
scanimage: read 6774144 bytes in total

Expected Results:  
scanimage: scanning image of size NxN pixels at N bits/pixel
scanimage: acquiring RGB frame
scanimage: acquiring RGB frame
scanimage: min/max graylevel value = 0/255
scanimage: read N bytes in total

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-i686-Intel-R-_Xeon-TM-_CPU_2.40GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 05 Sep 2009 06:00:18 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/Spring /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa avahi bash-completion berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvdr encode ffmpeg flac fortran fuse gdbm gnome gpg gpm gtk hal hddtemp iconv id3tag ipv6 isdnlog jpeg mdnsresponder-compat mp3 mudflap nautilus ncurses nfs nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python readline reflection sdl session spell spl ssl svg sysfs tcpd theora threads unicode vorbis x86 xcb xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wormo (RETIRED) gentoo-dev 2009-10-29 07:04:27 UTC
This is kind of a tough one... the code from the patch doesn't appear in any form in the recent releases, so that hack can't be forward ported. It wasn't obvious how to do a new hack either, so not having a scanner here to test with, my chances of getting it right are pretty slim.

So, what were the problems you ran into with the ebuild in the tree? I think the package maintainers will be more interested in trying to get the official ebuild working properly than hacking up an older version.
Comment 2 Corey J. Bukolt 2009-10-30 05:27:10 UTC
I figured as much, that without a scanner fixing this bug would be close to impossible.  With any amount of luck, an experienced dev who ownes this scanner might eventually come across this...

As for the ebuild in portage, I just realized that I think I only tried 2.11.0 from the tree (which threw an error), and missed the newer 2.21.0 version in the tree.  Currently I'm using 2.20.0-r1.  When I have a second, I'll try the newer version tomorrow and see if it works any better.
Comment 3 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-11-02 08:04:11 UTC
Yes, please try the newest 2.21 ebuild in the tree. I am not sure it will solve your problem (probably won't), but anyway it's the only version we can officially support.
Comment 4 Corey J. Bukolt 2009-11-06 07:10:48 UTC
Hi guys.

I updated to 2.21 but as expected the problem persists.

(Also, I'm still using media-gfx/iscan-plugin-gt-x750-2.1.0 from the above ebuild, because there is no copy in the tree.)
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2010-07-21 22:47:51 UTC
version 2.25.0 is in portage. please test.

and yes, the binary modules are missing at all right now. We will eventually (re)add them. But I don't know when, because it's a little bit complicated.

I will close that bug now. feel free to reopen, if your problem still exists.