Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150084

Summary: Wacom Volito2 stopped working from kernel version 2.6.15-r7
Product: Gentoo Linux Reporter: Alan Edwards <alg.edwards>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: VERIFIED UPSTREAM    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: AMD64   
OS: Linux   
URL: http://bugzilla.kernel.org/show_bug.cgi?id=7409
Whiteboard:
Package list:
Runtime testing required: ---

Description Alan Edwards 2006-10-04 11:43:34 UTC
I have successfully used the Wacom Volito2 tablet upto and including the 2.6.15-r7 kernel by following the steps at http://forums.gentoo.org/viewtopic-p-2478951.html#2478951.  After upgrading to successive kernels (2.6.16-r7, 2.6.17-r4 and currently 2.6.17-r8), the tablet does not work.  In all cases, I have copied my kernel config and have the following options set in the kernel config file:

CONFIG_USB_WACOM=m
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_SERIAL=m

Reproducible: Always
Steps to Reproduce:

When I run kernel 2.6.15-r7, dmesg produces:
usb 3-2: new low speed USB device using uhci_hcd and address 2
input Wacom Volito2 4x5 as /class/input/input2

wacdump /dev/input/wacom also works ok.

When I run kernel 2.6.17-r8, dmesg produces:
usb 3-2: new low speed USB device using uhci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
input Wacom Volito2 4x5 as /class/input/input2

wacdump /dev/input/wacom does not work.

Expected Results:  
wacdump should produce an output.

Portage 2.1.1-r1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.5
Last Sync: Wed, 27 Sep 2006 19:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib alsa avi berkdb bitmap-fonts cdr cli crypt cups db divx4linux dlloader dri dv dvd dvdread eds elibc_glibc emboss encode foomatic foomaticdb fortran gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libgtkhtml lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nvidia oggvorbis opengl oss other_var1 other_var2 pam pcre pda pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v41 video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo wxgtk1 xorg xpm xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alan Edwards 2006-10-07 12:16:33 UTC
(In reply to comment #0)
> I have successfully used the Wacom Volito2 tablet upto and including the
> 2.6.15-r7 kernel by following the steps at
> http://forums.gentoo.org/viewtopic-p-2478951.html#2478951.  After upgrading to
> successive kernels (2.6.16-r7, 2.6.17-r4 and currently 2.6.17-r8), the tablet
> does not work.  In all cases, I have copied my kernel config and have the
> following options set in the kernel config file:
> 
> CONFIG_USB_WACOM=m
> CONFIG_USB_ARCH_HAS_HCD=y
> CONFIG_USB_ARCH_HAS_OHCI=y
> CONFIG_USB_ARCH_HAS_EHCI=y
> CONFIG_USB=m
> CONFIG_USB_EHCI_HCD=m
> CONFIG_USB_OHCI_HCD=m
> CONFIG_USB_HID=m
> CONFIG_USB_HIDINPUT=y
> CONFIG_USB_SERIAL=m
> 
> Reproducible: Always
> Steps to Reproduce:
> 
> When I run kernel 2.6.15-r7, dmesg produces:
> usb 3-2: new low speed USB device using uhci_hcd and address 2
> input Wacom Volito2 4x5 as /class/input/input2
> 
> wacdump /dev/input/wacom also works ok.
> 
> When I run kernel 2.6.17-r8, dmesg produces:
> usb 3-2: new low speed USB device using uhci_hcd and address 2
> usb 3-2: configuration #1 chosen from 1 choice
> input Wacom Volito2 4x5 as /class/input/input2
> 
> wacdump /dev/input/wacom does not work.
> 
> Expected Results:  
> wacdump should produce an output.
> 
> Portage 2.1.1-r1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.4-r3,
> 2.6.17-gentoo-r8 x86_64)
> =================================================================
> System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3500+
> Gentoo Base System version 1.12.5
> Last Sync: Wed, 27 Sep 2006 19:50:01 +0000
> ccache version 2.3 [enabled]
> app-admin/eselect-compiler: [Not Present]
> dev-java/java-config: 1.2.11-r1
> dev-lang/python:     2.3.5-r2, 2.4.3-r4
> dev-python/pycrypto: 2.0.1-r5
> dev-util/ccache:     2.3
> dev-util/confcache:  [Not Present]
> sys-apps/sandbox:    1.2.17
> sys-devel/autoconf:  2.13, 2.59-r7
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
> sys-devel/binutils:  2.16.1-r3
> sys-devel/gcc-config: 1.3.13-r3
> sys-devel/libtool:   1.5.22
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=k8 -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config
> /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
> /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
> /etc/terminfo"
> CXXFLAGS="-march=k8 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
> sfperms strict"
> GENTOO_MIRRORS="http://distfiles.gentoo.org
> http://distro.ibiblio.org/pub/linux/distributions/gentoo"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --delete-after --stats --timeout=180
> --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
> USE="amd64 X a52 aalib alsa avi berkdb bitmap-fonts cdr cli crypt cups db
> divx4linux dlloader dri dv dvd dvdread eds elibc_glibc emboss encode foomatic
> foomaticdb fortran gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml imlib
> input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog
> jpeg kernel_linux libgtkhtml lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly
> nvidia oggvorbis opengl oss other_var1 other_var2 pam pcre pda pdflib perl png
> ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl
> ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v41
> video_cards_apm video_cards_ark video_cards_ati video_cards_chips
> video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev
> video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga
> video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3
> video_cards_s3virge video_cards_savage video_cards_siliconmotion
> video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga
> video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa
> video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo wxgtk1
> xorg xpm xv zlib"
> Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
> LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
> 

Searching the forums, I have discovered that there is a workaround which consists of copying the following two files from the /usr/portage/distfiles/linuxwacom-0.7.4-3 to /usr/src/linux/drivers/usb/input and recompiling the modules:

hid-core.c
wacom.c

I have put the original versions (which don't work) as at the following link with .old extensions and the files which do work with the original .c extension http://homepage.ntlworld.com/alan.edwards793/Linux/

My aplogies if this is a Wacom problem and not a kernel problem.  I am unable to ascertain where the problem lies with my limited understanding of the code.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-10-09 20:00:46 UTC
Does the problem exist on gentoo-sources-2.6.18?
Comment 3 Alan Edwards 2006-10-17 12:52:59 UTC
(In reply to comment #2)
The problem persists in 2.6.18-r1.

Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-10-17 18:54:58 UTC
> wacdump /dev/input/wacom does not work.

What do you mean by "does not work"? Is there an error?

Have you tried any other nodes under /dev/input/wacom?

Please post output of:

ls -l /dev/input
cat /proc/bus/input/devices

under 2.6.18-r1
Comment 5 Alan Edwards 2006-10-21 04:24:18 UTC
(In reply to comment #4)
> > wacdump /dev/input/wacom does not work.
> 
> What do you mean by "does not work"? Is there an error?
> 
> Have you tried any other nodes under /dev/input/wacom?
> 
> Please post output of:
> 
> ls -l /dev/input
> cat /proc/bus/input/devices
> 
> under 2.6.18-r1
> 

When wacdump is working (under the 2.6.15 kernel, I invoke wacdump with wacdump /dev/input/wacom and get:

MODEL=Wacom Volito2 4x5                 ROM=2.0-0
CLS=USB  VNDR=Wacom  DEV=Volito2  SUB=CTF-420-U




TOOLTYPE=PEN                            IN_PROX=in
  BUTTON=+00000 (+00000 .. +00000)         POS_X=+04157 (+00000 .. +05104)
   POS_Y=+01572 (+00000 .. +03712)      DISTANCE=+00000 (+00000 .. +00032)
PRESSURE=+00000 (+00000 .. +00511)      RELWHEEL=+00000 (-00001 .. +00001)

    LEFT=             MIDDLE=              RIGHT=              EXTRA=
    SIDE=              TOUCH=             STYLUS=            STYLUS2=
     BT0=                BT1=                BT2=                BT3=
     BT4=                BT5=                BT6=                BT7=
     BT8=                BT9=               BT10=               BT11=
    BT12=               BT13=               BT14=               BT15=
    BT16=               BT17=               BT18=               BT19=
    BT20=               BT21=               BT22=               BT23=

When I invoke the same command under the later kernels, I get:

MODEL=Wacom Volito2 4x5                 ROM=2.0-0
CLS=USB  VNDR=Wacom  DEV=Volito2  SUB=CTF-420-U




TOOLTYPE=NONE                            IN_PROX=out
  BUTTON=+00000 (+00000 .. +00000)         POS_X=+00000 (+00000 .. +05104)
   POS_Y=+00000 (+00000 .. +03712)      DISTANCE=+00000 (+00000 .. +00032)
PRESSURE=+00000 (+00000 .. +00511)      RELWHEEL=+00000 (-00001 .. +00001)

    LEFT=             MIDDLE=              RIGHT=              EXTRA=
    SIDE=              TOUCH=             STYLUS=            STYLUS2=
     BT0=                BT1=                BT2=                BT3=
     BT4=                BT5=                BT6=                BT7=
     BT8=                BT9=               BT10=               BT11=
    BT12=               BT13=               BT14=               BT15=
    BT16=               BT17=               BT18=               BT19=
    BT20=               BT21=               BT22=               BT23=

Note: the pen is not recognised and there is no co-ordinate information.

I have tried using the devices under /dev/input to no avail.

As requested, here is ls -l /dev/input (under 2.6.18-r1):

crw------- 1 root root 13, 64 Oct 21 12:15 event0
crw------- 1 root root 13, 65 Oct 21 12:15 event1
crw-rw---- 1 root root 13, 66 Oct 21 12:21 event2
crw-r--r-- 1 root root 13, 63 Oct 21 12:15 mice
crw-r--r-- 1 root root 13, 32 Oct 21 12:15 mouse0
crw-r--r-- 1 root root 13, 33 Oct 21 12:21 mouse1
lrwxrwxrwx 1 root root      6 Oct 21 12:21 wacom -> event2

And here is cat /proc/bus/input/devices (under 2.6.18-r1):

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=402000000 3802078f840d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=103

I: Bus=0003 Vendor=056a Product=0062 Version=0200
N: Name="Wacom Volito2 4x5"
P: Phys=
S: Sysfs=/class/input/input2
H: Handlers=mouse1 event2
B: EV=f
B: KEY=1c43 70000 0 0 0 0
B: REL=100
B: ABS=10003000003

Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-10-23 17:00:31 UTC
Please report this upstream at http://bugzilla.kernel.org and post the new bug URL here. Also attach "lsusb -v" output to the new report. Thanks!
Comment 7 Alan Edwards 2006-10-24 13:03:42 UTC
(In reply to comment #6)
> Please report this upstream at http://bugzilla.kernel.org and post the new bug
> URL here. Also attach "lsusb -v" output to the new report. Thanks!
> 

Reported to bugzilla.kernel.org.
URL = http://bugzilla.kernel.org/show_bug.cgi?id=7409