2007年9月2日 (日曜日)

11:18:52 # Life Module.symvers と Modules.symvers の違いではまる。 realksh をデバッグしていて気づいたのですが、Modules.symvers というファイルではなく、Module.symvers というファイル名に変わったようです。 なんじゃそりゃ。 2.6.17-rc1 でマージされたということなので、結構前(昨年4月)からこうなっていたようです。

commit 040fcc819a2e7783a570f4bdcdd1f2a7f5f06837
Author: Sam Ravnborg
Date:   Sat Jan 28 22:15:55 2006 +0100

    kbuild: improved modversioning support for external modules
    
    With following patch a second option is enabled to obtain
    symbol information from a second external module when a
    external module is build.
    The recommended approach is to use a common kbuild file but
    that may be impractical in certain cases.
    With this patch one can copy over a Module.symvers from one
    external module to make symbols (and symbol versions) available
    for another external module.
    
    Updated documentation in Documentation/kbuild/modules.txt
    
    Signed-off-by: Sam Ravnborg

	

19:22:52 # Life MacBook でひさしぶりにカーネルアップデートしてみる。 2.6.22.6 にあげてみました。 認識されないのだけど、synaptics touchpad ドライバ必須に切り替わったんでしょうか?

$ dmesg | grep input
input: Apple Computer Apple Internal Keyboard / Trackpad as /class/input/input0
input: USB HID v1.11 Keyboard [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.0-2
input: Apple Computer Apple Internal Keyboard / Trackpad as /class/input/input1
input: USB HID v1.11 Device [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.0-2
input: HID 05ac:1000 as /class/input/input2
input: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0000:00:1d.3-1
input: HID 05ac:1000 as /class/input/input3
input: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0000:00:1d.3-1
input: Power Button (FF) as /class/input/input4
input: Lid Switch as /class/input/input5
input: Power Button (CM) as /class/input/input6
input: Sleep Button (CM) as /class/input/input7
input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /class/input/input8
input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEy
$ ls /sys/class/input/
event0  event1  event4  event5  event6  event7  input0  input1  input4  input5  input6  input7  mice
	

このパッチの影響かな。以前はブラックリストについかしないとい けなかったりと、synaptics touchpad ドライバの設定は面倒だった のだけど、それがなくなった分、デフォルトで HID mouse デバイス として認識すらしてくれなくなった、と。

commit a417a21e10831bca695b4ba9c74f4ddf5a95ac06
Author: Soeren Sonnenburg 
Date:   Mon Feb 5 10:06:01 2007 +0100

    USB HID: handle multi-interface devices for Apple macbook pro properly
    
    Some HID devices by Apple have both keyboard and mouse interfaces; the
    keyboard interface is handled by usbhid, but the mouse (really
    touchpad) interface must be handled by the separate 'appletouch'
    driver.  Using HID_QUIRK_IGNORE will make hiddev ignore both
    interfaces, therefore a new quirk flag to ignore only the mouse
    interface is required.
    
    Signed-off-by: Soeren Sonnenburg 
    Signed-off-by: Sergey Vlasov 
    Signed-off-by: Jiri Kosina 

	

ということで、appletouch ドライバを追加したら、うごきましたとさ。めでたしめでたし。 スクロールとかもできるのでうれしい。

appletouch Geyser 3 inited.
input: appletouch as /class/input/input4
usbcore: registered new interface driver appletouch
	
Junichi Uekawa

$Id: dancer-diary.el,v 1.92 2007/08/30 21:46:09 dancer Exp $