Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268667 - x11-drivers/linuxwacom-0.8.3_p2 HAL breaks rotation scripts, "xsetwacom list" is empty
Summary: x11-drivers/linuxwacom-0.8.3_p2 HAL breaks rotation scripts, "xsetwacom list"...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard: treecleaned
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 21:29 UTC by Panard
Modified: 2010-10-18 11:47 UTC (History)
0 users

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


Attachments
backtrace of the crash (Xorg.0.log,26.00 KB, text/plain)
2009-05-04 21:29 UTC, Panard
Details
full xorg.conf (xorg.conf,3.85 KB, text/plain)
2009-05-04 21:30 UTC, Panard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Panard 2009-05-04 21:29:03 UTC
Since I've upgraded linuxwacom from 0.8.2_p2 to 0.8.3_p3, X is crashing as soon as I launch CellWriter (1.3.4).
Downgrading to linuxwacom 0.8.2_p2 fixes the issue.

Attached is Xorg.0.log containing the backtrace and my xorg.conf (nothing special in it, except the standard wacom configuration for Tablet-PC).


Reproducible: Always

Steps to Reproduce:
1. install linuxwacom-0.8.3_p2
2. start X (configured with wacom devices)
3. launch cellwriter

Actual Results:  
X crashes.


Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r2 x86_64)
=================================================================                                                
System uname: Linux-2.6.29-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_U7600_@_1.20GHz-with-gentoo-2.0.0         
Timestamp of tree: Mon, 04 May 2009 18:00:01 +0000                                                               
app-shells/bash:     4.0_p17-r1                                                                                  
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                         
dev-lang/python:     2.5.4-r2, 2.6.2                                                                             
dev-python/pycrypto: 2.0.1-r8                                                                                    
dev-util/cmake:      2.6.4                                                                                       
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.3-r2                                                                                    
sys-apps/sandbox:    1.9                                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                                               
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                             
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.28-r1                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=native -O2 -pipe"                                                                                 
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"         
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/udev/rules.d"                                                                                                                   
CXXFLAGS="-march=native -O2 -pipe"                                                                                                                               
DISTDIR="/usr/portage/distfiles"                                                                                                                                 
FEATURES="distlocks fixpackages noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"                     
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                            
LANG="en_GB.UTF8"                                                                                                                                                
LDFLAGS="-Wl,-O1"                                                                                                                                                
LINGUAS="en"                                                                                                                                                     
MAKEOPTS="-j3"                                                                                                                                                   
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/wschlich-testing /home/pauleve/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apm bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo firefox fortran gif gstreamer hal iconv ipv6 isdnlog jpeg kde laptop libnotify lm_sensors mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pchpcre pdf png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tiff truetype unicode usb vim-syntax vorbis xcomposite xml xorg xulrunner xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 dsharedsnoop 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 keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Panard 2009-05-04 21:29:33 UTC
Created attachment 190352 [details]
backtrace of the crash
Comment 2 Panard 2009-05-04 21:30:16 UTC
Created attachment 190354 [details]
full xorg.conf
Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-05-05 21:08:28 UTC
Please be very specific, you mentioned 0.8.3_p3 and 0.8.3_p2, which one do you mean?  0.8.3_p3 was available in my overlay for a brief period, but is *not* recommended and is pretty broken in fact.  It looks from your logs as though you're using 0.8.3_p2, which should be fine.

0.8.3_p2 now uses HAL to do device configuration, so could you please comment out the two wacom inputdevice sections from your Xorg.conf, and also please ensure you don't have any custom fdi files present in /etc/hal/fdi for dealing with the wacom (some people put them in for previous versions to get HAL support, and they conflict now that official HAL support has been added).  Let us know if that changes anything, thanks...  5:)
Comment 4 Panard 2009-05-05 22:14:59 UTC
Thanks for your answer and sorry for this confusion.
The problem occurs both for 0.8.3_p2 and 0.8.3_p3 (as it was crashing for _p2 I've tried with the newest _p3).

I should have mentionned I've tried removing references to wacom from xorg.conf.
Stylus is working and no crash occured _but_ xsetwacom can't see any wacom device, so I cannot rotate it for instance, which makes my tablet-pc useless :).
I thought specifying wacom devices sections in xorg.conf was mandatory for xsetwacom. But perhaps is there another way for rotating stylus coordinates when using HAL?
Comment 5 Mike Auty (RETIRED) gentoo-dev 2009-05-05 22:26:23 UTC
Errr, I'm not certain about that one I'm afraid.  I'm glad the crash has been solved, as for the rotation I haven't found anything save for a similar report of problems on the ubuntu forums [1].  Unfortunately the database seems to be having problems at the moment, and I can only get the page from the google cache, so it doesn't mention if there's a solution.  Best bet is to keep looking around and see if another solution can be found.  I'll try to keep an eye out too...

[1] http://ubuntuforums.org/showthread.php?p=7097651
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2009-05-06 12:55:17 UTC
I am not too happy with this myself either, but you have to supply the full name of the wacom device as announced by HAL.

For me, this is:

$ xinput --list | grep Wacom
"Wacom Serial Tablet PC Pen Tablet/Digitizer"   id=2    [XExtensionKeyboard]
"Wacom Serial Tablet PC Pen Tablet/Digitizer eraser"    id=3    [XExtensionKeyboard]

Then I run
$ xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer" Rotate HALF
$ xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer eraser" Rotate HALF

to rotate 180°. Since we do not ship any scripts to rotate the devices, there's nothing we can fix.
Comment 7 Mike Auty (RETIRED) gentoo-dev 2010-08-18 21:10:24 UTC
Reassigning since I can't look after linuxwacom any more.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2010-10-18 11:47:00 UTC
linuxwacom was removed from main tree.