嵌入式爱好者

查看: 2967|回复: 1

新买OK6410的USB口有问题,打印Cannot enable port 1. Maybe the USB cable is bad

[复制链接]

15

主题

29

帖子

53

积分

扫一扫,手机访问本帖
发表于 2013-2-3 22:22:02 | 显示全部楼层 |阅读模式
新买OK6410的USB口有问题,插入几个USB摄像头,都总是打印hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?

是否应该退回返修啊?
回复

使用道具 举报

15

主题

29

帖子

53

积分

 楼主| 发表于 2013-2-4 20:50:34 | 显示全部楼层
断电后,第二天再打开,USB摄像头可以识别了,很奇怪。但就是段错误
[root@FORLINX6410]#
[root@FORLINX6410]# usb 1-1: new full speed USB device number 2 using s3c2410-oh
ci
usb 1-1: New USB device found, idVendor=0ac8, idProduct=301b
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: PC Camera
usb 1-1: Manufacturer: Vimicro Corp.
gspca: probing 0ac8:301b
zc3xx: probe 2wr ov vga 0x0000
zc3xx: probe sensor -> 0011
zc3xx: Find Sensor HV7131R
input: zc3xx as /devices/platform/s3c2410-ohci/usb1/1-1/input/input3
gspca: video2 created

[root@FORLINX6410]# cd /usr/bin
[root@FORLINX6410]# ./test_usb_camera
Unable to handle kernel NULL pointer dereference at virtual address 00000060
pgd = cbd40000
[00000060] *pgd=5bd4a831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0    Tainted: G        W    (3.0.1 #439)
PC is at video_devdata+0x18/0x30
LR is at dev_open+0x28/0x194
pc : [<c02f9ce0>]    lr : [<c030a2c0>]    psr: 60000013
sp : cbd65d30  ip : cbd65d40  fp : cbd65d3c
r10: c0735088  r9 : 00000026  r8 : cc16e3a8
r7 : cbd23008  r6 : cc16e3a8  r5 : cbc9ab80  r4 : cbd23000
r3 : 00000003  r2 : c07b23ac  r1 : 00000000  r0 : cc16e3a8
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 00c5387d  Table: 5bd40008  DAC: 00000015
Process test_usb_camera (pid: 116, stack limit = 0xcbd64268)
Stack: (0xcbd65d30 to 0xcbd66000)
5d20:                                     cbd65d6c cbd65d40 c030a2c0 c02f9cd4
5d40: c030a298 cbd23000 cbc9ab80 cc16e3a8 cbd23008 cbc9ab80 00000026 cc16cc80
5d60: cbd65d8c cbd65d70 c02fa060 c030a2a4 00000000 00000000 cbc63780 cc16e3a8
5d80: cbd65dbc cbd65d90 c00ed5b0 c02f9fbc cbd65e2c 00000000 00000000 cbc9ab80
5da0: 00000000 cc16e3a8 c00ed490 cc16cc80 cbd65df4 cbd65dc0 c00e8d14 c00ed49c
5dc0: cc07bb80 cc40fb40 cc16e3a8 cbd65ed0 cbc9ab80 00000000 cbc9aa80 00000802
5de0: 00000026 00000000 cbd65e1c cbd65df8 c00e8f50 c00e8bb4 cbc9aa80 cbd65e8c
5e00: cc16e3a8 cbd65ed0 00000000 cbd65e8c cbd65e64 cbd65e20 c00f6488 c00e8ef4
5e20: cbd20005 c07a1d20 cbd65e64 cc40fb40 cc07bb80 cc16e3a8 cbd65e64 cbd65ed0
5e40: ffffff9c cbd65f60 cbd64000 cbd20000 cbd64000 cbd65e8c cbd65ec4 cbd65e68
5e60: c00f792c c00f630c cbd65e94 00000000 32a9f880 00000000 6e0e4883 bec35b60
5e80: 00000068 00000000 00000000 cc40fb40 cc16cc80 00000000 00000000 00000001
5ea0: cbd65f60 cbd65ed0 ffffff9c cbd20000 cbd64000 ffffff9c cbd65f54 cbd65ec8
5ec0: c00f7d04 c00f7874 00000041 00000000 cc40fb40 cc16cc80 d9d3cea0 00000006
5ee0: cbd20005 00000000 cc077b80 cc16e3a8 00000101 00000004 00000000 00000000
5f00: 00000000 00000000 00000004 cbd2d180 cbd2d188 cbd2d184 00000000 cbd64000
5f20: cbd65f54 00000803 00000000 00000000 00000001 00000001 00000802 00000000
5f40: 00000004 cbd20000 cbd65f94 cbd65f58 c00e8a78 c00f7cd8 00000000 00000000
5f60: 00000802 00000000 00000026 00000100 00000001 bec35e74 00067ecc 00000005
5f80: c0034ce8 00000000 cbd65fa4 cbd65f98 c00e8b84 c00e8988 00000000 cbd65fa8
5fa0: c0034b40 c00e8b6c 00000001 bec35e74 000681c8 00000802 00000000 00085c8c
5fc0: 00000001 bec35e74 00067ecc 00000005 bec35cfc 00000000 000874b8 0000000a
5fe0: 00067ed4 bec35bd0 000089b4 0001fe4c 40000010 000681c8 00000000 00000000
[<c02f9ce0>] (video_devdata+0x18/0x30) from [<c030a2c0>] (dev_open+0x28/0x194)
[<c030a2c0>] (dev_open+0x28/0x194) from [<c02fa060>] (v4l2_open+0xb0/0xd8)
[<c02fa060>] (v4l2_open+0xb0/0xd8) from [<c00ed5b0>] (chrdev_open+0x120/0x1a4)
[<c00ed5b0>] (chrdev_open+0x120/0x1a4) from [<c00e8d14>] (__dentry_open+0x16c/0x
2c4)
[<c00e8d14>] (__dentry_open+0x16c/0x2c4) from [<c00e8f50>] (nameidata_to_filp+0x
68/0x70)
[<c00e8f50>] (nameidata_to_filp+0x68/0x70) from [<c00f6488>] (do_last+0x188/0x6b
0)
[<c00f6488>] (do_last+0x188/0x6b0) from [<c00f792c>] (path_openat+0xc4/0x3a4)
[<c00f792c>] (path_openat+0xc4/0x3a4) from [<c00f7d04>] (do_filp_open+0x38/0x8c)

[<c00f7d04>] (do_filp_open+0x38/0x8c) from [<c00e8a78>] (do_sys_open+0xfc/0x1d0)

[<c00e8a78>] (do_sys_open+0xfc/0x1d0) from [<c00e8b84>] (sys_open+0x24/0x28)
[<c00e8b84>] (sys_open+0x24/0x28) from [<c0034b40>] (ret_fast_syscall+0x0/0x30)
Code: e24cb004 e590200c e5921020 e59f2010 (e5913060)
---[ end trace da227214a82491b9 ]---
Segmentation fault
[root@FORLINX6410]#
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-23 20:16

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表