Public bug reported:
Ubuntu 6.10 Edgy Eft (PPC)
mouseemu 0.15-3
Apple PowerBook G4
While mouseemu is running, the system does not seem to detect the power
button press event, bringing up the Sleep, Restart, Shutdown options etc
in GNOME. This problem goes away after "/etc/init.d/mouseemu stop" is
run.
I modified /etc/sysctl.conf to disable kernel mouse button emulation on
F11 & F12 by commenting the relevant lines, and modified
/etc/default/mouseemu to give me right click with either Apple key and
middle click with Ctrl.
/etc/default/mouseemu:
# Defaults for mouseemu initscript (/etc/init.d/mouseemu)
# These are the default values on PowerPC. On all other architectures
# middle and right click are disabled by default.
# Key codes can be found in include/linux/input.h in the kernel headers
# or by using `showkey` in a console.
#MID_CLICK="-middle 0 68" # F10 with no modifier
MID_CLICK="-middle 29 272" # Left Ctrl + click
#RIGHT_CLICK="-right 0 87" # F11 with no modifier
RIGHT_CLICK="-right 125 272" # Apple Key + click
#SCROLL="-scroll 56" # Alt key
#TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a keypress
showkey output is as follows:
0x74 0xf4 [Power Button]
0x1d 0x9d [Left Ctrl]
0x38 0xb8 [Left Alt]
0x7d 0xfd [both Apple keys]
** Affects: mouseemu (Ubuntu)
Importance: Undecided
Status: Unconfirmed
** Summary changed:
- mouseemu prevents Ubuntu from detecting Power button event
+ mouseemu prevents detection of Power button event
** Description changed:
Ubuntu 6.10 Edgy Eft (PPC)
mouseemu 0.15-3
Apple PowerBook G4
While mouseemu is running, the system does not seem to detect the power
button press event, bringing up the Sleep, Restart, Shutdown options etc
in GNOME. This problem goes away after "/etc/init.d/mouseemu stop" is
run.
I modified /etc/sysctl.conf to disable kernel mouse button emulation on
F11 & F12 by commenting the relevant lines, and modified
/etc/default/mouseemu to give me right click with either Apple key and
middle click with Ctrl.
/etc/default/mouseemu:
# Defaults for mouseemu initscript (/etc/init.d/mouseemu)
# These are the default values on PowerPC. On all other architectures
# middle and right click are disabled by default.
# Key codes can be found in include/linux/input.h in the kernel headers
# or by using `showkey` in a console.
#MID_CLICK="-middle 0 68" # F10 with no modifier
MID_CLICK="-middle 29 272" # Left Ctrl + click
#RIGHT_CLICK="-right 0 87" # F11 with no modifier
- RIGHT_CLICK="-right 125 272" # Left Apple Key (LEFTMETA) + click
+ RIGHT_CLICK="-right 125 272" # Apple Key + click
#SCROLL="-scroll 56" # Alt key
#TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a keypress
showkey output is as follows:
0x74 0xf4 [Power Button]
0x1d 0x9d [Left Ctrl]
0x38 0xb8 [Left Alt]
0x7d 0xfd [both Apple keys]
--
mouseemu prevents detection of Power button event
https://launchpad.net/bugs/67954
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs