|
在做USB摄像头驱动移植的时候,使用的环境为:linux-2.6.30.4。
看过其他的帖子,说linux-2.6.30.4不需要移植驱动,我也是这么做的,重启板子后,显示的为:
usb 1-1: New USB device found, idVendor=1e4e, idProduct=0100
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB2.0 Camera
usb 1-1: Manufacturer: Etron Technologies
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device USB2.0 Camera (1e4e:0100)
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
input: USB2.0 Camera as /devices/platform/s3c2410-ohci/usb1/1-1/1-1:1.0/input/input1
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 480K
Warning: unable to open an initial console.
Start Qtopia-2.2.0
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver zd1211rw
initializing s3c2440 camera interface......
s3c2440 camif init done
Loading OV9650 driver.........
OV9650 address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
OV9650 address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
No OV9650 found!!!
Try to bring eth0 interface up ...
Please press Enter to activate this console.
[root@EmbedSky /]# usb_camera
USB Camera Test
set format failed
root@EmbedSky /]# ls /dev/video0
/dev/video0
[root@EmbedSky /]# ls /dev/v4l/
video0
[root@EmbedSky /]#[
摄像头是我随便找的,PID 是 1e4e:0100 USB 2.0 Camera Etron Technologies 芯片大概是ESP268,输入usb_camera
,如上图,摄像头没有反应,是什么问题?是配置方面的还是其他方面的?
请大家多多给与帮助!
谢谢!
|
|