User Manual

Copyright © 2000-2011 Bluegiga Technologies Page 31 of 61
If your application uses USB storage devices or Compact Flash memory cards for additional storage, you must ensure that
these services do not start before these storage devices are properly mounted. You should therefore disable the automatic
startup of application(s) in question either by changing their startup state to off in WWW Setup at Setup Applications
or at shell prompt with command . The system startup script Default startup applications chkconfig application off
should then be edited ( ) according to the/etc/rc.d/rc.local WWW Setup Advanced settings System startup script
following example for :obexsender
#!/bin/sh
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here you don'tif
# want to the full Sys V style init stuff.do
mkdir -p /mnt/disk
mount -t vfat /dev/sda1 /mnt/disk
[ $? != 0 ]; thenif
# run fsck.vfat only mounting failed, then to mountif try
again
fsck.vfat -a /dev/sda1
mount -t vfat /dev/sda1 /mnt/disk
fi
# Script assumes you have disabled obexsender automatic startup as
instructed,
# so it is started now.
# Sleep is just to make sure filesystem is calm after mounting.
sleep 20
service obexsender start
6.2 Using USB sound cards
Access Devices features can be extended by adding external USB sound card. All devices providing generic
USB audio device class are supported. Please refer to see what devices we haveTested 3rd Party Peripherals
tested. Software currently supports only output.
USB sound card drivers are not installed by default. Those can be installed using software component
. If you like to have to play Ogg files, easiest way is to install thatkernel-modules-sound ogg123 oggplayerbundle
includes needed drivers, libraries and commands.
To use the USB sound card with Open Sound System (OSS) use command ( uses OSS):ogg123
[root@wrap /]$ modprobe snd-pcm-oss
If you compile your own application using Advanced Linux Sound Architecture (ALSA), there is no need to load OSS
emulation layer module.
Using is simple:ogg123
[root@wrap /]$ ogg123 file.ogg
Decoding high quality Ogg files real time is not possible in Access Devices.