Volume Settinga


Forum: Apps
Topic: Volume Settinga
started by: xraynorm

Posted by xraynorm on May 10 2006,19:41
Hello.

I use DSL as a wireless media player. It runs off cf and connects to the slimserver software. It has no keyboard or mouse attached.

It works well!

However the volume always defaults to 50%, which is not enough for my HI-FI.

Are there any commands that set the volume to 100%?

Any help would be appreciated.

Posted by andrewb on May 11 2006,00:11
Which version of DSL are you using?
Posted by xraynorm on May 11 2006,07:57
Hello.

Im running dsl 2.3.

Posted by andrewb on May 12 2006,00:12
Ok, for v2.3 (this won't work in 2.4RC2) you need to do the following:

1.  copy /usr/local/bin/docked.lua to your home directory

2.  edit the copy of docked.lua in your home directory as follows:
   a) in line 5 change the 50 to 100
   b) in line 55 change 'value=50' to 'value=100'

3.  edit .xinitrc in your home directory
      in line 24 add ~/ before 'docked.lua'

4.  If you don't have your home directory backed up when DSL closes make sure you at least back up .xinitrc & docked.lua from your home directory by adding them to .filetool.lst

This will always set the master volume to 100. If you want other volume settings (e.g. bass, treble, individual channel volumes) to remain persistent through reboots you need to do the following in addition to the above.

5.  edit /opt/powerdown.sh
    BEFORE the line starting 'if [ -s /opt/.backup........ add the line
              'sudo umix -s -f /opt/.umixrc'

6.  edit /opt/bootlocal.sh
    add the line
              'sudo umix -l -f /opt/.umixrc'

7.  add /opt/.umixrc to .filetool.lst make sure /opt/powerdown.sh and /opt/bootlocal.sh are also in .filetool.lst

Note that this procedure won't make the master volume persistent as that is reset by the code in docked.lua every time X starts.

Posted by xraynorm on May 18 2006,21:14
Thanks for your help!

It works well.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.