Acer 4920 MediaTouch´¥ÃþýÌå¿ØÖƼüÔÚLinuxϵÄÅäÖÃ
´ÓUbuntu 8.04µ½9.10£¬ÎÒµÄAcer Aspire 4920±¾×ÓµÄýÌå´¥Ãþ¿ØÖƼüʼÖÕ²»ÄÜÕý³£¹¤×÷¡£×î½üÕÒµ½ÁË´ËÎÊÌâµÄ½â¾ö·½·¨£¬¹©Ê¹ÓÃLinux²Ù×÷ϵͳ¼°ÓµÓÐAcer±Ê¼Ç±¾µÄÓû§²Î¿¼¡£ ÔÚUbuntu 9.10Ï£¬ÎÒµÄýÌå¿ØÖƼü±»Ê¶±ðΪÁíÒ»¿éSynaptics´¥Ãþ°å£¬²¢ÇÒËĸö¼ü·Ö±ð±»Ê¶±ðΪÉÏ¡¢Ï¡¢×ó¡¢ÓÒ·Ò³¼ü£¬µ¼ÖÂÎÞ·¨Õý³£¹¤×÷¡£ÐèҪͨ¹ýÐ޸İ´¼üÓ³ÉäʵÏÖ¡£ 1¡¢°²×°xbindkeysºÍxvkbd sudo apt-get install xbindkeys xvkbd xbindkeysÓÃÀ´½«°´Å¥Óë¼üÅÌ°´¼ü°ó¶¨£¬xvkbdÓÃÀ´Ä£ÄâýÌå¿ØÖƼü¶¯×÷¡£ 2¡¢²éÕÒ´¥Ãþ°å°´Å¥¶ÔÓ¦µÄDevice ID cat /proc/bus/input/devices ÆäÖÐÁгöÁËËùÓÐÊäÈëÉ豸µÄÐÅÏ¢¡£ÎҵĻúÆ÷ÐÅÏ¢ÈçÏ£º I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=100000 0 0 0
¡¡
I: Bus=0011 Vendor=0002 Product=0007 Version=81b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio2/input0
S: Sysfs=/devices/platform/i8042/serio2/input/input10
U: Uniq=
H: Handlers=mouse2 event10
B: EV=b
B: KEY=420 0 7000f 0 0 0 0 0 0 0 0
B: ABS=11000003
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio3/input0
S: Sysfs=/devices/platform/i8042/serio3/input/input12
U: Uniq=
H: Handlers=mouse3 event11
B: EV=b
B: KEY=420 0 7001f 0 0 0 0 0 0 0 0
B: ABS=11000003 ÆäÖÐÓÐÁ½¸ö¡°SynPS/2 Synaptics TouchPad¡±É豸£¬Ò»¸öÊÇ´¥Ãþ°å£¬ÁíÒ»¸ö¾ÍÊÇýÌå¿ØÖƼüÁË£¬Í¨³£ºóÃæÒ»¸öÊÇýÌå¿ØÖƼü¡£Device ID´ÓµÚÒ»¸öÉ豸¿ªÊ¼´Ó0¿ªÊ¼±àºÅ£¬ÔÚÎҵĻúÆ÷ÖÐÊÇ11¡£ 3¡¢Ê¹ÓÃxinput½øÐа´Å¥Ìæ»» xinput set-button-map "11" 1 2 3 17 18 19 20 8 9 10 11 12 13 14 15 16 ÆäÖÐ"11"ÊÇ¿ØÖƼüµÄDevice ID£¬°´ÕÕÉÏÃæ²é³öÀ´µÄ½øÐÐÉèÖᣴËÃüÁî¾ÍÊǽ«"11"ºÅÉ豸µÄ4 5 6 7°´Å¥·Ö±ðÌ滻Ϊ17 18 19 20¡£ÓÃxev¿ÉÒÔ²
Ïà¹ØÎĵµ£º
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
×î½ü¶¨ÖÆÁËÒ»¸öubuntuµÄ°²×°½çÃæ,¸Ð¾õ±È½ÏÓÐÒâ˼,дÉÏÀ´,ÓÐÐËȤµÄÅóÓÑ¿ÉÒÔʵ¼ùÒ»ÏÂ...
ÏȽéÉÜÒ»ÏÂgrubºÍisolinux,ÒÔ¼°Ò»Ð©¿ª»úÒýµ¼³ÌÐò...
1)BIOS:basic input output system,Ò»°ãµÄÇé¿öÏÂÊǹé½áÓÚfirmwareÕâÒ»ÀàµÄ.ÕâÀïÊÇΪÁËÁ¬½Óͨ˳,¾Í¼òµ¥µÄ˵һÏÂbios.BIOSÊÇÓû§ÔÚ°´ÏµçÔ´µÄÄÇÒ»¿Ì,¸ºÔðºÍÓ²¼þ¹µÍ¨²¢³ÊÏÖµ½Óû§ÃæÇ°µ ......
Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¸ù¾ÝѧϰWindwosµÄ¾ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÕâÀï½éÉÜѧϰLinuxµÄһЩ½¨Òé¡£
Ò»¡¢´Ó»ù´¡¿ªÊ¼£º³£³£ÓÐЩÅóÓÑÔÚLinuxÂÛ̳ÎÊһЩÎÊÌ⣬²»¹ý£¬ÆäÖдó¶àÊýµÄÎÊÌⶼÊǺܻù´¡µÄ¡£ÀýÈ磺ΪʲôÎÒʹÓÃÒ»¸öÃüÁîµÄʱºò£¬ÏµÍ³¸æËßÎÒÕÒ²»µ½¸ÃĿ¼£¬ÎÒÒªÈçºÎÏÞÖÆʹÓÃÕß ......
1¡¢LinuxÀï²é¿´ËùÓÐÓû§
¡¡¡¡linuxÀï,²¢Ã»ÓÐÏñwindowsµÄnet user,net localgroupÕâЩ·½±ãµÄÃüÁîÀ´ÖÎÀíÓû§.
¡¡¡¡Xwindows½çÃæµÄ¾Í²»ËµÁË.
¡¡¡¡£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
¡¡¡¡£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃ潨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
¡¡¡¡»òÕßÓÃcat /etc/passwd |cut -f ......
ÐéÄ⻯¼¼ÊõµÄ·½·¨, ¼Ü¹¹ºÍʵÏÖ¸ÅÀÀ
¼¶±ð: Öм¶
M. Tim Jones [mtj@mtjones.com], ¹ËÎʹ¤³Ìʦ, Emulex
ÔÎÄ: Virtual Linux
Òë: ÕÔçæ cn.zhaoke.com
http://blog.zhaoke.com/45.html
2006Äê12ÔÂ29ÈÕ
ÐéÄ⻯¼¼ÊõµÄÓ¦ÓÃÊ®·Ö¹ã·º. µ±Ç°ÐéÄ⻯¼¼ÊõÖ÷Òª¹Ø×¢ÓÚ·þÎñÆ÷µÄÐéÄ⻯, »òÔÚµ¥¸öÖ÷»úÉϼĴæ¶à¸ö¶ÀÁ¢µÄ²Ù×÷ϵͳ. ±¾Î ......