編譯kernel 2.4.18驅動滑鼠 = Kernel panic?
你好!我使用QT2410(s3c2410),在編譯kernel 2.4.18的時候:Character devices->Mice->->Bus Mouse Support->這裡面支援3種滑鼠:
<*>ATIXL busmouse support < >Logitech busmouse support < >Microsoft busmouse support
我在編譯的時候,隨便選一種,開機就會出現錯誤:
...
...
...
s3c2410-ts initialized
Unable to handle kernel NULL pointer dereference at virtual address 0000023e
pgd = c0004000
...
...省略
...
Code: e3500000 03e00004 091ba870 e59f30b8 (e5d32000)
Kernel panic: Attempted to kill init! 哪位好心的大大,教教我如何解決,感激不盡~ So just do not select mouse support when you config linux 不行啊~現在的要求就是要滑鼠功能~
如果知道是什麼原因造成的,就好辦一點了。 but mouse is not simulated by SkyEye. Only simulate touchscreen as input device. 經過上百次make內核,終於try出來可以驅動用滑鼠了!下面大概分享我的經驗,我用menuconfig選項如下:
Input core support --->
<*>Input core support
<*> Mouse support
Character devices --->
Serial drivers --->
<*>S3C2410 serial port support
<*> Console on S3C2410 serial port
Mice --->
<*>Bus Mouse Support
<M> ATIXL busmouse support (選Module才能自動偵測滑鼠,選Build-in反而會Kernel panic)
<M> Logitech busmouse support(選Module才能自動偵測滑鼠,選Build-in反而會Kernel panic)
<M> Microsoft busmouse support (選Module才能自動偵測滑鼠,選Build-in反而會Kernel panic)
USB support --->
<*>Support for USB
--- USB Controllers
<*>S3C2410 OHCI-compatible host interface support
--- USB Human Interface Devices (HID)
<*> USB Human Interface Device (full HID) support
這些選項都是環環相扣,少一個都不行,多一個可能無法make成功,我是測試出來,鼠驅動依照上面的編譯選項,就能成功使用USB光學滑鼠(還支援hot-pluggable)。
[ 本帖最后由 aUmbrella 于 2008-4-28 01:17 编辑 ]
页:
[1]