Sunday, January 18, 2009

loading Ubuntu Linux on Clamshell iBook - part 3

Part one of this series and part two have more details.

Adding left and right button emulation - this post (google led me to this guy who links to a bunch of iBook Linuxers) mentioned that F11 and F12 were already mapped to middle and right-click. Just tried mine, mine are, too! Since mouseemu is installed, it must be doing the job. Or maybe it is the line in my /etc/X11/xorg.conf which says Option "XkbRules" "xorg"
... Aha! This guy says it is in /etc/sysctl.conf, and it is!
dev/mac_hid/mouse_button_emulation = 1
dev/mac_hid/mouse_button2_keycode = 87
dev/mac_hid/mouse_button3_keycode = 88


Choosing System->Preferences->Keyboard, one gets the Gnome Keyboard Prefs. In the layouts tab, choosing the Layout options button, under Numeric Keypad Delete behaviour, I have chosen the . button to be delete button. Next on the todo list is to clear up the power behaviour. Currently, the charging doesn't seem to be taking place when running linux, or maybe the pmu is not reporting it correctly. The Gnome panel was showing 44% for much of the time I was using it earlier. Now it shows 37%. When I disconnect and reconnect power, /proc/pmu/battery_0 shows a different count. But then it seems to get stuck?!

Right now, cat /proc/pmu/battery_0 shows:
flags      : 00000011
charge : 810
max_charge : 2141
current : 0
voltage : 16030
time rem. : 0
More than an hour back, it showed
flags      : 00000011
charge : 789
max_charge : 2141
current : 0
voltage : 16020
time rem. : 0
Plucking out and putting back the power plug makes the charge start moving at the rate of 5 for ten seconds (815 to 820 in around 10 sec, for example). But now it has stopped at 827 and doesn't move any more. Will have to check out this issue as well as the lack of USB hotplug support (sees the USB key only if rebooted).

No comments:

Post a Comment