Page 2/ 14
MY-CAM001U
USB Camera Module
3.12.10. Kernel configuration is as follow.
$ make ARCH=arm menucofig
And add following configuration options:
Device Drivers --->
<*> Multimedia support --->
[*] Media USB Adapters --->
<*> USB Video Class (UVC)
[*] UVC input events device support
4.1.5 Z-turn Board
Z-turn Board, Linux Kernel is 3.15.0. Kernel configuration
please refer to
4.1.4 TI
AM437X series
.
4.2 Camera Test
⑴
After modifying the kernel configuration, recompile it, and downloaded to
development board
⑵
Pulg the Module into development board, it will print info as follow:
usb 1-2: new high speed USB device number 2 using atmel-ehci
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (174f:5a35)
input:
USB
2.0
Camera
as
/devices/platform/atmel-ehci/usb1/1-2/1-2:1.0/input/input2
Corresponding device node under directory /dev has been generated, indicates that
USB camera has been identified.
⑶
Run test program
Camera test program and
source code
are under directory: Product CD\MY-CAM
001U USB Camera Module\Linux\Test
Plug in USB camera and run test program, it will capture an image, and display on
LCD screen.
#./cameratest
Camera test can pass several parameters, default is /dev/video1 devices. It can
match maximum resolution according to current screen automatically. If necessary, use
the following command to start cameratest.
Specify camera device node: