• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : tiny210 usb摄像头识别成full speed USB device 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 67306
精华: 0
发帖: 14
金钱: 75 两
威望: 15 点
综合积分: 28 分
注册时间: 2012-04-10
最后登录: 2013-08-06
楼主  发表于: 2012-04-28 10:20

 tiny210 usb摄像头识别成full speed USB device

之前用tiny210+sdk2底板,接usb摄像头能识别成high speed USB device,而且yuv可以采集到1600*1200大小的视频。

现在换成了sdk底板,接usb摄像头却提示full speed USB device,而且图像也只能采集到640*480大小,但在pc上验证摄像头没问题。
复制代码
  1. [root@FriendlyARM /]# [   42.744083] usb 1-1: new high speed USB device using s5p-ehci and address 2
  2. [   42.865175] usb 1-1: device descriptor read/64, error -71
  3. [   43.091737] usb 1-1: device descriptor read/64, error -71
  4. [   43.306582] usb 1-1: new high speed USB device using s5p-ehci and address 3
  5. [   43.427679] usb 1-1: device descriptor read/64, error -71
  6. [   43.654161] usb 1-1: device descriptor read/64, error -71
  7. [   43.869008] usb 1-1: new high speed USB device using s5p-ehci and address 4
  8. [   44.290932] usb 1-1: device not accepting address 4, error -71
  9. [   44.400311] usb 1-1: new high speed USB device using s5p-ehci and address 5
  10. [   44.822188] usb 1-1: device not accepting address 5, error -71
  11. [   44.822263] hub 1-0:1.0: unable to enumerate USB device on port 1
  12. [   45.208916] usb 2-1: new full speed USB device using s5p-ohci and address 2
  13. [   45.356387] usb 2-1: not running at top speed; connect to a high speed hub
  14. [   45.386396] usb 2-1: New USB device found, idVendor=0ac8, idProduct=3313
  15. [   45.386455] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  16. [   45.386517] usb 2-1: Product: CH200
  17. [   45.386549] usb 2-1: Manufacturer: CH200 Corp.p.
  18. [   45.392738] uvcvideo: Found UVC 1.00 device CH200  (0ac8:3313)
  19. [   45.404422] input: CH200  as /devices/platform/s5p-ohci/usb2/2-1/2-1:1.0/input/input


按说tiny210不都是usb2.0吗?为什么换了sdk底板就识别不了?
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
1楼  发表于: 2012-04-28 10:38
是啊,我也觉得奇怪,有没有样品可以提供给我们测试?
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.
级别: 新手上路
UID: 67306
精华: 0
发帖: 14
金钱: 75 两
威望: 15 点
综合积分: 28 分
注册时间: 2012-04-10
最后登录: 2013-08-06
2楼  发表于: 2012-04-28 11:00
什么样品?是摄像头还是底板?
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
3楼  发表于: 2012-04-28 11:38
是摄像头
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.
级别: 新手上路
UID: 67306
精华: 0
发帖: 14
金钱: 75 两
威望: 15 点
综合积分: 28 分
注册时间: 2012-04-10
最后登录: 2013-08-06
4楼  发表于: 2012-04-28 12:09
上面贴出来的是湖南创合CH200,
[   45.386517] usb 2-1: Product: CH200
[   45.386549] usb 2-1: Manufacturer: CH200 Corp.p.
也试过其他市面上普通的摄像头,而且就是直接接个hub或者其他的usb设备,他都识别成full speed
级别: 骑士
UID: 24262
精华: 0
发帖: 170
金钱: 850 两
威望: 170 点
综合积分: 340 分
注册时间: 2010-07-05
最后登录: 2017-10-14
5楼  发表于: 2012-08-06 21:41
这个后果很严重,我也试验了一个USB摄像头,使用20120612的内核和文件系统,
1、在mini210s上可以正常使用。
2、在Tiny210(简易版——只有一个U口那款)上不能正常使用。显示

[   12.411133] usb 1-1: new high speed USB device using s5p-ehci and address 2
[   12.532203] usb 1-1: device descriptor read/64, error -71
[   12.758679] usb 1-1: device descriptor read/64, error -71
[   12.973628] usb 1-1: new high speed USB device using s5p-ehci and address 3
[   13.094728] usb 1-1: device descriptor read/64, error -71
[   13.321245] usb 1-1: device descriptor read/64, error -71
[   13.536111] usb 1-1: new high speed USB device using s5p-ehci and address 4
[   13.957967] usb 1-1: device not accepting address 4, error -71
[   14.067337] usb 1-1: new high speed USB device using s5p-ehci and address 5
[   14.489235] usb 1-1: device not accepting address 5, error -71
[   14.489340] hub 1-0:1.0: unable to enumerate USB device on port 1
[   14.875873] usb 2-1: new full speed USB device using s5p-ohci and address 2
[   15.023402] usb 2-1: not running at top speed; connect to a high speed hub
[   15.031386] usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
[   15.031447] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   15.031508] usb 2-1: Product: USB2.0 Hub
[   15.033559] hub 2-1:1.0: USB hub found
[   15.035368] hub 2-1:1.0: 4 ports detected

也是在高速时认不出设备,但是在全速时又可以了认到了。但是这个设备仍然不能正常使用。(注意这个口不接摄像头,接U盘是没有问题的)。
3、用这个U口接一个USB HUB然后再接摄像头又可以了。
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
6楼  发表于: 2012-08-07 06:31
SDK2采用的是USB 2.0扩展芯片,你外接的可能是1.1的
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.
级别: 骑士
UID: 24262
精华: 0
发帖: 170
金钱: 850 两
威望: 170 点
综合积分: 340 分
注册时间: 2010-07-05
最后登录: 2017-10-14
7楼  发表于: 2012-08-07 09:06
我使用的是Tiny210_V1205的版本,USB 并没有扩展,只有一个USB HOST接口。测试过程如下:
1、执行命令查看USB接口情况
#ls sys/bus/usb/devices
usb1
1-0:1.0
usb2
2-0:1.0

2、直接接摄像头:
串口返回
[  127.348541] usb 1-1: new high speed USB device using s5p-ehci and address 2
[  127.469654] usb 1-1: device descriptor read/64, error -71
[  127.696212] usb 1-1: device descriptor read/64, error -71
[  127.911066] usb 1-1: new high speed USB device using s5p-ehci and address 3
[  128.032152] usb 1-1: device descriptor read/64, error -71
[  128.258725] usb 1-1: device descriptor read/64, error -71
[  128.473568] usb 1-1: new high speed USB device using s5p-ehci and address 4
[  128.895434] usb 1-1: device not accepting address 4, error -71
[  129.004803] usb 1-1: new high speed USB device using s5p-ehci and address 5
[  129.426654] usb 1-1: device not accepting address 5, error -71
[  129.426736] hub 1-0:1.0: unable to enumerate USB device on port 1
[  129.813409] usb 2-1: new full speed USB device using s5p-ohci and address 2
[  129.960872] usb 2-1: not running at top speed; connect to a high speed hub
[  130.089116] usb 2-1: New USB device found, idVendor=0bda, idProduct=5801
[  130.089177] usb 2-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[  130.089238] usb 2-1: Product: USB Camera
[  130.089274] usb 2-1: Manufacturer: Generic
[  130.089311] usb 2-1: SerialNumber: 200901010001
[  130.108302] uvcvideo: Found UVC 1.00 device USB Camera (0bda:5801)
[  130.108396] Enter uvc_register_video
[  130.132573] input: USB Camera as /devices/platform/s5p-ohci/usb2/2-1/2-1:1.0/input/input2


3、接USBHUB
[  182.977434] usb 1-1: new high speed USB device using s5p-ehci and address 6
[  183.098553] usb 1-1: device descriptor read/64, error -71
[  183.325102] usb 1-1: device descriptor read/64, error -71
[  183.539945] usb 1-1: new high speed USB device using s5p-ehci and address 7
[  183.661028] usb 1-1: device descriptor read/64, error -71
[  183.887601] usb 1-1: device descriptor read/64, error -71
[  184.102447] usb 1-1: new high speed USB device using s5p-ehci and address 8
[  184.524298] usb 1-1: device not accepting address 8, error -71
[  184.633666] usb 1-1: new high speed USB device using s5p-ehci and address 9
[  185.055564] usb 1-1: device not accepting address 9, error -71
[  185.055640] hub 1-0:1.0: unable to enumerate USB device on port 1
[  185.442299] usb 2-1: new full speed USB device using s5p-ohci and address 3
[  185.589601] usb 2-1: not running at top speed; connect to a high speed hub
[  185.597618] usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
[  185.597677] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  185.597738] usb 2-1: Product: USB2.0 Hub
[  185.599801] hub 2-1:1.0: USB hub found
[  185.601606] hub 2-1:1.0: 4 ports detected


4、接摄像头到USB HUB上:
[  222.056590] usb 2-1.1: new full speed USB device using s5p-ohci and address 4
[  222.195591] usb 2-1.1: not running at top speed; connect to a high speed hub
[  222.323609] usb 2-1.1: New USB device found, idVendor=0bda, idProduct=5801
[  222.323670] usb 2-1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[  222.323738] usb 2-1.1: Product: USB Camera
[  222.323778] usb 2-1.1: Manufacturer: Generic
[  222.323817] usb 2-1.1: SerialNumber: 200901010001
[  222.342074] uvcvideo: Found UVC 1.00 device USB Camera (0bda:5801)
[  222.342173] Enter uvc_register_video
[  222.365005] input: USB Camera as /devices/platform/s5p-ohci/usb2/2-1/2-1.1/2-1.1:1.0/input/input3
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
8楼  发表于: 2012-08-07 09:16
目前不清楚是什么原因,不过,通过核心板再扩展的方式肯定不如单板结构,特别是高速信号部分。
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.
级别: 新手上路
UID: 73024
精华: 0
发帖: 14
金钱: 70 两
威望: 14 点
综合积分: 28 分
注册时间: 2012-07-02
最后登录: 2015-12-03
9楼  发表于: 2012-12-20 12:39
以下是技术支持的回答:
"SDK1.0的USB Hos引线外延太长,用于了SCON接口,在达不到2.0速率的时候会自动降低为1.1,因此可以可以隔断外延线,就可以实现2.0"
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go