没有合适的资源?快使用搜索试试~ 我知道了~
首页彻底解决usb错误- device not accepting address
彻底解决usb错误 一插上usb就报如下错误: / # usb 1-1: new full speed USB device using s3c2410-ohci and address 2 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 3 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 4 usb 1-1: device not accepting address 4, error -62 usb 1-1: new full speed USB device using s3c2410-ohci and address 5 usb 1-1: device not accepting address 5, error -62 hub 1-0:1.0: unable to enumerate USB device on port 1
资源详情
资源评论
资源推荐

在目录 kernel26_h/drivers/usb/host/ohci-s3c2410.c 文件中将下面函数的内同修改为
static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd)
{
$ $$ $ struct s3c2410_hcd_info *info = dev->dev.platform_data;
$ $$ $ //======
$ $$ $ unsigned long upllvalue =$$(0x38<<12)|(0x02<<4)|(0x01);
$ $$ $ unsigned long upllvalue1 = (0x38<<12)|(0x02<<4)|(0x02);
$ $$ $ dev_dbg(&dev->dev, "s3c2410_start_hc:");
//=====
$ $$ $ __raw_writel(upllvalue,S3C2410_UPLLCON);
$ $$ $ mdelay(20);
$ $$ $ __raw_writel(upllvalue1,S3C2410_UPLLCON);
$ $$ $ mdelay(20);
//=====
$ $$ $ clk_enable(clk);
$ $$ $ mdelay(10);
$ $$ $ if (info != NULL) {
$ $$ $$ $$ $$$info->hcd$ $$ $ = hcd;
$ $$ $$ $$ $$$info->report_oc = s3c2410_hcd_oc;













安全验证
文档复制为VIP权益,开通VIP直接复制

评论14