wacom tablet not working after resume from suspend

Bug #399520 reported by sam tygier
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xf86-input-wacom (Ubuntu)
Incomplete
Undecided
Unassigned
Nominated for Karmic by zeimusu

Bug Description

after resuming from suspend to ram, the usb bamboo fun tablet does not function, pen movements do not move the cursor, click do not register, and the buttons do not work. if the tablet is disconnected and reconnected then it works again.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=8e236324-8688-4901-8b31-45ee91154e04
MachineType: Dell Inc. Inspiron 1525
Package: linux-image-2.6.28-13-generic 2.6.28-13.45
ProcCmdLine: root=UUID=adbd3560-9a78-4c5e-902a-1d06a1124291 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-13.45-generic
SourcePackage: linux

Revision history for this message
sam tygier (samtygier) wrote :
Revision history for this message
sam tygier (samtygier) wrote :

when i disconnect and reconnect i get the following in dmesg
[ 497.144154] usb 5-2: USB disconnect, address 2
[ 501.072111] usb 5-2: new full speed USB device using uhci_hcd and address 3
[ 501.234782] usb 5-2: configuration #1 chosen from 1 choice
[ 501.237768] input: Wacom BambooFun 6x8 as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input13

Revision history for this message
QB89Dragon (hughescih) wrote :

Same problem here, up to date intrepid 64-bit, wacom intuos 3 using the new HAL method that incorporates pressure support.

Here is a quick workaround that may work (I haven't tried it)

sudo nano /etc/default/acpi-support

find the line that says MODULES=""

and add wacom between the two quotation marks. Restart (or restart just your acpi) to make the changes effective.

Revision history for this message
zeimusu (james-kilfiger) wrote :

Confirm this issue. Adding the line to acpi-support as suggested doesn't seem to make a difference.

Revision history for this message
zeimusu (james-kilfiger) wrote :

Workaround.

running
sudo modprobe -r wacom && sudo modprobe wacom

will restart the tablet. These lines (minus the sudo) can be added to
/usr/lib/pm-utils/sleep.d/75modules to restart the wacom tablet (put them inside the resume_modules() function). With this I was able to suspend to ram and resume, apparently successfully.

Revision history for this message
sam tygier (samtygier) wrote :

this is still an issue in karmic.

looks like the best way to fix is to create a file /etc/pm/config.d/50wacom containing
SUSPEND_MODULES="wacom"
eg
echo 'SUSPEND_MODULES="wacom"' | sudo tee /etc/pm/config.d/50wacom

maybe a file like this should ship in some package, though i am not sure which?

Revision history for this message
simon (6mon-rey) wrote :

this is stil an issue today.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi sam,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
sam tygier (samtygier) wrote :

seems fixed from me in lucid.
Linux oberon 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:12 UTC 2010 x86_64 GNU/Linu

Revision history for this message
zeimusu (james-kilfiger) wrote :

Not for me in Lucid.

With a fresh install the wacom tablet doesn't wake up after suspend to ram. It is possible to wake it manually by removing then re-inserting the wacom module with modprobe.

I will try Sam's suggestion.

Revision history for this message
zeimusu (james-kilfiger) wrote :

Sam's suggestion works on my lucid box.

Can this file be part of the xserver-xorg-input-wacom package?

Revision history for this message
zeimusu (james-kilfiger) wrote :

Assign to a wacom package

affects: linux (Ubuntu) → xf86-input-wacom (Ubuntu)
Revision history for this message
madbiologist (me-again) wrote :

A patch titled "Input: wacom - switch mode upon system resume" is included upstream in the kernel's linux-next integration testing tree. This patch has also been cc'd to the maintainers of the stable kernels (2.6.33 and possibly 2.6.32).

Full details are at http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=014f61504af276ba9d9544d8a7401d8f8526eb73

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi sam,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 399520

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 399520 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/399520

Changed in xf86-input-wacom (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-retested-on-lucid-by-june
Revision history for this message
sam tygier (samtygier) wrote :

@Bryce Harrington
its zeimusu who is still suffering. when i tested in lucid it was fixed for me.

Revision history for this message
zeimusu (james-kilfiger) wrote :

I'll create a new bug and dupe this to it.

Revision history for this message
klerfayt (klerfayt-deactivatedaccount) wrote :

>I'll create a new bug and dupe this to it.

This makes no sense. By what logic are newer bug reports ever making older ones their duplicates?

Revision history for this message
Chris Mohler (cr33dog) wrote :

> looks like the best way to fix is to create a file /etc/pm/config.d/50wacom containing
> SUSPEND_MODULES="wacom"

If I do the above the wacom tablet (intuos 3) does work after suspend, however logging out (top-right, log out) crashes the X server about 33% of the time. I'm attaching the Xorg log from one such crash. Sometimes it blanks the screen and I can watch the black screen flicker a bit while X tries to come up (as in the log) - other times a portion of the desktop wallpaper remains and I lose keyboard and mouse and must do a hard reset. I don't have access to another machine to attempt to log in via SSH, but I suspect I'd be able to based on HDD activity.

To reproduce:
1. Add the file as above
2. Plug in Intuos 3
3. Log in, log out

You may need to repeat step 3 up to four times, but it generally crashes on the second or third logout and sometimes the first.

ATI Technologies Inc RV710 [Radeon HD 4350]
Ubuntu Lucid, fresh install:
Linux xxxx 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

Revision history for this message
Chris Mohler (cr33dog) wrote :

Sorry - I might be facing a separate bug. After removing the offending (or so I thought) file from /etc/pm/config.d I neglected to plug the wacom tablet back in while I was testing. So: without the 50_wacom file at all, logging out with the wacom tablet plugged in crashes X.

1. Plug in tablet
2. Log in, log out

At some point (usually the second or third log out, but sometimes the first), step 2 will either cause the X server to lock up immediately, forcing a hard reboot or the X server will fail to restart.

Unplugging the tablet allowed me to log in/out 10 times with no hiccups.

So I'm guessing this may be unrelated. File another bug? If so, what info should do you need?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.