原创 Linux USB Joystick遊戲杆驅動

[cpp] view plaincopy <pre class="cpp" name="code">//驅動代碼(中斷傳輸)</pre><pre class="cpp" name="code">#include <linux/

原创 USB Descriptor

From:   http://blog.csdn.net/wavemcu/article/details/7220697 USB描述符的分類與介紹 USB的符述符分爲幾類?有人可能會答:設備描述符、配置描述符、接口描述符、端點描述符、

原创 Linux kernel --- VirtualBox

This article describe about how to roadmap android kernel on VirtualBox Software environment: Ubuntu 10.0.4LS 1. Downl

原创 Linux kernel 中的鏈表list 使用示例

有了這個頭文件,可以在用戶空間使用kernel的list。 如下代碼的獲取路徑 http://isis.poly.edu/kulesh/stuff/src/klist/list.h 1 #ifndef __LIST_H 2 #

原创 Gerrit user guide

1. Get code git clone ssh://username@gerrit_server:29418/kernel_goldfish git clone ssh://[email protected]:29418/k

原创 android源碼編譯,模塊編譯

本文內容大部分來自   http://www.cnblogs.com/chu888chu888/archive/2010/11/24/1886385.html Android 源碼編譯按照官方網站所說去做即可。 安裝java需要 Th

原创 Linux Kerner training (1) Lauterbach and trace32 debug u-boot

  LinuxKernel Training Refrences: $ git cloneGit://igloocommunity.org/git

原创 Cef write read cookie

寫入cookie std::wstring domain = L"dev-box.nn.com"; CefRefPtr<CefCookieManager> manager = CefCookieManager::GetGloba

原创 Git User guide

A.1安裝和初始化Setup and Initialization在使用Git之前,須要先進行配置。在使用一個新的版本庫之前,須要先初始化。本節介紹與Git設置和初始化相關的命令。配置全局用戶名和電子郵件地址prompt>git conf

原创 Linux Kernel training (2) Gpio

General Purpose Input Output (通用輸入/輸出)簡稱爲GPIO,或總線擴展器,利用工業標準I2C、SMBus™或SPI™接口簡化了I/O口的擴展。當微控制器或芯片組沒有足夠的 I/O端口,或當系統需要採用遠端

原创 Linux下USB驅動之skeleton分析

From http://www.linuxidc.com/Linux/2008-10/16887.htm Usb_skeleton.c,是USB驅動的框架,適合USB驅動的初學者。 1.結構體 內核其實就是一坨坨的數據結構,加上一根根

原创 gerrit + ldap or http

這幾天在學習配置Gerrit的,gerrit 是一個結合git作code review流程管理的基於web的application。真正配置起來還是遇到了好多問題,我這裏就直接把正確的方法寫出來了,大家不必走彎路。具體要了解某一方面的原理

原创 Git Server init

references: http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository Create git repository //server side, you sho

原创 Gerrit step by step

About how to install and confiure it, please see another article <gerrit + ldap or http> 1.gerrit公鑰配置   在shell中執行命令

原创 Linux Kernel -- Debug VirtualBox

references: http://fotis.loukos.me/blog/?p=25 Kgdb is a source level debugger for the linux kernel. It requires two