ÓÃÈí¼þlm_sensors¼à²âLinuxϵͳºÍCPUζÈ
ÔÚLinuxÏÂÓиö½Ðlm_sensorsµÄÈí¼þ¿ÉÒÔ°ïÖúÎÒÃÇÀ´¼à¿ØÖ÷°å£¬CPUµÄ¹¤×÷µçѹ£¬·çÉÈתËÙ¡¢Î¶ȵÈÊý¾Ý¡£ÕâЩÊý¾ÝÎÒÃÇͨ³£ÔÚÖ÷°åµÄ
BIOSÒ²¿ÉÒÔ¿´µ½¡£µ±ÎÒÃÇ¿ÉÒÔÔÚ»úÆ÷ÔËÐеÄʱºòͨ¹ýlm_sensorsËæÊ±À´¼à²â×ÅCPUµÄζȱ仯£¬¿ÉÒÔÔ¤·ÀºÇ±£»¤ÒòΪCPU¹ýÈȶø»áÉÕµô¡£
1. °²×°lm_sensors
ÏÖÔÚ»ù±¾ÉÏÿ¸öLinux¶¼ÒѾÓÐlm_sensors°üÁË£¬ÎÒÃÇÖ÷Òª°²×°Á˾ͿÉÒÔÁË¡£»òÕßÎÒÃÇÒ²¿ÉÒÔͨ¹ýÔ´ÎļþÀ´×Ô¼º±àÒë¡£
1£©ÔÚFC£¬RH£¬ CENTOSÏ£¬ÓÃrpm£º
[root@securitycn ~]# rpm -ivh lm_sensors-2.10.0-3.1.i386.rpm
3£©±àÒëÔ´Îļþ°²×°
ÎÒÃÇ¿ÉÒÔͨ¹ý£ºÕâÀïÏÂÔØ
Ô´Îļþ
ÕâÀïÎÒÃÇҪעÒâµÄÎÊÌâÊÇÒªÏȰ²×°libsysfs¿â£¬ÊÇSysfsutils£¬Sysfsutils£develÈí¼þ
tar xzvf lm-sensors-xxx.tar.gz
make user
make user_install testing
ÏÂÃæÎÒÃǾÍÓÃһЩ¼òµ¥µÄÃüÁîÀ´ÀûÓÃlm_sensorsÀ´µÃµ½CPUµÄÊý¾Ý¡£ÎÒÃÇÒªÓÃrootµÄÉí·ÝÀ´£º
sensors-detect£¬È»ºóËü»á×Ô¶¯ËÑË÷Ö÷°åÉϵÄchipsetºÍÏàÓ¦µÄdriver£¬ÎÒÃÇÈ«²¿´ðYES¾Í¿ÉÒÔÁË
[root@securitycn ~]# sensors-detect
# sensors-detect revision 1.413 £¨2006/01/19 20£º28£º00£©
This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also£¬ you need to be `root'£¬ or at least have access to the /dev/i2c-*
files£¬ for most things.
If you have patched your kernel and have some drivers built in£¬ you can
safely answer NO if asked to load some modules. In this case£¬ things may
seem a bit confusing£¬ but they will still work.
It is generally safe and recommended to accept the default answers to all
questions£¬ unless you know what you're doing.
We can start with probing for £¨PCI£© I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now£¿ £¨YES/no£©£º
È«²¿Ä¬ÈÏYES¼´¿É¡£
È»ºóÎÒÃÇÆô¶¯lm_sensors £º
/etc/init.d/lm_sensors start
Starting lm_sensors£º [ OK ]
ÎÒÃÇ¿ÉÒÔͨ¹ýlsmodÀ´È·¶¨ÎÒÃÇÐèÒªµÄdriverÒѾ¼ÓÔØÁËûÓÐ
lsmod | grep i2c
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâÆª·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´Ë×ªÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨ÕâÆª²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
wcÃüÁî
¡¡¡¡wcÃüÁîµÄ¹¦ÄÜΪͳ¼ÆÖ¸¶¨ÎļþÖеÄ×Ö½ÚÊý¡¢×ÖÊý¡¢ÐÐÊý, ²¢½«Í³¼Æ½á¹ûÏÔʾÊä³ö¡£
¡¡¡¡Óï·¨£ºwc [Ñ¡Ïî] Îļþ…
¡¡¡¡ËµÃ÷£º¸ÃÃüÁîͳ¼Æ¸ø¶¨ÎļþÖеÄ×Ö½ÚÊý¡¢×ÖÊý¡¢ÐÐÊý¡£Èç¹ûûÓиø³öÎļþÃû£¬
Ôò´Ó±ê×¼ÊäÈë¶ÁÈ¡¡£wcͬʱҲ¸ø³öËùÓÐÖ¸¶¨ÎļþµÄ×Üͳ¼ÆÊý¡£×ÖÊÇÓɿոñ×Ö·ûÇø·Ö¿ªµÄ×î´ó×Ö·û´®¡£
¡¡¡¡¸ÃÃüÁî¸÷Ñ¡Ïî ......
[root@apache02 home]# rpm -q -a|grep http
httpd-2.0.52-25.ent
httpd-manual-2.0.52-25.ent
system-config-httpd-1.3.1-1
httpd-devel-2.0.52-25.ent
httpd-suexec-2.0.52-25.ent
#rpm -e httpd-2.0.52-25.ent
error: Failed dependencies:
httpd-mmn = 20020903 is ......
µ½½ñÈÕ£¬ÔÚandroidƽ̨Éϵ÷ÊÔÉùÒôµÄ·½ÃæÖÕÓÚÓÐÁ˽øÕ¹£¬ÔÀ´ÊÇÐèÒª¸ÄÒ»¸öÅäÖÃÎļþ£¬Ä¿Ç°Ö»Êǽâ¾öÁËÎÊÌ⣬¾ßÌåÔÒòÒÔºóÔÙ·ÖÎö¡£Ó²¼þƽ̨ÊÇ6410+WM9714£¬Èí¼þƽ̨ÊÇANDROID¡£ÏÖÔÚÓÉÓÚandroidϵͳÆô¶¯Ê±£¬¼ÓÔØÒôƵ·þÎñ²»³É¹¦£¬´¦ÓÚÒ»¸öËÀÑ»·ÖУ¬ÀÏÍ£Ôڵǽ½çÃæ¡£´Ëʱ´òÓ¡µÄLogcatÐÅÏ¢ÈçÏ£º
......