OpenELEC Forum
Running alsamixer in OpenELEC - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Off Topic (https://forum.openelec.tv/forumdisplay.php?fid=66)
+--- Forum: MISCELLANEOUS (https://forum.openelec.tv/forumdisplay.php?fid=67)
+--- Thread: Running alsamixer in OpenELEC (/showthread.php?tid=13011)

Pages: 1 2 3


Running alsamixer in OpenELEC - ancalex - 10-13-2011

Hi
I made a little quick and dirty "hack" for running alsamixer in OpenELEC.
The package is in the attachment.
Hot to use:
unpack alsamixer.7z and copy somewhere to an OpenELEC share(I copied in Configfiles share).
Then you change directory to alsamixer binary

Code:
cd /storage/.config/alsamixer

and start alsamixer in this way

Code:
LD_LIBRARY_PATH=/storage/.config/alsamixer/lib ./alsamixer

make your changes and finally save for reboot aware values

Code:
alsactl -f /storage/.config/sound.conf store


Maybe somebody finds this usefull.

P.S. F1, F2, F3, F4 and F5 keys does not work (alsamixer will exit), you can use h for help, / for system information and tab cycles view mode. Other keys works as expected.


download the package here


Re: Running alsamixer in OpenELEC - alda - 10-31-2011

I don't know what I'm doing wrong but

after : LD_LIBRARY_PATH=/storage/.config/alsamixer/lib ./alsamixer

I have this: -sh: ./alsamixer: Permission denied

Alda


Re: Running alsamixer in OpenELEC - ancalex - 11-01-2011

Sorry, I have no ideea why is not working for you.
On my system with OpenELEC 1.0.1 I have no problem.
Maybe you can give me more details?


Re: Running alsamixer in OpenELEC - alda - 11-01-2011

Hi,

I used your guide.
So as first I unpacked your 7z file to storage/.config/

and then I used this instruction :
LD_LIBRARY_PATH=/storage/.config/alsamixer/lib ./alsamixer

but after this I received :
-sh: ./alsamixer: Permission denied

Looks like a problem with rights.

Alda

my system is openelec 1.0.0 for ION 64bit


Re: Running alsamixer in OpenELEC - ancalex - 11-01-2011

I see
I guess the problem is that you have an 64 bit system and I made the package for a 32 bit system.
I will try to make a pack for you soon as possible.
Thank you for your feedback.


Re: Running alsamixer in OpenELEC - ancalex - 11-01-2011

You can download the package (alsamixer64.7z) for 64 bit OS from the same link from my first post.
It works?


Re: Running alsamixer in OpenELEC - alda - 11-01-2011

No, don't work :

OpenELEC Version: 1.0.2
root@192.168.1.3's password:
root ~ # cd /storage/.config/alsamixer
root ~/.config/alsamixer # LD_LIBRARY_PATH=/storage/.config/alsamixer/lib ./alsa
mixer
-sh: ./alsamixer: Permission denied
root ~/.config/alsamixer #


Alda


Re: Running alsamixer in OpenELEC - ancalex - 11-01-2011

Strange because I tested it with ION64 build and for me it is working.
Maybe you can try killimg xbmc with killall xbmc guess something is blocking alsamixer from running (I dont't think is a permission issue).


Re: Running alsamixer in OpenELEC - iago - 11-01-2011

Just a hunch: you get the same error message if you try to execute a file without the execute bit set. So check the permission flags (ls -l alsamixer) and set execute permission (chmod a+x alsamixer) if lacking.

Regards,
Andreas


Re: Running alsamixer in OpenELEC - ancalex - 11-03-2011

I can confirm what yago wrote.
If I make
chmod -x alsamixer
and try to run alsamixer it gives me the same error Permission denied.
after chmod +x alsamixer it works as expected.
@alda can you confirm this?