摘要:        
使用asm/div64.h中宏do_div #include <asm/div64.h> unsigned long long x,y,result; unsigned long mod; mod = do_div(x,y); result = x;  64 bit division 结果保存在x中;余数保存在返回结果中。    阅读全文
posted @ 2011-06-28 21:39
katago
阅读(276)
评论(1)
推荐(0)
        
            
        
        
摘要:        
接入usb移动硬盘后不能识别,内核一直打印提示信息如下 : hub 1-1:1.0: over-current change on port1 hub 1-1:1.0: over-current change on port1  过流保护?    阅读全文
posted @ 2011-06-28 21:17
katago
阅读(1595)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://blogold.chinaunix.net/u/31100/showart_244622.html (转载) ================================ Author: taoyuetao Email: tao_yuetao@yahoo.com.cn Blog: taoyuetao.cublog.cn 2006-11-03 ===================...    阅读全文
posted @ 2011-06-28 21:15
katago
阅读(327)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://blogold.chinaunix.net/u3/111381/showart_2163688.html 5.2.2:接口驱动中的hub_thread()函数 我们之前在分析usb_hub_init()的代码的时候,忽略掉了一部份. 代码片段如下所示: int usb_hub_init(void) {  ……  khubd_task = kthread_run(hub_thread,...    阅读全文
posted @ 2011-06-28 21:12
katago
阅读(1980)
评论(0)
推荐(0)
        
            
        
        
摘要:        
set lcd0_enable 1 //set lcd0_params 1280x720-32@60 set lcd0_params 1280x720-16@60 改成16位色就可以,具体原因不明  测试时候读用cat命令,写用cp  在硬盘上用 cat xxx.mpg > /dev/null 读硬盘数据,闪烁严重 cp /usb/test /mnt/test1 闪烁较少,但是也有  usb上读写...    阅读全文
posted @ 2011-06-28 20:12
katago
阅读(539)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://www.unixresources.net/linux/clf/embedded/archive/00/00/62/23/622399.html http://blogold.chinaunix.net/u/31100/showart_244622.html  限制512m内存之后就可以跑起来,奇怪啊! setenv bootcmd 'setenv bootargs init=/sb...    阅读全文
posted @ 2011-06-28 20:10
katago
阅读(782)
评论(0)
推荐(0)
        
            
        
        
摘要:        
第八章、路由觀念與路由器設定 http://linux.vbird.org/linux_server/0230router.php    阅读全文
posted @ 2011-06-28 14:33
katago
阅读(188)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号