編譯核心和USB問題

usb 1-1: new full speed USB device using s3c2410-ohci and address 6
usb 1-1: device descriptor read/64, error -62
usb 1-1: device descriptor read/64, error -62
usb 1-1: new full speed USB device using s3c2410-ohci and address 7
usb 1-1: device descriptor read/64, error -62
usb 1-1: device descriptor read/64, error -62
usb 1-1: new full speed USB device using s3c2410-ohci and address 8
usb 1-1: device not accepting address 8, error -62
usb 1-1: new full speed USB device using s3c2410-ohci and address 9
usb 1-1: device not accepting address 9, error -62
hub 1-0:1.0: unable to enumerate USB device on port 1
关键词: 編譯 核心 問題 device


這個部份已經解決,下面是解決方法
修改driver/usb/host/ohci-s3c2410.c
加入
#include <asm/arch-s3c2410/regs-clock.h>
#include <asm-arm/io.h>
unsigned long upllvalue = (0x78<<12)|(0x02<<4)|(0x03); //add
static void s3c2410_start_hc函數中加入
while (upllvalue !=__raw_readl(S3C2410_UPLLCON))
{
__raw_writel(upllvalue, S3C2410_UPLLCON);
mdelay(1);
}
現在我出現的問題:就是插上usb後沒有自己偵測掛載到的dev上,下面是我插上usb出現的情形:
usb 1-1: New USB device found, idVendor=058f, idProduct=6387
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Mass Storage Device
usb 1-1: Manufacturer: JetFlash
usb 1-1: SerialNumber: 673WWM0P
現在的問題是要如何讓他自己掛載到/dev/sda上,現在我的核心在usb device 與scsi還有File system幾乎都選了,但是他就是沒辦法偵測到usb,所以請各位幫幫我,進入arm以後是否還需要打什麼指令或是什麼辦法可以解決
回复
打赏帖 | |
---|---|
宏定义和const关键字定义被打赏5分 | |
【功率监测与控制系统DIY活动成果贴】DIY功率计与LabVIEW数据采集被打赏100分 | |
【Freertos】任务管理被打赏10分 | |
分享博世的两种不同的喷射系统模式被打赏5分 | |
汽车+开路实验与短路实验被打赏10分 | |
多点式电子控制汽油喷射系统知识分享被打赏10分 | |
分享机械控制式汽油喷射系统被打赏5分 | |
【分享开发笔记,赚取电动螺丝刀】解决基于CH341制作无线模块时芯片发热问题被打赏31分 | |
【分享开发笔记,赚取电动螺丝刀】使用STM32F103ZE主控调试RS485通讯的避坑经验被打赏36分 | |
【分享开发笔记,赚取电动螺丝刀】移植xprintf模块被打赏27分 |