Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283605 - `xsetwacom list dev` shows nothing with >=x11-drivers/linuxwacom-0.8.3_p6. Link to patch included
Summary: `xsetwacom list dev` shows nothing with >=x11-drivers/linuxwacom-0.8.3_p6. Li...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mike Auty (RETIRED)
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 19:34 UTC by galilette
Modified: 2009-09-05 09:25 UTC (History)
3 users (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 galilette 2009-09-03 19:34:41 UTC
`xsetwacom list dev` shows nothing with >=x11-drivers/linuxwacom-0.8.3_p6. (there's a widespread rotation script that uses this to get a list of tablet devices. cf. http://luke.no-ip.org/x60tablet )

There's a sf.net patch that fixes this:
http://sourceforge.net/tracker/index.php?func=detail&aid=2776735&group_id=69596&atid=525125

Reproducible: Always

Steps to Reproduce:
invoke "xsetwacom list dev"

Actual Results:  
shows nothing

Expected Results:  
with mentioned patch, should show following info:
sty   stylus
era   eraser

1. I disabled HAL in xorg.conf and have the following relevant sections for the wacom devices:

Section "InputDevice"
       # custom udev rules symlinked /dev/x61t/tablet to the actual ttyS device
       Driver "wacom"
       Identifier "sty"
       Option "Device" "/dev/x61t/tablet" # SERIAL ONLY
       Option "Type" "stylus"
       Option "USB" "off"
       Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
       Driver "wacom"
       Identifier "era"
       # need this button mapping if Identifier not set to the magical "eraser"
       Option "Button1" "3"
       Option "Device" "/dev/x61t/tablet" # SERIAL ONLY
       Option "Type" "eraser"
       Option "USB" "off"
       Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

2. emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-tuxonice-r5.090818 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r5.090818-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Sep 2009 18:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=core2 -fomit-frame-pointer -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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
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/ruby /usr/local/portage/layman/sunrise /usr/local/portage/local"
SYNC="rsync://134.68.220.73/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bindist branding bzip2 cairo cdr cjk cli cracklib crypt dbus dri dts dvd dvdr encode fam fbcon ffmpeg firefox flac fortran gdbm gif gpm gtk hal iconv imagemagick imap imlib isdnlog jabber jpeg jpeg2k kpathsea lame libnotify mad matroska mikmod mime mmx mp3 mp4 mpeg mplayer msn mudflap musepack ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb v4l v4l2 vorbis win32codecs x264 x86 xcomposite xml xorg xpm xrandr xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel usb-audio" 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="evdev mouse keyboard wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-09-04 14:45:10 UTC
Not directly an X bug then :)
Comment 2 Mike Auty (RETIRED) gentoo-dev 2009-09-04 23:49:41 UTC
Upstream have said this will be fixed in the next release, and is not a bug.  I'm going to wait until upstream get this sorted.  Do feel free to file version bump bugs if we don't get on those quickly enough.  Thanks...
Comment 3 galilette 2009-09-05 06:51:31 UTC
(In reply to comment #2)
> Upstream have said this will be fixed in the next release, and is not a bug. 
> I'm going to wait until upstream get this sorted.  Do feel free to file version
> bump bugs if we don't get on those quickly enough.  Thanks...
> 

hello mike,

I saw that comment on sf.net. the mentioned patch is against 0.8.2-2, and I didn't have problem with 0.8.3_p2 ebuild so maybe it really was fixed in "the next dash release", but arose again in 0.8.3_p6 and 0.8.4_p1

anyway, just brought this up so people with similar problem/hardware know there's a fix
Comment 4 Mike Auty (RETIRED) gentoo-dev 2009-09-05 09:25:34 UTC
Ok, thanks, I missed that.  This is caused by the solution to bug 276119, where we've changed autoconf so that it doesn't rely on xf86config, and then specifically disable it.  My guess is that it won't compile against xorg-1.6.0 correctly if it tries to use libxf86config because, as ping said in the upstream bug, they need to use a new interface to get back that information.  The upstream bug is also still open, suggesting that it hasn't been properly fixed.  Lastly, bug 276119 also mentions that packages are moving away from using libxf86config.

So unfortunately, since this bug affects a very small number of people (those wanting to use an external script), rather than the large number of people in bug 276119 (those wanting to use linuxwacom and xorg-1.6), I'm going to leave this as marked UPSTREAM.