采用友善内核2.6.32.2配置,用root-qtopia启动,驱动正常
插入摄像头如下信息
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)
可以看出摄像头驱动是OK的
[root@FriendlyARM /home]# ./server_arm
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
[root@FriendlyARM /home]#
确定认真研究哪一个驱动...
目前
sn9c20x.c可能性比较大.单独做一个测试
经验证是上述驱动程序,呵呵
下面就开始研究usb驱动了..
阅读(1146) | 评论(3) | 转发(0) |