小R科技-WIFI机器人网·机器人创意工作室

 找回密码
 立即注册
查看: 6566|回复: 2

新手挂摄像头,遇到问题,请教

[复制链接]
发表于 2012-6-1 20:23:47 | 显示全部楼层 |阅读模式
刷了集成摄像头驱动的固件。。。但是配置文件那里却没,不知道为什么


root@OpenWrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1c4f:3002 SiGma Micro
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


root@OpenWrt:~# dmesg | grep usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver rtl8187
usbcore: registered new interface driver p54usb
usb usb1: configuration #1 chosen from 1 choice
usb 1-2: new high speed USB device using bcm63xx_ehci and address 2
usb 1-2: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver zd1211rw
usbcore: registered new interface driver cpia2
usbcore: registered new interface driver konicawc
usbcore: registered new interface driver Philips webcam
usbcore: registered new interface driver sn9c20x
usbcore: registered new interface driver conex
usbcore: registered new interface driver etoms
usbcore: registered new interface driver finepix
usbcore: registered new interface driver gspca_gl860
usbcore: registered new interface driver jeilinj
usbcore: registered new interface driver ALi m5602
usbcore: registered new interface driver mars
usbcore: registered new interface driver mr97310a
usbcore: registered new interface driver ov519
usbcore: registered new interface driver ov534
usbcore: registered new interface driver pac207
usbcore: registered new interface driver pac7311
usbcore: registered new interface driver sonixb
usbcore: registered new interface driver sonixj
usbcore: registered new interface driver spca500
usbcore: registered new interface driver spca501
usbcore: registered new interface driver spca505
usbcore: registered new interface driver spca506
usbcore: registered new interface driver spca508
usbcore: registered new interface driver spca561
usbcore: registered new interface driver sq905
usbcore: registered new interface driver sq905c
usbcore: registered new interface driver stk014
usbcore: registered new interface driver STV06xx
usbcore: registered new interface driver sunplus
usbcore: registered new interface driver t613
usbcore: registered new interface driver tv8532
usbcore: registered new interface driver vc032x
usbcore: registered new interface driver zc3xx
input: USB 2.0 CAMERA as /devices/platform/bcm63xx_ehci.0/usb1/1-2/1-2:1.0/input/input0
usbcore: registered new interface driver uvcvideo
貌似视频驱动已经装好了


root@OpenWrt:~# mjpg_streamer -i "input_uvc.so --yuv -r 352x288" -o "output_http
.so -w /tmp/webcam"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 352 x 288
i: Frames Per Second.: 5
i: Format............: YUV
i: JPEG Quality......: 80
format asked unavailable get width 320 height 240
o: www-folder-path...: /tmp/webcam/
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled
到这里好像mjpg已经开始工作了吧

root@OpenWrt:~# #!/bin/sh /etc/rc.common到这里貌似不动了呢,不知道为什么 123.jpg

回复

使用道具 举报

发表于 2012-6-1 22:29:28 | 显示全部楼层
format asked unavailable get width 320 height 240
这句好像出问题了吧?长宽比不对吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-6-2 13:39:23 | 显示全部楼层
301驱动成功。。谢谢帮忙
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

新品特惠推荐上一条 /2 下一条

QQ|QQ技术咨询1|QQ技术咨询2|商务合作微信1:xiaorgeek001|商务合作微信2:XiaoRGEEK|诚聘英才|Archiver|手机版|小R科技-WIFI机器人网·机器人创意工作室 ( 粤ICP备15000788号-6 )

GMT+8, 2024-11-23 00:04 , Processed in 1.088004 second(s), 22 queries .

Powered by XiaoR GEEK X3.4

© 2014-2021 XiaoR GEEK

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