上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 136 下一页
摘要: IFF_UP 和 IFF_RUNNING 的差別在哪?就實際功用而言,兩者都代表了網路裝置是否正常啟用,但是更仔細觀察可以發現拔除網路線時會造成 IFF_RUNNING 的改變,至於 IFF_UP 不會因插拔網路線而有任何變化 #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> ... 阅读全文
posted @ 2011-06-26 21:46 katago 阅读(952) 评论(0) 推荐(0)
摘要: http://www.unixresources.net/linux/clf/proxy/archive/00/00/38/41/384165.html 阅读全文
posted @ 2011-06-26 17:23 katago 阅读(160) 评论(0) 推荐(0)
摘要: mount -o iocharset=utf8 /dev/sde1 /mnt可以,但是内核会警告 man 8 mount 查看vfat相关 mount -o utf8 /dev/sda5 /mnt 成功支持中文最终命令:mount -o utf8,shortname=mixed,usefree %1 %2usefree解决statfs慢的问题shortname=mixed解决大小写问题 阅读全文
posted @ 2011-06-25 14:13 katago 阅读(294) 评论(0) 推荐(0)
摘要: Accessing PCI Regions PCI devices contain three addressable regions: configuration space, I/O ports, and device memory Configuration Space pci_read_config_[byte|word|dword](struct pci_dev *pdev, int o... 阅读全文
posted @ 2011-06-24 22:53 katago 阅读(236) 评论(0) 推荐(0)
摘要: 功能:将IO地址空间映射到内核的虚拟空间上。 linux-2.6.x/arch/arm/io.h 208 /* 209 * ioremap and friends. 210 * 211 * ioremap takes a PCI memory address, as specified in 212 * Documentation/IO-mapping.txt. 213 * 214 */ 215... 阅读全文
posted @ 2011-06-24 21:35 katago 阅读(3856) 评论(0) 推荐(0)
摘要: 安装 apt-get install qemu-launcher 安装完成后,在 Application/Accessories 系统菜单下,添加了qemu-laucher 的启动项。 查看安装了哪些文件 dpkg -L qemu-launcher 参考http://blog.ccidnet.com/home.php?mod=space&uid=60710&do=blog&id=612280 阅读全文
posted @ 2011-06-24 20:39 katago 阅读(1777) 评论(0) 推荐(0)
摘要: 双网卡不能将ip设置为同一网段,如果设置为同一网段则会出现,网线都插着时,只有A口有作用。只有网线在A口时,两个ip都可以访问。只有网线在B口时,网络无法访问,只有把A口停了才行(ifdown eth0)。 所以,这类情况只要设置不同网段的IP就解决问题了; 阅读全文
posted @ 2011-06-24 12:33 katago 阅读(2330) 评论(0) 推荐(0)
摘要: 在Unix系统下,维护源码版本可以使用很多方法,其中最常用的当然是大名鼎鼎的CVS,但实际上,简单的版本维护工作并没有必要使用复杂的CVS等专门的版本维护工具,Unix标配中的diff和patch工具就完全可以完成代码的简单备份和升级工作。 diff 以"行"为单位比较两个文本文件(也可以是目录比较),并将不同之处以某种格式输出到标准输出上;patch可以读入这种输出,并按照一定指令使源文件 (... 阅读全文
posted @ 2011-06-21 11:31 katago 阅读(373) 评论(0) 推荐(0)
摘要: root@james-desktop:/opt/qt-everywhere/marvell/SDK/linux-2.6.31.8# diff .config-2g config-3g 4c4 < # Sun Jun 19 10:06:59 2011 --- > # Sun Jun 19 10:06:32 2011 363,364c363,364 < # CONFIG_VMSPLIT_3G is n... 阅读全文
posted @ 2011-06-19 10:12 katago 阅读(1479) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/sustzombie/archive/2010/06/12/5667563.aspx 虽然有错误,但是可以参考 http://www.ibm.com/developerworks/library/l-embdev/index.html 阅读全文
posted @ 2011-06-18 23:01 katago 阅读(174) 评论(0) 推荐(0)
上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 136 下一页