I dumped every source of info I could think of both before and after sleep to try and see what had changed, it seems it’s a bug with usb not wacom.
On initial boot the wacom device works:
from Xorg.0.log (before)
26.099] (II) config/udev: Adding input device Wacom ISDv4 E3 Finger (/dev/input/event12)
26.151] (II) config/udev: Adding input device Wacom ISDv4 E3 Pen (/dev/input/event13)
26.187] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event2)
26.193] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event3)
on sleep and wake things look ok till (from dmesg):
> [12526.388613] uhci_hcd 0000:00:1a.1: host controller halted, very bad!
> [12526.388635] uhci_hcd 0000:00:1a.1: HC died; cleaning up
> [12526.388677] uhci_hcd 0000:00:1d.1: host controller halted, very bad!
> [12526.388698] uhci_hcd 0000:00:1d.1: HC died; cleaning up
Then Xorg.0.log takes up the story:
> 12532.553] (EE) xf86OpenSerial: Cannot open device /dev/input/event12
> No such file or directory.
> 12532.553] (EE) Wacom ISDv4 E3 Finger touch: Error opening /dev/input/event12 (No such file or directory)
> 12532.553] [dix] couldn't enable device 11
> 12532.553] (EE) xf86OpenSerial: Cannot open device /dev/input/event13
> No such file or directory.
> 12532.553] (EE) Wacom ISDv4 E3 Pen stylus: Error opening /dev/input/event13 (No such file or directory)
> 12532.553] [dix] couldn't enable device 13
> 12532.553] (EE) xf86OpenSerial: Cannot open device /dev/input/event13
> No such file or directory.
> 12532.553] (EE) Wacom ISDv4 E3 Pen eraser: Error opening /dev/input/event13 (No such file or directory)
> 12532.553] [dix] couldn't enable device 12
> 12532.560] (EE) Unable to open evdev device "/dev/input/event2".
> 12532.560] [dix] couldn't enable device 16
> 12532.560] (EE) Unable to open evdev device "/dev/input/event3".
> 12532.560] [dix] couldn't enable device 17
> 12532.574] (--) SynPS/2 Synaptics TouchPad: touchpad found
> 12532.664] (II) config/udev: removing device Wacom ISDv4 E3 Finger touch
> 12532.666] (II) Wacom ISDv4 E3 Finger touch: removing automatically added devices.
> 12532.666] (II) UnloadModule: "wacom"
> 12532.687] (II) config/udev: removing device Wacom ISDv4 E3 Pen stylus
> 12532.690] (II) Wacom ISDv4 E3 Pen stylus: removing automatically added devices.
> 12532.690] (II) Wacom ISDv4 E3 Pen stylus: removing dependent device 'Wacom ISDv4 E3 Pen eraser'
> 12532.692] (II) UnloadModule: "wacom"
> 12532.692] (II) UnloadModule: "wacom"
> 12532.709] (II) config/udev: removing device Logitech USB Receiver
> 12532.711] (II) Logitech USB Receiver: Close
> 12532.711] (II) UnloadModule: "evdev"
> 12532.719] (II) config/udev: removing device Logitech USB Receiver
> 12532.721] (II) Logitech USB Receiver: Close
> 12532.721] (II) UnloadModule: "evdev"
Afterwards some of the devices are missing from /proc/bus/input/devices/ (specifically the wacom and a wireless logitech mouse I have plugged in on the right side.
Doing a sudo lsusb -v will segfault lsusb (from dmesg):
> [12571.754836] lsusb[20654]: segfault at 22 ip 0000000000408e17 sp 00007fff8c17e5b0 error 4 in lsusb[400000+19000]
this happens on two specific devices:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
also Bus 004 Device 002, and Bus 006 Device 002 don’t return anything, these were the wacom device and the wireless mouse (on right side) before sleep. catting them confirms they are missing:
>cat /dev/bus/usb/006/001
cat: /dev/bus/usb/004/001: No such device
> cat /dev/bus/usb/006/001
cat: /dev/bus/usb/006/001: No such device
The upshot is that this appears to be a bug with usb and uhci_hcd not wacom, the loss of the tablet is just a symptom.
Where do I go from here? Any help much appreciated!