Archive for November, 2007

Linux 2.6.23

Saturday, November 24th, 2007

The problem is that Linux 2.6.23 consumes about 3W more power compared to 2.6.22. Certainly something must be wrong, but I haven’t had the time to do a bisect. Today, I did a (painful) git bisect and arrived at the patch that caused the problem. But another problem crops up: the patch is entirely correct.

The symptoms are:
1. power usage goes up
2. /proc/acpi/processor/CPU{0,1}/power shows bus master activity
3. processors seldom go to C3 (because of (2) above)

Taken from the git diff here,

--- a/drivers/usb/core/quirks.c+++ b/drivers/usb/core/quirks.c@@ -152,4 +152,10 @@ void usb_detect_quirks(struct usb_device *udev)        /* do any special quirk handling here if needed */        if (udev->quirks & USB_QUIRK_NO_AUTOSUSPEND)                usb_autosuspend_quirk(udev);++       /* By default, disable autosuspend for all non-hubs */+#ifdef CONFIG_USB_SUSPEND+       if (udev->descriptor.bDeviceClass != USB_CLASS_HUB)+               udev->autosuspend_delay = -1;+#endif }

What the above patch means is that usb devices other than hubs don’t get autosuspended. This makes my X60 consume much more power, since the fingerprint reader is also a usb device but not a hub. When the fingerprint reader is not suspended, it draws power. The weird thing is, on 2.6.22 it doesn’t generate bus master activity. Maybe 2.6.22 automatically suspended everything? IIRC, the autosuspend patch was only merged after 2.6.22 — but CMIIW.

Anyway, the workaround is:
1. Disable the fingerprint reader in the BIOS, or
2. Enable autosuspend manually after bootup.

I’m a little surprised no one has brought this up before.

陶喆 月亮代表谁的心

Tuesday, November 13th, 2007

This (typing of) the song is dedicated to that someone who requested it.
Actually I’m not sure if I typed everything correctly, but let’s just hope there are not too many errors :)

I also realized the true meaning of the song when I typed it, so all in all it was a good thing to have listened to it over and over :)

渡回那晚的月光
浪慢得让人心慌
其实原来没有这样
只是月有一点亮
爱忽然难舍难放

晚晚月亮在天上
看我们爱的痴狂
什么誓言都不要讲
我都吻着你肩膀~ yea
在你耳边轻轻唱

你问我爱你有多深
我爱你有几分
我的情也真
我的爱也那么真
月亮代表我的心~ o yea~~

月亮~ (月亮)
代表我的心

圆圆月亮在天上
看人们聚散无成
一个人在街上游荡
爱恨请你俩忙忙 yea~
我没有想像坚强

处于社会的月亮 (比谁友赏)
天天面的不一样 (在那天上)
原来所谓地久天长
也只是误会一场 u u u u u~
那首歌我慢慢唱

你问我爱你有多深
我爱你有几分
我的情不异
我的爱也不会变
月亮代表我的心~ o yea~~

轻轻的一个吻~ (just a little kiss yeah)
曾经打动你的心 (打动你的心 yea~)
深深的一段情 (一段情 yea~)
成了回忆到如今 (从此我会有点思念哦~)

我问你爱我有多深
你爱我有几分 (有几分~)
你去想一想 (去想一想~)
你去看一看 (去看一看~)
月亮代表谁的心~ (月亮代表)
月亮代表谁的心~ (月亮代表月亮代表)
月亮代表谁的心~~~ (月亮代表谁的心 yea~)

A song that makes me emotional

Saturday, November 3rd, 2007

Another song that makes me emotional everytime I listen to it… makes me think of her

takan pernah habiiis..
air mataku
bila kuingat tentang dirimuu…  oooow
mungkin hanya kau yang tau
mengapa sampai saat ini
ku masih seendiriiii….

adakah di sanaa
kau rindu padaku
meski kita kini ada di dunia berbeda
bila masih mungkiiiin waktu kuputar
kan kutungguu… dirimuuu

biarlah kusi..mpaaan
sampai nanti akuuu
kan ada di sanaa
tenanglah dirimu
dalam kedamaian

ingatlah cintakuuu
kau tak terlihat laaagi
namun cintamu abadiiii….

adakah di sanaa
kau rindu padaku
meski kita kini ada di dunia berbeda
bila masih mungkiiin waktu kuputar
kan kutunggu diriii..muuu

biarlah kusimpaaan
sampai nanti akuuu
kan ada di sanaa…
tenanglah dirimu,
dalam kedamaian

ingatlah cintakuuu
kau tak terlihat laaagi
namun cintamu abadiiii… hooooouwowooooo

<musik>

hooouwoooowoooooooo
wooooooouooooooooow

biarlah kusimpaaan

sampai nanti akuuu

kan ada di sanaa

tenanglah dirimu

dalam kedamaian

ingatlah cintakuuu

kau tak terlihat laaagii

namun cintamu abadiiii

huwoooooooooooo….. + <some girl singing>

biarlah cintakuuu

kau tak terlihat laaagii

namun cintamu abadiiii