linuxµÄ´¥ÃþÆÁÖ®Èý£º½âÎöandroidƽ̨ÉϵÄtslib¹ý³Ì
£¨1£©ÔÚtslibĿ¼ÏÂÓÐÉèÖû·¾³±äÁ¿µÄÎı¾Îļþ£ºsettsenv.sh£¬ÄÚÈÝ£º
export T_ROOT=/system
export LD_LIBRARY_PATH=$T_ROOT/lib
export TSLIB_CONSOLEDEVICE=
export TSLIB_FBDEVICE=/dev/graphics/fb0
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_PLUGINDIR=$T_ROOT/lib/ts
export TSLIB_CONFFILE=$T_ROOT/etc/tslib/ts.conf
export TSLIB_CALIBFILE=/data/data/pointercal
É趨µÄTSLIBµÄTSÉ豸£¬FBÉ豸£¬ÅäÖÃÎļþ£¬¶¯Ì¬¿âÎļþµÄ·¾¶¡£µ±È»£¬¾ßÌåµÄÒªÓõĿÉÒÔÔÚ³ÌÐò´úÂëÖÐÖØÐÂÉ趨¡£
£¨2£©tslibĿ¼ÏµÄetcĿ¼ts.confÊÇÅäÖÃÎļþ£¬ÄÚÈÝ£º
# Uncomment if you wish to use the linux input layer event interface
module_raw input1
# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie
# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
# module_raw corgi
# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00
# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600
# Uncomment if you're using a Hitachi Webpad
# module_raw mk712
# Uncomment if you're using an IBM Arctic II
# module_raw arctic2
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
¿É¼û£¬ÉÏÃæÓкܶàÄ£¿é¿ÉÒÔµ÷Óã¬×îÖÕÊÇÑ¡ÔñÁËinput1£¬Ò²¼´ÊÇlinuxµÄinput»ñÈ¡·½Ê½¡£ÕâЩģ¿éµÄÔ´´úÂëÔÚpluginsĿ¼Ï¶¼Óж¨Òå¡£
£¨3£©·ÖÎöÁ÷³Ì£¬½Ó´¥ÃþÆÁ·ÖÎöÖ®Ò»£¬ÔÚts_mainÖУº
void get_sample (struct tsdev *ts, calibration *cal, int index, int x, int y, char *name)
{
put_cross(x, y, 2 | XORMODE); //»Ê®×Ö×ù±ê
getxy (ts, &cal->x [index], &cal->y [index]); //È¡µÃx,yµÄLCD×ø±êÖµ
put_cross(x, y, 2 | XORMODE);
last_x = cal->xfb [index] = x;
last_y = cal->yfb [index] = y; //¸³ÖµcalµÄ´¥ÃþÆÁ×ø±ê
}
£¨4£©½âÎögetxy
struct ts_sample {
Ïà¹ØÎĵµ£º
1:ÏÂÔØÉçÇø°æµÄmysql£¬
ÒªÏÂÔØÁ½¸öÎļþ£¬·Ö±ðΪ£ºMySQL-server-community-5.1.46-1.rhel5.i386.rpm
......
ssh connect to Linux
1,¼ì²éÍøÂçÁ¬½ÓÊÇ·ñÕý³£,¿´¿´ÄãµÄ»úÆ÷ÊÇ·ñ¿ªÁË22ºÅ¶Ë¿Ú,½ø³ÌÊÇ·ñÔËÐÐÕý³£..
2,¿ÉÒÔÔÚ±¾»úÉÏÓÃSSHÃüÁîµÇ½±¾»ú.
#ssh -l yourloginname xxx.xxx.xxx.xxx
ÆäÖÐyourloginnameΪÄã±¾»ú¿ÉÔ¶³ÌµÇ¼Óû§Ãû,xxx.xxx.xxx.xxxΪÄãµÄ»úÆ÷IP,
Èç¹ûµÇ¼Ìáʾ:
Are you sure you want to continue connecting ( ......
°²×°²½Ö裺
Ø °²×°tomcatǰÏÈÒª±£Ö¤°²×°ÁËJDK£¬¿ÉÒÔÓÃÃüÁî²é¿´ÊÇ·ñ°²×°ÁËJDK£º
[root@wxr webapps]# java -version
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
Ø ÏÂÔØTom ......
ÐźÅÊÇLinux±à³ÌÖзdz£ÖØÒªµÄ²¿·Ö£¬±¾ÎĽ«Ïêϸ½éÉÜÐźŻúÖÆµÄ»ù±¾¸ÅÄî¡¢Linux¶ÔÐźŻúÖÆµÄ´óÖÂʵÏÖ·½·¨¡¢ÈçºÎʹÓÃÐźţ¬ÒÔ¼°ÓйØÐźŵöϵͳ
µ÷Óá£
ÐźŻúÖÆÊǽø³ÌÖ®¼äÏ໥´«µÝÏûÏ¢µÄÒ»ÖÖ·½·¨£¬ÐźÅÈ«³ÆÎªÈíÖжÏÐźţ¬Ò²ÓÐÈ˳Æ×÷ÈíÖжϡ£´ÓËüµÄÃüÃû¿ÉÒÔ¿´³ö£¬ËüµÄʵÖʺ ......
ÔÚubuntuÖУ¬ÖÕÖ¹Ò»¸ö½ø³Ì»òÖÕÖ¹Ò»¸öÕýÔÚÔËÐеijÌÐò£¬Ò»°ãÊÇͨ¹ý kill ¡¢killall¡¢pkill¡¢xkill µÈ½øÐС£
-------------------------------------------------------------------
ÏÈ¿´Á½¸öÀý×Ó£º
Àý×ÓÒ»£º½áÊøÄ³¸ö³ÌÐò£¬ÈçFirefox
¼üÈëÃüÁ
pkill firefox
Àý×Ó¶þ: ½áÊøÄ³¸ö½ø³Ì£¬Èçfind&n ......