beautypg.com

7 /sbin/ directory, 8 /etc/init.d/ directory, Sbin – Sony XCI-SX1 User Manual

Page 27: Directory, Etc/init.d

background image

XCI-SX1 SDK / SDK Technical Manual

• smartcamlib

Samples for using common libraries.

2.8.7 /sbin/ Directory

Some system specific files are added to /sbin directory. The SDK
users can try them on SDK environment.

/sbin File Listing

Filename

Description

CamConfig

Sets and queries the camera registers

ledC

The client application for GPIO LED control.

ledD

The server daemon application that listens for GPIO
LED control command

skxinport

Sets and queries the status of the GPIO input ports

skxled

Sets and queries the status of the GPIO input ports

skxoutport

Sets and queries the status of the GPIO output ports

skxswt

Sets and queries the status of the GPIO switch ports

gpio

A script that provides a user interface of all the GPIO
applications.

gpiodemo

An executable for all GPIO scripts.

atoi

This application converts ASCII string to its integer
value.

char

This application converts a string to uppercase,
checks and validates an argument type depending
on the options.

htoi

This application is used to convert hexadecimal
value to its integer equivalent.

The upx application has also been added on this directory. This
application compresses the binary application to a smaller size. Other
files for the upx application are installed in /usr/src/upx-1.25-
linux

directory.

2.8.8 /etc/init.d/ Directory

The launch_it script required by the launcher application is added on
this directory. This script executes the GUI application if the GUI option
is selected on the launcher application. Otherwise, if the user chooses

25