Latest post update 02/07/2011
I obviously no longer support my Alsa upgrade scripts. That's why
I've taken them and the description out.
Cheers
SC
Printable View
Latest post update 02/07/2011
I obviously no longer support my Alsa upgrade scripts. That's why
I've taken them and the description out.
Cheers
SC
great job. I had been looking and thinking about compiling a script to get this done for a while, but never came around. Im glad you finally did, its mid stream right now, but I've been following it closely and it looks like it will be flawless. great job! thanks! :KS
Many thanks for this.
Now I can finally suspend my PC without losing the sound from my audigy value card (using the CA0106 driver). After only 3 and a half years of waiting! :D :D :D :D
Much gratitude to all the alsa devs as well.
I've just started learning about Ubuntu and I can't believe how much I'm picking up just by trying to get a stable install.
First, my ATI card wouldn't work by enabling the proprietary drivers through the gui, so I pretty much had to learn how to install the ATI drivers manually. Now that the display drivers are pretty stable, I have no sound through my HDMI port on my video card. That lead me to this thread.
Thanks for making it easy for us noobs...I will try to upgrade to 1.0.19 to see if that fixes the problem.
I have a feeling I'm going to frequent these forums in the next couple days, so I do appreciate posts like this.
I can't compile ALSA 1.0.19 on my system. The error message is similar to http://ubuntuforums.org/showthread.php?t=962695 daximus #39 and clarkey45 #34 reply. I'm using kernel 2.6.28 on intrepid on a powerpc (ps3) system. The same problem existed in kernel 2.6.24 and was fixed in ALSA but maybe only for i386 and not for powerpc? Any background / ideas how to fix this?
thanx for the script
worked perfect on my ACER 7720G/ Ubuntu 8.10
solved my problem with the internal mic. now i can sound record, use skype etc
greetings from greece
giorgos
Thanks a lot!! I can make sound work now. Still I have a problem playing sound though my laptop speakers. I can only hear it from the headphones jack
Macbook Air 2.1
Alsa 1.0.19
No audio from internal speaker, only audio from headphones.
Attached output from alsa-info.sh and uxchecker.sh -a
R.
Attachment 100717
Attachment 100718
Thank you. I got a 0404 USB2.0 and before with .15/.16 alsa I had pops and scratches on audio. New alsa seems to fix those issues atleast
Now all I miss is working SPDIF (iec958) + ac3/dts passthrough on this card. I'm still rather clueless how to get this to work
I also run a USB 0404. SPDIF/Toslink should work if you route the traffic
to plughw:1,1 (I havn't checked it out on 1.0.19 though)
I set the 0404 to 24/96 under Windows. Now I am feeding it with any material re-sampled to 24/96 through MPD.
The 0404USB will work in sterero only. No fancy features are supported.
Cheers
Please help, I have never been able to get sound working on my HP dv4z (except through the headphones). Now after upgrading, I have no sound at all.
1. Name your Ubuntu revision: Kubuntu 8.10 64-bit
2. Kernel revision: 2.6.27-11-generic
3. Alsa revision: 1.0.19
4. Upgrade script revision: 1.16
5. A bit of background what you've done resp. done before:
I have tried multitudes of values in /etc/modprobe.d/alsa-base, nothing seems to work. Saw in changelog for Alsa 1.0.19 there were many changes geared toward HP dvX series laptops, seems to have no effect with mine.
6. Attach the relevant logs
Hi folks.
There is a new HDA model file available with 1.0.19. I just realized it.
The model ids for your codecs and the ones you're supposed to play with to get your speakers/jacks/headphones going can be looked up in there.
The ones of you facing problems with their setups should in any case try the
-snap option of th upgrade script to try the latest ALSA design snapshot.
Cheers
I installed Alsa 1.0.19 today in hopes of getting HDMI audio working. Upon installation and reboot I got the first piece of good news:
And then:Code:matt@mythbuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
produced audio. Success!Code:aplay -Dplughw:0,3 -fcd falcon_flyby.wav
produced pink noise only in the left and right though it tried all 6 channels. So, its a good start. I just started learning about alsa today, so I guess I should add that I do not have a ~/.asoundrc or /etc/asound.conf on the system.Code:matt@mythbuntu:~$ speaker-test -Dplughw:0,3 -c6
Matt
Well I have tried the -snap option, and upon reboot my laptop audio button to toggle mute/unmute has switched from lit up normally, to an orange disabled color. And still, no sound.
Well, I found a /etc/asound.conf example online and put it in. Now I'm getting 6 channel sound in Myth, but I'm still not getting more than 2 channel L/R when I run the speaker-test or aplay from the cmd line. I haven't tried playing anything from Myth in hours. Who knows how long ago it got fixed in Myth. It works in Myth, I can live with it. No idea why it doesn't work from the cmd line.
I did update the nvidia driver to 180.22, so maybe right around then. Myth was defintely 2 channel earlier today.
Thanks for this script.
Now after 2 months i have got sound working with my new asrock-board (ALC1200):D
In case we want to install from the latest snapshot, do we need to run the script with -snap only, or -d, then -snap, than -i, as with previous script version?
Thank you!
Thanks for the hardwork in making the update script!
I executed it and it seemed to download, compile, and install correctly. I also have an HP DV4 (same as aeleneski), with the same problem - sound out of headphones, but not speaker.
I tried a few other things with no luck. Is there some kind of snap shot or log I can create that would help debug the problem?
Thanks!
Since your problem seems to be a common problem. A trouble ticket needs to be opened. The alsa designers need the output of the alsa-info.sh script, which you'll find in the opening post.
I think it is better if you guys send the ticket directly. Because I can not really answer any related questions.
http://mailman.alsa-project.org/mail...nfo/alsa-devel
As mentioned before. You should have also tried the latest snapshot, before issueing the ticket.
This will for sure lead to a solution for you guys.
Cheers
I'll try to do both tonight.. .I Have the kids though.. .dinner, showers, homework... no promises.. ;)
Thanks!
Is there any reason why option -snap is not downloading the entire package, the latest snapshot, then compile and install the whole in one step? I mean is there any purpose to have -d first, then -snap?
I assume, I can modify the script to run like this by myself, but I wanted to know if there is any risk with that, why you are not organized it in this way?
Thank you!
I regarded -snap as a separate patch function, which I run from time to time, between major upgrade intervals. I don't want to download the entire package every time.
You can change it at the bottom of the script. It is just one command (function call) you have to add.
Cheers
I'm having a really hard time getting my sound to work on Ubuntu. I only recently switched and I'm still learning the basics of working in this new OS.
Anyway, I updated my ALSA to version 1.019 with this script (version 1.16). I'm on Ubuntu Intrepid, kernel 2.6.27-7-generic. I'm on a Dell M1530, soundcard is a Intel STAC92xx.
I tried disabling PulseAudio, switching all my devices to the ALSA in Sound Preferences, checking no channel is on mute in the Gnome Mixer, but all seems fine and has no effect whatsoever. The sole thing that makes my sound work, though, is the operation:
From then on everything (well, as far as I checked) works fine. Until I reboot and my notebook stays silent again. Is there anyone who has a suggestion for a new move?Code:sudo alsa force-reload
Thanks a lot for the script! Solved the no-sound problem on my Asus L50Vn laptop (ALC663) with Intrepid.
hi i wanted to use your script cause i played to much with my alsa configs and want to get them back to default. At one point the scipt wont move on... log sais:
any idea how to get it working or simply how to reset everything around alsa to default?Code:rm -f .depend *.o snd.map*
rm -f /*.ver
rm -f modules/*.o modules/*.ko
make[1]: Betrete Verzeichnis '/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore'
Makefile:6: /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/Makefile.conf: No such file or directory
/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/Rules.make:75: /Rules.make1: No such file or directory
make[1]: *** Keine Regel, um »/Rules.make1« zu erstellen. Schluss.
make[1]: Verlasse Verzeichnis '/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore'
make: *** [clean] Fehler 1
checking for gcc... gcc
checking for C compiler default output file name...
thx i got it work with my old version. i simply removed my manually setup config files restarted and made a new setup file.
Many thanks!
Just needed to
$ export ALSA_LIBS=/usr/src/Alsa-1.0.19/alsa-lib-1.0.19
to get through the whole thing.
1. Ubuntu 8.10
2. 2.6.27-11-generic
3. 1.0.19
4. AlsaUpgrade-1.0.x-rev-1.16.sh
5. Nothing, just experienced noise in left channel after a while
6. The relevant log entry is this: "No package 'alsa' found"..." you may set the environment variables ALSA_CFLAGS and ALSA_LIBS "
EDIT: It did not solve my noise problem though. It actually got wors eand now noise starts just after startup instead of a after a short while :-/
wow, HUGE difference in audio quality for me on a recent 64-bit xubuntu install using onboard sound. much obliged.
Whow, I didn't think it would be so hard to configure the microphone on Linux...
I recently bought an Acer 6930 (lspci | grep Audio gives me:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)). I installed Ubunty Intrepid 8.10 now up to date. First I had to put the following line in /etc/modprobe.d/alsa-base in order to have sound on the headphones output:
options snd-hda-intel model=auto
Now the problem is the mic that doesn't record any sound. I used you script Soundcheck (thanks for it) and was able to have sound from a mic plugged on the mic-in jack, but not from the internal mic... That was with the script AlsaUpgrade-1.0.x-rev-1.16.
Then I chose to revert with the -r option. The result was that I had no sound anymore after rebooting !
Then I chose to install the snapshot version with -snap. Now, I have sound back, but still can't record anys sound from any mic.
I think I will give up...
Thank you very much got good sound now
Ubuntu 8.10, alsa 1.0.19, vdr, xbmc, Asus m3n78-EM (nv8200/8300)driver 180.22, 5.1 analog.
Nvidia HDA digital is listed.
1. Kubuntu 8.10
2. Kernel revision - 2.6.27-11
3. Alsa revision 1.0.19
4. Upgrade script revision 16
5. A bit of background what you've done resp. done before - downloaded script, followed instructions.
6. Attach the relevant logs - uxchecker
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid
-----------------------------------------------------------------------------
- kernel
-----------------------------------------------------------------------------
Linux mute-laptop 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 G
NU/Linux
-----------------------------------------------------------------------------
- kernel modules - installed
-----------------------------------------------------------------------------
Module Size Used by
aes_x86_64 16384 1
aes_generic 36392 1 aes_x86_64
ipv6 314312 14
af_packet 29568 4
sco 20612 2
rfcomm 51104 0
bridge 64544 0
stp 11268 1 bridge
bnep 23168 2
l2cap 33280 6 rfcomm,bnep
bluetooth 70820 6 sco,rfcomm,bnep,l2cap
ppdev 16904 0
acpi_cpufreq 16400 1
cpufreq_ondemand 16400 1
cpufreq_powersave 10368 0
cpufreq_userspace 12420 0
cpufreq_stats 14468 0
freq_table 13568 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_conservative 16392 0
sbs 22288 0
sbshc 14592 1 sbs
container 12288 0
pci_slot 13704 0
iptable_filter 11520 0
ip_tables 28176 1 iptable_filter
x_tables 31752 1 ip_tables
sbp2 32652 0
parport_pc 44200 0
lp 19588 0
parport 50096 3 ppdev,parport_pc,lp
snd_hda_codec_nvhdmi 12032 1
snd_hda_codec_idt 77696 1
joydev 20736 0
snd_hda_intel 38024 2
snd_hda_codec 87680 3 snd_hda_codec_nvhdmi,snd_hda_codec_idt,snd_hda_int el
snd_hwdep 17160 1 snd_hda_codec
snd_pcm_oss 52256 0
snd_mixer_oss 25088 1 snd_pcm_oss
snd_pcm 98824 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 11652 0
snd_seq_oss 43648 0
snd_seq_midi 15808 0
snd_rawmidi 34080 1 snd_seq_midi
arc4 10368 2
ecb 11520 2
snd_seq_midi_event 16768 2 snd_seq_oss,snd_seq_midi
crypto_blkcipher 27780 1 ecb
snd_seq 67744 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
iwlagn 113668 0
iwlcore 107844 1 iwlagn
uvcvideo 70024 0
snd_timer 33424 2 snd_pcm,snd_seq
snd_seq_device 16788 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
rfkill 19364 2 iwlcore
compat_ioctl32 18304 1 uvcvideo
videodev 46720 2 uvcvideo,compat_ioctl32
psmouse 51612 0
v4l1_compat 24580 2 uvcvideo,videodev
sdhci_pci 17024 0
serio_raw 14596 0
sdhci 27396 1 sdhci_pci
led_class 13192 1 iwlcore
snd 83400 16 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_ hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_du mmy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_ seq_device
evdev 20512 13
mac80211 253440 2 iwlagn,iwlcore
pcspkr 11136 0
soundcore 16800 1 snd
mmc_core 67168 1 sdhci
cfg80211 37136 3 iwlagn,iwlcore,mac80211
snd_page_alloc 18576 2 snd_hda_intel,snd_pcm
video 29204 0
output 11776 1 video
wmi 15808 0
ac 13448 0
shpchp 42140 0
button 15904 0
battery 21128 0
pci_hotplug 39216 1 shpchp
intel_agp 39280 0
ext3 150544 1
jbd 66856 1 ext3
mbcache 17924 1 ext3
sr_mod 24644 0
sd_mod 45864 3
cdrom 47784 1 sr_mod
crc_t10dif 10240 1 sd_mod
sg 45408 0
usbhid 39776 0
hid 59072 1 usbhid
ahci 43148 2
libata 201312 1 ahci
scsi_mod 183160 5 sbp2,sr_mod,sd_mod,sg,libata
dock 18464 1 libata
ohci1394 41524 0
ieee1394 110592 2 sbp2,ohci1394
r8169 40452 0
mii 14592 1 r8169
ehci_hcd 49548 0
uhci_hcd 34336 0
usbcore 175888 5 uvcvideo,usbhid,ehci_hcd,uhci_hcd
thermal 27424 0
processor 47800 4 acpi_cpufreq,thermal
fan 13576 0
fbcon 51200 0
tileblit 11264 1 fbcon
font 17152 1 fbcon
bitblit 14592 1 fbcon
softcursor 10496 1 bitblit
fuse 68288 1
baldsue@mute-laptop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
Upon install of Kubuntu I had a buzz sound. When I tried to play video files in Firefox I heard a d-d-d-d-d-d... Same sound when I shut down.
Now, after loading script, I'm getting no sound. I used the -di option on the script. When I tried the -snap, my sound card wasn't recognized at all. Then I used -r and then -di again. Round and round we go...
Any help is greatly appreciated. Just tell me the info you need and I'll do my best to get it. I'm rather a noob at this linux stuff.
Ran this with the -di option on AMD64 after the installation of a recommended update, changed the kernel version on my 8.04 installation. This caused the screen resolution to stop working as well as my sound.
I think the fact that this script recompiled the drivers with the new kernel version is what fixed it for me.
Thanks for producing it. :)
I'm sitting here for the 14th day in front of my brand spanking new MUTE laptop. Is there anyone out there who can help me get sound on it? ANYONE? CAN ANYONE HEAR ME?
I got sound!!!!!!!!!!! I loaded Fedora 10 and I got sound!!!!!!!!!!
Goodbye Canonical. Goodbye Ubuntu. Goodbye Kubuntu.
Again success with Asus (ALC662).
Thank you very much, your upgrade script and Alsa 1.0.19 resolved my no sound problem on an Asus V1V.
THX, ayxc
I had logged a bug (https://bugs.launchpad.net/bugs/313369) but thanks to this script I now have sound!
Only disconcerting thing is the lack of output from the script. Those of us curious about what it is doing would love a --verbose switch so that each step is output to console.
Hello,
I have a laptop Packard Bell Easynote ML65 series, with a Realtek ALC272 codec, running Intrepid.
Sound problem was:
headphones: OK
laptop-speakers: no sound at all
End 2008 I ran AlsaUpgrade-1.0.x-rev-1.15.sh, wich did not solve my problem.
Ref: http://ubuntuforums.org/showthread.p...ALC272&page=14 look at #133
BUT:
Yesterday I did run AlsaUpgrade-1.0.x-rev-1.16.sh, and:
Sound: headphones: OK
laptop-speakers: wonderfull sound
Headphone-switch does mute the speakers.
Here is how I did it:
Download en extract the upgrade script.
Run:
$ sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -d
then:
$ sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -snap
Reboot
System -> Preferences -> Sound
Set "Default mixer tracks" to Device: "HDA Intel (Alsa Mixer)"
Set the other controls to "ALSA - Advanced Linux Sound Architecture"
Double click the speaker icon on the top panel.
Make shure the device is "HDA Intel (Alsa Mixer)"
Set Master, PCM and Front on Max. volume
Select Switches: Headphone: On
Enjoy.
Soundcheck, thank you for your script, you made my life more "soundfull".
If one day you should come to Antwerp I buy you a couple of the best Belgian beers.
Thanks.
Thanks soundcheck.
Finally got my Dell T3400 with HDA sound card running.
At work our firewall blocks outbound ftp so I had to edit your script "AlsaUpgrade-1.0.x-rev-1.16.sh" to check the wget lines to use an http mirror instead of the ftp servers "FTP via HTTP (web) access". All good now. :)
I ran the upgrade script on an Ubuntu 7.10 installation and everything upgrades except the driver. It remains at the previous version. I have tried many tricks and none seem to work. Something has control of the driver and won't let it get upgraded.
How can I troubleshoot this and finish the upgrade? The system works but I'm trying to get Xine to play the full 24 bit depth of the audio files I'm working with. I can get 24 bits from aplay just fine.
Soundcheck, you are my hero.
Tried everything to fix sound on a SigmaTel 9228 on a Dell XPS m1730 on a nearly-new Intrepid installation. I had installed Amarok 2.0, and it had done something with phonon that ruined my sound. Once I got the sound back, even though all channels were maxed, sound was only about 50% of what it had been before. I tried everything I could think of, even recompiling and installing Alsa manually, but I guess your script does something that I don't, and it fixed everything like magic.
Thanks a million! Rock on.
Many thanks, soundcheck!
I now have fully working sound on my Samsung NC10 (running Hardy) - including a working internal microphone. I warmly recommend your excellent script to anyone using Ubuntu on a Samsung NC10.
I ran the script and in some problems that I had before were solved, but I don't know why my login ubuntu music, which is the default one, is somewhat choppy and sounds strange. Does anyone experience that and if so can you help me fix it. I went in System > Preferences > Sound and my config is as follows:
Sounds Events
Sound Playback: ALSA - Advanced Linux Sound Architecture
Music and Movies
Sound Playback: ALSA - Advanced Linux Sound Architecture
Audio Conferencing
Sound Playback: ALSA - Advanced Linux Sound Architecture
Sound Capture: ALSA - Advanced Linux Sound Architecture
Default Mixer Tracks
Device: HDA ATI SB (Alsa Mixer)
I think I have found a regression either in the script or alsa 1.0.19
my geforce 8300 (same as 8200) chipset did not go to spdif anymore when I had to use the script after an update, I changed from 1.0.18 to 1.0.19 during this
it took some time to figure out but I needed to add
found it here linkQuote:
options snd-hda-intel model=6stack-dig to:
/etc/modprobe.d/sound
Sorry for complaining one more time, but problems persist. I managed to get the login music to be played properly, by adjusting the sound options:
Sounds Events
Sound Playback: PulseAudio Sound Server
Music and Movies
Sound Playback: PulseAudio Sound Server
Audio Conferencing
Sound Playback: PulseAudio Sound Server
Sound Capture: PulseAudio Sound Server
Default Mixer Tracks
Device: HDA ATI SB (Alsa Mixer)
But now as before mplayer and skype are not working properly. Mplayer keeps complaining with this strange message I get when trying to increase or decrease the volume:
[AO_ALSA] Unable to find simple control 'PCM',0.
My mplayer, default audio output is alsa since
gives me the options:Code:mplayer -ao help
From which the only one that really plays any sound is alsa.Code:MPlayer SVN-r28532-4.3.2 (C) 2000-2009 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
alsa ALSA-0.9.x-1.x audio output
arts aRts audio output
esd EsounD audio output
nas NAS audio output
sdl SDLlib audio output
openal OpenAL audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
The skype problem is that neither people can here me talking nor I can here them. When using the settings from the previous post skype and mplayer were working, but the login music was choppy (I believe that its a gstreamer problem but don't know how to fix it). So, ideas anyone?
Seems to be a specific problem to your setup. I'd say that if ALSA is the only working output, the upgrade seems to have succeeded. ;)
Checkout the ~/.mplayer/config file and documentation ( I don't use mplayer)
there you can set or unset your outputdevices
ao=alsa:device=whatever
if you're looking for surround you need to setup your .asoundrc properly
Try to avoid pulseaudio. It might cause problems. I havn't really checked
if pulseaudio is working properly after the upgrade. Perhaps somebody else can confirm that it is working.
Let me know if you figure out if there is a problem with the script or the
upgrade.
Good luck
Yeah. This is a typical problem. I am mentioning it in the first post. That's why I added the document with the different model IDs.
It is always a good idea to feed these kind of findings back to the ALSA guys. Run the alsa-info.sh and explain your findings to the alsa mailing list.
Cheers
Hey All,
It seems the Alsa FTP site is down since last night at around 11pm. I have a local downloaded copy of 1.0.19 and all the sub dirs, that I copied over to my server from the usr/src folder following a previous 1.16 script upgrade.
When I copy it back to the machine I want to install alsa on using the script -i I get a quick line 218 ./configure permission denied and am running the script with sudo.
I have tried to chown the Alsa-1.0.19 dir once on the proper machine but it sets the whole directory to root owner and grp.
Is there a way to set the permission on this folder at the top level so at Alsa-1.0.19.
Thanks,
Dave
can you share the driver files? I'm trying to do the upgrade now and the ftp site is still down.
Scratch that, I found a mirror
http://gd.tuwien.ac.at/opsys/linux/alsa/
Thanks. Was going mad waiting for it to come up again.
Managed to get the script running with the -di parameter, by opening it in gedit and using find/replace to replace all occurrences of ftp://ftp.alsa-project.org/pub/ with a mirror.
Full mirror list:
Quote:
US mirrors:
===========
ftp.silug.org:/pub/alsa
ftp.eecs.umich.edu:/pub/linux/alsa
ftp.rfc822.org:/pub/mirror/ftp.alsa-project.org/pub
Europe mirrors:
===============
linux.a2000.nl:/alsa
ftp.sunet.se:/pub/Linux/alsa
ftp.task.gda.pl:/pub/linux/misc/alsa
sunsite.uio.no:/pub/linux/sound/alsa
gd.tuwien.ac.at:/opsys/linux/alsa
Asia mirrors:
=============
linux.sarang.net:/mirror/driver/sound/alsa
Australia mirrors:
==================
ftp.suburbia.com.au:/pub/alsa
mirror.aarnet.edu.au:/pub/alsa
Japan mirrors:
==============
ftp.nagoyalinux.org:/mirror/alsa
Can I run this script to *install* ALSA instead of installing 1.0.17 and then upgrading ( and having aptitude think 1.0.17 is installed ) to 1.0.19 using this script?
I guess to -r option completely "removes" the update ( for when Ubuntu actually catches up with 1.0.19 which I need for my HDMI audio and headphones to work ). Am I correct in thinking this?
Thanks for a great script :) It is an excellent piece of work!
The alsa-project ftp site is still down at the time of this post. I modified the rev-1.16 shell script to prompt the user for an alternate ftp repo when the -d or -di option is used. The hacked script, designated as rev-1.16-1, is attached. Perhaps soundcheck will consider incorporating this feature into his next revision.
could you explain how you get vdr-sxfe working with hdmi audio?
aplay -Dplughw:1,3 <file>.wav
will play the sound on my Tv (connected through a hdmi cable), but
vdr-sxfe --audio=alsa:1:3
won't play any sound. From the output I get on terminal it uses the appropriate device (1:3) but that's it, no sound at all, no error messages!
I recompiled xineliboutput cvs version 1.04 to make sure it detects the new alsa library (1.0.19) - didn't help.
OS is Kubuntu Intrepid, same kernel you use - notification sounds via HDMI are working as well after I changed the device to 1:3 in sound manager. It's just the vdr-sxfe ...
fast mirror:
http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/
:guitar:
Good day, I'm a user of laptop Acer Aspire 6920g... I installed latest Ubuntu 8.10 (amd64) and everything was working like a charm except the sound.
I upgraded the ALSA to the latest version (19) and the sound is working very good at the moment. But my internal microphone is dead.
I think I tried everything. I'm feel very sad :( What can you suggest?
Tks for ppt reply. Well this is the details:
1. Ubuntu 8.10 (amd64)
2. 2.6.27-11-generic
3. alsa-1.0.19 (snap)
4. AlsaUpgradeRev1.16
5. Not working microphone (sound is ok). Installed alsa-18/19/19snap... none of them fixes the problem.
6. Relevant logs attached
I have Ubuntu 8.10 just installed on a Lenovo T61. No sound whatsoever (tried with headphones and without). Ran the script to upgrade to alsa 1.0.19. Log files attached.
Very frustrating, as my laptop's sound is known to work, at least for some previous (recent) releases. First Linux install attempt in a few years (other than VMs). Would love to have Vista over Linux but this is obviously a show-stopper.
Attached log from the upgrade script (which was "successful"), alsa-info, and uxchecker -a output. Hopefully it's meaningful to someone who can help.
edit: hmm I'm getting errors trying to upload the attachments:
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /newattachment.php.
Reason: Error reading from remote server
Well, it was worth a try. Anyone seen this?
As a follow-up to the above (while waiting for the forums to allow me to attach files): after doing the upgrade, when I run vlc to play an mp3 I get errors like the following (similar errors from Firefox when accessing audio content). Does this give any clues?
Code:
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default
Well the thing's very finicky but I managed to upload my files after a few attempts. Sorry for all the rambling replies.
Finally my microphone problems are solved with my "Intel Corporation 82801G (ICH7 Family)" thanks a lot man for this script.
Thanks a bunch for this script. I have been searching the internet for the past week for solution to my sound woes in Ubuntu 8.10. Finally your script and alsa upgrade fixed the problem.
Some further info/clarification, in hopes that someone can help me. When I click the volume control in the system tray I get a popup: "No volume control GStreamer plugins and/or devices not found". When I go to System-Preferences->Sound->Devices I see "HDA Intel AD198x Analog (ALSA)" in the list, but when I click "test" I get a popup: "audiotestsrc wave=since freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open audio device for playback"
I don't know what any of this really means, but perhaps it's different from others' problems in that I'm not just getting silence, I'm actually getting errors".
TIA for any help.
So it turns out that my sound worked when logged in as root. Just had to add myself to the "audio" group (why oh why doesn't this happen automagically at install time) and now I have sound from speakers and earphones, and mic works from the jack. Integrated mic on the face of the laptop doesn't seem to work, or at least I can't find the right input to select in "Sound Recorder", but it's not that critical. Volume seems to be kind of low on both but I'll search for a separate fix.
Anyway, thanks for all your attentions. If anyone is following the thread with the same problem (sound only works as root) you need to edit /etc/group and make sure your username appears on the line starting with "audio:". If not, you can add yourself to the list of users at the end of the line, e.g.
Code:audio:x:29:pulse,noobile
The script has been running for about five hours now and nothing seems to be happening.
Quote:
--Sat Feb 28 17:04:46 MST 2009----Alsa-Upgrade-Script-1.16 -----------------
-
- You'll be upgraded from 1.0.16.
kernel to 1.0.19.
-
- All script output is routed to /var/log/AlsaUpgradeRev-1.16-022809-17.04.log
- Run tail -f <logfile> in a seperate terminal to follow the upgrade
-
- Reboot your machine afterwards.
-
- Enjoy - meet you at ubuntuforums.org or diy-audio.com
- soundcheck
---------------------------------------------------------------------------
Upgrade in progress..The process can take up to 15minutes.....Be patient!
That was from the log.Quote:
david@david-ubuntu:~$ tail -f /var/log/AlsaUpgradeRev-1.16-022809-17.04.log
docbook-xsl-doc
The following NEW packages will be installed:
build-essential docbook-xsl dpkg-dev g++ g++-4.2 gettext libavahi-client-dev
libavahi-common-dev libdbus-1-dev libglib2.0-dev libice-dev libncurses5-dev
libpthread-stubs0 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0
libsm-dev libspeex-dev libstdc++6-4.2-dev libsysfs-dev libtimedate-perl
libx11-dev libxau-dev libxcb-xlib0-dev libxcb1-dev libxdmcp-dev libxt-dev
patch python-all python-all-dev python-dev python2.4 python2.4-dev
python2.4-minimal python2.5-dev x11proto-core-dev x11proto-input-dev
x11proto-kb-dev xmlto xtrans-dev
When it first started I got a notification that an update manager is running then nothing seemed to happen.
Not sure if this has been mentioned before.
But why not use checkinstall in the script instead of using make install ?
This will automatically create the right packages and will make it very easy to uninstall if required .
checkinstall always worked great for me
Jean-Yves
Will this work on 64bit Ubuntu Intrepid?
Hi.
I've compiled 1.0.18 and 1.0.19 packages for 8.10.
http://www.avenard.org/media/Ubuntu_...epository.html
To generate the new alsa kernel modules ; install the alsa-source package
then in a command line type:
sudo m-a a-i alsa-source
This will compile and install a kernel module package containing all the updated drivers.