[Bug 1075478] Re: Apple wireless bluetooth keyboard not working after suspend/resume

steveG 1075478 at bugs.launchpad.net
Fri Nov 23 18:14:28 UTC 2012


Apparently this is somehow a left-over device file, or so. In the gdm
log (see below) I found an error message about the keyboards device
file, event18 in my case. Whereas I can cat the file and see output once
I use the keyboard, indicating that it actually works concerning
kernel/driver.

/var/log/gdm/:0.log 
--------------------
(II) config/udev: Adding input device Apple Wireless Keyboard (/dev/input/event18)
(**) Apple Wireless Keyboard: Applying InputClass "evdev keyboard catchall"
(II) Using input driver 'evdev' for 'Apple Wireless Keyboard'
(**) Apple Wireless Keyboard: always reports core events
(**) evdev: Apple Wireless Keyboard: Device: "/dev/input/event18"
(WW) evdev: Apple Wireless Keyboard: device file is duplicate. Ignoring.
(EE) PreInit returned 8 for "Apple Wireless Keyboard"
--------------------

Via the error I found a related bug at redhat:
https://bugzilla.redhat.com/show_bug.cgi?id=811534

As it is basically complaining because the file exists, a workaround is
to remove the file before suspending. So I placed the command in a new
pm script. Not nice but perfectly doing the job for now.

/usr/lib/pm-utils/sleep.d/70bluetooth
-------------
#!/bin/sh
#

case "$1" in
        hibernate|suspend)
		rm -f /dev/input/event18
		;;
        *) exit $NA
		;;
esac
-------------



** Bug watch added: Red Hat Bugzilla #811534
   https://bugzilla.redhat.com/show_bug.cgi?id=811534

-- 
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1075478

Title:
  Apple wireless bluetooth keyboard not working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1075478/+subscriptions



More information about the Ubuntu-bluetooth mailing list