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

How to write a Linux driver

1. wrote driver function file(s) .
2. stored in the proper folder, eg: character driver stored in folder  drivers/char/
3. modified Makefile in this folder(eg: drivers/char/)
        -added configuration at somewhere: type like that "obj-$(CONFIG_TESTDRIVER) += testdriver.o"
4. modified config.in in the same folder
        -added configuration at somewhere: type like that "bool 'Mytestdriver' CONFIG_TESTDRIVER"
5. modified mem.c in the same folder
        -added initial function of my driver into mem.c with same rule within it.
5. added device node in Makefile in folder vendors/Samsung/4510B
        -added parameters(same as command mknod's parameters) in DEVICES section, eg: test, c, 254, 0, which stands for the register driver name, device type(char), major device number, minor device number
6. used command make menuconfig at linux root folder(eg: uClinux-dist) to let my driver choice available
7. re-compiled linux with some commands
That's all!


Ïà¹ØÎĵµ£º

ÓÃLinuxÏÂPerl½Å±¾Á¬½ÓSQLServer

×¼±¸¹¤×÷:
¡¡¡¡Óõ½µÄperl À©Õ¹×é¼þ(modules)ÔÚÉÏÆªÌù³ö.( win32::odbc Ä£¿é
)ÏÂÔØ×é¼þºó°´ÕÕReadmeÎļþ°²×°µ¹ÏìӦĿ¼.ÅäÖúÃÏàÓ¦µÄodbcÊý¾ÝÔ´.
¡¡¡¡
¡¡¡¡³ÌÐòʵÏÖ:
¡¡¡¡Ê¹ÓÃ
¡¡¡¡use
Win32::ODBC;
¡¡¡¡
¡¡¡¡Óï¾ä°üº¬Ó¦Ê¹ÓõÄÄ£¿éÊÇwin32::odbc,д³öÊý¾Ý¿â
Á¬½Ó×Ö·û´®
¡¡¡¡
¡¡¡¡$DSN = "DSN =
My DSN ......

ÔÚLinuxÉϽ»²æ±àÒëpppd 2.4.4

ÔÚLinuxÉϽ»²æ±àÒëpppd 2.4.4
1. ÏÂÔØpppd 2.4.4µÄÔ´´úÂë
ftp://ftp.samba.org/pub/ppp/
2. Ö±½Ó±àÒë
#./configure
#make clean
#make
3. ½»²æ±àÒë
ÐÞ¸Ä./pppd-2.4.4/pppd/Makefile, ×¢ÊÍÁ½ÐУº
#wenxy comment #LIBS    += -lpcap
#wenxy comment #CFLAGS  += -DPPP_FILTER
cross compile ......

linuxϰ²×°tomcat

ÔÚÕâ֮ǰjdkÒѾ­°²×°OK
1.°Ñtomcat´«µ½linux·þÎñÆ÷ÉÏ
 2.gunzip tomcat-6.0.20.tar.gz
 3.tar -zxvf tomcat-6.0.20.tar
 4.µÃµ½TomcatµÄËùÓÐÎļþ.È»ºó°ÑËü¿½±´µ½ÄãÒª°²×°µÄλÖã¬Èç/usr/local/tomcat-6.0.20/
 5.ÔÚ/etc/profileÎļþÖмÓÈëÈçÏÂÁ½ÐÐ

    export JAVA_HOME=/usr ......

LinuxµÚÒ»²½——°²×°Linux

ÆäʵÎÄÕÂËã²»ÉÏÔ­´´£¬ÊÇÅöµ½ÎÊÌâµÄʱºòÉÏÍø¶«ËÑËÑÎ÷ËÑËѵÄÄÚÈÝ£¬ËãÊǽ軨Ï×·ðÁ˰ɣ¬¸Ðлԭ´´Õß¡£
1. °²×°ÐéÄâ»ú£¬ÎÒÓõÄÊÇÒ»¸öÂÌ»¯°æ¡£Ð½¨ÐéÄâ»úµÄ¹ý³ÌÈçÏ£º
Õª×Ô£ºhttp://blog.163.com/zongbin521/blog/static/10217990200981094622635/
ÎÒÃÇÒÔ´´½¨LINUXϵͳΪÀý¡£
µÚÒ»²½:Æô¶¯VMware£¬ÔÚÆäÖ÷½çÃæ“Ö÷Ò³” ......

LinuxÖ®¸¸Åõ³¡Windows 7ÊúÆð´óÄ´Ö¸

10ÔÂ24ÈÕÏûÏ¢£¬¾Ý¹úÍâýÌ屨µÀ£¬LinuxÖ®¸¸ÀîÄÉ˹·ÍÐÍß×È(Linus Torvalds)ÖÜËÄΪWindows 7Åõ³¡£¬²¢ÊúÆðÁË´óÄ´Ö¸¡£
 
 
 
ÖÜËÄ£¬ÍÐÍß×ÈÔÚÈÕ±¾³öϯLinuxÑÐÌֻᣬÔÚ»áÒéÐÝÏ¢ÆÚ¼ä£¬ËûÅܵ½Á˸½½üµÄWindows 7ÁãÊÛ̯룬²¢¶ÔמµÍ·ÎªWindows 7ÊúÆðÁË´óÄ´Ö¸¡£
 
ÎÞÂÛÊÇÕæÐÄ×£¸££¬»¹ÊÇÔ¢º¬·í´Ì£¬Ï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ