好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > qq2440啟動linux后插入u盤出現(xiàn)usb 1-1: device descriptor read/64, error -110,usb 1

qq2440啟動linux后插入u盤出現(xiàn)usb 1-1: device descriptor read/64, error -110,usb 1

熱門標(biāo)簽:琿春市地圖標(biāo)注app 公司400電話辦理價格 百度地圖標(biāo)注開鎖電話 百度中國地圖標(biāo)注中心 依蘭縣地圖標(biāo)注app 山東企業(yè)電銷機(jī)器人價格 潮州地圖標(biāo)注 pageadm實(shí)現(xiàn)地圖標(biāo)注 安陽百應(yīng)電銷機(jī)器人加盟

上位機(jī):ubuntu14.04 64bit

下位機(jī):qq2440

交叉編譯器:arm-linux-gcc 3.4.1

下位機(jī)使用的linux內(nèi)核版本:kernel2.6.13

1.插入u盤時錯誤信息如下:

[root@FriendlyARM /home]# usb 1-1: new full speed USB device using s3c2410-ohci and address 6
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new full speed USB device using s3c2410-ohci and address 7
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new full speed USB device using s3c2410-ohci and address 8
usb 1-1: device not accepting address 8, error -110
usb 1-1: new full speed USB device using s3c2410-ohci and address 9
usb 1-1: device not accepting address 9, error -110

2.解決方案如下:

2.1修改drivers/usb/host/ohci-s3c2410.c文件,添加以下內(nèi)容:

  a.先添加頭文件#include mach/regs-clock.h>

  b.在s3c2410_start_hc函數(shù)中添加以下內(nèi)容:

bash/shell Code復(fù)制內(nèi)容到剪貼板
  1. unsigned long upllvalue = (0x78  12) | (0x02  4) | (0x03);   
  2.         while (upllvalue != __raw_readl(S3C2410_UPLLCON)) {   
  3.                 __raw_writel(upllvalue, S3C2410_UPLLCON);   
  4.                 mdelay(1);   
  5.         }  

  添加后的s3c2410_start_hc函數(shù)如下:

bash/shell Code復(fù)制內(nèi)容到剪貼板
  1. static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd)   
  2. {   
  3.         struct s3c2410_hcd_info *info = dev->dev.platform_data;   
  4.         dev_dbg(dev->dev, "s3c2410_start_hc:\n");   
  5.         clk_enable(clk);   
  6.         if (info != NULL) {   
  7.                 info->hcd       = hcd;   
  8.                 info->report_oc = s3c2410_hcd_oc;   
  9.                 if (info->enable_oc != NULL) {   
  10.                         (info->enable_oc)(info, 1);   
  11.                 }   
  12.         }   
  13.         unsigned long upllvalue = (0x78  12) | (0x02  4) | (0x03);   
  14.         while (upllvalue != __raw_readl(S3C2410_UPLLCON)) {   
  15.                 __raw_writel(upllvalue, S3C2410_UPLLCON);   
  16.                 mdelay(1);   
  17.         }   
  18. }  

  2.2總結(jié):以上修改的函數(shù)功能是啟動主機(jī)控制器,因?yàn)閡sb時鐘設(shè)置有問題,因而在開啟主機(jī)控制器時修改時鐘,修改后的S3C2410_UPLLCON的值為0xF4100008;

 3.注意:本版本內(nèi)核沒有頭文件regs-clock.h,因而我從其他內(nèi)核中復(fù)制過來的,命令如下:

jello@jello-Inspiron-N4050:~/Downloads/qq2440/linux/kernel-2.6.13$ cp /tftpboot/kernel-2.6.35.7/arch/arm/mach-s3c2410/include/mach/regs-clock.h ./

標(biāo)簽:香港 連云港 林芝 呼和浩特 三明 公主嶺 常德 晉中

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《qq2440啟動linux后插入u盤出現(xiàn)usb 1-1: device descriptor read/64, error -110,usb 1》,本文關(guān)鍵詞  qq2440,啟動,linux,后,插入,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《qq2440啟動linux后插入u盤出現(xiàn)usb 1-1: device descriptor read/64, error -110,usb 1》相關(guān)的同類信息!
  • 本頁收集關(guān)于qq2440啟動linux后插入u盤出現(xiàn)usb 1-1: device descriptor read/64, error -110,usb 1的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 69精品久久久久久精品2023| 女主娇软末世文po| 激情五月婷婷基地| 男男肉耽高h古风| 好爽?好紧?宝贝叫大声欧美| 久久久久久狠狠丁香| h片视频网站| まつま 人妻×人妻3| AV无码搬运工在线播放2| 可以免费看污片的网站| 成人永久免费视频网站app| 国产成人精品???水| 私密按摩级婬片A片免费播| 亚洲第一色在线| 黄色直播软件| 男人都想日她| 欧美裸体美女视频| 中文字幕精品久久久久人妻红杏1 中文字幕精品无码亚洲字幕乐视 亚洲色综合色少妇久久草草 | 乡下村妇伦偷人A片| 国产精品无码亚洲欧美| 91亚洲视频| 啊好深好硬快点用力别停免费视频| 女人的隐私秘?祼??酒店| 一级持黄绿像免费观看| 久久99中文字幕伊人| 一级黄色片段| 久久综合久色欧美综合狠狠| 久久国产成人精品Av| 国产叼嘿免费视频网站| 欧美人ZO00交人配| 欧美巨大精品欧美一区二区| 一级生性活片在线播放| 国产精品拍自在线观看| 我被年下cao了高H| 日本ⅩXX色在线观看软件 | 99久久国产精品免费热99| 91精品久久久久久久99| 色在线网站免费观看| 肉铺团| 老师攻×校霸受打屁股| 自偷自拍三级视频在线观看|