This commit is contained in:
Stephan Raue 2009-03-24 06:34:30 +01:00
parent 1c7619df1c
commit a80c212f41
12 changed files with 0 additions and 2959 deletions

View File

@ -1,115 +0,0 @@
#!/bin/sh
#
# setup alsa (especially the mixer config)
#
# runlevels: openelec, debug, configure
echo "### Setting up sound card ###"
# include audio configuration file
. /etc/audio
[ ! -f /etc/asound.conf ] && echo "" > /etc/asound.conf
mixer() {
parm=${3:-on}
amixer -c $ALSA_CARD sset "$1" "$2" $parm >/dev/null 2>&1
amixer -c $ALSA_CARD sset "$1" $parm >/dev/null 2>&1
}
# set alsa channel mode (6ch, 4ch, 2ch)
mixer 'Channel Mode' "${CHANNELS}ch"
# set common mixer params
mixer Master 90%
mixer Front 90%
mixer PCM 90%
mixer Synth 90%
# mute CD, since using digital audio instead
mixer CD 0% mute
# Only unmute Line and Aux if they are possibly used.
if [ -e /var/use_dxr3 -o -e /var/tvcard -o -e /var/dvbcard -o -e /var/digimatrix ]; then
mixer Line 90%
mixer Aux 90%
else
mixer Line 0% mute
mixer Aux 0% mute
fi
# mute mic
mixer Mic 0% mute
# ESS 1969 chipset has 2 PCM channels
mixer PCM,1 90%
# Trident/YMFPCI/emu10k1
mixer Wave 100%
mixer Music 100%
mixer AC97 100%
mixer Surround 90%
mixer 'Surround Digital' 90%
mixer 'Wave Surround' 90%
if [ "$CHANNELS" = 6 ]; then
mixer 'Duplicate Front' 0% off
else
mixer 'Duplicate Front' 90%
fi
mixer 'Sigmatel 4-Speaker Stereo' 90%
# CS4237B chipset:
mixer 'Master Digital' 90%
# DRC
mixer 'Dynamic Range Compression' 90%
# Envy24 chips with analog outs
mixer DAC 90%
mixer DAC,0 90%
mixer DAC,1 90%
# some notebooks use headphone instead of master
mixer Headphone 90%
mixer 'Internal Speaker' 75%
mixer Playback 100%
mixer Center 90%
mixer LFE 90%
mixer Center/LFE 90%
# Required for newer Via hardware
mixer 'VIA DXS,0' 80%
mixer 'VIA DXS,1' 80%
mixer 'VIA DXS,2' 80%
mixer 'VIA DXS,3' 80%
# Intel P4P800-MX (Ubuntu bug #5813)
mixer 'Master Playback Switch' on
# Required at least for Via 823x hardware on DFI K8M800-MLVF Mobo
mixer 'IEC958 Capture Monitor' 0% off
# Required on some notebooks with ICH4:
mixer 'Headphone Jack Sense' 0% off
mixer 'Line Jack Sense' 0% off
# Required on some Vaio notebooks (B3XP):
mixer 'External Amplifier' 0% mute
# Required for either Analog or Digital output
mixer 'SB Live Analog/Digital Output Jack' $SBL_AUDIGY
mixer 'Audigy Analog/Digital Output Jack' $SBL_AUDIGY
# set SPDIF mixer params
if [ "$SOUNDCARD_MODE" = SPDIF ]; then
mixer 'IEC958' 90% on
mixer 'IEC958 Output' 90%
mixer 'IEC958 Playback AC97-SPSA' $AC97_SPSA
mixer 'IEC958 Coaxial' 90%
mixer 'IEC958 LiveDrive' 90%
mixer 'IEC958 Optical Raw' 90%
mixer 'SPDIF Out' 90%
mixer 'SPDIF Front' 90%
mixer 'SPDIF Rear' 90%
mixer 'SPDIF Center/LFE' 90%
mixer 'Master Digital' 80%
else
mixer 'SPDIF Out' 0% off
mixer 'Analog Front' 90%
mixer 'Analog Rear' 90%
mixer 'Analog Center/LFE' 90%
fi
exit 0

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# start elisa
#
# runlevels: openelec
. /etc/sysconfig
if test -f /usr/bin/elisa; then
echo "### Starting Elisa ###"
# elisa -l -n & #> /dev/null 2>&1 &
/usr/bin/elisa -l -f 2> $HOME/elisa.log
fi
exit 0

View File

@ -1,50 +0,0 @@
DEFAULT vesamenu.c32
PROMPT 0
TIMEOUT 20
MENU BACKGROUND splash.png
MENU TITLE Welcome to GeeXboX target-arch release-nr (C) 2002-2009
MENU VSHIFT 11
MENU ROWS 6
MENU TABMSGROW 15
MENU CMDLINEROW 14
MENU HELPMSGROW 16
MENU TABMSG Press [Tab] to edit options, [F1] for boot options.
MENU COLOR sel 7;37;40 #e0000000 #fa833b all
MENU COLOR border 30;44 #00000000 #00000000 none
#SD#LABEL geexbox
#SD# MENU LABEL Start GeeXboX ...
#SD# MENU DEFAULT
#SD# KERNEL vmlinuz
#SD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr quiet
#HD#LABEL hdtv
#HD# MENU LABEL Start GeeXboX for HDTV ...
#HD# KERNEL vmlinuz
#HD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr hdtv quiet
#INS#LABEL install
#INS# MENU LABEL Install GeeXboX to disk ...
#INS# KERNEL vmlinuz
#INS# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr installator quiet
#CFG#LABEL configure
#CFG# MENU LABEL Reconfigure a GeeXboX installation ...
#CFG# KERNEL vmlinuz
#CFG# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr configure
MENU SEPARATOR
#SD#LABEL debug
#SD# MENU LABEL Start in debugging mode ...
#SD# KERNEL vmlinuz
#SD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=0 vga=789 video=vesafb:ywrap,mtrr debugging
#HD#LABEL hdtvdebug
#HD# MENU LABEL Start HDTV edition in debugging mode ...
#HD# KERNEL vmlinuz
#HD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=0 vga=789 video=vesafb:ywrap,mtrr hdtv debugging
F1 help.msg #00000000

View File

@ -1,23 +0,0 @@
#!/bin/sh
#
# configure X.Org video settings
#
# runlevels: openelec, debug, configure
. /etc/sysconfig
echo "### starting Xorg ###"
# modprobe drm
mkdir -p /var/lib/xkb/
mount -o bind /storage /var/log
mount -o bind /storage /var/tmp
# use Screen0 if present to workaround a bug with some graphic drivers
# that report 2 screens and prevent Xorg from loading correctly
SCREEN=
[ -f /etc/X11/xorg.conf ] && grep -q Screen0 /etc/X11/xorg.conf && SCREEN="-screen Screen0"
# starts X.org
Xorg vt$TTY $SCREEN > /dev/null 2>&1 &

View File

@ -1,12 +0,0 @@
#!/bin/sh
#
# start evilwm WindowManager
#
# runlevels: openelec, debug, configure
. /etc/sysconfig
echo "### Starting WindowManager ###"
/usr/bin/evilwm -fn $WM_FONT > /dev/null 2>&1 &

View File

@ -1,12 +0,0 @@
#!/bin/sh
#
# start HAL daemon
#
# runlevels: openelec, debug, configure
. /etc/sysconfig
echo "### Starting MRXVT ###"
/usr/bin/mrxvt > /dev/null 2>&1 &

View File

@ -1,20 +0,0 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build libX11
#$SCRIPTS/build libXrender
cd $BUILD/$1*
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-shared \
make
$STRIP src/$1

View File

@ -1,4 +0,0 @@
startup_message off
set wingravity static
set transgravity static
set maxsizegravity static

View File

@ -1,14 +0,0 @@
#!/bin/sh
. config/options
$SCRIPTS/install libX11
$SCRIPTS/install libXinerama
PKG_DIR=`find $PACKAGES -type d -name $1`
mkdir -p $INSTALL/usr/bin
cp $BUILD/$1*/src/$1 $INSTALL/usr/bin
mkdir -p $INSTALL/etc
cp $PKG_DIR/config/* $INSTALL/etc

View File

@ -1 +0,0 @@
http://savannah.nongnu.org/download/ratpoison/ratpoison-1.4.3.tar.gz