天嵌 ARM开发社区

 找回密码
 注册
查看: 3575|回复: 14

急急急,天嵌2440支持什么型号的USB摄像头!!

[复制链接]
wind 发表于 2010-7-17 14:40:19 | 显示全部楼层 |阅读模式
最近在搞一个项目,要用到摄像头,请教一下,TQ2440开发板,内核版本是2.6.30.4,支持什么型号或什么版本的的USB摄像头。最好能告知在哪里能买到?有没有谁用过,请帮帮忙?:)
 楼主| wind 发表于 2010-7-17 14:41:59 | 显示全部楼层
有哪位大虾弄过或者知道的,告知一下,感激不尽。。
亚瑟王 发表于 2010-7-17 15:01:40 | 显示全部楼层
最简单最直观的方法,你烧写201006光盘中的文件系统和内核,然后修改文件系统中的/etc/init.d/rcS文件,屏蔽掉qt的那行,然后添加:usb_camera &,然后拿到电脑城,挨个挨个用摄像头测试即可。
 楼主| wind 发表于 2010-7-17 15:19:31 | 显示全部楼层
亚瑟王,我用的是的是之前买的时候光盘配带的20090826的。我在学校,拿开发板跑到电脑城试,这样太麻烦了。你印象中,有没站友使用过,或你一些经验。我之前用过一款USB有的摄像头,网络那边测试不到。
 楼主| wind 发表于 2010-7-17 19:57:51 | 显示全部楼层
root@EmbedSky /]# WebCam_USB
MJPG-streamer [595]: starting application
MJPG Streamer Version.: 2.0
MJPG-streamer [595]: MJPG Streamer Version.: 2.0

i: Using V4L2 device.: /dev ideo0
MJPG-streamer [595]: Using V4L2 device.: /dev ideo0

i: Desired Resolution: 640 x 480
MJPG-streamer [595]: Desired Resolution: 640 x 480

i: Frames Per Second.: 5
MJPG-streamer [595]: Frames Per Second.: 5

i: Format............: MJPEG
MJPG-streamer [595]: Format............: MJPEG

o: www-folder-path...: 192.168.1.6:8080/
MJPG-streamer [595]: www-folder-path...: 192.168.1.6:8080/

o: HTTP TCP port.....: 8080
MJPG-streamer [595]: HTTP TCP port.....: 8080

o: username:password.: disabled
MJPG-streamer [595]: username:password.: disabled

o: commands..........: enabled
MJPG-streamer [595]: commands..........: enabled

MJPG-streamer [595]: starting input plugin
MJPG-streamer [595]: starting output plugin:  b/WebCam/output_http.so (ID: 00)
MJPG-streamer [595]: serving client: 192.168.1.110

Unable to dequeue buffer: Input/output error
i: Error grabbing frames
MJPG-streamer [595]: Error grabbing frames

[root@EmbedSky /]# WebCam_USB
MJPG-streamer [616]: starting application
MJPG Streamer Version.: 2.0
MJPG-streamer [616]: MJPG Streamer Version.: 2.0

i: Using V4L2 device.: /dev ideo0
MJPG-streamer [616]: Using V4L2 device.: /dev ideo0

i: Desired Resolution: 640 x 480
MJPG-streamer [616]: Desired Resolution: 640 x 480

i: Frames Per Second.: 5
MJPG-streamer [616]: Frames Per Second.: 5

i: Format............: MJPEG
MJPG-streamer [616]: Format............: MJPEG

o: www-folder-path...: 192.168.1.6:8080/
MJPG-streamer [616]: www-folder-path...: 192.168.1.6:8080/

o: HTTP TCP port.....: 8080
MJPG-streamer [616]: HTTP TCP port.....: 8080

o: username:password.: disabled
MJPG-streamer [616]: username:password.: disabled

o: commands..........: enabled
MJPG-streamer [616]: commands..........: enabled

MJPG-streamer [616]: starting input plugin
MJPG-streamer [616]: starting output plugin:  b/WebCam/output_http.so (ID: 00)
MJPG-streamer [616]: serving client: 192.168.1.110

Unable to dequeue buffer: Input/output error
i: Error grabbing frames
MJPG-streamer [616]: Error grabbing frames

按照摄像头手册配置了内核后,出现这样的问题,是什么原因?
 楼主| wind 发表于 2010-7-17 20:02:05 | 显示全部楼层
亚瑟王,帮忙看下
 楼主| wind 发表于 2010-7-19 18:39:59 | 显示全部楼层
有没谁告诉一声啊:(
 楼主| wind 发表于 2010-7-20 12:10:29 | 显示全部楼层
 楼主| wind 发表于 2010-7-20 13:45:02 | 显示全部楼层
USB连上了,Streamer看到图像了,但在网络测试那边,连上之后,总是说WebcamPlay -Connection failed,led那些测试都没问题。有装了JAVA补丁
亚瑟王 发表于 2010-7-24 21:26:23 | 显示全部楼层
网页的测试,需要使用mjpg-streams中的www目录下的网页才行。
 楼主| wind 发表于 2010-8-10 20:32:06 | 显示全部楼层
试了之后还是不行,内核2.6.30 ,2.6.25都试过了
guoyin 发表于 2010-8-10 21:09:29 | 显示全部楼层
zc301,中星微的
blueliuyun 发表于 2011-3-21 10:12:38 | 显示全部楼层
zc301,中星微的
guoyin 发表于 2010-8-10 21:09

挺好用的。
天嵌_support1 发表于 2011-3-21 10:58:52 | 显示全部楼层
对头
cgg2010 发表于 2011-8-27 22:04:35 | 显示全部楼层
2# wind


我也有同样的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-3 00:30 , Processed in 1.038126 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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