Kodi Community Forum

Full Version: alsaup.sh is missing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using these instructions:

http://wiki.xbmc.org/?title=XBMCbunt...miminal_Ubuntu

You get to step "Updating alsa"

and the script alsaup.sh seems to be missing from http://xbmc.org/wp-content/uploads/

you get a 404.

So, where did it go? If that is unknown, is it hosted some else so that folks with limited linux knowledge can easily install it? If so, where? Please be verbose.

Thanks!
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wget build-essential linux-headers-`uname -r`
wget ftp://ftp.alsa-project.org/pub/driver/al...20.tar.bz2
tar -xf alsa-driver-1.0.20.tar.bz2
cd alsa-driver-1.0.20
./configure
make
sudo make install
sudo ./snddevices
sudo apt-get install alsa-utils
alsamixer
sudo alsactl store
If you put the newest alsa on there, alsamixergui gets installed by default... you can run it inside whatever x client you're using... and setting seem to autosave.
There is an alsa upgrade script available on the ubuntu forums. Same if not identical to the script your looking for except it upgrades to 1.0.21

http://ubuntuforums.org/showthread.php?p=6589810

You need to be a registered user to download it.

As per the guide you need to run with the -di option

Zepp
Yeah... I modified it to get the latest version...

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wget build-essential linux-headers-`uname -r`
wget ftp://ftp.alsa-project.org/pub/driver/al...21.tar.bz2
tar -xf alsa-driver-1.0.21.tar.bz2
cd alsa-driver-1.0.21
./configure
make
sudo make install
sudo ./snddevices
sudo apt-get install alsa-utils
alsamixer
sudo alsactl store
ohoh, im in trouble. What does this mean?
[email protected]:~/alsa-driver-1.0.21$ alsamixer

alsamixer: function snd_ctl_open failed for default: Permission denied
[email protected]:~/alsa-driver-1.0.21$ sudo alsactl store
alsactl: save_state:1513: No soundcards found...
[email protected]:~/alsa-driver-1.0.21$ alsamixer

alsamixer: function snd_ctl_open failed for default: Permission denied
[email protected]:~/alsa-driver-1.0.21$ sudo alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
[email protected]:~/alsa-driver-1.0.21$
it means you copied and pasted


The url was shortened by XBMC board and invalid.... just copy and paste this whole thing as a group into a terminal and do the happy dance for the next 5-10 minutes while it performs the script.

Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wget build-essential linux-headers-`uname -r`
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.21.tar.bz2
tar -xf alsa-driver-1.0.21.tar.bz2
cd alsa-driver-1.0.21
./configure
make
sudo make install
sudo ./snddevices
sudo apt-get install alsa-utils
alsamixer
sudo alsactl store
outleradam Wrote:it means you copied and pasted


The url was shortened by XBMC board and invalid.... just copy and paste this whole thing as a group into a terminal and do the happy dance for the next 5-10 minutes while it performs the script.

Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wget build-essential linux-headers-`uname -r`
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.21.tar.bz2
tar -xf alsa-driver-1.0.21.tar.bz2
cd alsa-driver-1.0.21
./configure
make
sudo make install
sudo ./snddevices
sudo apt-get install alsa-utils
alsamixer
sudo alsactl store

I just added in the info for the latest release... I didn't come up with the sequence of commands, write apt-get / alsa / linux / your mom / whatever.
yeah, you just didn't wrap it in [/codE] tags.
I followed that script and everything seemed to work fine up until it came to running alsamixer. It simply puts out the error:

alsamixer: function snd_ctl_open failed for default: No such device

It used to work with version 18 and it's not an issue of copying and pasting incorrectly with the url since it downloaded and copiled just fine. What could it be that I'm missing? I saw someone above me posted the same problem and it was referred to an incorrect url which I know is not the case here.

Any help would be greatly appreciated.

edit- It looks like a reboot solved that problem. Still no audio over HDMI or PCM showing up in alsamixer unfortunately =(
Looks like a permission problem. Try:

sudo alsamixer
I'm just giving you general advice. I am not an expert at linux, I've used it a few times in the last 15 years and then hard for the last week.

you must turn up the volume on alsa mixer

It's best to execute this script from a terminal window, SSH in from a program called PuTTy.EXE so you can scroll back and find out where the problem was.

I had installed many additional sound drivers at one time and could not get alsa to install at all. I ended up re-installing ubuntu.
That script is very very incomplete thers plenty of stuffs not downloaded and installed run xbmscript and type alsa it should run hidden option and install alsa properly'ish
X3lectric Wrote:run xbmscript and type alsa it should run hidden option and install alsa properly'ish
Sorry, but I'm a noob. How do I "run xbmscript"? Whereis doesn't find anything and forum search didn't give me any answers either.