10天了呀,使用聊天用摄像头,uImage-nfs启动,信息如下:
# usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: New USB device found, idVendor=1d74, idProduct=0002
usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 1-1: Product: LG Webcam
usb 1-1: Manufacturer: LG Innotek Co., Ltd.
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device LG Webcam (1d74:0002)
input: LG Webcam as /devices/platform/s3c2410-ohci/usb1/1-1/1-1:1.0/input/input1
uvcvideo: Non-zero status (-62) in status completion handler.
编译好库和服务器端程序
运行如下
# ./server_arm fastspeed.txt
start 2.0...
Device name:LG Webcam
Width:1280 ~ 48
Height:960 ~ 32
ERROR: VIDIOCSPICT,Can't set video_picture format
ERROR:VIDIOCGMBUF,Can't get video_mbuf
Frames:0
ERROR:mmap
Buffer size:0
Offset:0
ERROR: VIDIOCMCAPTURE
ERROR: VIDIOCSYNC
Segmentation fault
配置nfs启动参数
CONFIG_CMDLINE="root=/dev/nfs nfsroot=192.168.10.111:/work/nfsroot/rootfs ip=192.168.10.125 rw console=ttySAC0 mem=64M"
重新换用mini的配置内核,增加usb的SN相对应的驱动,仍然出现上述问题...可能是驱动问题
看来要深入学习驱动了....
阅读(2236) | 评论(0) | 转发(0) |