http://www.linuxidc.com/Linux/2007-12/10106.htm 最近在做Linux下USB從裝置的驅動,程式寫的差不多了,做一個整理小結。歡迎交流,如有錯誤請指正,謝謝!--Jason一、USB從裝置驅動介紹USB匯流排上主要有三類裝置:主控制器(Host Controller, such as EHCI、UHCI、OHCI)、集線器(hub)和裝置(device)。Host
將nginx配置為系統的服務vi /etc/rc.d/init.d/nginx貼下以下內容:(根據實際情況做適當修改)#!/bin/bash# nginx Startup script for the Nginx HTTP Server# this script create it by gcec at 2009.10.22.# it is v.0.0.1 version.# if you find any errors on this scripts,please contact gcec
參考網址:http://www.denx.de/wiki/DULG/HowCanIAccessUBootEnvironmentVariablesInLinux http://blog.csdn.net/hangbing0203/article/details/4314576http://labs.igep.es/index.php/How_to_modify_the_uboot_environment_from_userspace 程式碼分析:README:This is a demo
我的機器有兩個硬碟,都是80G的,一個是sata的,另一個是IDE的。在sata的那塊硬碟上裝有XP,另外一個是空的。我想在IDE的硬碟上裝一個FC5,但是不要在MBR上寫Grub引導資訊,這樣當我的XP需要重裝的時候,不會因為重寫了MBR而致使FC5無法啟動,我找到了Grub for Dos安裝在sata硬碟上,用於引導安裝和啟動FC5。從這個地址下載來Grub for Dos,版本是0.41:http://sarovar.org/download.php/861/grub_for_dos-0
ldconfig命令的作用是:ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is
時間関連処理 1)、時間経過の計測 一般には「jiffies」の使用をお勧めします。 ①、「jiffies」カウンタを使う キャッシュしたjiffiesと現在の値の比較は、 int time_after(unsigned long a, unsigned long b); int time_before(unsigned long a,