Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Volume Settinga< Next Oldest | Next Newest >
xraynorm Offline





Group: Members
Posts: 3
Joined: May 2006
Posted: May 10 2006,19:41 QUOTE

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.
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 11 2006,00:11 QUOTE

Which version of DSL are you using?
Back to top
Profile PM 
xraynorm Offline





Group: Members
Posts: 3
Joined: May 2006
Posted: May 11 2006,07:57 QUOTE

Hello.

Im running dsl 2.3.
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 12 2006,00:12 QUOTE

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.
Back to top
Profile PM 
xraynorm Offline





Group: Members
Posts: 3
Joined: May 2006
Posted: May 18 2006,21:14 QUOTE

Thanks for your help!

It works well.
Back to top
Profile PM 
4 replies since May 10 2006,19:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Volume Settinga

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code