主题 : usb摄像头的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 1939
精华: 0
发帖: 12
金钱: 80 两
威望: 12 点
综合积分: 24 分
注册时间: 2008-10-13
最后登录: 2014-11-13
楼主  发表于: 2008-10-14 10:30

 usb摄像头的问题

求教:我在qq2440v3上使用usb摄像头(中星微芯片),如果我从nand flash启动后,插入摄像头,显示:
usb 1-1: new full speed USB device using s3c2410-ohci and address 2

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 3

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 4

usb 1-1: device not accepting address 4, error -110

usb 1-1: new full speed USB device using s3c2410-ohci and address 5

usb 1-1: device not accepting address 5, error -110
/dev下没有生成v4l目录。摄像头无法使用。
但如果我从nor flash进去后用
Boot the system      启动内核后插入摄像头完全正常。

板上烧的内核为arm123上下载的《qq2440-linux-images-20070706》,zImage_s35 + root_qtopia_mouse.img。
在qq2440群里提问过,没人搭理,恳求来往高人指教!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-10-14 13:00
不管是從NOR Flash還是NAND Flash啓動,內核是同一個,內核里攝像頭的驅動理論上也應該是相同的,出現這個問題的原因看起來是驅動無法從USB攝像頭讀到所需要的信息,無法完成設備初始化。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 1939
精华: 0
发帖: 12
金钱: 80 两
威望: 12 点
综合积分: 24 分
注册时间: 2008-10-13
最后登录: 2014-11-13
2楼  发表于: 2008-10-14 13:45
thanks kasim!
我也是这么认为啊,所以非常困惑,我手里俩个摄像头都是这样(都是中星微301),查看了这俩者启动信息,基本一致,为什么nand启动模式无法读出信息呢?对usb驱动的架构不了解,无从下手啊。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-10-14 14:45
NAND啓動模式下插個USB鼠標試試?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 1939
精华: 0
发帖: 12
金钱: 80 两
威望: 12 点
综合积分: 24 分
注册时间: 2008-10-13
最后登录: 2014-11-13
4楼  发表于: 2008-10-20 09:38
前几天没上班,没及时看到kasim老大的回帖。
nand下插上usb鼠标,果然也是报错信息,莫非usb驱动出了什么问题?
我试了各种内核镜像都一样,包括板买会时默认安装的。
前几个月玩的时候好像没有这种情形,会不会是硬件出什么问题?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2008-10-20 12:47
看来需要送回友善之臂修了
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 1939
精华: 0
发帖: 12
金钱: 80 两
威望: 12 点
综合积分: 24 分
注册时间: 2008-10-13
最后登录: 2014-11-13
6楼  发表于: 2008-10-20 14:30
哈哈
级别: 新手上路
UID: 8755
精华: 0
发帖: 11
金钱: 110 两
威望: 55 点
综合积分: 22 分
注册时间: 2009-09-05
最后登录: 2009-10-13
7楼  发表于: 2009-09-21 01:51
楼主的问题跟VIVI有关,用supervivi引导内核就行,用其他的VIVI就不行,我试过。估计supervivi里面对usb打了补丁。我在其他论坛上看到是因为upll启动时频率过低造成uclk不稳定。楼主可以改一下USB驱动