Camera Driver; Flash Driver - Sony XCI-SX1 Technical Manual

Intelligent camera software development kit
Hide thumbs Also See for XCI-SX1:
Table of Contents

Advertisement

2.4.2 Camera Driver

The camera driver (smartcam.o) can now be added to the system.
The
/lib/modules/2.4.18_mvl30-
pc_target/kernel/driver/smartcam directory. Before using the
camera driver, make sure to invoke the following commands first:
To add the camera driver to the kernel, run modprobe smartcam. The
module should also be listed if lsmod command is issued.
Appending the smartcam entry to the /etc/modules file enables the
module to be loaded automatically during system start up. Please note
that videodevX should be loaded first before the smartcam module.
The
/usr/smartcam/src/camera
smartcam.o.

2.4.3 Flash Driver

The flash driver (skxflash.o) has been created to provide a storage
media for CDS, pedestal, and serial number setting where such values
need to be stored in a non-volatile memory.
The flash driver has been installed in /lib/modules/2.4.18_mvl30-
pc_target/kernel/driver/smartcam directory. The flash driver
uses the /dev/flash0 special file.
following commands to make the said node available:
camera
driver
1. mknod /dev/video0 c 81 0
- creates the special file node used by the camera driver
2. ln –s /dev/video0 /dev/video
- this command is optional; it simply creates a symbolic
link /dev/video0 to the /dev/video node
camera
module
1.
mknod /dev/flash0 c 81 0
- creates the special file node used by the flash driver
2. ln –s /dev/flash0 /dev/flash
- this command is optional; it simply creates a symlink
/dev/flash0 to the /dev/flash node
XCI-SX1 SDK / SDK Technical Manual
module
is
source
code
directory.
Just
If initially not created, do the
installed
in
is
installed
in
to
build
make
13

Advertisement

Table of Contents
loading

Table of Contents