http://hi.baidu.com/romashell/blog/item/0faf1e007a249e82e850cd10.html最近在做Linux下USB從裝置的驅動,程式寫的差不多了,做一個整理小結。歡迎交流,如有錯誤請指正,謝謝!--Jason一、USB從裝置驅動介紹USB匯流排上主要有三類裝置:主控制器(Host Controller, such
以下內容摘自 beginning linux programming 一書編譯時間加上 -lncurses選項#include <unistd.h>#include <stdlib.h>#include <stdio.h>#include <curses.h>int main(){int i;initscr();if(!has_colors()){endwin();fprintf(stderr,"error - no color support
Linux核心標頭檔中關於s3c2410 GPIO的宏一、GPIO寄存器定義1.#define GPCON(x) __REG2(0x56000000, (x) * 0x10) 這句是定義2410的GPIO的控制寄存器,注意:__REG2的參數是寄存器的物理地址,這個物理地址經_REG2宏轉換為虛擬位址,對照2410的手冊可以得到一下對應關係:GPCON(1) ------ PORT A 0x56000000GPCON(2) ------ PORT B 0x56000010GPCON(3)
Problems cross-compiling Qt/Embedded 3.3 for big-endian architectures:When cross-compiling on a little-endian machine (e.g. x86) for a big-endian processor (e.g. PowerPC), the configure script will use the host's endianness instead of the target's.
隨著Linux應用的擴充許多朋友開始接觸Linux,根據學習Windows的經驗往往有一些茫然的感覺:不知從何處開始學起。這裡介紹學習Linux的一些建議。 一、從基礎開始:常常有些朋友在Linux論壇問一些問題,不過,其中大多數的問題都是很基礎的。例如:為什麼我使用一個命令的時候,系統告訴我找不到該目錄,我要如何限制使用者的許可權等問題,這些問題其實都不是很難的,只要瞭解了 Linux 的基礎之後,應該就可以很輕易的解決掉這方面的問題。而有些朋友們常常一接觸Linux
在 http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html官網下載jdk 注意:LinuxSome Linux platforms, such as Red Hat and SuSE, are RPM-based, which provide an automated way to install software. Some Linux distributions, such