Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxµÄ´¥ÃþÆÁÖ®¶þ£ºÊÖ¹¤µ÷ÊÔ

£¨1£©¼òÊö£ºÔÚ±àÒëºÃÁ˵ÄANDROID¸ùÎļþϵͳµÄsystem/etc/pointercalÕâ¸öÎļþÄÚ£¬´æ·Å×Å7¸öÊý£¬Õâ7¸öÊý¾ÍÊÇ¡¶linuxµÄ´¥ÃþÆÁÖ®Ò»¡·Ëù½²µÄa,b,c,d,e,f,s¡£±ÈÈçÎÒÔÚ×Ô¼ºµÄMIDÉϲ鿴µÄÊýֵΪ£º4933 -5 -15710176 -95 -4961 56071328 65536¡£
£¨2£©´¦Àí˵Ã÷£º“system/etc/pointercal”Õâ¸öÎļþÊDZ»java³ÌÐò¶ÁȡʹÓõģ¬ÎļþĿ¼£ºframeworks/base/services/java/com/android/server/InputDevice.java£¨×¢£ºÎÒÓõÄÊÇkooluµÄÔ´Â룬¹Ù·½µÄÔ´ÂëÇë×ÔÐÐËÑË÷£©¡£¸ÃÎļþµÄµÚ32Ðж¨ÒåÁË£ºstatic final String CALIBRATION_FILE = "/system/etc/pointercal";Õâ¸öCALIBRATION_FILE±äÁ¿ÔÚµÚ237Ðб»Ê¹ÓÃÓÚ´ò¿ª¸ÃÎļþ£ºFileInputStream is = new FileInputStream(CALIBRATION_FILE);ºóÃæµÄ´úÂë¾ÍÊÇ´ÓÕâ¸öÎļþÀï¶ÁÈ¡ÄÇ7¸öÊý¾Ý£¬ÓÃÓÚÉϲ㺯ÊýµÄ×ø±êת»»¡£ËùÒÔÖ»Òª¸ù¾Ý¸Ã¹«Ê½Í¨¹ýÊÖ¹¤¼ÆËã³öÄÇ7¸öÖµ£¬¾Í¿ÉÒÔ׼ȷµÄ½øÐд¥Ãþ²Ù×÷ÁË¡£
£¨3£©¼ÆË㣺¼ÆËãÇ°ÐèҪȡµÃ4¸ö´¥ÃþÆÁµÄ×ø±ê£¬ÎÒÃÇÈ¡LCD 4¸ö¶Ô½ÇµÄ×ø±ê£¬ÒòΪֻÓÐÕâ4¸ö×ø±êÖªµÀÈ·ÇеÄLCD×ø±ê¡£ÒªÈ¡×ø±ê±ØÐë´ò¿ªÄÚºËÖд¥ÃþÆÁµÄµ÷ÊÔ´úÂ룬Æô¶¯ºóÔÚconsoleÉÏʹÓÃdmesgÃüÁîÀ´¸ú×ÙÈ¡µÃ¡£ÈçÏÂÊÇÎÒµÄ320x240ÆÁ¼Ç¼µÄ½á¹û£º
×ø±êÖáÀïСÀ¨ºÅ()ÀïÃæµÄÊǵ÷ÊÔÐÅÏ¢¸øµÄ´¥ÃþÆÁ×ø±ê£¬ÖÐÀ¨ºÅ[]ÀïµÄÊǶÔÓ¦µÄLCD×ø±ê¡£
 x×ø±ê
/|\
 |(X:870, Y:140)   (X:870, Y:890)
 |  [320,0]          [320,240]
 |
 |
 |
 +-------------------------------> y×ø±ê
 (X:120, Y:140)    (X:120, Y:890)
     [0,0]             [0,240]
É趨s=65536£¬½«ÄÇ4¸ö×ø±ê´úÈëÄǸö¹«Ê½£¬¿ÉÒԵóö8¸ö·½³Ì×飺
0 = a*120 + b*140 + c
0 = d*120 + e*140 + f
0 = a*120 + b*890 + c
65536*240 = d*120 + e*890 + f
65536*320 = a*870 + b*140 + c
0 = d*870 + e*140 + f
65536*320 = a*870 + b*890 + c
65536*240 = d*870 + e*890 + f
½â·½³Ì×éºó¾Í¿ÉµÃ£¨±¾ÈËδÑéÖ¤½â·½³Ì£©£ºa = 0£¬b = 20971£¬c = -2935940£¬d = 27962£¬e = 0£¬f = -3355440£¬s = 65535¡£
È»ºóÓù¤¾ß´ò¿ªandriodµÄ“system/etc/pointercal”Îļþ£¬°ÑÕ⼸¸öÊýÊä½øÈ¥£¬Óÿոñ·Ö¿ª£¬´ËʱÆô¶¯ÊÔÊÔ¡£
      ÎÒµÄÆÁµ½Õâ¸


Ïà¹ØÎĵµ£º

LinuxÖ®VIÃüÁîÏê½â

viÊÇËùÓÐUNIXϵͳ¶¼»áÌṩµÄÆÁÄ»±à¼­Æ÷£¬ËüÌṩÁËÒ»¸öÊÓ´°É豸£¬Í¨¹ýËü¿ÉÒԱ༭Îļþ¡£µ±È»£¬¶ÔUNIXϵͳÂÔÓÐËùÖªµÄÈË£¬
»ò¶à»òÉÙ¶¼¾õµÃvi³¬¼¶ÄÑÓ㬵«viÊÇ×î»ù±¾µÄ±à¼­Æ÷£¬ËùÒÔÏ£Íû¶ÁÕßÄܺúðÑËüѧÆðÀ´£¬ÒÔºóÔÚUNIXÊÀ½çÀï±Ø½«³©ÐÐÎÞ×è¡¢
ÓÎÈÐÓÐÓ࣬ÒòΪÆäËû¼¸ÖÖÎı¾´¦ÀíÆ÷²¢·ÇUNIX±ê×¼Å䱸¡£Ëµ²»¶¨±ðÈ˵ÄLinux»úÆ÷û°²×°j ......

linuxÖÐÎÄÂÒÂëÎÊÌâ

linuxÖÐÎÄÂÒÂëÎÊÌâ
×î½ü£¬¹«Ë¾ÔÚXPϵͳÓÚLINUXÖ®¼ä´«Êý¾Ýʱ³öÏÖÁËÖÐÎÄÂÒÂëÎÊÌâ!
Ê×ÏÈ£¬½âÊÍÒ»ÏÂ×Ö·û¼¯£º
ºº×Ö±àÂë:
* GB2312×Ö¼¯ÊǼòÌå×Ö¼¯£¬È«³ÆΪGB2312(80)×Ö¼¯£¬¹²°üÀ¨¹ú±ê¼òÌ庺×Ö6763¸ö¡£ * BIG5×Ö¼¯ÊÇ̨Íå·±Ìå×Ö¼¯£¬¹²°üÀ¨¹ú±ê·±Ì庺×Ö13053¸ö¡£ * GBK×Ö¼¯ÊǼò·±×Ö¼¯£¬°üÀ¨ÁËGB×Ö¼¯¡¢BIG5×Ö¼¯ºÍһЩ·ûºÅ£¬¹² ......

LinuxÏÂsambaµÄ°²×°ÓëÅäÖÃ


°²×°samba
ÎÄÕÂÖÐÌáµ½µÄsmaba°²×°³ÌÐò   samba-3.0.20b-1.i386.rpm (ISO)  
1 Ê×ÏÈ£¬ÔÚVMwareÄÚ°Ñsamba°²×°ÎļþµÄ¾µÏñÎļþÓ³ÉäΪ¹âÇý£¬Èçͼ1-1²½Öè1-2-3¡£
 
ͼ1-1
2 È»ºó£¬Ê¹ÓÃÃüÁîmount /dev/cdrom /mnt/cdrom  ×÷ÓÃÊǰѹâÇýÔØÈëµ½Îļþ¼Ð/mnt/cdromÖУ¬Èçͼ1-2 ......

LinuxÇý¶¯ USB

USBÊÇ´ó¼Ò³£¼ûµÄ£¬É豸×ÜÏß¡£ Õâ¸öUSB·ÖΪÁ½¸ö²¿·Ö£ºÖ÷»ú£¬É豸¡£ ËûÊÇÒ»¸öÊ÷ÐεĹØϵ£º             Ö÷»ú
   É豸    É豸     É豸 Ö÷»úÀï×°µÄÊÇ£¬Ö÷»ú¿ØÖÆÆ÷£¬É豸ÖÐ×°µÄÊÇÉ豸¿ØÖÆÆ÷ Host Controller ......

linuxÏÂʹÓÃsvn


ÕâÊDZðÈË£¬ÎÒÖ»ÊÇÉÔ¸Ä
     1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
¼òд£ºsvn co
        2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn add file
ÀýÈ磺svn addtest.php(Ìí¼Ótest.p ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ