Public bug reported:

I have an HP 2710p Tablet PC running Xubuntu 11.04, which features a
wacom tablet. The stylus always works on first boot, but as soon as I
sleep and then resume the system, the stylus stops working. It's still
listed in "xinput list", but it just wouldn't work.

It seems the problem lies in the kernel module, so I'm not sure that
this is the right way to do this, but unloading the wacom module before
sleep and then adding it back after resume seems to make everything work
correctly.

Question: why isn't this included in Ubuntu by default? I've had this
problem since leaving Xubuntu 10.04 for 10.10, and now 11.04..

I've attached a patch to apply to /var/lib/dpkg/info/xserver-xorg-input-
wacom.preinst

But if you want to just fix your own system, simply make a script in
/etc/pm/sleep.d named "75_wacom", and put this into it:

#!/bin/sh
# load and unload wacom module for suspend and hibernate
case "$1" in
thaw|resume)
modprobe wacom
;;
suspend|hibernate)
modprobe -r wacom
;;
esac

Thanks, Ubuntu is cool.

p.s. this was based off of moaxey's work at
http://ubuntuforums.org/archive/index.php/t-1686278.html

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Fri Jul  8 12:19:44 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) 
[8086:2a02] (rev 0c) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:30c8]
   Subsystem: Hewlett-Packard Company Device [103c:30c8]
InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
MachineType: Hewlett-Packard HP Compaq 2710p (#ABA)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic 
root=UUID=10075b3d-bbec-4b09-93e0-b9a42fcc47c8 ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/22/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68MOU Ver. F.15
dmi.board.name: 30C8
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 74.3A
dmi.chassis.asset.tag: BlehBleh
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: 
dmi:bvnHewlett-Packard:bvr68MOUVer.F.15:bd01/22/2010:svnHewlett-Packard:pnHPCompaq2710p(#ABA):pvrF.15:rvnHewlett-Packard:rn30C8:rvrKBCVersion74.3A:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 2710p (#ABA)
dmi.product.version: F.15
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz N/A
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20110107+b795ca6e-0ubuntu7

** Affects: xf86-input-wacom (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty patch ubuntu

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xf86-input-wacom in Ubuntu.
https://bugs.launchpad.net/bugs/807620

Title:
  Fixes tablets not working after suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/807620/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to