Fixes tablets not working after suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-input-wacom (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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/
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
Then run "sudo chmod +x /etc/pm/
Thanks, Ubuntu is cool.
p.s. this was based off of moaxey's work at http://
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3.1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: No value set for `/apps/
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=
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.
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP Compaq 2710p (#ABA)
dmi.product.
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz N/A
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.
version.
version.
version.
version.
version.
version.
Please use /usr/lib/ pm-utils/ defaults instead; see the SUSPEND_MODULES= line.