Справочник Пользователя для Sony XCI-SX1

Скачать
Страница из 28
XCI-SX1  SDK  / SDK Technical Manual 
 
The user has to enter the password for the root user twice. 
The system is also required to have at least a single non-root user.  The 
adduser
 command has been used to add another user.  This is 
friendlier front end than the useradd command, choosing Debian policy 
conformant UID and GID values, creating a home directory with skeletal 
configuration, running a custom script, and other features. 
 
adduser admin 
 where: 
 
 
admin
 – is the new username 
This command automatically asks for the username’s password twice 
and some information.  The other information is optional.  For this 
system, the password given for the admin user is admin. 
 
2.4 Driver Installation 
 
2.4.1 Video for Linux 2 
 
The Video4Linux (V4L) included in MontaVista version 3.0 Kernel should 
be updated since the camera driver uses Video4Linux 2 (V4L2) module.  
V4L2 can be downloaded from http://www.thedirks.org/v4l2/.   
To update the Video4Linux module, go to the exploded path of the 
/usr/src/videodevX
 directory and run make.  If this command 
outputs an error saying that the kernel has no support for loadable 
modules, go to /usr/src/linux, make sure the support for the 
loadable module is enabled, and save the configuration.  Now return to 
the exploded path of the V4L2 module and run make again.  This should 
proceed with the compilation and then make install can then be 
issued.  This command renames the old V4L modules and updates it 
with the new videodevX.o and v4l_compat.o modules.  The header 
file  /usr/include/linux/videodev.h is overwritten with the new 
one.  To test if the installation is successful, run modprobe videodevX 
to insert the module to the kernel.  The module should be listed if lsmod 
command is issued. 
To load the V4L2 modules during start up, append the videodevX line 
in /etc/modules file. 
 
 
12