by BENNYSNAKE - 移动操作系统 - 2011-12-22 08:51:12 阅读(982) 回复(0)
本帖最后由 hushui 于 2012-07-10 19:17 编辑 git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git cd linux-git $ git branch v2.6.24 $ git branch v2.6.32 [lake@linux-Shanghai linux-git]$ git branch * (no branch) master v2.6.24 v2.6.32 $git checkout v2.6.32 warning: refname 'v2.6.32' is ambiguous. Switched to branch 'v2.6.32' [lake@linux-Shanghai linu...
为了尝试git的intel X driver驱动,需要搭建整个最新的X源码编译环境。主要是因为intel最新的X driver需要支持dixPrive*系列函数,这些函数在xorg-server1.5才有──其实在1.4与1.5的过渡版本中添加的,具体哪个版本没去深究。在他们的主页上说1.3.1以上的X Server就能编译,实际上因为代码更新快的原因,很多文档不可靠了。 本文基于的系统是Archlinux 2008.3。顺便说一下我对选择发行版的想法:我是有偏好的,但一切...
git常见命令整理 【基本概念】 A) git本地由三个部分组成:工作区 和 暂存区 和 本地库。 B) .git目录才是仓库的灵魂,.git目录里面包括 暂存区 和 本地库,.git目录外的地方是工作区。 C) git中包含4类对象 (commit 提交对象, tree 目录, blob 文件, tag 标记) 【git模型】 工作区 = working directory 暂存区 = snapshot/stage/index 本地库 = local repo 【.git目录】 HEAD 指向当前分支 config 项目配置文件 descripti...
我想写一个 可以在 android source code 目录底下所有有 .git 的目录下 用 git status 或是 repo status 检查哪些文件有modify, 再把这些有modify的文件全部copy 到 a 目录 请问这样大概要怎么写? 谢谢
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6 http://git.or.cz/gitwiki/gitDocumentation http://linux.yyz.us/git-howto.html http://www.bitsun.com/documents/gittutorcn.htm 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/52215/showart_1385959.html
lsusb得到vendor号和设备号,
Login as root and create this file: /etc/udev/rules.d/##-android.rules
NOTE: In the above file replace ## with the number 50 if you are running
Gusty/Hardy/Dapper (50-android.rules) or with the number 70 if you are
running Karmic Koala/Lucid Lynx(70-android.rules)
Or simply type in terminal sudo gedit /etc/udev/rules.d/##-android.rules then enter your p...
12:32:06android.xu@52-rules.d$cat 51-android.rules #Acer 0502 SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666" #Dell 413c SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666" #Foxconn 0489 SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666" #Garmin-Asus 091E SUBSYSTEM=="usb", SYSFS{idVendor}=="091e", MODE="0666" #HTC 0bb4 SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", ...
linux内核代码可以通过git来管理。在linux下面安装git包,git的图形界面是qgit. windows下面也有对应的版本 qgit: sourceforge.net/projects/qgit git: http://code.google.com/p/msysgit/ 使用git下载内核代码: git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93140/showart_1981478.html