Ubuntu Forums Archive Viewer

ALSA Upgrade Script

Archived thread 1046137 from Tutorials. Markdown source: Tutorials/thread_1046137_ALSA_Upgrade_Script.md

Original URL About this archive
#1

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

#2

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

#3

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.

#4

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.

#5

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?

#6

emuman said: 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?

Of course. I do have an idea: Prepare a proper log, using alsa-info.sh and drop a trouble-ticket to alsa-dev mailing list! ;)

Cheers

#7

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

#8

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

#9

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. [ATTACH]100717[/ATTACH]

[ATTACH]100718[/ATTACH]

#10

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

#11

pike2k said: 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

#12

heluani said: 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. [ATTACH]100717[/ATTACH]

[ATTACH]100718[/ATTACH]

Never ending story. ;)

#13

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.

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.

  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:
  1. Attach the relevant logs
#14

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

#15

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:

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

And then:

aplay -Dplughw:0,3 -fcd falcon_flyby.wav
matt@mythbuntu:~$ speaker-test -Dplughw:0,3 -c6

Matt

#16

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.

#17

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.

#18

Thanks for this script.

Now after 2 months i have got sound working with my new asrock-board (ALC1200):D

#19

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!

#20

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!

#21

Olympia76 said: 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!

  1. -d to download the entire base package
  2. -snap to download the snapshot and then to compile and install the entire package. -i is not needed in this case.

Good luck.

#22

tbarnette said: 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/mailman/listinfo/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

#23

I'll try to do both tonight.. .I Have the kids though.. .dinner, showers, homework... no promises.. ;)

#24

soundcheck said:

  1. -d to download the entire base package
  1. -snap to download the snapshot and then to compile and install the entire package. -i is not needed in this case.

Good luck.

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!

#25

Olympia76 said: 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

#26

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:

sudo alsa force-reload

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?

#27

Thanks a lot for the script! Solved the no-sound problem on my Asus L50Vn laptop (ALC663) with Intrepid.

#28

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:

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...

any idea how to get it working or simply how to reset everything around alsa to default?

#29

Nigggo said: 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:

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...

any idea how to get it working or simply how to reset everything around alsa to default?

You could try the restore option of the script. This will reinstall all Alsa relevant packages from Ubuntu repositories.

#30

thx i got it work with my old version. i simply removed my manually setup config files restarted and made a new setup file.

#31

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 :-/

#32

wow, HUGE difference in audio quality for me on a recent 64-bit xubuntu install using onboard sound. much obliged.

#33

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...

#34

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.

#35

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.10 Release: 8.10 Codename: intrepid

  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

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • 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_intel 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_midi_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_dummy,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.

#36

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. :)

#37

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?

#38

I got sound!!!!!!!!!!! I loaded Fedora 10 and I got sound!!!!!!!!!!

Goodbye Canonical. Goodbye Ubuntu. Goodbye Kubuntu.

#39

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

#40

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.

#41

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.php?t=962695&highlight=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.

#42

supine said: 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.

It writes a log to /var/log/Alsa..something.log

I tried it, but the compile failed for 1.0.19. Ubuntu 8.04.2 2.6.27.3

Still looking at the errors. Seeing if I lack a dependency or something.

#43

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. :)

#44

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.

#45

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.

#46

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.

#47

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)

#48

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

options snd-hda-intel model=6stack-dig to:

/etc/modprobe.d/sound found it here link

#49

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:

[COLOR="Red"][AO_ALSA] Unable to find simple control 'PCM',0.[/COLOR]

My mplayer, default audio output is alsa since

mplayer -ao help

gives me the options:

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

From which the only one that really plays any sound is alsa.

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?

#50

Pitboss said: 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:

[COLOR="Red"][AO_ALSA] Unable to find simple control 'PCM',0.[/COLOR]

My mplayer, default audio output is alsa since

mplayer -ao help

gives me the options:

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

From which the only one that really plays any sound is alsa.

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

#51

Cuppa-Chino said: 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 link

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

#52

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

#53

can you share the driver files? I'm trying to do the upgrade now and the ftp site is still down.

#54

Scratch that, I found a mirror http://gd.tuwien.ac.at/opsys/linux/alsa/

#55

Andre_44 said: 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:

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

#56

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!

#57

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.

#58

ihc100 said: Thank you very much got good sound now Ubuntu 8.10, alsa 1.0.19, vdr, xbmc

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 ...

#59
#60

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?

#61

slday said:

I think I tried everything.

Everything?? ;)

If you followed the thread and if you read the opening post, you should know that nobody can support you with this kind of information.

It is clearly stated several times what information is needed to track down your issue.

Cheers

#62

soundcheck said: Everything?? ;)

If you followed the thread and if you read the opening post, you should know that nobody can support you with this kind of information.

It is clearly stated several times what information is needed to track down your issue.

Cheers

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
#63

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?

#64

Noobile said: 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?




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
#65

Well the thing's very finicky but I managed to upload my files after a few attempts. Sorry for all the rambling replies.

#66

Finally my microphone problems are solved with my "Intel Corporation 82801G (ICH7 Family)" thanks a lot man for this script.

#67

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.

#68

Noobile said: Well the thing's very finicky but I managed to upload my files after a few attempts. Sorry for all the rambling replies.

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.

#69

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.

audio:x:29:pulse,noobile
#70

The script has been running for about five hours now and nothing seems to be happening.

--Sat Feb 28 17:04:46 MST 2009----Alsa-Upgrade-Script-1.16 -----------------

kernel to 1.0.19.

---------------------------------------------------------------------------

  • You'll be upgraded from 1.0.16.
  • 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!

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

That was from the log.

When it first started I got a notification that an update manager is running then nothing seemed to happen.

#71

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

#72

davidryder said: The script has been running for about five hours now and nothing seems to be happening.

That was from the log.

When it first started I got a notification that an update manager is running then nothing seemed to happen.

I check this one out. If there is an update ongoing or Synaptics is open it might be that this part of the installation fails.

THX for letting me know. I put it on the the ToDo list.

#73

jyavenard said: 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

I'll also look at this one. THX for the hint.

#74

Will this work on 64bit Ubuntu Intrepid?

#75

Hi.

I've compiled 1.0.18 and 1.0.19 packages for 8.10.

http://www.avenard.org/media/Ubuntu_Repository/Ubuntu_Repository.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.

#76

Many thanks soundcheck!! it also worked great for me!! I was having very low volume on my ESI U46se. Now it works fine. :D

#77

jyavenard said: Hi.

I've compiled 1.0.18 and 1.0.19 packages for 8.10.

http://www.avenard.org/media/Ubuntu_Repository/Ubuntu_Repository.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

I followed your instructions. Build error on Kubuntu 8.10 64bit KDE


for i in control postinst postrm ; do \
		if [ -f debian/$i.orig ]; then \
			mv -f debian/$i.orig debian/$i ; \
		fi ; \
	done
rm -f control-munge
make mrproper
make[1]: Entering directory `/usr/src/modules/alsa-driver'
rm -f .depend *.o snd.map*
rm -f /*.ver
rm -f modules/*.o modules/*.ko
make[2]: Entering directory `/usr/src/modules/alsa-driver/acore'
make -C ioctl32 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/acore/ioctl32'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/acore/ioctl32'
make -C oss mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/acore/oss'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp mixer_oss.c pcm_oss.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/acore/oss'
make -C seq mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/acore/seq'
make -C oss mrproper
make[4]: Entering directory `/usr/src/modules/alsa-driver/acore/seq/oss'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp seq_oss.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[4]: Leaving directory `/usr/src/modules/alsa-driver/acore/seq/oss'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp seq.c seq_clientmgr.c seq_memory.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/acore/seq'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp info.c pcm.c pcm_native.c control.c hwdep.c init.c rawmidi.c sound.c timer.c memalloc.c misc.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/acore'
make[2]: Entering directory `/usr/src/modules/alsa-driver/i2c'
make -C l3 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/i2c/l3'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/i2c/l3'
make -C other mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/i2c/other'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/i2c/other'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/i2c'
make[2]: Entering directory `/usr/src/modules/alsa-driver/drivers'
make -C mpu401 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/drivers/mpu401'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp mpu401.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/drivers/mpu401'
make -C opl3 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/drivers/opl3'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp opl3_lib.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/drivers/opl3'
make -C opl4 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/drivers/opl4'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/drivers/opl4'
make -C pcsp mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/drivers/pcsp'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/drivers/pcsp'
make -C vx mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/drivers/vx'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/drivers/vx'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp mts64.c portman2x4.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/drivers'
make[2]: Entering directory `/usr/src/modules/alsa-driver/isa'
make -C ad1816a mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/ad1816a'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/ad1816a'
make -C ad1848 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/ad1848'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/ad1848'
make -C cs423x mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/cs423x'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/cs423x'
make -C es1688 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/es1688'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/es1688'
make -C gus mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/gus'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/gus'
make -C msnd mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/msnd'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/msnd'
make -C opti9xx mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/opti9xx'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/opti9xx'
make -C sb mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/sb'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp sb16_csp.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/sb'
make -C wavefront mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/isa/wavefront'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp wavefront_fx.c wavefront_synth.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/isa/wavefront'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/isa'
make[2]: Entering directory `/usr/src/modules/alsa-driver/synth'
make -C emux mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/synth/emux'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/synth/emux'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/synth'
make[2]: Entering directory `/usr/src/modules/alsa-driver/pci'
make -C ac97 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/ac97'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp ac97_codec.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/ac97'
make -C ali5451 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/ali5451'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp ali5451.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/ali5451'
make -C asihpi mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/asihpi'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/asihpi'
make -C au88x0 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/au88x0'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp au88x0.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/au88x0'
make -C aw2 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/aw2'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/aw2'
make -C ca0106 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/ca0106'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp ca0106_main.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/ca0106'
make -C cs46xx mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/cs46xx'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/cs46xx'
make -C cs5535audio mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/cs5535audio'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/cs5535audio'
make -C echoaudio mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/echoaudio'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp echoaudio.c darla20.c darla24.c echo3g.c gina20.c gina24.c indigo.c indigodj.c indigoio.c layla20.c layla24.c mia.c mona.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/echoaudio'
make -C emu10k1 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/emu10k1'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp emu10k1_main.c emu10k1x.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/emu10k1'
make -C hda mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/hda'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp hda_codec.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/hda'
make -C ice1712 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/ice1712'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/ice1712'
make -C korg1212 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/korg1212'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp korg1212.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/korg1212'
make -C mixart mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/mixart'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/mixart'
make -C nm256 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/nm256'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/nm256'
make -C oxygen mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/oxygen'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/oxygen'
make -C pcxhr mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/pcxhr'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/pcxhr'
make -C pdplus mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/pdplus'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/pdplus'
make -C riptide mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/riptide'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp riptide.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/riptide'
make -C rme9652 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/rme9652'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/rme9652'
make -C trident mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/trident'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/trident'
make -C vx222 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/vx222'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/vx222'
make -C ymfpci mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pci/ymfpci'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp ymfpci_main.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pci/ymfpci'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp ad1889.c atiixp.c atiixp_modem.c bt87x.c cmipci.c ens1370.c fm801.c intel8x0.c via82xx.c via82xx_modem.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/pci'
make[2]: Entering directory `/usr/src/modules/alsa-driver/aoa'
make -C codecs mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/aoa/codecs'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/aoa/codecs'
make -C core mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/aoa/core'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/aoa/core'
make -C fabrics mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/aoa/fabrics'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/aoa/fabrics'
make -C soundbus mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/aoa/soundbus'
make -C i2sbus mrproper
make[4]: Entering directory `/usr/src/modules/alsa-driver/aoa/soundbus/i2sbus'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[4]: Leaving directory `/usr/src/modules/alsa-driver/aoa/soundbus/i2sbus'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/aoa/soundbus'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/aoa'
make[2]: Entering directory `/usr/src/modules/alsa-driver/soc'
make -C at32 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/at32'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/at32'
make -C at91 mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/at91'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/at91'
make -C au1x mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/au1x'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/au1x'
make -C codecs mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/codecs'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/codecs'
make -C davinci mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/davinci'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/davinci'
make -C fsl mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/fsl'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/fsl'
make -C omap mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/omap'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/omap'
make -C pxa mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/pxa'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/pxa'
make -C s3c24xx mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/s3c24xx'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/s3c24xx'
make -C sh mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/soc/sh'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/soc/sh'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/soc'
make[2]: Entering directory `/usr/src/modules/alsa-driver/usb'
make -C caiaq mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/usb/caiaq'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp caiaq-audio.c caiaq-device.c caiaq-input.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/usb/caiaq'
make -C usx2y mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/usb/usx2y'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp usX2Yhwdep.c usbusx2y.c usbusx2yaudio.c usx2yhwdeppcm.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/usb/usx2y'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp usbaudio.c usbmidi.c usbmixer.c
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/usb'
make[2]: Entering directory `/usr/src/modules/alsa-driver/pcmcia'
make -C pdaudiocf mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pcmcia/pdaudiocf'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pcmcia/pdaudiocf'
make -C vx mrproper
make[3]: Entering directory `/usr/src/modules/alsa-driver/pcmcia/vx'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[3]: Leaving directory `/usr/src/modules/alsa-driver/pcmcia/vx'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/pcmcia'
make[2]: Entering directory `/usr/src/modules/alsa-driver/misc'
rm -f .depend *.[oas] *.ko .*.cmd .*.tmp *.mod.c *.isapnp 
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
make[2]: Leaving directory `/usr/src/modules/alsa-driver/misc'
make[2]: Entering directory `/usr/src/modules/alsa-driver/include'
rm -f .depend core *.o sndversions.h modules/*.ver modules/*.stamp
rm -f *.orig *.rej *~ .#*
rm -f linux/* asm/* media/*
make[2]: Leaving directory `/usr/src/modules/alsa-driver/include'
make[2]: Entering directory `/usr/src/modules/alsa-driver/test'
rm -f *.o mmap_test osspcm osspcm1 ossdelay
rm -f *~ *.orig *.rej .#*
make[2]: Leaving directory `/usr/src/modules/alsa-driver/test'
make[2]: Entering directory `/usr/src/modules/alsa-driver/utils'
rm -f *.orig *.rej *~ .#*
make[2]: Leaving directory `/usr/src/modules/alsa-driver/utils'
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
rm -f doc/*~
rm -f config.cache config.log config.status Makefile.conf
rm -f utils/alsa-driver.spec
rm -f `find ../alsa-kernel -name "*~"`
rm -f `find ../alsa-kernel -name "*.orig"`
rm -f `find ../alsa-kernel -name "*.rej"`
rm -f `find ../alsa-kernel -name ".#*"`
rm -f `find ../alsa-kernel -name "out.txt"`
rm -rf autom4te.cache
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
rm -f configure-stamp
rm -f build-stamp
/usr/bin/make -f debian/rules binary-modules
make[1]: Entering directory `/usr/src/modules/alsa-driver'
CC="gcc" ./configure --prefix=/usr --with-kernel=/usr/src/linux --with-build=/usr/src/linux --with-moddir=/lib/modules/2.6.27-11-generic/updates/alsa --with-sequencer=yes --with-isapnp=yes --with-cards="all"
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/modules/alsa-driver
checking cross compile... 
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build... /usr/src/linux
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.27-11-generic
checking for built-in ALSA... no
checking for existing ALSA module... yes
checking for Red Hat kernel... auto
checking for Red Hat kernel... no
checking for SUSE kernel... auto
checking for SUSE kernel... no
checking for updating alsa-kernel version.h... yes
checking for CONFIG_EXPERIMENTAL... yes
checking for kernel linux/config.h... no
Creating <linux/config.h>...
checking for deprecated linux/config.h... checking to modify of kernel linux/kmod.h... no
checking for kernel linux/utsrelease.h... yes
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/spinlock.h... yes
checking for kernel linux/irq.h... yes
checking for kernel linux/threads.h... yes
checking for kernel linux/rwsem.h... yes
checking for kernel linux/gameport.h... yes
checking for kernel media/v4l2-dev.h... yes
checking for kernel linux/devfs_fs_kernel.h... no
Creating a dummy <linux/devfs_fs_kernel.h>...
checking for kernel linux/highmem.h... yes
checking for kernel linux/workqueue.h... yes
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... yes
checking for kernel linux/isa.h... yes
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
checking for kernel linux/log2.h... yes
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/moduleparam.h... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... yes
checking for kernel linux/pm_qos_params.h... yes
checking for kernel linux/kthread.h... yes
checking for kernel asm/irq_regs.h... yes
checking for kernel linux/seq_file.h... yes
checking for kernel module symbol versions... yes
checking for has ioport support... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... module
checking for I2C_POWERMAC in kernel... unknown
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for pc-speaker input subsystem in kernel... module
checking for directory to store kernel modules... /lib/modules/2.6.27-11-generic/updates/alsa
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... no
checking for processor type... x86_64
checking for i386 machine type... default
checking for i386 machine type... default
checking for ISA DMA API... yes
checking for 32bit compat support... yes
checking for SMP... yes
checking for Video device support in kernel... yes
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... no
checking for Kernel ISA-PnP module support... no
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... yes
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... no
checking for PDE... yes
checking for pci_set_consistent_dma_mask... yes
checking for pci_dev_present... yes
checking for msleep... yes
checking for msleep_interrupt... yes
checking for msecs_to_jiffies... yes
checking for tty->count is the atomic type... no
checking for video_get_drvdata... yes
checking for V4L1 layer... yes
checking for io_remap_pfn_range... yes
checking for kcalloc... yes
checking for kstrdup... yes
checking for kzalloc... yes
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... yes
checking for new pci_save_state... yes
checking for register_sound_special_device... yes
checking for driver extra-version... 
checking for driver version... 1.0.17
checking for dynamic minor numbers... no
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for OSS PCM plugin system inclusion... yes
checking for RTC support... no
checking for HPET support... yes
checking for Procfs support... yes
checking for USB support... yes
checking for class_simple... no
checking for old driver suspend/resume callbacks... no
checking for removal of page-reservation for nopage/mmap... no
checking for nested class_device... no
checking for new IRQ handler... yes
checking for gfp_t... yes
checking for GFP_DMA32... yes
checking for page_to_pfn... yes
checking for PnP suspend/resume... yes
checking for device_create_drvdata... yes
checking for new unlocked/compat_ioctl... yes
checking for x86-compatible PC... yes
checking for High-Res timers... yes
checking for kernel PCMCIA
checking for PCMCIA support... yes
checking for PC9800 support in kernel... no
checking for parallel port support... yes
checking for power management... yes
checking for CONFIG_HAS_DMA... yes
checking for cards to compile driver for... all
checking for additonal options to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: WARNING:  Makefile.conf.in seems to ignore the --datarootdir setting
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/pci_ids_compat.h
config.status: creating include/i2c-id_compat.h
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
Hacking autoconf.h...
touch configure-stamp
/usr/bin/make  compile
make[2]: Entering directory `/usr/src/modules/alsa-driver'
/usr/bin/make dep
make[3]: Entering directory `/usr/src/modules/alsa-driver'
make[4]: Entering directory `/usr/src/modules/alsa-driver/acore'
copying file alsa-kernel/core/info.c
patching file info.c
Hunk #2 succeeded at 156 (offset -1 lines).
Hunk #3 succeeded at 168 (offset -1 lines).
Hunk #4 succeeded at 178 (offset -1 lines).
Hunk #5 succeeded at 209 (offset -1 lines).
Hunk #6 succeeded at 494 (offset -1 lines).
Hunk #7 succeeded at 534 with fuzz 2 (offset -1 lines).
Hunk #8 succeeded at 993 (offset -1 lines).
Hunk #9 succeeded at 1022 (offset -1 lines).
copying file alsa-kernel/core/pcm.c
patching file pcm.c
Hunk #2 succeeded at 898 (offset -12 lines).
Hunk #3 succeeded at 914 (offset -12 lines).
Hunk #4 succeeded at 926 (offset -12 lines).
Hunk #5 succeeded at 980 (offset -12 lines).
copying file alsa-kernel/core/pcm_native.c
patching file pcm_native.c
Hunk #4 succeeded at 1585 (offset -17 lines).
Hunk #5 succeeded at 2820 (offset -39 lines).
Hunk #6 succeeded at 2840 (offset -39 lines).
Hunk #7 succeeded at 2870 (offset -39 lines).
Hunk #8 succeeded at 2897 (offset -39 lines).
Hunk #9 succeeded at 2913 (offset -39 lines).
Hunk #10 succeeded at 2943 (offset -39 lines).
Hunk #11 succeeded at 3029 (offset -39 lines).
Hunk #12 succeeded at 3048 (offset -39 lines).
Hunk #13 succeeded at 3062 (offset -39 lines).
Hunk #14 succeeded at 3120 (offset -39 lines).
Hunk #15 succeeded at 3148 (offset -39 lines).
Hunk #16 succeeded at 3206 (offset -39 lines).
Hunk #17 succeeded at 3235 (offset -39 lines).
Hunk #18 succeeded at 3265 (offset -39 lines).
Hunk #19 succeeded at 3342 (offset -39 lines).
Hunk #20 succeeded at 3374 (offset -39 lines).
Hunk #21 succeeded at 3440 (offset -39 lines).
Hunk #22 succeeded at 3469 (offset -39 lines).
Hunk #23 succeeded at 3510 (offset -39 lines).
Hunk #24 succeeded at 3660 (offset -39 lines).
copying file alsa-kernel/core/control.c
patching file control.c
Hunk #3 succeeded at 713 (offset -6 lines).
Hunk #4 succeeded at 776 (offset -10 lines).
Hunk #5 succeeded at 1384 (offset -10 lines).
copying file alsa-kernel/core/hwdep.c
patching file hwdep.c
copying file alsa-kernel/core/init.c
patching file init.c
Hunk #2 succeeded at 277 (offset 13 lines).
Hunk #3 succeeded at 303 (offset 13 lines).
copying file alsa-kernel/core/rawmidi.c
patching file rawmidi.c
Hunk #3 succeeded at 1291 (offset 2 lines).
Hunk #4 succeeded at 1375 (offset 2 lines).
copying file alsa-kernel/core/sound.c
patching file sound.c
copying file alsa-kernel/core/timer.c
patching file timer.c
Hunk #3 succeeded at 990 (offset -2 lines).
Hunk #4 succeeded at 1912 (offset -2 lines).
Hunk #5 succeeded at 1957 (offset -2 lines).
copying file alsa-kernel/core/memalloc.c
patching file memalloc.c
copying file alsa-kernel/core/misc.c
patching file misc.c
make[5]: Entering directory `/usr/src/modules/alsa-driver/acore/ioctl32'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/acore/ioctl32'
make[5]: Entering directory `/usr/src/modules/alsa-driver/acore/oss'
copying file alsa-kernel/core/oss/mixer_oss.c
patching file mixer_oss.c
copying file alsa-kernel/core/oss/pcm_oss.c
patching file pcm_oss.c
Hunk #3 succeeded at 2589 (offset -1 lines).
Hunk #4 succeeded at 2640 (offset -1 lines).
Hunk #5 succeeded at 2763 (offset -1 lines).
Hunk #6 succeeded at 2946 (offset -1 lines).
Hunk #7 succeeded at 3073 (offset -1 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/acore/oss'
make[5]: Entering directory `/usr/src/modules/alsa-driver/acore/seq'
copying file alsa-kernel/core/seq/seq.c
patching file seq.c
copying file alsa-kernel/core/seq/seq_clientmgr.c
patching file seq_clientmgr.c
copying file alsa-kernel/core/seq/seq_memory.c
patching file seq_memory.c
make[6]: Entering directory `/usr/src/modules/alsa-driver/acore/seq/oss'
copying file alsa-kernel/core/seq/oss/seq_oss.c
patching file seq_oss.c
make[6]: Leaving directory `/usr/src/modules/alsa-driver/acore/seq/oss'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/acore/seq'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/acore'
make[4]: Entering directory `/usr/src/modules/alsa-driver/i2c'
make[5]: Entering directory `/usr/src/modules/alsa-driver/i2c/l3'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/i2c/l3'
make[5]: Entering directory `/usr/src/modules/alsa-driver/i2c/other'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/i2c/other'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/i2c'
make[4]: Entering directory `/usr/src/modules/alsa-driver/drivers'
copying file alsa-kernel/drivers/mts64.c
patching file mts64.c
copying file alsa-kernel/drivers/portman2x4.c
patching file portman2x4.c
make[5]: Entering directory `/usr/src/modules/alsa-driver/drivers/mpu401'
copying file alsa-kernel/drivers/mpu401/mpu401.c
patching file mpu401.c
make[5]: Leaving directory `/usr/src/modules/alsa-driver/drivers/mpu401'
make[5]: Entering directory `/usr/src/modules/alsa-driver/drivers/opl3'
copying file alsa-kernel/drivers/opl3/opl3_lib.c
patching file opl3_lib.c
make[5]: Leaving directory `/usr/src/modules/alsa-driver/drivers/opl3'
make[5]: Entering directory `/usr/src/modules/alsa-driver/drivers/opl4'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/drivers/opl4'
make[5]: Entering directory `/usr/src/modules/alsa-driver/drivers/pcsp'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/drivers/pcsp'
make[5]: Entering directory `/usr/src/modules/alsa-driver/drivers/vx'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/drivers/vx'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/drivers'
make[4]: Entering directory `/usr/src/modules/alsa-driver/isa'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/ad1816a'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/ad1816a'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/ad1848'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/ad1848'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/cs423x'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/cs423x'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/es1688'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/es1688'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/gus'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/gus'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/msnd'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/msnd'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/opti9xx'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/opti9xx'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/sb'
copying file alsa-kernel/isa/sb/sb16_csp.c
patching file sb16_csp.c
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/sb'
make[5]: Entering directory `/usr/src/modules/alsa-driver/isa/wavefront'
copying file alsa-kernel/isa/wavefront/wavefront_fx.c
patching file wavefront_fx.c
copying file alsa-kernel/isa/wavefront/wavefront_synth.c
patching file wavefront_synth.c
make[5]: Leaving directory `/usr/src/modules/alsa-driver/isa/wavefront'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/isa'
make[4]: Entering directory `/usr/src/modules/alsa-driver/synth'
make[5]: Entering directory `/usr/src/modules/alsa-driver/synth/emux'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/synth/emux'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/synth'
make[4]: Entering directory `/usr/src/modules/alsa-driver/pci'
copying file alsa-kernel/pci/ad1889.c
patching file ad1889.c
copying file alsa-kernel/pci/atiixp.c
patching file atiixp.c
Hunk #2 succeeded at 1669 (offset -2 lines).
Hunk #3 succeeded at 1714 (offset -2 lines).
copying file alsa-kernel/pci/atiixp_modem.c
patching file atiixp_modem.c
Hunk #2 succeeded at 1309 (offset 2 lines).
Hunk #3 succeeded at 1352 (offset 2 lines).
copying file alsa-kernel/pci/bt87x.c
patching file bt87x.c
Hunk #2 succeeded at 844 (offset -2 lines).
Hunk #3 succeeded at 998 (offset -2 lines).
copying file alsa-kernel/pci/cmipci.c
patching file cmipci.c
Hunk #2 succeeded at 3131 (offset -45 lines).
Hunk #3 succeeded at 3426 (offset -45 lines).
copying file alsa-kernel/pci/ens1370.c
patching file ens1370.c
Hunk #2 succeeded at 2119 (offset -12 lines).
Hunk #3 succeeded at 2495 (offset -12 lines).
copying file alsa-kernel/pci/fm801.c
patching file fm801.c
Hunk #2 succeeded at 1426 (offset 23 lines).
Hunk #3 succeeded at 1607 (offset 23 lines).
copying file alsa-kernel/pci/intel8x0.c
patching file intel8x0.c
Hunk #5 succeeded at 3140 (offset 12 lines).
copying file alsa-kernel/pci/via82xx.c
patching file via82xx.c
Hunk #2 succeeded at 2439 (offset 3 lines).
Hunk #3 succeeded at 2449 (offset 3 lines).
Hunk #4 succeeded at 2464 (offset 3 lines).
Hunk #5 succeeded at 2475 (offset 3 lines).
Hunk #6 succeeded at 2486 (offset 3 lines).
Hunk #7 succeeded at 2569 (offset 3 lines).
copying file alsa-kernel/pci/via82xx_modem.c
patching file via82xx_modem.c
Hunk #2 succeeded at 1182 (offset 2 lines).
Hunk #3 succeeded at 1242 (offset 2 lines).
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/ac97'
copying file alsa-kernel/pci/ac97/ac97_codec.c
patching file ac97_codec.c
Hunk #3 succeeded at 1912 (offset 1 line).
Hunk #4 succeeded at 1924 (offset 1 line).
Hunk #5 succeeded at 1948 (offset 1 line).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/ac97'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/ali5451'
copying file alsa-kernel/pci/ali5451/ali5451.c
patching file ali5451.c
Hunk #2 succeeded at 2207 (offset 2 lines).
Hunk #3 succeeded at 2377 (offset 2 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/ali5451'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/asihpi'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/asihpi'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/au88x0'
copying file alsa-kernel/pci/au88x0/au88x0.c
patching file au88x0.c
Hunk #2 succeeded at 340 (offset -1 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/au88x0'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/aw2'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/aw2'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/ca0106'
copying file alsa-kernel/pci/ca0106/ca0106_main.c
patching file ca0106_main.c
Hunk #3 succeeded at 1365 (offset 12 lines).
Hunk #4 succeeded at 1734 (offset 12 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/ca0106'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/cs46xx'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/cs46xx'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/cs5535audio'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/cs5535audio'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/echoaudio'
copying file alsa-kernel/pci/echoaudio/echoaudio.c
patching file echoaudio.c
Hunk #1 succeeded at 1898 (offset -28 lines).
Hunk #2 succeeded at 1961 (offset -28 lines).
copying file alsa-kernel/pci/echoaudio/darla20.c
patching file darla20.c
copying file alsa-kernel/pci/echoaudio/darla24.c
patching file darla24.c
copying file alsa-kernel/pci/echoaudio/echo3g.c
patching file echo3g.c
copying file alsa-kernel/pci/echoaudio/gina20.c
patching file gina20.c
copying file alsa-kernel/pci/echoaudio/gina24.c
patching file gina24.c
copying file alsa-kernel/pci/echoaudio/indigo.c
patching file indigo.c
copying file alsa-kernel/pci/echoaudio/indigodj.c
patching file indigodj.c
copying file alsa-kernel/pci/echoaudio/indigoio.c
patching file indigoio.c
copying file alsa-kernel/pci/echoaudio/layla20.c
patching file layla20.c
copying file alsa-kernel/pci/echoaudio/layla24.c
patching file layla24.c
copying file alsa-kernel/pci/echoaudio/mia.c
patching file mia.c
copying file alsa-kernel/pci/echoaudio/mona.c
patching file mona.c
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/echoaudio'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/emu10k1'
copying file alsa-kernel/pci/emu10k1/emu10k1_main.c
patching file emu10k1_main.c
Hunk #4 succeeded at 1406 (offset 1 line).
Hunk #5 succeeded at 1447 (offset 9 lines).
Hunk #6 succeeded at 1756 (offset 10 lines).
copying file alsa-kernel/pci/emu10k1/emu10k1x.c
patching file emu10k1x.c
Hunk #2 succeeded at 942 (offset 2 lines).
Hunk #3 succeeded at 1630 (offset 2 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/emu10k1'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/hda'
copying file alsa-kernel/pci/hda/hda_codec.c
patching file hda_codec.c
Hunk #2 succeeded at 309 (offset 30 lines).
Hunk #3 succeeded at 347 (offset 30 lines).
Hunk #4 succeeded at 362 (offset 30 lines).
Hunk #5 succeeded at 378 (offset 30 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/hda'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/ice1712'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/ice1712'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/korg1212'
copying file alsa-kernel/pci/korg1212/korg1212.c
patching file korg1212.c
Hunk #2 succeeded at 2352 (offset 3 lines).
Hunk #3 succeeded at 2513 (offset 3 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/korg1212'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/mixart'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/mixart'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/nm256'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/nm256'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/oxygen'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/oxygen'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/pcxhr'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/pcxhr'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/pdplus'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/pdplus'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/riptide'
copying file alsa-kernel/pci/riptide/riptide.c
patching file riptide.c
Hunk #3 succeeded at 2236 (offset 2 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/riptide'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/rme9652'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/rme9652'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/trident'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/trident'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/vx222'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/vx222'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pci/ymfpci'
copying file alsa-kernel/pci/ymfpci/ymfpci_main.c
patching file ymfpci_main.c
Hunk #2 succeeded at 2049 (offset 5 lines).
Hunk #3 succeeded at 2071 (offset 5 lines).
Hunk #4 succeeded at 2413 (offset 7 lines).
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pci/ymfpci'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/pci'
make[4]: Entering directory `/usr/src/modules/alsa-driver/aoa'
make[5]: Entering directory `/usr/src/modules/alsa-driver/aoa/codecs'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/aoa/codecs'
make[5]: Entering directory `/usr/src/modules/alsa-driver/aoa/core'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/aoa/core'
make[5]: Entering directory `/usr/src/modules/alsa-driver/aoa/fabrics'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/aoa/fabrics'
make[5]: Entering directory `/usr/src/modules/alsa-driver/aoa/soundbus'
make[6]: Entering directory `/usr/src/modules/alsa-driver/aoa/soundbus/i2sbus'
make[6]: Leaving directory `/usr/src/modules/alsa-driver/aoa/soundbus/i2sbus'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/aoa/soundbus'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/aoa'
make[4]: Entering directory `/usr/src/modules/alsa-driver/soc'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/at32'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/at32'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/at91'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/at91'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/au1x'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/au1x'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/codecs'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/codecs'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/davinci'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/davinci'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/fsl'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/fsl'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/omap'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/omap'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/pxa'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/pxa'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/s3c24xx'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/s3c24xx'
make[5]: Entering directory `/usr/src/modules/alsa-driver/soc/sh'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/soc/sh'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/soc'
make[4]: Entering directory `/usr/src/modules/alsa-driver/usb'
copying file alsa-kernel/usb/usbaudio.c
patching file usbaudio.c
Hunk #2 succeeded at 70 with fuzz 2.
Hunk #3 succeeded at 686 (offset 27 lines).
Hunk #4 succeeded at 713 (offset 27 lines).
Hunk #5 succeeded at 794 with fuzz 2 (offset 27 lines).
Hunk #6 succeeded at 809 with fuzz 2 (offset 27 lines).
Hunk #7 succeeded at 1183 with fuzz 1 (offset 23 lines).
Hunk #8 succeeded at 2112 (offset 30 lines).
Hunk #9 succeeded at 2131 (offset 30 lines).
Hunk #10 succeeded at 2143 (offset 30 lines).
Hunk #11 succeeded at 2156 (offset 30 lines).
Hunk #12 succeeded at 2736 (offset 49 lines).
Hunk #13 succeeded at 2808 (offset 49 lines).
Hunk #14 succeeded at 3096 (offset 49 lines).
Hunk #15 succeeded at 3167 (offset 49 lines).
Hunk #16 succeeded at 3288 (offset 49 lines).
Hunk #17 succeeded at 3306 (offset 49 lines).
Hunk #18 succeeded at 3320 (offset 49 lines).
Hunk #19 succeeded at 3333 (offset 49 lines).
Hunk #20 succeeded at 3536 (offset 48 lines).
Hunk #21 succeeded at 3629 (offset 48 lines).
Hunk #22 succeeded at 3767 (offset 49 lines).
Hunk #23 succeeded at 3828 (offset 49 lines).
Hunk #24 succeeded at 3847 (offset 49 lines).
copying file alsa-kernel/usb/usbmidi.c
patching file usbmidi.c
Hunk #2 succeeded at 227 (offset 2 lines).
Hunk #3 succeeded at 251 (offset 2 lines).
Hunk #4 succeeded at 350 (offset 8 lines).
Hunk #5 succeeded at 1465 (offset 103 lines).
Hunk #6 succeeded at 1814 (offset 108 lines).
copying file alsa-kernel/usb/usbmixer.c
patching file usbmixer.c
make[5]: Entering directory `/usr/src/modules/alsa-driver/usb/caiaq'
copying file alsa-kernel/usb/caiaq/caiaq-audio.c
patching file caiaq-audio.c
Hunk #1 succeeded at 1 with fuzz 2.
Hunk #2 succeeded at 448 with fuzz 1 (offset -13 lines).
Hunk #3 succeeded at 511 (offset -8 lines).
copying file alsa-kernel/usb/caiaq/caiaq-device.c
patching file caiaq-device.c
Hunk #2 succeeded at 120 (offset 6 lines).
Hunk #3 succeeded at 370 (offset 6 lines).
copying file alsa-kernel/usb/caiaq/caiaq-input.c
patching file caiaq-input.c
make[5]: Leaving directory `/usr/src/modules/alsa-driver/usb/caiaq'
make[5]: Entering directory `/usr/src/modules/alsa-driver/usb/usx2y'
copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c
patching file usX2Yhwdep.c
copying file alsa-kernel/usb/usx2y/usbusx2y.c
patching file usbusx2y.c
copying file alsa-kernel/usb/usx2y/usbusx2yaudio.c
patching file usbusx2yaudio.c
Hunk #11 succeeded at 1057 (offset 1 line).
copying file alsa-kernel/usb/usx2y/usx2yhwdeppcm.c
patching file usx2yhwdeppcm.c
make[5]: Leaving directory `/usr/src/modules/alsa-driver/usb/usx2y'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/usb'
make[4]: Entering directory `/usr/src/modules/alsa-driver/pcmcia'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pcmcia/pdaudiocf'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pcmcia/pdaudiocf'
make[5]: Entering directory `/usr/src/modules/alsa-driver/pcmcia/vx'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pcmcia/vx'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/pcmcia'
make[4]: Entering directory `/usr/src/modules/alsa-driver/misc'
make[4]: Leaving directory `/usr/src/modules/alsa-driver/misc'
make[3]: Leaving directory `/usr/src/modules/alsa-driver'
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/alsa-driver  CPP="gcc -E" CC="gcc" modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
  CC [M]  /usr/src/modules/alsa-driver/acore/hwdep.o
  CC [M]  /usr/src/modules/alsa-driver/acore/memory_wrapper.o
  CC [M]  /usr/src/modules/alsa-driver/acore/memalloc.o
  CC [M]  /usr/src/modules/alsa-driver/acore/sgbuf.o
  CC [M]  /usr/src/modules/alsa-driver/acore/pcm.o
  CC [M]  /usr/src/modules/alsa-driver/acore/pcm_native.o
  CC [M]  /usr/src/modules/alsa-driver/acore/pcm_lib.o
  CC [M]  /usr/src/modules/alsa-driver/acore/pcm_timer.o
  CC [M]  /usr/src/modules/alsa-driver/acore/pcm_misc.o
  CC [M]  /usr/src/modules/alsa-driver/acore/pcm_memory.o
  CC [M]  /usr/src/modules/alsa-driver/acore/rawmidi.o
  CC [M]  /usr/src/modules/alsa-driver/acore/timer.o
  CC [M]  /usr/src/modules/alsa-driver/acore/wrappers.o
  CC [M]  /usr/src/modules/alsa-driver/acore/misc_driver.o
  CC [M]  /usr/src/modules/alsa-driver/acore/sound.o
/usr/src/modules/alsa-driver/acore/sound.c: In function &#8216;snd_request_other&#8217;:
/usr/src/modules/alsa-driver/acore/sound.c:100: warning: format not a string literal and no format arguments
  CC [M]  /usr/src/modules/alsa-driver/acore/init.o
/usr/src/modules/alsa-driver/acore/init.c: In function &#8216;snd_card_register&#8217;:
/usr/src/modules/alsa-driver/acore/init.c:568: warning: passing argument 5 of &#8216;device_create&#8217; makes pointer from integer without a cast
/usr/src/modules/alsa-driver/acore/init.c:568: warning: format not a string literal and no format arguments
  CC [M]  /usr/src/modules/alsa-driver/acore/memory.o
  CC [M]  /usr/src/modules/alsa-driver/acore/info.o
/usr/src/modules/alsa-driver/acore/info.c: In function &#8216;resize_info_buffer&#8217;:
/usr/src/modules/alsa-driver/acore/info.c:90: error: implicit declaration of function &#8216;PAGE_ALIGN&#8217;
make[5]: *** [/usr/src/modules/alsa-driver/acore/info.o] Error 1
make[4]: *** [/usr/src/modules/alsa-driver/acore] Error 2
make[3]: *** [_module_/usr/src/modules/alsa-driver] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
make: *** [kdist_image] Error 2

Help?

UPDATE:

I am not sure why, but my sound now works. Did this:

  1. Installed ALSA using the script at the beginning of the thread, rebooted (no sound)
  2. Installed ALSA using the same script, but grabbing the development ALSA (no sound)
  3. Added the repository in the post above, tried to configure the kernel module with error (mentioned above) (no sound), rebooted
  4. Removed the packages from step 3 using apt-get remove, then rebooted
  5. Started up. (Sound)

I am on an Hp Pavilion dv4 series with Ubuntu Intrepid 64bit KDE.

#78

slavojzizek said:

/usr/src/modules/alsa-driver/acore/info.c: In function &#8216;resize_info_buffer&#8217;:
/usr/src/modules/alsa-driver/acore/info.c:90: error: implicit declaration of function &#8216;PAGE_ALIGN&#8217;
make[5]: *** [/usr/src/modules/alsa-driver/acore/info.o] Error 1
make[4]: *** [/usr/src/modules/alsa-driver/acore] Error 2
make[3]: *** [_module_/usr/src/modules/alsa-driver] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
make: *** [kdist_image] Error 2

Help?

this issue has been reported for the standard alsa-source package shipping with ubuntu/debian.

some patches have been provided: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/278427

it compiles fine on all my machines ...

I've updated the package so it includes the patch provided in the thread earlier. Please try again and let me know how it goes ...

#79

Hi I installed the 1.0.19 version of alsa driver. The sound was working withour any problem on 8.10 but the mic does not want to work. What can i do?

teo@teo:~$ cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC889
Codec: Intel G45 DEVCTG

Why it says 2 cards?

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
	Subsystem: Sony Corporation Device 9047
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at daa20000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
teo@teo:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
02:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
0b:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
0b:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
0b:04.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
0b:04.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)

As i did not find my model I added

options snd-hda-intel model=auto

when I gave this command ``` teo@teo:~$ sudo gedit /etc/modprobe.d/alsa-base


If you can help me it will be nice
#80

ilcontegis said:

If you can help me it will be nice

You're better off asking on the ALSA distribution list than here

#81

the script worked perfectly on my easynote PackardBell I also had to change the alsa-base file with an option from the proposed ones Thank you for creating it

#82

On the files HD-Audio-Models is not present my model...it arrives until ALC888 But I said one thing wrong

Codec: Realtek ALC889
Codec: Intel G45 DEVCTG

The script automatically changed this parameter as well putting


options snd-hda-intel model=vaio

I dont know what to do else, please help if you can

#83

ilcontegis said: Alsa distribution list? what is? Would you mind to tell me pls?

You could at least make the effort to search... http://www.alsa-project.org/main/index.php/Mailing-lists

#84

jyavenard said: You could at least make the effort to search...

http://www.alsa-project.org/main/index.php/Mailing-lists I did the effort that's why i edited...just you answered too fast lol:D I will try to ask there..

#85

I posted...if somebody knows something please post :) THX

#86

Hi all,

At first i installed Kubuntu 8.10 on my laptop and used the script that soundcheck has posted. Unfortunately there were still no sound.

So i tried installing Kubuntu Jaunty Alpha 4 Release and used the script to update Alsa. And still no sound. so i tried installing the PCM mixer (i think it was called something like that) but still no sound was coming out of the built-in speaker even when i use an external speaker.

But when i plugged the external speaker to the microphone slot, and max the volume of the laptop and the external speaker, i can hear static sound and guess what, sound coming from the music file I'm playing on the amarok.

Laptop is an ECS W341UI (I know, this laptop not a very known laptop) Audio device: ATI Technologies Inc SB450 HDA Audio SigmaTel STAC9200

I'll try to attach the result of the uxchecker when i get back home on Saturday.

I tried all the steps provided scattered in this and the other forums but so far this is the closes i have gotten to having sound.

Please help me,this is the only thing that is holding me back on using Ubuntu as a primary OS..

Thanks...

#87

Hi all, I am new to ubuntu/linux. I am a happy ubuntu user for last 3 weeks. Untill yesterday, my sound card was working fine but with relatively low volume at max level, so I decided to install Asus mobo audio drivers from Asus site, after installing and rebooting my sound card is not detected. I tried lot of solution after goofgling, but no use.

Please help me in this case since I dont want to reinstall ubuntu for this reason.

Thanks

this error I got while installing alsa drivers from asus

"' copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c patching file usX2Yhwdep.c Hunk #3 succeeded at 63 with fuzz 2. copying file alsa-kernel/usb/usx2y/usbusx2y.c patching file usbusx2y.c copying file alsa-kernel/usb/usx2y/usbusx2yaudio.c patching file usbusx2yaudio.c Hunk #10 succeeded at 1057 (offset -1 lines). copying file alsa-kernel/usb/usx2y/usx2yhwdeppcm.c patching file usx2yhwdeppcm.c make[3]: Leaving directory /home/raul/Public/alsa/alsa-driver-1.0.14/usb/usx2y' make[2]: Leaving directory /home/raul/Public/alsa/alsa-driver-1.0.14/usb' make[2]: Entering directory /home/raul/Public/alsa/alsa-driver-1.0.14/pcmcia' make[3]: Entering directory /home/raul/Public/alsa/alsa-driver-1.0.14/pcmcia/pdaudiocf' make[3]: Leaving directory /home/raul/Public/alsa/alsa-driver-1.0.14/pcmcia/pdaudiocf' make[3]: Entering directory /home/raul/Public/alsa/alsa-driver-1.0.14/pcmcia/vx' make[3]: Leaving directory /home/raul/Public/alsa/alsa-driver-1.0.14/pcmcia/vx' make[2]: Leaving directory /home/raul/Public/alsa/alsa-driver-1.0.14/pcmcia' make[1]: Leaving directory /home/raul/Public/alsa/alsa-driver-1.0.14' make -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/home/raul/Public/alsa/alsa-driver-1.0.14 CPP="gcc -E" CC="gcc" modules make[1]: Entering directory /usr/src/linux-headers-2.6.27-11-generic' scripts/Makefile.build:46: * CFLAGS was changed in "/home/raul/Public/alsa/alsa-driver-1.0.14/acore/Makefile". Fix it to use EXTRA_CFLAGS. Stop. make[2]: * [/home/raul/Public/alsa/alsa-driver-1.0.14/acore] Error 2 make[1]: * [_module_/home/raul/Public/alsa/alsa-driver-1.0.14] Error 2 make[1]: Leaving directory /usr/src/linux-headers-2.6.27-11-generic' make: * [compile] Error 2 if [ -L /usr/include/sound ]; then \ rm -f /usr/include/sound; \ ln -sf /home/raul/Public/alsa/alsa-driver-1.0.14/include/sound /usr/include/sound; \ else \ rm -rf /usr/include/sound; \ install -d -m 755 -g root -o root /usr/include/sound; \ for f in include/sound/*.h; do \ install -m 644 -g root -o root $f /usr/include/sound; \ done \ fi find /lib/modules/2.6.27-11-generic/kernel/sound -name 'snd*.*o' | xargs rm -f find /lib/modules/2.6.27-11-generic/kernel/sound -name 'ac97_bus.*o' | xargs rm -f make[1]: Entering directory /home/raul/Public/alsa/alsa-driver-1.0.14/acore' mkdir -p /lib/modules/2.6.27-11-generic/kernel/sound/acore cp snd-page-alloc.ko snd-pcm.ko snd-timer.ko snd.ko /lib/modules/2.6.27-11-generic/kernel/sound/acore cp: cannot stat snd-page-alloc.ko': No such file or directory cp: cannot stat snd-pcm.ko': No such file or directory cp: cannot stat snd-timer.ko': No such file or directory cp: cannot stat snd.ko': No such file or directory make[1]: * [modules_install] Error 1 make[1]: Leaving directory `/home/raul/Public/alsa/alsa-driver-1.0.14/acore' make: * [install-modules] Error 1 Alsa driver compiling failed!"

Any help will be much appreciated !

#88

enigmatic28 said: Hi all,

At first i installed Kubuntu 8.10 on my laptop and used the script that soundcheck has posted. Unfortunately there were still no sound.

So i tried installing Kubuntu Jaunty Alpha 4 Release and used the script to update Alsa. And still no sound. so i tried installing the PCM mixer (i think it was called something like that) but still no sound was coming out of the built-in speaker even when i use an external speaker.

But when i plugged the external speaker to the microphone slot, and max the volume of the laptop and the external speaker, i can hear static sound and guess what, sound coming from the music file I'm playing on the amarok.

Laptop is an ECS W341UI (I know, this laptop not a very known laptop) Audio device: ATI Technologies Inc SB450 HDA Audio SigmaTel STAC9200

I'll try to attach the result of the uxchecker when i get back home on Saturday.

I tried all the steps provided scattered in this and the other forums but so far this is the closes i have gotten to having sound.

Please help me,this is the only thing that is holding me back on using Ubuntu as a primary OS..

Thanks...

I think that you should try to add the right 'option model=' value in your alsa base file, this did it for my machine, and dont be shy testing values that are listed for other machines this worked ok for me

#89

Eric06 said: I think that you should try to add the right 'option model=' value in your alsa base file, this did it for my machine, and dont be shy testing values that are listed for other machines this worked ok for me

so far the only model that i have used was auto, i'll try the other ones listed w/c have the same chipset as mine... hopefully one of them would work..

I hope one of them would work so i can use it as a primary os at home...

#90

Script ran fine on my Mythbuntu 8.0.4.1 but my problem still persists. Neither the master nor the PCM channel controls the volume of the speaker plug in the back (onboard Intel 82801DB-ICH4 chip/system). Only Headphon(e) and the Mic control it (the sound come into the mic from a PVR-350. So this means I can't control the volume with the remote.

Does anyone have any idea how to fix this?

Thanks

IC

#91

thanks.I installed it and hopefully after reboot ,the low volume issue of Hda-Intel codec will be resolved.All Praises to you [B] . EDIT: Compile error - [/B]```

make[3]: * [/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore/hrtimer.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.19/alsa-driver-1.0.19] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.28.7-custom1' make: * [compile] Error 2 alsa-driver-1.0.19 make failed

Never Mind ,I added [/B][http://www.avenard.org/media/Ubuntu_Repository/Entries/2009/3/7_Bleeding___ALSA_1.0.19-1.htmlRepo](http://www.avenard.org/media/Ubuntu_Repository/Entries/2009/3/7_Bleeding___ALSA_1.0.19-1.htmlRepo) and compiled alsa-module for my custom 2.6.28 kernel.that works[B]. thanks [jyavenard]("http://ubuntuforums.org/member.php?u=510602")

[/B]```
[B]root@sher:~# cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.19.
Compiled on Mar 13 2009 for kernel 2.6.28.7-custom1 (SMP).[/B]
#92

Oops, I had a question, but I just got my answer, sorry for interrupting you guys.

#93

Script worked perfectly, and now I finally have sound out of my EMU 1212m. Been banging my head for weeks now trying to make this work. Wish I'd found this first. Thanks so much, soundcheck!

#94

many thanks worked like a charm on a audigy 2 zs Platinium pro.

#95

I finally got sound!!! whooooo!!!

thanks Eric06 for the the hint on trying the options for the other machines thanks Soundcheck for awesome script...

now i just need to install all the software that i need and trim down the fat that i do not need... and also check the microphone if it is working..

thanks a bunch guys..

#96

I have an issue where I can get sound out of my headphone jack, but not from my speakers. I have a new iMac. I'm not very good at troubleshooting drivers in Linux. Where do I start looking to fix this?

#97

Howdy! I have a recent HP mini 1000 (feb 2009, came with MI) that I recently put 9.04 on. I had the sound working with 8.10 and a home made kernel (trying to patch for a TASCAM US 122L) but after wiping it out and doing a clean install I got nothing (9.04 didn't see any sound devices).

The aplay -l output looks like:

** 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

/proc/asound/card0 says the codec is IDT 92HD75B2X5

The info script posting is at

http://www.alsa-project.org/db/?f=be75bf60de34a7c98fcecf50ae45bd5bbd67c80e

I tried the ugrade script and got devices but no sound. I went as far as to download the daily snapshot and installed, still get no sound. Any thoughts? I have model=ref in the alsa-base.conf file, I dont see 92HD75 anywhere in the HD audio docs.

I'm sure I'm missing something, any pointers would be a real help. I've been trotting this netbook out to clients as OSS crack, it'd be really nice if I could get the audio working.

Thanks, Joel

#98

I'm having a little trouble with 1.0.19 on my Acer Aspire 5930. With 1.0.17, I had the "Side" channel which provided some extra volume and most of the bass for my sound output. Since I've upgraded though, I only get ( relatively ) quiet and mostly treble output.

The laptop has "Virtual SurroundSound" and I think the problem is only the Front output is working. I can only get output on other channels if I run ``` speaker-test -l1 -twave -Dplug:default


Anyone else experienced similiar problems or could point me in the right direction to help me diagnose the problem? 1.0.17 played music really well ( even bass-y music ) but 1.0.19 has "broken" that ( but given me HDMI output ) :(
#99

I can't get the Alsa Upgrade script completed on my Lenovo (ubuntu 8.10, kernel 2.6.27-11-generic). I am using the Upgrade script AlsaUpgrade-1.0.x-rev-1.16.sh

I decided to do the steps separately, download first, then compile. Download went smoothly, compile fails very early when trying to apply some patches:

[SIZE="2"][FONT="Courier New"]Hacking autoconf.h... make dep make[1]: Betrete Verzeichnis '/usr/src/Alsa-1.0.19/alsa-driver-1.0.19' make[2]: Betrete Verzeichnis '/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore' copying file alsa-kernel/core/info.c /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/utils/patch-alsa: 24: patch: not found make[2]: * [info.c] Fehler 1 make[2]: Verlasse Verzeichnis '/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore' make[1]: * [dep] Fehler 1 make[1]: Verlasse Verzeichnis '/usr/src/Alsa-1.0.19/alsa-driver-1.0.19' make: *** [include/sndversions.h] Fehler 2

Any idea how to convince make to continue?

Thanks, Hannes alsa-driver-1.0.19 make failed[/FONT][/SIZE]

#100

@ soundcheck

I would like to thank you for the script you made for an easy upgrade of alsa driver. It works just fine.

I started another related tread witch I think is solved.

http://ubuntuforums.org/showthread.php?t=1100552

https://bugs.launchpad.net/ubuntu/+bug/218165

#101

It's amazing this post, thanks for all now i use my sound card correctly.:D Nice job!!!!

#102

I'm getting an error similar to a previous poster I'm running Ubuntu 8.10 Kernel: 2.6.27-11 Alsa revision : Advanced Linux Sound Architecture Driver Version 1.0.17. Upgrade script revision : AlsaUpgrade-1.0.x-rev-1.16.sh

At this point I've only tried to download the source files and compile them. I tried the snap option as well. I suspect I am doing something incredibly stupid but some assistance would be appreciated. Here's the last part of the log file before it fails.

Hacking autoconf.h... make dep make[1]: Entering directory /usr/src/Alsa-1.0.19/alsa-driver-1.0.19' make[2]: Entering directory /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore' copying file alsa-kernel/core/info.c /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/utils/patch-alsa: 24: patch: not found make[2]: * [info.c] Error 1 make[2]: Leaving directory /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore' make[1]: * [dep] Error 1 make[1]: Leaving directory /usr/src/Alsa-1.0.19/alsa-driver-1.0.19' make: *** [include/sndversions.h] Error 2 alsa-driver-1.0.19 make failed

#103

doyama said:

At this point I've only tried to download the source files and compile them. I tried the snap option as well. I suspect I am doing something incredibly stupid but some assistance would be appreciated.

No. We are not stupid ;-) What's missing is the patch program. Install it

sudo apt-get install patch

and go ahead with the Alsa Upgrade Script.

Hannes

#104

Thanks for the info. I got my sound card working after I ran the Alsa upgrade script with -di option and restarted my laptop.

System information:

Lenovo laptop

Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Ubuntu 8.04 - Hardy Heron

#105

Xyem said: I'm having a little trouble with 1.0.19 on my Acer Aspire 5930.

With 1.0.17, I had the "Side" channel which provided some extra volume and most of the bass for my sound output. Since I've upgraded though, I only get ( relatively ) quiet and mostly treble output.

The laptop has "Virtual SurroundSound" and I think the problem is only the Front output is working. I can only get output on other channels if I run ``` speaker-test -l1 -twave -Dplug:default


Anyone else experienced similiar problems or could point me in the right direction to help me diagnose the problem? 1.0.17 played music really well ( even bass-y music ) but 1.0.19 has "broken" that ( but given me HDMI output ) :(

Fixed this :) I had to add the following to /etc/modprobe.d/alsa-base:
> options snd-hda-intel model=acer
#106

This script worked for me! Thank you very much! My hardware is the Intel motherboard: DG45FC and after running the script and rebooting it worked out of the box! Thanks again for writting such a useful script! I wish the ubuntu repos would hurry up and catch up with the releases of ALSA, probably save a lot of people headaches.

#107

Hi , First of all thanks for the script. On Ubuntu 8.04 with & ATI radeon 3200 card configuration i am trying to get my HDMI speakers to work. When i did Ubuntu 8.10 (intrepid) fresh install & installed proprietory ati driver 8.12 i am able to get beep sound in test of gnome-sound-properties but still mplayer or vlc or any other player is still not giving any sound output.

To make sound work on Ubuntu 8.04 i looked for alsa versions in both system & found that Ubuntu 8.10 working on alsa-1.0.17. So i thought to do an alsa upgrade to 1.0.19 on my Ubuntu 8.04 installation

Using the script mentioned i did alsa upgrade to 1.0.19 but still with Hardy (Ubuntu 8.04) i cant hear any sound in test of gnome-sound-properties. Can anyone here help me out to at least upgrade my hardy installation to intrepid levels so that i can hear voice in test from gnome-sound-properties??

#108

I just ran this on Ubuntu 8.10 and now the sound on my ASUS P5Q works just great! I had tried to update ALSA manually but it didn't pan out.

Thanks!

#109

no luck with this either! :confused::confused:

#110

soundcheck said: Latest post update 01/21/2009

To test your first (default-index 0 X=0) soundcard, type e.g.: $ aplay -Dplughw:X,0 -fcd /<your-music-directory>/<replace-this-with-your-soundfile>.wav or e.g. $ speaker-test -Dplughw:X,0 -c2 replace the X with the index of your soundcard index , which you find out by typing "aplay -l" - look for "card X"

The second option works for me, I can hear sound, but when I try the first option to play an mp3 file, it doesn't, what could be wrong?

root@AbleBlue:/opt# aplay -Dplughw:0,0 -fcd /home/moon/Music/Sadma.mp3

Playing raw data '/home/moon/Music/Sadma.mp3' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo root@AbleBlue:/opt#

#111

redenex said: The second option works for me, I can hear sound, but when I try the first option to play an mp3 file, it doesn't, what could be wrong?

Hi there.

I just figured that my thread subscription got lost. I had the impression nobody was using the script any longer. ;)

aplay works on .wav only.

#112

farsiter said: Howdy! I have a recent HP mini 1000 (feb 2009, came with MI) that I recently put 9.04 on. I had the sound working with 8.10 and a home made kernel (trying to patch for a TASCAM US 122L) but after wiping it out and doing a clean install I got nothing (9.04 didn't see any sound devices).

The aplay -l output looks like:

** 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

/proc/asound/card0 says the codec is IDT 92HD75B2X5

The info script posting is at

http://www.alsa-project.org/db/?f=be75bf60de34a7c98fcecf50ae45bd5bbd67c80e

I tried the ugrade script and got devices but no sound. I went as far as to download the daily snapshot and installed, still get no sound. Any thoughts? I have model=ref in the alsa-base.conf file, I dont see 92HD75 anywhere in the HD audio docs.

I'm sure I'm missing something, any pointers would be a real help. I've been trotting this netbook out to clients as OSS crack, it'd be really nice if I could get the audio working.

Thanks, Joel

Hi there.

You need to run the Upgrade-script everytime a kernel or Alsa gets updated!

Good luck

#113

Oh ok thanks, but my sound still do not work!

#114

redenex said: Oh ok thanks, but my sound still do not work!

Last time you said that "speakertest" worked - is it still the case?

In this case I'd say - In general it works.

It still looks to me like a configuration issue on your side.

You might want to checkout your alsamixer settings again.

#115

soundcheck said: Last time you said that "speakertest" worked - is it still the case?

In this case I'd say - In general it works.

It still looks to me like a configuration issue on your side.

You might want to checkout your alsamixer settings again.

I am sure it is. As I mentioned, I have a fresh installation on Intrepid and when I played a song I HAD SOUND for about 2 minutes and froze - never recovered sound since. I know it generally works, but something IS wrong!!

root@AbleBlue:/home/moon# aplay -l

** List of PLAYBACK Hardware Devices ** card 0: SB [HDA ATI SB], device 0: ALC268 Analog [ALC268 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC268 Digital [ALC268 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 6: Si3054 Modem [Si3054 Modem] Subdevices: 1/1 Subdevice #0: subdevice #0 root@AbleBlue:/home/moon#

[IMG]http://img50.imageshack.us/img50/136/83041271.jpg[/IMG]

#116

As you can see. Alsamixer is still "1.0.17". The upgrade did not run through (properly). The logfile will tell us more about it.

Then you got "pulseaudio" as mixer-device defined. You need to get rid of it. You need to set your default device to Alsa under System/Preferences/Sound.

Hint: You can start alsamixer on a dedicated device if you type

alsamixer -c0

for your card 0. It would be -c1 for your 2nd card.

#117

It shows Alsamixer 1.0.19, so how do I get hold of log file? And should I remove all pulseaudio packages?

#118

redenex said: It shows Alsamixer 1.0.19, so how do I get hold of log file? And should I remove all pulseaudio packages?

OK. "Now" it shows 1.0.19. There was a different screen-shot before showing 1.0.17 and pulse . ;)

No you don't have to remove pulseaudio. This is gonna be a difficult task anyhow. Its integration into Intrepid is a mess. The guys didn't seem to follow any rules when doing it. There are open trouble-tickets about this. It seems that they have done something about it in Jaunty.

If you disable pulseaudio under preferences it should be OK.

The upgrade-logfile is stored under /var/log you'll see a file starting with "Alsa...$date-timestamp".

#119

All right, I have removed pulseaudio completely. Going for a reboot, let's pray for the best :)

#120

Sorry about that, yes it was a wrong screen shot I uploaded before, and since edited.

I found the log file,, but cant attach it since the size it way too huge. But I guess the installation has come out fine.

#121

As the next step you'll have a look at the HD-audio models file, which is available in the first post. Lookup the model-id matching your codec.

Even though you run a known codec ALC268, it doesn't mean that the mapping of ports works correctly. Every motherboard looks different.

You need to look up a model-id which comes close to your machine in above mentioned file. You can even try all of them one after another. You need to reboot the machine everytime you change this.

You need to assign this model-id to your diver: snd-hda-intel in /etc/modprobe.d/alsa.base

the line at the bottom of the file will look like :

options snd-hda-intel index=0 model=xxxxxx

xxxxxx is the id as shown in the file matching your machine best.

If all this is still not working you need to run the script with the -snap option to get the very latest drivers from the development tree.

As I read above you need to install the patch program first before your run the -snap option: sudo apt-get install patch

#122

I am on HP TX1005AU which means

ALC861VD/660VD

============== 3stack 3-jack 3stack-dig 3-jack with SPDIF OUT 6stack-dig 6-jack with SPDIF OUT 3stack-660 3-jack (for ALC660VD) 3stack-660-digout 3-jack with SPDIF OUT (for ALC660VD) lenovo Lenovo 3000 C200 dallas Dallas laptops hp HP TX1000 asus-v1s ASUS V1Sn auto auto-config reading BIOS (default)

Should I append this line you mentioned to my file? (as below)

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
#   Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
#   non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
#123

As you can see the codec is a different one:

ALC268 is yours:



ALC267/268
==========
  quanta-il1	Quanta IL1 mini-notebook
  3stack	3-stack model
  toshiba	Toshiba A205
  acer		Acer laptops
  acer-dmic	Acer laptops with digital-mic
  acer-aspire	Acer Aspire One
  dell		Dell OEM laptops (Vostro 1200)
  zepto		Zepto laptops
  test		for testing/debugging purpose, almost all controls can
		adjusted.  Appearing only when compiled with
		$CONFIG_SND_DEBUG=y
  auto		auto-config reading BIOS (default)

Your HP is not in there. I'll checkout that latest snapshot.

#124

oh okay! Thanks. Also please guide me as to how to append that line in the file.

#125

The newest snapshot comes with quite some new codecs.

I'd recommend better to install it. ( use -snap option)

Afterwards (after reboot) you can look up codec details here:

less /proc/asound/card0/codec#0

In the header you'll find your codec.

You can edit the file:

sudo gedit /etc/modprobe.d/alsa.base

Just add the line mentioned earlier

The new HD-Audio-Models file you'll find here:

/usr/src/alsa-driver-1.0.19.old/alsa-driver-1.0.19/alsa-kernel/Documentation/HD-Audio-Models.txt

run: gedit /usr/src/alsa-driver-1.0.19.old/alsa-driver-1.0.19/alsa-kernel/Documentation/HD-Audio-Models.txt

I gotta run now. The principle how to tackle your problem should be clear by now.

If all this won't help you need to write a trouble ticket for this. You need to run the alsa-info.sh script and send it to the alsa-mailing list otherwise the ALSA guys won't move.

#126

Sorry asking, I am not a technical expert, but how or where do I get to install the new"snapshot" from? Can I do an apt-get install?

#127

redenex said: Sorry asking, I am not a technical expert, but how or where do I get to install the new"snapshot" from? Can I do an apt-get install?

No. It is all prepared for cases like yours. ;)

You need to run my script with the "-snap" option. It downloads/compiles and installs the latest snapshot.

But again run a:

sudo apt-get install patch

due to whatever reasons first (people are reporting that the utility is missing)

#128

Yup thanks, I figured it out. Installation in progress, will keep you updated!

keeping fingers crossed

#129

Thanks for all the help here, but ironically it is not working. And for now I give up and am frustrated!!! Either it wont work, or that I did something wrong!!! :(

#130

I updraded to Jaunty still sound will not work! Funny life it is!

#131

redenex said: I updraded to Jaunty still sound will not work! Funny life it is!

With the latest ALSA snapshot, which you installed earlier, you're at least half a year ahead of Jaunty. ;) In the end you did a "rollback" in terms of Alsa.

#132

haha, I rolled back Jaunty as well. Anyway, for the time being I may have to rely on Vista to listen to songs! I give up for now!

#133

redenex said: haha, I rolled back Jaunty as well. Anyway, for the time being I may have to rely on Vista to listen to songs! I give up for now!

Never give up! ;) Just send a mail to the alsa-mailing-list (they won't kill you - they ask for it) and your problem might get resolved quickly. You just need to send them the logilfe of their alsa-info.sh script.

#134

Will do, I reinstalled Intrepid for now, so I have to re-run the script and send them the details. Thanks again.

#135

Soundcheck! Thanks for your useful script. I ran it as instructed and got sound through my EMU 1212m sound card for the first time ever on Ubuntu. However my problem now is upon rebooting I loose the sound.

Is there something else I need to do? like post installation configuration, using a gedit style configuration file or something.

The only way I can get the sound back is by running the script using the -r option, rebooting then starting afresh using the -d then -i for install; which again gives me sound, however upon rebooting the sound disappears. Help!!

#136

mixtri said: Soundcheck!

Thanks for your useful script. I ran it as instructed and got sound through my EMU 1212m sound card for the first time ever on Ubuntu. However my problem now is upon rebooting I loose the sound.

Is there something else I need to do? like post installation configuration, using a gedit style configuration file or something.

The only way I can get the sound back is by running the script using the -r option, rebooting then starting afresh using the -d then -i for install; which again gives me sound, however upon rebooting the sound disappears. Help!!

That's a good one.

Did you fix the indexes, check alsamixer etc.

  1. I assume you aren't booting different kernels.
  2. Did you run the "mandatory, minimum checks and configs" ?
#137

Similar problem here...

been using kubuntu 8.10, but it's so incomplete I decided to revisit gnome world... installed Linux Mint 6 (it's intrepid based) and surprisingly lost sound.

Now comes the wierdness...

adter running the script (thnx btw!!) I got sound, but only stereo, and dolby and other surround is muted. than I run sudo alsa force-reload and everything works perfectly until the second reboot.

Very wierd.. what to do?

btw... it's an intel integrated card using S/PDIF optical out... not at the comp atm for aditional info...

#138

NiksaVel said: Similar problem here...

been using kubuntu 8.10, but it's so incomplete I decided to revisit gnome world... installed Linux Mint 6 (it's intrepid based) and surprisingly lost sound.

Now comes the wierdness...

adter running the script (thnx btw!!) I got sound, but only stereo, and dolby and other surround is muted. than I run sudo alsa force-reload and everything works perfectly until the second reboot.

Very wierd.. what to do?

btw... it's an intel integrated card using S/PDIF optical out... not at the comp atm for aditional info...

I just run stereo-out only. Something wrong with asound.conf/.asoundrc? Why does this happen after 2nd reboot? :confused:

Mint is no problem ( at least stereo). My 2nd machine runs Mint.

#139

I don't know how to troubleshoot those files... not very knowledgeable with alsa.....

having full surround working is a must as this is my HTPC...

running boxee mostly, but same behaviour with totem and vlc...

#140

Fantastic, great script.

After searching for months trying to sort out the sound problems with my PowerMac G4 finally something that works.

Just one smallish point

After instalation my sound device was changed from PowerMac Tumbler to SoundByLayout in order to get it back I had to run

sudo alsaconf

then restart alsa

now at last sound is great.

many thanks.

#141

Hi - trying to upgrade to the latest Alsa, to get support for the Creative Emu 0404. The website says I should use this command at the crucial stage:

./configure --with-cards=emu10k1 --with-sequencer=yes ; make ; make install

Right at the end of the process I get this:

cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/2.6.27-11-generic/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.19/acore'
make: *** [install-modules] Error 1

Does anyone have any ideas? Can I run this script with the emu10k1 option at all?

Thanks a lot

Wilf

#142

After upgrade from 8.04, my mic input was broken. I installed this script but to no avail. I finally found a fix for it here, and I recommend it to anyone who has sound but can't get mic capture to work.

#143

Thank you, thank you, thank you!!!

I just upgraded my 8.10 mythbuntu box and completely lost the sound. I feared a long drawn out process of getting alsa working again. But after 20 minutes of googling and some despair on my part as to lack of information, I stumbled across your post.

Your script works like a charm. Excellent work.

Thanks again.

#144

Dr.Suave said: Hi - trying to upgrade to the latest Alsa, to get support for the Creative Emu 0404. The website says I should use this command at the crucial stage:

./configure --with-cards=emu10k1 --with-sequencer=yes ; make ; make install

Right at the end of the process I get this:

cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/2.6.27-11-generic/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.19/acore'
make: *** [install-modules] Error 1

Does anyone have any ideas? Can I run this script with the emu10k1 option at all?

Thanks a lot

Wilf

Run my script. And everything should be fine. emu10k1 will be covered ;)

Anyhow -- your above emu10k1 config will also work. But you'll loose your internal sound if you compile it as you do above. You should at least add "hda-intel" . That's why I recommend to compile "all". It won't hurt! And doesn't matter what you plug in it'll work as long as Alsa supports it ;)

Your problem should be a different one though:

Install the kernel-headers (done by the script)

sudo apt-get install linux-headers-uname -r

You than can try run the configure with option "--with-kernel=/usr/src/linux-headers-uname -r"

Good luck.

#145

My god, it worked! Soundcheck, thank you so much for the script and the tips. After some other upgrade the sound had quit completely and I was going nuts looking for a solution. After running your script my sound has returned. FWIW, my initial installation indicated the on-board sound device as ALC888. After running your script the device is now recognised as ALC1200, which is what is specified in the MB manufacturer's specifications.

After running your script I had sound and could play .mp3 and .wav files but no streaming audio off of the 'net. I solved that by setting the System/Preferences/Sound preferences from Autodetect to ALSA and restarting Firefox. Thanks to "bcooperb" in the thread "HELP! Music with Rhythmbox Music Player but not on Firefox???" for the tip.

My system: MB - Asus M3A78-T, 0802 bios CPU - AMD Phenom II x4 810, 3.18 GHz RAM - 2 GB Crucial PC8500 On-board Video - ATI Radeon HD 3300 On-board Audio - ATI RS780 Azalia / ATI Technologies Inc SBx00 Azalia (Intel HDA) / ALC1200 OS - ubuntu 8.10, kernel 2.6.27-11-generic

#146

In reply to my previous post regarding having to reload alsa all the time when using the S/PDIF surround - I've installed the -snap version and EVERYTHING works perfectly now!!! Didn't have to change anything at all... just updated alsa with your script and reinstalled the computer.

Thank you!

Ant tham again - after the second reboot I am back down to the same problem... after reboot I only have stereo, running 5.1 movies gives me no sound. Even my amplifier shows that there is no sound info recieving. Running alsa force-reload gives normal working system...

But after every second reboot I need to rerun it.

#147

I thought if i make the upgrade i wouldnt have problem with the sound playing in speakers and headphones at the same time...but i still have the problem....what can i do so i wont have sound in speakers and just in headphones? :( Maybe i did something wrong when installing the upgrade? i set all other options on ALSA in sound preferences except the default mixer bla bla.I put that one on HDA (alsa mixer). So whats the problem that i still hear sound in headphones and speakers too? someone please help me this is the secound week im trying to fix the problem and searching on the net for solutions :(:(:(

#148

I've installed the script and successfully upgraded ALSA. Thanks bigtime for that :D

Even so, running "amixer set 'Capture' cap" was the only way to get the mic detected (GUI methods didn't work) in other apps, but Ekiga still will not detect it.

(had to run "amixer set 'Capture' cap" to get this running)

ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default Segmentation fault

ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

  1. Skype detects the mic, as does Audacity and Voicerecorder
  2. When running Ekiga in terminal, the following error is given:
  3. Though Skype detects the mic, it still gives a similar error in terminal:
  4. pulseaudio and jackd are not installed

Any ideas on what this error means or how to fix it?

#149

I WANT A FU****G SOLUTION IM GETTING DESPERATE....i use UBUNTU for movies music and navigating on the net....and programing somethimes...but if i cant use to listen to music and movies with HEADPHONES in a word ubuntu SUCKS....what king of OS is this and the headphones dont work as they should? im getting mad now its almost 2 weeks and still no resolve on my problem im getting MAD and im startin to F ubuntu in a matter of days.

PLeaSE SOMEONE HELP ME WITH THIS F PROBLEM..

#150

D3M3NTU said: I WANT A FU****G SOLUTION IM GETTING DESPERATE....i use UBUNTU for movies music and navigating on the net....and programing somethimes...but if i cant use to listen to music and movies with HEADPHONES in a word ubuntu SUCKS....what king of OS is this and the headphones dont work as they should? im getting mad now its almost 2 weeks and still no resolve on my problem im getting MAD and im startin to F ubuntu in a matter of days.

PLeaSE SOMEONE HELP ME WITH THIS F PROBLEM..

Maybe you should go use Windows. You apparently don't understand what Linux is all about. It's certainly not for everybody.

#151

I downloaded and installed (so I think) the AlsaUpgrade, so thanks! The trouble is that I still don't have more than a sixteenth of the sound which my laptop can produce.

I had previously downloaded and installed Pulse Audio over the default settings, per another thread on this site, but found that the sound had gone from bad to even worse (just barely audible at all, with your ear right up on it). Concerned that it would be less difficult to do a clean install of Ubuntu (Intrepid) than to undo those changes, that's what I did. Prior to the clean install, I was able to look at the mixer sliders (following the installation of Pulse Audio) in Applications>Sound & Video, but now that menu item, as it is with several others which are on it, don't yield anything when I click on it. This seems a bit strange to me, but at least I had access to System>Preferences>Sound, where everything was set on Auto, and included options (which all did the same thing when tested) were Intel HD and PulseAudio...hmmm. They all do the same thing, equally bad now, so I'm wondering what's with that?

I went to your thread which led me to this one, where I edited the AlsaBase file in /etc/modprobe.d, adding this line:

options snd-hda-intel model=dallas

At least, I think that's how you told me to specify the code for my make and model (computer, not sound card). When that didn't improve my sound on the reboot, I replaced "dallas" with "Toshiba", and when on the reboot it again remained the same, "Toshiba dallas". That caused my computer to get lost altogether for sound, it locked up the main GNOME bar volume slider. So, I know that Ubuntu detects my sound chip (card, whichever), but it isn't using it correctly, and now, so many codecs and upgrades later, I'm still getting the same awful performance - plus, since this Ubuntu install, I cannot even access the mixer in the Applications menu.

My laptop is a Toshiba Satellite L305 (-S5933 if that matters), and has the Intel HD Audio Controller (ICH9 Family, 828011). I have not made any modifications besides the enabling of wireless network detection, the default upgrades which the big red arrow called for, what is described above, and what you posted on this specific thread, concerning the AlsaUpgrade.

When I did the AlsaUpgrade, following the four steps which you had posted, everything seemed to go well, but this last command which you specified had me confused:

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh

Terminal would not accept the above command just that way. It listed options, and apparently at least one was required. It had me scratching my head, but I tried -di, and then -i. Both yielded some action, and then a long wait, but no report of success when it was finished, but I guess it could be presumed to have been done. Oh, what was also strange, considering that I was in the same directory as AlsaUpgrade-1.0.x-rev-1.16.sh (when I wasn't, the command failed altogether) is that when I used this command with one of the options it required, it prompted me for further input before it could begin. I didn't know what else to type other than the file name, so I did, and it moved on from there. Now, another fix, and another reboot later (and I'm really sorry I have to keep asking this), I still don't have any performance improvement - so, is there something else which you think will work, or is it now looking like Alsa still hasn't caught up with Toshiba?

#152

TSJason said: Maybe you should go use Windows. You apparently don't understand what Linux is all about. It's certainly not for everybody.

I just saying that im a nervous type and i lose my temper realy fast and i hate when i cant watch a damn movie in the time that i have free at work....so i ask again what else can i do so i can have the headphones work properly?

I saw at others that this upgrade worked for someone wich had the same problems as i have...but why its doesnt work for me? from what i read at the people that the upgrade worked they had the same sound card, so thats why im too angry because at me it doesnt work. PLEASE i want the headphones to work so in the time that i have free at work i can listen to music or see a movie without let the others know(that will get me in trouble). Thx i really would apreciate some help.

#153

TSJason said: Maybe you should go use Windows. You apparently don't understand what Linux is all about. It's certainly not for everybody.

I'm really sad that this needs saying, but here you have a direct result of Ubuntu promotion hype. It's all over the posts, including this forum. You may not have participated in the nonsense yourself, but it's now your problem just as it is for everyone involved. The site newbie faq says that Ubuntu is "not hard" to use. Ok, well if spending all of your free time at your keyboard chasing down fixes for wireless access, media codecs, video problems, sound issues (worst of all for me), and unbelievable bugs in need of fixing, leaving you with no time for basic household chores, much less socializing isn't considered "hard" by the Ubuntu promotion team, than I wonder what their own definition of that word is. You can save it with the "ubuntu is not Windows" rhetoric, it's getting to sound more like a religious cult every time I hear that. This is what you hear AFTER you've already jumped in!

I realize that my own setup problems are unusual, and that Toshiba isn't exactly mainstream, but we have people making some pretty far out statements, which others are following - my favorite is that Linux will beat out Windows. If I had experienced just one tenth of the grief which I have so far, I'd be on the floor laughing at that one. Windows is so easy to set up and use, that even the mentally challenged can find their way around it. Now they've found their way to Ubuntu, and found that it's not what it was hyped up to be. Very few can honestly be expected to find this to be less than an all-consuming challenge, and while it's a great product if you can get it working, not all will be able to accomplish that for all their hours of effort - how do you expect them to react? I'm sorry that you dedicated techs now have to deal with this, but you can't blame them for it.

As for me, I was told that Ubuntu has a GUI, but not what was missing. They did say not to be afraid of the command line, which I'm not - it's the endless hours of futility when fixes are followed to the last letter, dot, and slash which are causing me the worst nightmares in a very long time. But with all the time invested already, don't tell me to go use Windows - I wanna get this monster fixed! If that isn't possible, please be honest enough to admit that the Linux community still doesn't have support for my hardware. Thank you very much!

#154

I guess the rule of thumb for those who want things to just work is stick to the LTS releases only. I actually had a pretty good experience in comparison to Windows with 8.04. I found myself curious about getting a video editor to work in Ubuntu and heard that 8.10 supports a later version of Open Movie Editor. That's how I got sucked in to a non-LTS Ubuntu (Intrepid), which is now, too, consuming a lot of my time in reading boards, trying commands, and filing bug reports.

I'm more than willing to put my spare time into filing bug reports - I think that's giving back to the community. But yeah I somewhat regret upgrading to 8.10 right now.

#155

Guys cut with the crap i need a fix to the problem that i have with HDA intel (ALSA mixer) i have sound in speakers too when i plug the headphones.I did the ALSA Upgrade Script and the problem still persists.Can someone help me to solve my problem? or im just waste my time here :cry::cry:

#156

Hi,

I have a problem with the upgrade script (running 8.10/AMD64). I also have some audio problems I was hoping ALSA 1.0.19 would help with. First though, the script dies compiling in plugins/a52 with a

/usr/local/lib/libavcodec.a: could not read symbols: Bad value

I'm guessing my compile and install of the latest ffmpeg (0.5) isn't sitting right with the ALSA code base or maybe it's this script. So far, nothing has been harmed by trying.

The actual sound problem I want to fix is to record from the line-in jack. In 8.04 it sort of worked (with regular chirps every few seconds). I upgraded to 8.10. Now all I can record is silence. Somehow, I came to believe that ALSA isn't "really" using the correct input. It's an NVidia/Realtek ALC-883. Now, neither the mic or line-in record. Yet, there is music passing thru. There's an FM tuner on line-in and and an amplifier/speakers on line out. Line-in and line-out are working, linked [looped like the tape monitor they sit between]. It only stops when I reboot and it restarts early in the boot process. I've removed PulseAudio. Something else is linking line-in to line-out and hiding the connections or sharing them. This hidden loopback has to be in ALSA or it's config files.

Any ideas? On either the a52 compile problem or how or where to understand what Alsa is doing? Please don't say their wiki.

#157

Ian Clark said: I guess the rule of thumb for those who want things to just work is stick to the LTS releases only. I actually had a pretty good experience in comparison to Windows with 8.04. I found myself curious about getting a video editor to work in Ubuntu and heard that 8.10 supports a later version of Open Movie Editor. That's how I got sucked in to a non-LTS Ubuntu (Intrepid), which is now, too, consuming a lot of my time in reading boards, trying commands, and filing bug reports.

So I have heard, and so I tried. You may need an older machine to run 8.04 - my Acer desktop wouldn't even load my 8.04 CD (downloaded from separate sources and burned twice), and that machine is over a year old! I bought my laptop just two months ago, and then made the mistake of forgetting to defrag that stupid whole-drive Windows partition before shrinking it down - so I'm in a bit of a bind here! It's truly amazing how quickly Windows will scatter everything here and there. For reasons like this, I am perfectly willing to sing Linux praises, if the people who run this site would just make it easier to setup, with better support. I don't expect it to be as easy as Windows, and I do appreciate the inexorable superiority of command line power. But if a system remains accessible only to dedicated geeks, than how does that make it practical to those who have interests away from the keyboard? Maybe Alsa needs to start buying products for reverse-engineering, rather than wait for the industry to talk to them - I'd donate money for that cause, if I were convinced it would keep their drivers up-to-date.

I'm more than willing to put my spare time into filing bug reports - I think that's giving back to the community. But yeah I somewhat regret upgrading to 8.10 right now.

I've already written out my list of bugs, which I'll file as soon as I get my computers working passably.

#158

The script would be faster if you use make -j4 (4 jobs) instead of a normal make

#159

I fixed the libavcodec problem and Alsa 1.0.19 is install, just as the script promises.

FWIF, in my ffmpeg tree, make clean; ./configure -enable-shared; make; sudo make install; Previously, Alsa looked in /usr/local/lib and found a non-shared libavcodec library and choked (rightfully) when compiling.

#160
  1. Name your Ubuntu revision:8.10,x86_64
  2. Kernel revision:2.6.27-11-generic
  3. Alsa revision:

Driver version: 1.0.19 Library version: 1.0.19 Utilities version: 1.0.19 Kernel release: 2.6.27-11-generic Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: 1.0.19 Library version: 1.0.19 Utilities version: 1.0.19

ALSA-Configuration1.0.19.tar ALSA-Configuration1.0.19.txt alsa-info.sh alsa-info.sh.1.0.19.tar alsa-info.txt AlsaUpgrade-1.0.x-rev-1.16.sh AlsaUpgrade-1.0.x-rev-1.16.tar dirlist HD-Audio-Models.tar HD-Audio-Models.txt uxchecker-1.05.sh uxchecker-1.05.tar

  1. Upgrade script revision

I lost my sound 3 days ago after a system update, I was using pulseaudio as my sound server, then I followed this link to stop the pulseaudio http://onlyubuntu.blogspot.com/2008/11/fix-for-no-sound-issue-in-ubuntu-810.html also removed pulseaudio from the session manager

  1. A bit of background what you've done resp. done before

link of my alsa-info.txt http://www.mediafire.com/upload_complete.php?id=35ylzge11m3 could you please tell me where the log file generated by uxchecker-1.05.sh? cause i couldnt find it. and which part of the info is not security-related? thx

  1. Attach the relevant logs

screenshot of my sound preferences http://www.mediafire.com/?1dgtiymbizg screenshot of my gnome mixer http://www.mediafire.com/?dzb9wnmtwjb

#161

Thanks a lot for the great work. Works perfekt on a Lenovo S10e netbook and Skype (I was unable to get the Mikro work) with Jaunty UNR beta installed. again thanks :)

#162

earthtux said:

  1. Name your Ubuntu revision:8.10,x86_64
  1. Kernel revision:2.6.27-11-generic
  2. Alsa revision:

Driver version: 1.0.19 Library version: 1.0.19 Utilities version: 1.0.19 Kernel release: 2.6.27-11-generic Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: 1.0.19 Library version: 1.0.19 Utilities version: 1.0.19

ALSA-Configuration1.0.19.tar ALSA-Configuration1.0.19.txt alsa-info.sh alsa-info.sh.1.0.19.tar alsa-info.txt AlsaUpgrade-1.0.x-rev-1.16.sh AlsaUpgrade-1.0.x-rev-1.16.tar dirlist HD-Audio-Models.tar HD-Audio-Models.txt uxchecker-1.05.sh uxchecker-1.05.tar

  1. Upgrade script revision

I lost my sound 3 days ago after a system update, I was using pulseaudio as my sound server, then I followed this link to stop the pulseaudio http://onlyubuntu.blogspot.com/2008/11/fix-for-no-sound-issue-in-ubuntu-810.html also removed pulseaudio from the session manager

  1. A bit of background what you've done resp. done before

link of my alsa-info.txt http://www.mediafire.com/upload_complete.php?id=35ylzge11m3 could you please tell me where the log file generated by uxchecker-1.05.sh? cause i couldnt find it. and which part of the info is not security-related? thx

  1. Attach the relevant logs

screenshot of my sound preferences http://www.mediafire.com/?1dgtiymbizg screenshot of my gnome mixer http://www.mediafire.com/?dzb9wnmtwjb

can anyone help me? thx

#163

The alsa upgrade script uninstaller don't work. Before restoring execute:

sudo rm -Rf /lib/modules/`uname -r`/kernel/sound

and then

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -r

to make it work. Tested with jaunty beta

#164

Thank you very. My sound stopped working after the most recent kernel upgrade and I thought I was screw. However, you little script not only got me my audio back, I have way better playback quality with the new driver.

Thank you

#165

The last few hours have been painful. I updated my mythbuntu system after 2 months of just leaving it alone. I reinstalled the Nvidia 180.22 drivers and got vid working immediately. But I now I no sound over HDMI and I have fought for the last 3 hours to get it back.

I reinstalled ALSA using the script here: http://ubuntuforums.org/showthread.p...10#post6589810

I ran alsa -l and got: matt@mythbuntu:~$ aplay -l Code:

** 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

So it is seeing the HDMI output! Good, but it used to look like this (subdevices are different numbers): Code:

matt@mythbuntu:/etc$ 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: 0/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 0/1 Subdevice #0: subdevice #0

I used to get sound using this command, but my receiver won't acknowledge there is any audio input: Code:

speaker-test -Dplughw:0,3 -c2

I use this asound.conf file that I know is overkill. I found it on the net months ago and it worked for me so I just left it.

When I run alsamixer I get this new problem: Code:

matt@mythbuntu:~$ sudo alsamixer [sudo] password for matt:

alsamixer: function snd_ctl_open failed for default: Invalid argument

I am really mad that I upgraded a working MythTV system. WTF was I thinking? Any ideas?

MAtt

#166

I removed pulseaudio completely and have Alsa set, but still my problem remains the same. When I play a song, it plays for about 5 seconds and dies out and no sound after that. :guitar:

#167

robynhub said: The alsa upgrade script uninstaller don't work.

Before restoring execute:

sudo rm -Rf /lib/modules/`uname -r`/kernel/sound

and then

sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -r

to make it work. Tested with jaunty beta

THX a lot. I'll check it out and change this. Cheers

#168

korgman said: The last few hours have been painful. I updated my mythbuntu system after 2 months of just leaving it alone. I reinstalled the Nvidia 180.22 drivers and got vid working immediately. But I now I no sound over HDMI and I have fought for the last 3 hours to get it back.

I reinstalled ALSA using the script here: http://ubuntuforums.org/showthread.p...10#post6589810

I ran alsa -l and got: matt@mythbuntu:~$ aplay -l Code:

** 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

So it is seeing the HDMI output! Good, but it used to look like this (subdevices are different numbers): Code:

matt@mythbuntu:/etc$ 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: 0/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 0/1 Subdevice #0: subdevice #0

I used to get sound using this command, but my receiver won't acknowledge there is any audio input: Code:

speaker-test -Dplughw:0,3 -c2

I use this asound.conf file that I know is overkill. I found it on the net months ago and it worked for me so I just left it.

When I run alsamixer I get this new problem: Code:

matt@mythbuntu:~$ sudo alsamixer [sudo] password for matt:

alsamixer: function snd_ctl_open failed for default: Invalid argument

I am really mad that I upgraded a working MythTV system. WTF was I thinking? Any ideas?

MAtt

  1. Don't run alsamixer as root.
  2. You might also check your preferences/sound and your extended gnome-mixer settings.
  3. Perhaps you just try a plain aplay -dplughw:........

Good luck

#169

redenex said: I removed pulseaudio completely and have Alsa set, but still my problem remains the same. When I play a song, it plays for about 5 seconds and dies out and no sound after that. :guitar:

Do you have a chance to try another soundcard/output?

#170

earthtux said:

  1. Name your Ubuntu revision:8.10,x86_64
  1. Kernel revision:2.6.27-11-generic
  2. Alsa revision:

Driver version: 1.0.19 Library version: 1.0.19 Utilities version: 1.0.19 Kernel release: 2.6.27-11-generic Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: 1.0.19 Library version: 1.0.19 Utilities version: 1.0.19

ALSA-Configuration1.0.19.tar ALSA-Configuration1.0.19.txt alsa-info.sh alsa-info.sh.1.0.19.tar alsa-info.txt AlsaUpgrade-1.0.x-rev-1.16.sh AlsaUpgrade-1.0.x-rev-1.16.tar dirlist HD-Audio-Models.tar HD-Audio-Models.txt uxchecker-1.05.sh uxchecker-1.05.tar

  1. Upgrade script revision

I lost my sound 3 days ago after a system update, I was using pulseaudio as my sound server, then I followed this link to stop the pulseaudio http://onlyubuntu.blogspot.com/2008/11/fix-for-no-sound-issue-in-ubuntu-810.html also removed pulseaudio from the session manager

  1. A bit of background what you've done resp. done before

link of my alsa-info.txt http://www.mediafire.com/upload_complete.php?id=35ylzge11m3 could you please tell me where the log file generated by uxchecker-1.05.sh? cause i couldnt find it. and which part of the info is not security-related? thx

  1. Attach the relevant logs

screenshot of my sound preferences http://www.mediafire.com/?1dgtiymbizg screenshot of my gnome mixer http://www.mediafire.com/?dzb9wnmtwjb

The log files you'll find under /var/log.

#171

soundcheck said: Do you have a chance to try another soundcard/output?

Can you guide me how I do that please?

#172

Tuxoid said: Thank you very. My sound stopped working after the most recent kernel upgrade and I thought I was screw. However, you little script not only got me my audio back, I have way better playback quality with the new driver.

Thank you

I've had this happen on two Intrepid machines that were running the latest Alsa from this script ( my laptop and my fathers laptop ) where suddenly the sound no longer worked. On my laptop, I had to add myself back to the 'audio' group and re-run this script. When my father had the same problem I just did the same thing which brought sound back in both cases. On another Intrepid machine, there hasn't been a problem but it is using the Alsa from the repo.

Perhaps this should be noted in the opening post?

#173

The nvidia upgrade for Intrepid borked my sound totally. All work up to now destroyed, no mic, no sound whatsoever. I filed a bug here: https://bugs.launchpad.net/ubuntu/+bug/358470

Pulse audio is disabled according to these steps.

#174

Xyem said: I've had this happen on two Intrepid machines that were running the latest Alsa from this script ( my laptop and my fathers laptop ) where suddenly the sound no longer worked. On my laptop, I had to add myself back to the 'audio' group and re-run this script. When my father had the same problem I just did the same thing which brought sound back in both cases. On another Intrepid machine, there hasn't been a problem but it is using the Alsa from the repo.

Perhaps this should be noted in the opening post?

Hi there.

It is noted!

Any Alsa or kernel-update/upgrade requires rerunning the script. Thus e.g. upgrading your Ubuntu from Intrepid to Jaunty will require rerunning the script.

I also made clear that the script is not intended for people without any knowledge about Linux. (Even though it seems to work quite well for many of them). You should be able to read what I've done in there and understand it. It is not rocket science.

Don't blame me if something gets screwed!

General remark:

If you see that even Jaunty - in its BETA state - is far behind ALSA current stable releases ( I don't want to start mentioning the possibility to install the latest driver snapshot with the script), I think it is well worth the extra effort.

It seems that the whole situation never changes. As I said in the first post: It is IMO not acceptable that ALSA (and all other drivers) is tight to the kernel and that it takes that long for Ubuntu to get these updated. I am wondering if these things are discussed at all.

As we can see, at least updating the ALSA drivers should be possible. The script has been downloaded more then 8500 times by now. Look at the reported problems. Close to nothing. I mad a proposal at the Ubuntu-proposal-site . These things seem to be ignored.

They just don't understand that "Sound" (which comes right after "Graphics") is key to get a wider spread and acceptance of Ubuntu and Linux in general.

Cheers

#175

Ian Clark said: The nvidia upgrade for Intrepid borked my sound totally. All work up to now destroyed, no mic, no sound whatsoever. I filed a bug here: https://bugs.launchpad.net/ubuntu/+bug/358470

Pulse audio is disabled according to these steps.

I realized that if you run NIVIDIA or ATI GPUs with embedded sound chips the upgrade might need to run a bit different.

I don't run such a setup. But I can look into it. If you step over a solution let us know.

Cheers

#176

soundcheck said:

  1. Don't run alsamixer as root.
  1. You might also check your preferences/sound and your extended gnome-mixer settings.
  2. Perhaps you just try a plain aplay -dplughw:........

Good luck

1) I get the same error if I run alsamixer as myself alsamixer: function snd_ctl_open failed for default: Invalid argument 2) Mythbuntu doesn't have gnome. I think it uses XFCE 3) What more should I add to that line to get a tone based on my settings?

matt@mythbuntu:/etc$ 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: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
#177

korgman said: 1) I get the same error if I run alsamixer as myself

alsamixer: function snd_ctl_open failed for default: Invalid argument 2) Mythbuntu doesn't have gnome. I think it uses XFCE 3) What more should I add to that line to get a tone based on my settings?

matt@mythbuntu:/etc$ 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: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0

Did you try running the script with "-snap" to install the latest snapshot?

#178

Okay some progress. It is PCM related, I got audio over HDMI by changing my asound.conf to this http://www.avsforum.com/avs-vb/showthread.php?p=16212422#post16212422 and I used the second example.

I got sound now when I type speaker-test -Dplughw:0,3 -c2

I can also play wav files using aplay -Dplughw:0,3 -fcd sound.wav

I can bring up alsamixer if I add a parameter like alsamixer -c0

There was a lot of stuff muted again in the mixer. so progress here. now I need to get sound back out using Mythtv

...OK...Its all back to working. It was all getting into alsamixer by adding that -c0 parameter.

#179

korgman said: Okay some progress. It is PCM related, I got audio over HDMI by changing my asound.conf to this http://www.avsforum.com/avs-vb/showthread.php?p=16212422#post16212422 and I used the second example.

I got sound now when I type speaker-test -Dplughw:0,3 -c2

I can also play wav files using aplay -Dplughw:0,3 -fcd sound.wav

I can bring up alsamixer if I add a parameter like alsamixer -c0

There was a lot of stuff muted again in the mixer. so progress here. now I need to get sound back out using Mythtv

...OK...Its all back to working. It was all getting into alsamixer by adding that -c0 parameter.

There is a reason, why I said in the opening post "Check your Alsamixer settings before you start complaining!"

90% of all issues are related to Alsamixer.

Cheers

#180

Which you will see I tried in my first post and got the error. alsamixer: function snd_ctl_open failed for default: Invalid argument

The -c0 is something I've never had to add before in 6 months of using mythbuntu.

#181

I have tried it with -snap on Kubuntu 9.04 beta and got this error:


...
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
Hacking autoconf.h...
make dep
make[1]: &#1042;&#1093;&#1086;&#1076; &#1074; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19'
make[2]: &#1042;&#1093;&#1086;&#1076; &#1074; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore'
copying file alsa-kernel/core/info.c
patching file info.c
Hunk #2 FAILED at 155.
Hunk #3 succeeded at 162 (offset -5 lines).
Hunk #4 succeeded at 172 (offset -5 lines).
Hunk #5 succeeded at 203 (offset -5 lines).
Hunk #6 succeeded at 490 (offset -5 lines).
Hunk #7 FAILED at 530.
Hunk #8 FAILED at 994.
Hunk #9 succeeded at 1018 (offset -10 lines).
3 out of 9 hunks FAILED -- saving rejects to file info.c.rej
make[2]: *** [info.c] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make[2]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore'
make[1]: *** [dep] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make[1]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19'
make: *** [include/sndversions.h] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2
alsa-driver-1.0.19 make failed
#182

[img]http://img18.imageshack.us/img18/6874/screenshotteddyableblue.png[/img]

[img]http://img105.imageshack.us/img105/1548/screenshotsoundpreferen.png[/img]

Still no sound, any help?

#183

Interesting turn of events. I just took a flash based online quiz and the SOUND DID WORKED!!!!!! When I connect the external speakers I guess the jack is not identified, but from the laptop speakers sound do arise. But...... when I used the laptop's volume control, the sound just died out!!!

Any guidance? :guitar:

teddy@AbleBlue:~$ cat /proc/asound/card0/codec#* | grep Codec

Codec: Realtek ALC268 Codec: Motorola Si3054 teddy@AbleBlue:~$

#184

After restart, aplay -l says NO SOUND CARD FOUND!!!

#185

redenex said: After restart, aplay -l says NO SOUND CARD FOUND!!!

This usually happens if an upgrade/update took place in between. You should try to run the script again.

#186

This worked for me:

mobo: ECS A780GM-A Onboard Video: ATI Radeon HD 3200 Audio Chipset: IDT 92HD206 chip: ATI RS690/780 HDMI model: STAC92xx monitor: Sharp HDTV 780p

8.10 Intrepid 2.6.27-11-generic

/etc/modprobe.d/alsa-base options snd-hda-intel index=0 model=auto

/etc/modules snd-hda-intel

After one of the Update Manager file upgrades (maybe coincidence), sound was lost but display was functioning. I tried the following with no success; reinstalled alsa, installed oss4 (then uninstalled), purchased a new HDMI chord and ran ALSA Upgrade Script (this helped stabilize the previous installs).

Still picture with no sound. Then tried switching to another HDMI input on the Sharp HDTV, and voila, we have sound.

#187

Ran the script, then ran "aplay -l" and got:

aplay: device_list:215: no soundcards found...

any suggestions?

#188

klss said: This usually happens if an upgrade/update took place in between.

You should try to run the script again. I reran the script and I'm still getting this.

#189

I too get the 'aplay: device_list:215: no soundcards found...' When doing an update via the script.

I ended up having to do the following: Remove


sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils

Reinstall


sudo apt-get install linux-sound-base alsa-base alsa-utils

If GDM and GNOME uninstall themselves along with ALSA, then:


sudo apt-get install gdm ubuntu-desktop

to get back to my initial state.

I then tried to update using -snap option (after usin the -d), but i get the following error:


make dep
make[1]: Entering directory `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19'
make[2]: Entering directory `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore'
copying file alsa-kernel/core/info.c
patching file info.c
Hunk #2 FAILED at 155.
Hunk #3 succeeded at 162 (offset -5 lines).
Hunk #4 succeeded at 172 (offset -5 lines).
Hunk #5 succeeded at 203 (offset -5 lines).
Hunk #6 succeeded at 490 (offset -5 lines).
Hunk #7 FAILED at 530.
Hunk #8 FAILED at 994.
Hunk #9 succeeded at 1018 (offset -10 lines).
3 out of 9 hunks FAILED -- saving rejects to file info.c.rej
make[2]: *** [info.c] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.19/alsa-driver-1.0.19'
make: *** [include/sndversions.h] Error 2
alsa-driver-1.0.19 make failed

I will try and recompile alsa manually and see what happens.

On another note, there was a guy who half way through this thread who maintains some 'bleeding edge' media repositories:


To install and use my Ubuntu packages on your system follow those steps:

1) Add the signing GPG key

    wget http://www.avenard.org/files/ubuntu-repos/ubuntu-repos.key && sudo apt-key add ubuntu-repos.key && rm ubuntu-repos.key


   2.

      2)Add repository.

    For Intrepid (Ubuntu 8.10)

        echo "deb http://www.avenard.org/files/ubuntu-repos intrepid release" | sudo tee /etc/apt/sources.list.d/avenard.list

Also add this to the /etc/apt/sources.list
deb http://www.avenard.org/files/ubuntu-repos intrepid bleeding


    For Jaunty (Ubuntu 9.04)

        echo "deb http://www.avenard.org/files/ubuntu-repos jaunty release" | sudo tee /etc/apt/sources.list.d/avenard.list


    For Hardy (Ubuntu 8.04)

        echo "deb http://www.avenard.org/files/ubuntu-repos hardy release" | sudo tee /etc/apt/sources.list.d/avenard.list

Do a 'check for update' and you will find that alsa will be upgraded to .19

However, it still doesn't fix my no sound/light from my spdif !!!!!

ice.

#190

I'm real excited about this,though i am updating on this particular moment.. i really hope this will finally fix my trouble with the intel HDA chip on my main-board... if it does,i really will go trough the roof...

ill keep ya folks posted ;)

#191

I get this error in the log file:


-------------------------------------------------------------
-  Prepare for compilation and installation...
-------------------------------------------------------------

/usr/src/Alsa-1.0.19 not found

So I can only guess that Jaunty isn't supported by version 1.16 of the script.

Here's some specifics for my setup:


$uname -a
Linux Ilum 2.6.28-11-generic #41-Ubuntu SMP Wed Apr 8 04:39:23 UTC 2009 x86_64 GNU/Linux

$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

$ sudo lshw -C multimedia
  *-multimedia UNCLAIMED  
       description: Audio device
       product: 82801I (ICH9 Family) HD Audio Controller
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:00:1b.0
       version: 03
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0

Most importantly here's my Alsa-info: http://www.alsa-project.org/db/?f=a9435157780a1df9e43a60d4a8d8ff62018bf2e0

I've just about tried everything, so at this point I get this:


$ aplay -l
aplay: device_list:217: no soundcards found...

It's a brand new Dell laptop, so I hope someone has a guess that might help out.

#192

As i said i would keep you posted about the Intel issue mentioned earlier in this thread,i finally managed to improve it a little,though it still is sucky,so this script doesn't really fix all... but it helped me a bit to a solution.

Just why is it so damn hard to get a HDA Intel chip to work right.... ah,the hell with it.. its time to get myself a better sound-card.....

#193

icedfusion said: I too get the 'aplay: device_list:215: no soundcards found...' When doing an update via the script.

Are you running Ibex as well? I think I'll give up for the moment and wait until Jaunty comes out. I don't know how much hope there is that Jaunty will fix this, but its better than nothing. And I've been searching for a solution to this for way too long. (It's becoming a lifestyle, I still have a dayjob)...

#194

thank you ver much for your work!

Downloaded the script, and everything went smoothly. Sound quality improved as well, but I still have no microphone so skype is still useless for me :(

Do you know any workaround for mic on HP pavillion laptops? I'm still convinced ALSA is using the wrong chipset for me...

&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;[AlsaMixer v1.0.19 (Press Escape to quit)]&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488; &#9474; Card: HDANVidia &#9474; &#9474; Chip: Conexant CX20561 (Hermosa)

#195

I don't have sound through the speakers anymore. Tried the -r option, there's nothing to do. Stil doesn't work. I'm on HP Pavillon dv4 1105ef with HDA Intel STAC 92xx Analog

#196

Still have a problem with my headphone jack with this driver upgrade. See notes below....hopefully someone can help!!

[B]1. Name your Ubuntu revision [/B] Ubuntu 8.10 Intrepid Ibex [B]

[/B] kernel 2.6.27-11-generic (SMP).

  1. Kernel revision

[B]3. Alsa revision [/B] Advanced Linux Sound Architecture Driver Version 1.0.19. Compiled on Apr 16 2009 for kernel 2.6.27-11-generic (SMP).

[B]4. Upgrade script revision [/B] AlsaUpgrade-1.0.x-rev-1.16

[B]5. A bit of background what you've done resp. done before [/B] So far sound was working OOB on my ubuntu install with kernel 2.6.27-11. I did have a problem where my headphones would not deactivate the front speakers. Headphone volume changes in the ALSA mixer would not reduce headphone volume. Front speaker volume changes in the ALSA mixer would reduce BOTH headphone and front speak volume. Essentially the two were married instead of being independent of one another. Since I travel a bunch with this laptop I would like the front speakers to disable when i am wearing headphones...

I read some stuff about a headphone-jack-sensing feature that should be enabled. After mucking around with the alsa-base file and some model types with no success I tried to run the script. On installation of the script my sound was dead. I entered my admin profile and forced a reload of the alsa system with:

sudo /sbin/alsa force-reload

This brought my sound back while running 1.0.19 (was previously running 1.0.17.) The problem has gotten worse with the headphones, though, since now the jack doesn't work at all. There is still no headphone jack sensing option.

My laptop is an HP dv6t purchased just a couple of weeks ago. The codec is listed in aplay as:

** 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 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0

[B]6. Attach the relevant logs [/B] Output of uxconfig with -a lsa switch:

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • Alsa-Version

Advanced Linux Sound Architecture Driver Version 1.0.19. Compiled on Apr 16 2009 for kernel 2.6.27-11-generic (SMP).

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • aplay --version

aplay: version 1.0.19 by Jaroslav Kysela <perex@perex.cz>

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • aplay -l - all playback devices

** 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 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • aplay -L - all pcms

default:CARD=Intel HDA Intel, STAC92xx Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0 HDA Intel, STAC92xx Digital IEC958 (S/PDIF) Digital Audio Output null Discard all samples (playback) or generate zero samples (capture) default:CARD=HDMI Default Audio Device hdmi:CARD=HDMI HDA ATI HDMI, ATI HDMI HDMI Audio Output

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • arecord -l - all recording devices

** List of CAPTURE Hardware Devices ** card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • /proc/asound/devices

0: [ 0] : control 4: [ 0- 0]: hardware dependent 16: [ 0- 0]: digital audio playback 17: [ 0- 1]: digital audio playback 24: [ 0- 0]: digital audio capture 32: [ 1] : control 33: : timer 36: [ 1- 0]: hardware dependent 51: [ 1- 3]: digital audio playback

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • /proc/asound/cards

0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xda100000 irq 22 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xda010000 irq 17

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • codec card0

Codec: IDT 92HD75B3X5 Address: 0 Vendor Id: 0x111d7603 Subsystem Id: 0x103c3628 Revision Id: 0x100202 No Modem Function Group found Default PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1 GPIO: io=8, o=0, i=0, unsolicited=1, wake=1 IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Power-Map: 0x00 Analog Loopback: 0x00 Node 0x0a [Pin Complex] wcaps 0x400181: Stereo Pincap 0x0000001c: OUT HP Detect Pin Default 0x40f100f0: [N/A] Other at Ext N/A Conn = 1/8, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 3 0x10 0x11 0x17* Node 0x0b [Pin Complex] wcaps 0x400081: Stereo Pincap 0x00001724: IN Detect Vref caps: HIZ 50 GRD 80 Pin Default 0x02a11020: [Jack] Mic at Ext Front Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=01, enabled=1 Node 0x0c [Pin Complex] wcaps 0x400081: Stereo Pincap 0x00001724: IN Detect Vref caps: HIZ 50 GRD 80 Pin Default 0x40f000f1: [N/A] Other at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x1 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=00, enabled=0 Node 0x0d [Pin Complex] wcaps 0x400181: Stereo Pincap 0x00000014: OUT Detect Pin Default 0x90170110: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 3 0x10 0x11* 0x17 Node 0x0e [Pin Complex] wcaps 0x400081: Stereo Pincap 0x00001724: IN Detect Vref caps: HIZ 50 GRD 80 Pin Default 0x01813040: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue DefAssociation = 0x4, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=02, enabled=1 Node 0x0f [Pin Complex] wcaps 0x400181: Stereo Pincap 0x00000014: OUT Detect Pin Default 0x02014040: [Jack] Line Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x4, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 3 0x10 0x11 0x17* Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Amp-Out caps: N/A Amp-Out vals: [0x54 0x54] Converter: stream=0, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Amp-Out caps: N/A Amp-Out vals: [0x54 0x54] Converter: stream=0, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power: setting=D3, actual=D3 Delay: 13 samples Connection: 1 0x1c Processing caps: benign=0, ncoeff=0 Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power: setting=D3, actual=D3 Delay: 13 samples Connection: 1 0x1d Processing caps: benign=0, ncoeff=0 Node 0x14 [Pin Complex] wcaps 0x400100: Mono Pincap 0x00000030: IN OUT Pin Default 0x40f000f0: [N/A] Other at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x00: Connection: 1 0x16 Node 0x15 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x10 0x11 0x17* Node 0x16 [Audio Mixer] wcaps 0x200100: Mono Connection: 1 0x15 Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] Connection: 5 0x10 0x11 0x14 0x1a 0x1b Node 0x18 [Pin Complex] wcaps 0x40000b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Pincap 0x00000020: IN Pin Default 0x90a60350: [Fixed] Mic at Int N/A Conn = Digital, Color = Unknown DefAssociation = 0x5, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Node 0x19 [Pin Complex] wcaps 0x40000b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Pincap 0x00000020: IN Pin Default 0x40f000f4: [N/A] Other at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x4 Pin-ctls: 0x00: Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 3 0x0b* 0x0c 0x0e Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 3 0x0b* 0x0c 0x0e Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x0d 0x0d] Connection: 4 0x1a* 0x17 0x18 0x19 Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x8f 0x8f] Connection: 4 0x1b* 0x17 0x18 0x19 Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x00000010: OUT Pin Default 0x024511a0: [Jack] SPDIF Out at Ext Front Conn = Optical, Color = Black DefAssociation = 0xa, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x24 Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital Pincap 0x00010010: OUT EAPD EAPD 0x0: Pin Default 0x40f000f5: [N/A] Other at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x5 Pin-ctls: 0x00: Power: setting=D0, actual=D0 Connection: 2 0x24* 0x25 Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x00000010: OUT Pin Default 0x40f000f0: [N/A] Other at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x00: Connection: 1 0x25 Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x24 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x21* 0x1c 0x1d Node 0x25 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x22* 0x1c 0x1d Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1 Amp-Out vals: [0x00] Node 0x27 [Volume Knob Widget] wcaps 0x600000: Mono Volume-Knob: delta=1, steps=127, direct=0, val=127 Connection: 2 0x10* 0x11

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • codec card1

Codec: ATI R6xx HDMI Address: 0 Vendor Id: 0x1002aa01 Subsystem Id: 0xaa0100 Revision Id: 0x100100 No Modem Function Group found Default PCM: rates [0x70]: 32000 44100 48000 bits [0x2]: 16 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital Pincap 0x00000094: OUT Detect HDMI Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x02

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • codec card2

cat: /proc/asound/card2/codec*: No such file or directory

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • alsa mixer settings

Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 127 Mono: Playback 84 [66%] [-32.25dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Front',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 127 [100%] [0.00dB] [on] Front Right: Playback 127 [100%] [0.00dB] [on] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 13 [87%] [19.50dB] [on] Front Right: Capture 13 [87%] [19.50dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 15 [100%] [22.50dB] [off] Front Right: Capture 15 [100%] [22.50dB] [off] Simple mixer control 'Analog Loopback',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'Analog Loopback',1 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'DAC0',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 23 [74%] [0.00dB] [off] Front Right: Capture 23 [74%] [0.00dB] [off] Simple mixer control 'DAC1',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 23 [74%] [0.00dB] [off] Front Right: Capture 23 [74%] [0.00dB] [off] Simple mixer control 'Import0 Mux',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 23 [74%] [0.00dB] [off] Front Right: Capture 23 [74%] [0.00dB] [off] Simple mixer control 'Import1 Mux',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 23 [74%] [0.00dB] [off] Front Right: Capture 23 [74%] [0.00dB] [off] Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'Line' Item0: 'Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Mic' 'Line' Item0: 'Mic' Simple mixer control 'Mux',0 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] Simple mixer control 'Mux',1 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] Simple mixer control 'PC Beep',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 3 Mono: Playback 0 [0%] [-18.00dB] [off] Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 127 [100%] [0.00dB] [on] Front Right: Playback 127 [100%] [0.00dB] [on]

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • playback-stream card 0

cat: /proc/asound/card0/stream0: No such file or directory

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • playback-stream card 1

cat: /proc/asound/card1/stream0: No such file or directory

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • playback-stream card 2

cat: /proc/asound/card2/stream0: No such file or directory

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • alsactl -v

alsactl version 1.0.19

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • alsa-base

autoloader aliases

install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7

Cause optional modules to be loaded above generic modules

install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; } install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; } install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; } install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; } install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; } install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }

Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; } install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

Load snd-seq for devices that don't have hardware midi;

Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for

non-Creative Labs PCI hardware

install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }

Prevent abnormal drivers from grabbing index 0

options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-usx2y index=-2 options snd-usb-caiaq index=-2

Ubuntu #62691, enable MPU for snd-cmipci

options snd-cmipci mpu_port=0x330 fm_port=0x388

Keep snd-pcsp from beeing loaded as first soundcard

options snd-pcsp index=-2 options snd-hda-intel model=hp-m4

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • base-alsa-config - user specific

cat: /home/cvs/.asoundrc: No such file or directory

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • base-alsa-config - system

cat: /etc/asoundrc: No such file or directory

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • sound-devices

crw-rw----+ 1 root audio 116, 0 2009-04-16 20:45 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 32 2009-04-16 20:45 /dev/snd/controlC1 crw-rw----+ 1 root audio 116, 4 2009-04-16 20:45 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 36 2009-04-16 20:45 /dev/snd/hwC1D0 crw-rw----+ 1 root audio 116, 24 2009-04-16 20:45 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 16 2009-04-16 21:04 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 17 2009-04-16 20:45 /dev/snd/pcmC0D1p crw-rw----+ 1 root audio 116, 51 2009-04-16 20:45 /dev/snd/pcmC1D3p crw-rw----+ 1 root audio 116, 33 2009-04-16 20:39 /dev/snd/timer

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • Ubuntu revision

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.10 Release: 8.10 Codename: intrepid

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • kernel

Linux cvs-laptop 2.6.27-11-generic #1 SMP Wed Apr 1 20:57:48 UTC 2009 i686 GNU/Linux

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • kernel modules - installed

Module Size Used by st 45212 0 lp 17156 0 parport_pc 39332 0 snd_hda_intel 33736 1 ipv6 263972 14 af_packet 25728 4 binfmt_misc 16904 1 rfcomm 44560 0 sco 18308 2 bridge 56980 0 stp 10628 1 bridge bnep 20480 2 l2cap 30464 6 rfcomm,bnep bluetooth 61924 6 rfcomm,sco,bnep,l2cap ppdev 15748 0 acpi_cpufreq 15500 1 cpufreq_powersave 9856 0 cpufreq_ondemand 14988 1 cpufreq_conservative 14600 0 cpufreq_stats 13188 0 freq_table 12672 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats cpufreq_userspace 11396 0 container 11520 0 sbs 19464 0 pci_slot 12680 0 sbshc 13440 1 sbs iptable_filter 10752 0 ip_tables 19600 1 iptable_filter x_tables 22916 1 ip_tables sbp2 29324 0 parport 42604 3 lp,parport_pc,ppdev joydev 18368 0 arc4 9984 2 ecb 10880 2 crypto_blkcipher 25476 1 ecb snd_hda_codec_atihdmi 11648 1 iwlagn 99844 0 iwlcore 94532 1 iwlagn pcspkr 10624 0 serio_raw 13444 0 evdev 17696 13 rfkill 17176 2 iwlcore psmouse 45200 0 snd_hda_codec_idt 64768 1 uvcvideo 63624 0 led_class 12164 1 iwlcore compat_ioctl32 9344 1 uvcvideo videodev 41344 1 uvcvideo v4l1_compat 22404 2 uvcvideo,videodev mac80211 216820 2 iwlagn,iwlcore snd_hda_codec 77568 3 snd_hda_intel,snd_hda_codec_atihdmi,snd_hda_codec_idt sdhci_pci 15360 0 sdhci 23940 1 sdhci_pci snd_hwdep 15492 1 snd_hda_codec mmc_core 58268 1 sdhci snd_pcm 83716 2 snd_hda_intel,snd_hda_codec cfg80211 32392 3 iwlagn,iwlcore,mac80211 fglrx 2066564 33 wmi 14504 0 video 25232 0 output 11008 1 video snd_timer 29448 1 snd_pcm battery 18436 0 ac 12292 0 snd 67492 8 snd_hda_intel,snd_hda_codec_idt,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer button 14224 0 intel_agp 33724 0 agpgart 42184 2 fglrx,intel_agp soundcore 15328 1 snd shpchp 38036 0 pci_hotplug 34976 1 shpchp snd_page_alloc 16776 2 snd_hda_intel,snd_pcm ext3 133256 1 jbd 55828 1 ext3 mbcache 16004 1 ext3 sr_mod 22212 0 sd_mod 42392 3 crc_t10dif 9984 1 sd_mod cdrom 43168 1 sr_mod sg 39732 0 ahci 37132 2 libata 178208 1 ahci scsi_mod 155212 6 st,sbp2,sr_mod,sd_mod,sg,libata dock 16656 1 libata ohci1394 37936 0 ieee1394 96324 2 sbp2,ohci1394 r8169 36100 0 mii 13440 1 r8169 ehci_hcd 43788 0 uhci_hcd 30864 0 usbcore 149488 4 uvcvideo,ehci_hcd,uhci_hcd thermal 23708 0 processor 42156 4 acpi_cpufreq,thermal fan 12548 0 fbcon 47648 0 tileblit 10880 1 fbcon font 16512 1 fbcon bitblit 13824 1 fbcon softcursor 9984 1 bitblit fuse 60828 3

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

  • uxchecker.sh revison 1.05 ; logfile at: /var/log/uxchecker-1.05-041609-21.05.log
#197

Hello, I have a problem with a Creative X.FI Extreme Audio. I've never been able to make it work in Ubuntu 8.04. I've read that this sound card should work with the lasts version of Alsa, but I have no sound. I've tried following the steps in this post:

http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg21618.html

but the sound still doesn't work.

I also have an on-board sound card, that works with no problem. Now I have deactivated that sound card through BIOS in order to avoid any possible conflict.

1. Name your Ubuntu revision

Ubuntu 8.04

2. Kernel revision

2.6.24-23-generic (buildd@palmer) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP

3. Alsa revision

Advanced Linux Sound Architecture Driver Version 1.0.19.

4. Upgrade script revision

AlsaUpgrade-1.0.x-rev-1.16

Please, can anyone help me.

#198

soundcheck said:

  1. sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh

Great :D used with -r switch roberto@roberto-desk:~$ sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -r my problem was solved (originally was a little music from earphone jack and nothing from sound output jack and after perfect run)

tanks again Roberto

#199

This whole thing doesn't work for me still. My debug is here. Up to now, most people say I should downgrade to 8.04 or switch to OSS. It's truly amazing since so many people are having problems with Intrepid. I just need snd-intel8x0 to be installed right and to load. I get error messages when installing the module. The help around here is giving up on me.

#200

I recently got a Dell Vostro 220 that has the ALC662 / ICH10 config which looks like it works fine without using this script. Since many other posts cover the real issues and steps to get it working, I will just list some of the steps I took so others with this system might benefit. Beyond a stock config, I put a GeForce 7300GS into the PCI-E slot to get the most out of my 24". Otherwise, the Dell is a stock config.

Had a 8.04 CD around from a previous install and all went fine on this system. Reboot once installed, update and no-go on the sound. Kernel modules work but dmesg and logs show no errors. I wound up finding the 8.10 CD that I thought had been lost so I figured why not just reinstall and see if it goes, since I had only a cell modem tethered for Internet.

Upon boot into 8.10, the same problem happened. This thread, which thankfully comes up at or near the top via Google, contained the solution. I decided to upgrade early to 9.10 via the system since this can usually solve minor problems with things. Reboot about an hour later after all is goot and the same issue happens. No big errors with sound, made sure things are not muted, tried different ports while playing, and all show no error but no sound.

At first, I did not want to use the script given its non-clean (not using dpkg/apt for install) but decided to go since the last time I did not have a working sound card in Linux was in 1.2-kernel days--really sad.

I grabbed the last updated script, from January '09 at time of writing, and ran it on top of the 2.6.28-11 kernel found here. It ran for about 15 minutes (fast cpu/fast internet) and then exited, prompting a reboot. I did so and was welcomed a minute later by some sound. Awesome. I've not done anything but use the rear port (I think the card is a 6-ch digital) connected to my ipod via a 1-bit dac for regular stereo sound.

Thanks.

#201

Hi! I've a acer 6930. I've edited /etc/modprobe.d/alsa-base.conf and /etc/modprobe.d/alsa-base too, adding options snd-hda-intel model=auto but it doesn't work. Also i added options snd-hda-intel model=acer but it doen't work too. I dont know if there's a bug with pulseaudio but i can not mute my speaker with the headphones pluged.

Any idea??

Thank you a lot!

BR.

#202

Hi! First off, the specs: Ubuntu 9.04 Beta Alsa 1.0.19 (did the driver-snap) HP dv9500-series (dv9656eo to be exact) ALC268 NVidia 8600M GS

Your script worked perfectly on my computer :) I still have some troubles though. Leaving /etc/modprobe.d/alsa-base unmodified (there was no file there) and the sound worked. I want to get audio over HDMI to work however, so, I tried switching between models. No model in 267/268 group seem to be HP, I tried a few, but got pretty much the same results, in some cases the audio seemed a bit choppy.

After a quick google, I saw someone with a HP-laptop recommending to set the model to auto, so I did. For the first time I get some digital devices in aplay -l aswell as a SPDIF output in aplay -L which is digital. I don't have any optical outputs however.

Output of alsa -L with model=auto:

default:CARD=Intel HDA Intel, ALC268 Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0 HDA Intel, ALC268 Digital IEC958 (S/PDIF) Digital Audio Output null Discard all samples (playback) or generate zero samples (capture)

output of alsa -l with model=auto

** List of PLAYBACK Hardware Devices ** card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC268 Digital [ALC268 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] Subdevices: 1/1 Subdevice #0: subdevice #0

That middle digital device wasn't there when the sound worked. (when i had no alsa-base set). I've seen HDMI-devices listed here for people successful in enabling audio over HDMI. But I do need a digital device aswell? no?

/etc/modprobe.d/alsa-base commented out:

** List of PLAYBACK Hardware Devices ** card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] Subdevices: 1/1 Subdevice #0: subdevice #0 luceat@luceat-laptop:~$ aplay -L default:CARD=Intel HDA Intel, ALC268 Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers null Discard all samples (playback) or generate zero samples (capture)

/etc/modprobe.d/alsa-base commented out:

** List of PLAYBACK Hardware Devices ** card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] Subdevices: 1/1 Subdevice #0: subdevice #0

Yell if you need more logs :) Cheers!

#203

Hardy user with a Lenovo R61i over here...I'm trying to wrap my head around this one. I'm also using the PPA provided by psyke83 in order to patch PulseAudio, if it means anything...

I followed the instructions to the letter from this blog post which in turn was referenced in this Launchpad bug report.

I was able to download ALSA, apply the patch, and build it using the script. Unfortunately, I'm having no luck. Per the logfile:


checking for ALSA&#8230; configure: error: Package requirements (alsa >= 1.0.11) were not met:

No package &#8216;alsa&#8217; found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS
and ALSA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

alsa-plugins-1.0.19 configure failed

Any ideas?

#204

Hi! My specs: Ubuntu 9.04 Beta Alsa 1.0.19 (driver-snap) ACER 6930G ALC888 NVidia 9600 GT

Your script worked perfectly on my computer but I still have some troubles though.

  • every boot, i don't have sound, restarting alsasound twice it fix my problem
  • in alsa-base.conf i have options snd-hda-intel=acer, all works fine (frontal + subwoofer speaker) but i have noise with internal mic
#205

YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY! FIXED MY SPIDIF ON HDMI! THANK YOU THANK YOU THANK YOU THANK YOU!

Now to fix dual screens, I had it fine on Ubuntu but cant figure it out on Kubuntu

#206

I have a STAC9221 sound card and it worked without any problem after installing alsa with your script and setting up "options snd-hda-intel model=ref" in /etc/modprobe.d/alsa-base (although I'm not sure if it was necessary).

Thank you! Ubuntu 8.10 (32bits) Kernel: 2.6.27-11

#207

Thank you.

pike2k said: 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 ............................................................................................................

#208

Thank you. Sound now works in this ASUS F80L series (albeit extremely quietly, but hey, there's always the amp)

#209

Hi, is there a central location that I can download the latest update of this script at any time?

#210

Hello,

I have installed ubuntu 8.04 on a hp 8530p and i had no sound. I tried everything, but nothing worked. I installed your script and i had sound !!!!!!!!!! These is so greaaaaaat. This is why i like linux. Thanx a lot for these work.

#211

I try to install the script since yesterday, but I always get a timeout while connecting to

ftp.alsa-project.org|160.217.9.25|:21..

Is there any other way to get the new latest version?

#212

Same problem as above. The script is constantly timeouting when trying to download from ftp://ftp.alsa-project.org/pub/driver/ I hope they will fix their ftp soon.

#213

Any feedbacks about Intel 82801H (ICH8 Family) whit Ubuntu 9.04 ? I'm updated to alsa 1.0.19 (using this script) but have no sound :(

MadeMyDay said: I try to install the script since yesterday, but I always get a timeout while connecting to

ftp.alsa-project.org|160.217.9.25|:21..

Is there any other way to get the new latest version?

MadeMyDay use the file that I uploaded . :)

#214

emo1912 said: Any feedbacks about Intel 82801H (ICH8 Family) whit Ubuntu 9.04 ?

I'm updated to alsa 1.0.19 (using this script) but have no sound :(

MadeMyDay use the file that I uploaded . :) Hey, The thread owner should update the file at the top of the thread with the one from emo1912.

Thanks for the fix emo

#215

np contractcooker :)

I resolved my problems with sound with this script (lite fixes about original script), orginal script and manual from here. _For users at Acer Aspire 6920_ :guitar:

#216

Hello there!

Got some problems installing alsa... using the script.

Board: Asus M3A78-T with ALC1200 sound chip

3.1 at the moment: 1.0.18 3.2 to be installed: 1.0.19

  1. Name your Ubuntu revision: 9.04
  2. Kernel revision: 2.6.28-11-generic
  3. Alsa revision
  4. Upgrade script revision: 16

log during install reports: configure: error: *** libasound has no external plugin SDK alsa-plugins-1.0.19 configure failed

if needed, details can be obtained in the log files... in Desktop.zip

Hope you can help me, wanted to upgrade to get my SPDIF running(hopefully)... Tried really everything, but didn't help... :/ mixer is my second name...

Don't know why, but IEC958 regulater in mixer is missing, only IEC958 switch is present.

also check: http://www.alsa-project.org/db/?f=3eeff7a986f4092c720513029e2fc6bfb5d7161c

SOLVED:

seems like everything is working now, that error had no effect.... Well, also my SPDIF problem is resolved, simply by adding that 6stack-dig line!! :)

#217

Just wanted to say thanks for this script. I just updated ALSA 1.0.18 -> 1.0.19 in Jaunty on my Lenovo S10 with no problems. After I installed 1.0.19 I went ahead and installed the latest driver snapshot. Then magically my internal mic started working. Now everything works correctly on this laptop.

Now for someone to take the next step and add a repository so we don't have to re-run the script every time the kernel or ALSA gets updated.

Also, I had to make a few minor changes tot he script since I use medibuntu. Basically I removed the packages that apt-get said had conflicts with my installation. Is there any known problems from doing this?

Thanks again for the script.

#218

MadeMyDay said: I try to install the script since yesterday, but I always get a timeout while connecting to

ftp.alsa-project.org|160.217.9.25|:21..

Is there any other way to get the new latest version?

Just open up the script in a text editor and change ftp.alsa-project.org to one of their mirrors, such as http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/


header "Downloading and extracting ALSA packages..."
wget http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/driver/$DRIVER.tar.bz2 && tar -xjf $DRIVER.tar.bz2 
wget http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/firmware/$FIRMWARE.tar.bz2 && tar -xjf $FIRMWARE.tar.bz2 
wget http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/lib/$LIB.tar.bz2 && tar -xjf $LIB.tar.bz2 
wget http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/plugins/$PLUGINS.tar.bz2 && tar -xvf $PLUGINS.tar.bz2 
wget http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/utils/$UTILS.tar.bz2 && tar -xjf $UTILS.tar.bz2 
wget http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/tools/$TOOLS.tar.bz2 && tar -xjf $TOOLS.tar.bz2 
wget http://ftp.iasi.roedu.net/mirrors/ftp.alsa-project.org/oss-lib/$OSS.tar.bz2 && tar -xvf $OSS.tar.bz2 
#219

Hi how exactly do i install this script? thanks

#220

Thanks for the tip about the mirrors, fasteddy86 - I needed to edit that before I could run, I guess the ftp site is borked for now.

#221

Thanks for the mirrors fasteddy86, I've been intalled jaunty amd64 in a Aspire one 5930, before I had intrepid i386 on the same system, I made a clean install to use ext4 instead ext3. Works fine, let's see how my headphones work.

#222

Upgrading to Jaunty made ALSA screw up on my s10. The only capture or recording device listed was "Digital" and though the front mic would play in the speaker, it would not work as a capture device for things like audacity and Jack.

After running the script on my s10, I didn't see any immediate changes. I searched the modules list but the s10 wasn't listed. I did find the right type of module by running in terminal:

cat /proc/asound/card0/codec#0 | grep Coded

which returned

Codec: Realtek ALC269

Since Ideapad isn't a device listed specifically in the HD-Audio_Models.txt, I had to guess which one would work best. This was the ultimate solution: I added the line in alsa-base.conf:

options snd-hda-intel model=basic

After a reboot, I finally have all the options and switches I need in ALSA! Mic and Line in work as capture inputs now! Hope this helps all you s10 users!

#223

Note, the script does not work in case you have linux backports modules installed ( in my case I need it for the integrated network chip). The problem is that with backports installed, the kernel loads the driver from /lib/modules/<kernel modules number>/updates/alsa instead of the usual spot. So you need to copy the alsa-drivers there ( meaning the content of /lib/modules/<kernel modules number>/kernel/sound) or sudo aptitude remove linux-backports-modules-<Ubunutu Distro>

#224

Hi,

the script fails compiling on my computer:

Making all in a52
make[2]: Betrete Verzeichnis '/usr/src/Alsa-1.0.19/alsa-plugins-1.0.19/a52'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -MTpcm_a52.lo -MD -MP -MF ".deps/pcm_a52.Tpo" -c -o pcm_a52.lo pcm_a52.c; \
        then mv -f ".deps/pcm_a52.Tpo" ".deps/pcm_a52.Plo"; else rm -f ".deps/pcm_a52.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -I/usr/local/include "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF .deps/pcm_a52.Tpo -c pcm_a52.c  -fPIC -DPIC -o .libs/pcm_a52.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_a52.la -rpath /usr/lib/alsa-lib  pcm_a52.lo -lasound   -L/usr/local/lib -lavcodec   -lasound
gcc -shared  .libs/pcm_a52.o  -L/usr/local/lib -lavcodec /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_a52.so -o .libs/libasound_module_pcm_a52.so
/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound_module_pcm_a52.la] Fehler 1
make[2]: Verlasse Verzeichnis '/usr/src/Alsa-1.0.19/alsa-plugins-1.0.19/a52'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/usr/src/Alsa-1.0.19/alsa-plugins-1.0.19'
make: *** [all] Fehler 2
alsa-plugins-1.0.19 make failed

I'm using x64 Kubuntu 9.04

#225

The script installed perfectly on my 9.04 Laptop system. I can only hear a faint sound through headphones, though. (which is better then the zero sound I had)

Intel HDA. I tried to edit /etc/modprobe.d/alsa-base with different options, but it's still a really tiny noise. Any suggestions?

#226

sdcope said: The script installed perfectly on my 9.04 Laptop system. I can only hear a faint sound through headphones, though. (which is better then the zero sound I had)

Intel HDA. I tried to edit /etc/modprobe.d/alsa-base with different options, but it's still a really tiny noise. Any suggestions?

Maybe type "alsamixer -c0" into the Terminal, and check the volume levels of everything?

#227

Hi there,

thanks for the good script. Saves quite a bit of work for the compilation.

Anyway, I have got the problem that my sound works alright when I plug in my headphone, but not through the Notebook speaker. I attached the output from uxchecker-1.05.sh. Any hint would be appreciated.

Cheers, Marcus

#228

There are debs for alsa1.0.19 and pulseaudio 0.9.15 for Hardy, Intrepid and Jaunty here which may be an easier way to get them since you can just add the ppa to your repo list and get them with apt or Synaptic

https://launchpad.net/~themuso/+archive/ppa

#229

The Mad Mule said: Maybe type "alsamixer -c0" into the Terminal, and check the volume levels of everything?

Everything appears to be turned up to the maximum, and nothing appears to be muted.

#230

markubuntu,

I'm using jaunty 32 bit. I installed the packages for alsa1.0.19 and pulseaudio 0.9.15: by going to https://launchpad.net/~themuso/+archive/ppa, adding the sources, storing the gpg key & using Update Manager. Interestingly, alsa-base (on Synaptic) still shows 1.0.18 whereas lib-asound2 shows 1.0.19: looking at the ppa this is expected since the package list doesn't show alsa-base. Is there another ppa with alsa-base 1.0.19?

I've also used your recomendation of downloading a bunch of packages (e.g. pdadevchooser) and then configuring sound using pdadevchooser app & System Preferences Sound & Gnome Volume Control.

PS I've also added the following lines to /etc/modprobe.d/alsa-base.conf: options snd slots=snd-hda-intel options snd-hda-intel model=dell-xxxx alias snd-card-0 snd-hda-intel (where xxxx=m26 for Dell Inspiron 1501 Laptop and xxxx=3stack for Dell Inspiron E520 Desktop) This comes from a launchpad bug.

At the end of all this, Sound Recorder & Skype work OK on my desktop but do not work (specifically recording/capturing) on my laptop! []("https://launchpad.net/%7Ethemuso/+archive/ppa")

#231

Hi, Can anyone tell me how to install this script .. n00b here.. thanks

#232

rev.1.17 ( compile alsa 1.0.20 stable )

#233

ALSA 1.0.20 is now OUT! Please upgrade the script :)

#234

ocean4200 said: ALSA 1.0.20 is now OUT! Please upgrade the script :)

already attached by me.

#235

Thanks so much for the script Biasquez and Soundcheck. Just buy running this script I got the sound on my Dell Vostro 420 to work with Kubuntu 9.04 Jaunty Jackalope.

Great work.

#236

arrrrrg... I still have the same problem with Digital INPUT on realtek ALC888 (intel hda). Absolutly no sound is heard from SPDIF INPUT. Version 1.0.20 didn't solve my problem :(

#237

support for kernel 2.6.29? can i just replace "2.6.28" to "2.6.29" in the script? thanks :guitar:

#238

THX!!! worked on my Lenovo S10e!!:)

#239

I reinstalled my OS this afternoon and oddly my sound wasn't working like it was just a few hours ago. I redid everything just like I did before but this time I get no sound just like I did before I ran the upgrade script found in this thread.

This time I poked around for a while and did some different stuff I eventually stumbled upon the solution in alsamixer.

I have 5 loopback devices on the sound card displayed in alsamixer: Analog Loopback Analog Loopback 1 Analog Loopback 2 Analog Loopback 3 Analog Loopback 4

I'm not sure what the purpose of these devices are but I muted them and now the sound works, just like that.

Actually I just muted "Analog Loopback" the others made no difference at all from what I could see, but I muted them all for good measure. Hope this helps someone out there. I didn't think to mute them or unmute them I was just hitting buttons in alsamixer hoping to make a difference and then boom sound works.

Thanks again for your script.

On a side note the distribution that i'm using (XBMC Live) doesn't have wget installed by default so I had to manually install that cause the script doesn't check to see if it's there or not before attempting to use it.

#240

Ocean4200, I am in the same situation. As soon as I have a fix, I'll post it here.

#241

Hi folks.

I finally updated the script. Alsa 1.0.20 and Kernel 2.6.29 are supported now.

You should also have a look at the updated HDA model list. There might be a chance that this or that function of your soundcard is now supported. You just need to choose a matching model-id for your driver.

And once more:

Don't complain that your SPDIF-in or similar is still no working. Run the alsa-info script and send the output to the alsa mailing list.

Let me know if you encounter problems with the script.

Cheers

#242

Maybe a few of you guys who are happy with the patch could report your success on the original launchpad and, probably more importantly, the underlying ALSA bug report so that this gets included in the next official release!

Thanks.

#243

@soundcheck thanks for your support! -maybe offtopic- i'm trying to tweak usb driver from http://www.diyaudio.com/wiki/index.php?page=LINUX+Audio+ALSAManualInstall but the code in usbaudio.c is changed:

before

		/* FIXME: there might be more than one audio formats... */
			runtime->hw.period_bytes_min = runtime->hw.period_bytes_max =
				fp->frame_size;
		}
	}

	/* set the period time minimum 1ms */
	/* FIXME: high-speed mode allows 125us minimum period, but many parts
	 * in the current code assume the 1ms period.
	 */
	snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME,
				     1000 * MIN_PACKS_URB,
				     /*(nrpacks * MAX_URBS) * 1000*/ UINT_MAX);

	err = check_hw_params_convention(subs);
	if (err < 0)
		return err;
	else if (err) {
		hwc_debug("setting extra hw constraints...\n");
		if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
					       hw_rule_rate, subs,
					       SNDRV_PCM_HW_PARAM_FORMAT,
					       SNDRV_PCM_HW_PARAM_CHANNELS,
					       -1)) < 0)

now

		/* FIXME: there might be more than one audio formats... */
			runtime->hw.period_bytes_min = runtime->hw.period_bytes_max =
				fp->frame_size;
		}
		pt = 125 * (1 << fp->datainterval);
		ptmin = min(ptmin, pt);
	}

	param_period_time_if_needed = SNDRV_PCM_HW_PARAM_PERIOD_TIME;
	if (snd_usb_get_speed(subs->dev) != USB_SPEED_HIGH)
		/* full speed devices have fixed data packet interval */
		ptmin = 1000;
	if (ptmin == 1000)
		/* if period time doesn't go below 1 ms, no rules needed */
		param_period_time_if_needed = -1;
	snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME,
				     ptmin, UINT_MAX);

	if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
				       hw_rule_rate, subs,
				       SNDRV_PCM_HW_PARAM_FORMAT,
				       SNDRV_PCM_HW_PARAM_CHANNELS,
				       param_period_time_if_needed,
				       -1)) < 0)

so, just change "ptmin" value? its safe?

thanks in advance! :guitar:

#244

iolapiu said: @soundcheck

thanks for your support! -maybe offtopic- so, just change "ptmin" value? its safe?

thanks in advance! :guitar:

This for sure is off-topic at this place. ;)

We better discuss this at DIY-Audio. Just give it a try and let me know over there.

Cheers

#245

I tried the latest upgrade script (May10th) unfortunately the compile failed. This link is to a pastebin of the tail of the log showing the compile error. http://pastebin.ca/1418432

Here is an oddity I found in the log outside of the actual compile error.

The following packages have unmet dependencies: libpulse-dev: Depends: libpulse0 (= 1:0.9.14-0ubuntu20.1) but 1:0.9.15-0ubuntu1~ppa4 is to be installed E: Broken packages

I am running Ubuntu 9.04 kernel 2.6.28-12 64bit Sound ADI 1988B (ASUS Formula Rampage BIOS 701)

Any help would be appreciated.

#246

RDV said: I tried the latest upgrade script (May10th) unfortunately the compile failed. This link is to a pastebin of the tail of the log showing the compile error.

http://pastebin.ca/1418432

Here is an oddity I found in the log outside of the actual compile error.

The following packages have unmet dependencies: libpulse-dev: Depends: libpulse0 (= 1:0.9.14-0ubuntu20.1) but 1:0.9.15-0ubuntu1~ppa4 is to be installed E: Broken packages

I am running Ubuntu 9.04 kernel 2.6.28-12 64bit Sound ADI 1988B (ASUS Formula Rampage BIOS 701)

Any help would be appreciated.

Try to install liba52-dev and libpulse0 manually and then run the script again.

sudo apt-get install liba52-dev libpulse0

Let me know if it works.

#247

Cool script!! Thank you for this!

I have Ubuntu 9.04 and Acer TravelMate 7520G. Sound worked ok right after installing but the internal mic stayed silent. This script helped! Now it works ok, atleast in Skype. Audacity has still some problems. Recording in Audacity produces very cracking sound and it seems like the upper section of the voice wave has been cut off (weird lookin thing, I'll provide screen cap if needed).

Anyway this made my day! :guitar:

Btw. I've been crying on a lot of forums about my problems and nowbody seems to know nothing about fixing silent mics in any computers. U guys rock!

#248

soundcheck said: Try to install liba52-dev and libpulse0 manually and then run the script again.

sudo apt-get install liba52-dev libpulse0

Let me know if it works.

Thanks for trying to help, unfortunately it looks like the packages are already installed. Here are the results of the installation attempt:

sudo apt-get install liba52-dev libpulse0

Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting liba52-0.7.4-dev instead of liba52-dev liba52-0.7.4-dev is already the newest version. libpulse0 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Any more ideas?

I already had at least the liba52 package installed as I compile Mythtv trunk (0.22) and ffmpeg on a regular bases.

#249

RDV said: Thanks for trying to help, unfortunately it looks like the packages are already installed. Here are the results of the installation attempt:

sudo apt-get install liba52-dev libpulse0

Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting liba52-0.7.4-dev instead of liba52-dev liba52-0.7.4-dev is already the newest version. libpulse0 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Any more ideas?

I already had at least the liba52 package installed as I compile Mythtv trunk (0.22) and ffmpeg on a regular bases.

Hmmh. I did installation tests on Jaunty, Intrepid and Linux Mint 6 on two different 32bit machines, without facing any issues.

#250

soundcheck said:

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.x-rev-1.17.tar
  4. sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh

(The same way you'll handle the uxchecker-1.0x.tar)

Are we to do a reboot prior to the uxchecker run, or is but one reboot required? Thanks in advance!

#251

Only one reboot right after the AlsaUpgrade is needed.

#252

Thanks for the clarification, soundcheck! Will see if the script solves a non-working mic problem as it did others. ... Woohoo! The mic works now on my generic HDA Intel. Thanks, soundcheck!

#253

Hello forum!

Don't know what to do. No sound on my Medion MD 96500. snd-hda-intel will not load. I think i tried everything i read in all forums around. No way, no sound!

I updated from 8.10 (anything was all right) to 9.04 (no sound at all).

When using the live cd oh 9.04 i hear sound out of the box.

Alsa update script will not install the new version.

What can i do?

Would be more than happy for help.

cu Andreas

#254

AndreasA. said: Hello forum!

Don't know what to do. No sound on my Medion MD 96500. snd-hda-intel will not load. I think i tried everything i read in all forums around. No way, no sound!

I updated from 8.10 (anything was all right) to 9.04 (no sound at all).

When using the live cd oh 9.04 i hear sound out of the box.

Alsa update script will not install the new version.

What can i do?

Would be more than happy for help.

cu Andreas

The upgrade log looks ok. Did you run the uxchecker before you ran the upgrade? Did you reboot after the upgrade?

#255

Yes i rebooted after upgrade and no, i didn't start the uxchecker before i upgrade.

Alsa Version ist still 1.0.18

cmcx_linux wrot in this forum 2 weeks ago: "Note, the script does not work in case you have linux backports modules installed ( in my case I need it for the integrated network chip). The problem is that with backports installed, the kernel loads the driver from /lib/modules/<kernel modules number>/updates/alsa instead of the usual spot. So you need to copy the alsa-drivers there ( meaning the content of /lib/modules/<kernel modules number>/kernel/sound) or sudo aptitude remove linux-backports-modules-<Ubunutu Distro>"

I have backport modules and i copied all files like above discribed, but i'm not sure if this is the right way.

#256

Quick shot in the dark:

Did you also install the headers for the backports?

linux-headers-lbm-$KERNEL

I just installed the backports on top of my 1.0.20 installation. It seems to work.

#257

So, I installed linux-headers-lbm-$KERNEL, but there are more problems then before!

I run the alsa schrip with -r (restore) -di, snap ... nothing.

"alsa-lib-1.0.20 not found" in the end of AlsaUpgrade script.

Shi......

#258

So, it seems OK, but still: Alsa 1.0.18

#259

AndreasA. said: So, it seems OK, but still: Alsa 1.0.18

I had a look at your logs. You seem to have a corrupted Alsa installation. No cards/devices an even /etc/modprobe.d/alsa-base won't seem to be there.

There might be something else wrong on your system.

Restore the backup you've taken before you started the ALSA upgrade. And run the uxchecker prior to the upgrade.

Try also "lspci -vv" to see if your audio device is recognised at all.

#260

No backups ;-(

lspci --v: 0:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) Subsystem: Wistron Corp. Device 201a Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 10 Region 0: Memory at c0000000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel modules: snd-hda-intel

"Kernel driver in use:" is missing

It seems to be a general snd-hda-intel problem. Should i deinstall alsa?

Thanks so far for your help !

Andreas

#261

I allways change the /etc/modprobe.d/alsa-base.conf

#262

AndreasA. said: I allways change the /etc/modprobe.d/alsa-base.conf

An alsa-base.conf shouldn't exist. It's called "alsa-base". Copy it over and reboot.

#263

i read in different forums this:

Update: In Ubuntu 9.04 it&#8217;s /etc/modprobe.d/alsa-base.conf

#264

I compiled it myself and get :

andreas@andreas-laptop:~$ alsactl -v alsactl version 1.0.20

but....

still no sound!

Thank you so far for your help soundcheck!

#265

AndreasA. said: i read in different forums this:

Update: In Ubuntu 9.04 it’s /etc/modprobe.d/alsa-base.conf

You are correct. It's now called alsa-base.conf. Sorry for the confusion.

God knows, why these guys change something basic like that, without improving anything.

#266

AndreasA. said: I compiled it myself and get :

andreas@andreas-laptop:~$ alsactl -v alsactl version 1.0.20

but....

still no sound!

Thank you so far for your help soundcheck!

Please shed some light on what you did different compared to the script. Otherwise our whole discussion was useless.

#267

OK, lets see...

sudo apt-get install build-essential libncurses-dev gettext xmlto xmltoman linux-headers-uname -r sudo apt-get remove alsa sudo ./configure --with-cards=hda-intel --with-kernel=/usr/src/linux-headers-$(uname -r) sudo make sudo make install cd /usr/src/Alsa-1.0.20/alsa-lib-1.0.20 sudo ./configure sudo make sudo make install cd /usr/src/Alsa-1.0.20/alsa-utils-1.0.20 sudo ./configure sudo make sudo make install

Don't know if there is anything different to the script.

#268

One thing is that you don't use --prefix=/usr

Beside that it looks pretty similar.

#269

One question:

andreas@andreas-laptop:~$ lspci -nv

00:00.0 0600: 8086:2590 (rev 03) Subsystem: 17c0:4047 Flags: bus master, fast devsel, latency 0 Capabilities: <access denied> Kernel modules: intel-agp

00:01.0 0604: 8086:2591 (rev 03) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00002000-00002fff Memory behind bridge: c0100000-c01fffff Prefetchable memory behind bridge: d0000000-d7ffffff Capabilities: <access denied> Kernel driver in use: pcieport-driver Kernel modules: shpchp

00:1b.0 0403: 8086:2668 (rev 03) Subsystem: 17c0:201a Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at c0000000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel modules: snd-hda-intel

....

The snd-hda-intel is the only one with 64-bit.

All other Kernel modules are 32-bit!

#270

Hi all! Sorry if this problem's already been addressed somewhere, but i just get an error after this:

-------------------------------------------------------------
-  Alsa will be downloaded and installed
-------------------------------------------------------------

Choose Alsa Package (1) 1.0.20 default[1]: 1


--Sat May 16 16:07:49 BST 2009----Alsa-Upgrade-Script-1.17 -----------------
-  
- You'll be upgraded from 1.0.18rc3. to 1.0.20. 
- 
- All script output is routed to /var/log/AlsaUpgradeRev-1.17-051609-16.07.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!
AlsaUpgrade-1.0.x-rev-1.17.sh: 502: cannot create /var/log/AlsaUpgradeRev-1.17-051609-16.07.log: Permission denied

I installed ubuntu yesterday and have no sound! I've tried everything, and this perhaps looks hopeful. help would be much appreciated.

#271

nimrod8 said: Hi all!

Sorry if this problem's already been addressed somewhere, but i just get an error after this:

-------------------------------------------------------------
-  Alsa will be downloaded and installed
-------------------------------------------------------------

Choose Alsa Package (1) 1.0.20 default[1]: 1


--Sat May 16 16:07:49 BST 2009----Alsa-Upgrade-Script-1.17 -----------------
-  
- You'll be upgraded from 1.0.18rc3. to 1.0.20. 
- 
- All script output is routed to /var/log/AlsaUpgradeRev-1.17-051609-16.07.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!
AlsaUpgrade-1.0.x-rev-1.17.sh: 502: cannot create /var/log/AlsaUpgradeRev-1.17-051609-16.07.log: Permission denied

I installed ubuntu yesterday and have no sound! I've tried everything, and this perhaps looks hopeful. help would be much appreciated.

Looks like you don't have permission to create a log file. Did you use sudo? Should look like this:


sudo ./Alsa-Upgrade.......
#272

I'm still looking for solving this problem.

Next step:

!!################################ !!ALSA Information Script v 0.4.56 !!################################

!!Script ran on: Sat May 16 18:06:12 UTC 2009

!!Linux Distribution !!------------------

Ubuntu 9.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.04"

!!Kernel Information !!------------------

Kernel release: 2.6.28-11-generic Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: Library version: 1.0.20 Utilities version: 1.0.20

There is no driver ?!? The rest :

http://www.alsa-project.org/db/?f=cb88cc6013991d1ab2bb9f760178544355b64970

#273

So, thanks for your help. I have sound!

I installed 9.04 new! And now, no problems. I think it was a problem from update 8.10 to 9.04.

#274

It works after nothing else I tried did -- brilliant!

#275

Attempting to install 1.0.20 and get this error part way through.

No package 'alsa' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS and ALSA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

alsa-plugins-1.0.20 configure failed

I've tried the ALSA_LIBS export, but to no avail. Any suggestions?

#276

Thanks for the script.it worked fine.:KS

#277

Stellar script Soundcheck. Got the sound working well on my acer aspire 6930G (although haven't quite checked everything yet).

I agree with your sentiments about timelyness of support completely, the hardware world moves so fast - especially with laptops - that the whole process needs to be far faster - and decoupling low level things like alsa better from ubuntu releases can only be a good thing. If folks aren't interested in fancy new facilities, they can stick with the release build, but if they want the new goodies (like tuba on the acer's, or great video performance with the latest chipsets), then it needs to be relatively painless to bring these in.

Although I'm having problems getting all the goodies working on my new laptop, they're nothing compared to the hassle I had putting my first HTPC together in the early days of Windows XP

#278

Thank you, thank you, thank you!!!!!

My sound works now!

:D

#279

Oops. I spoke too soon :(

I got the start-up sound immediately after login, but YouTube videos still have no sound. I've checked volume settings as well as mute settings and they don't seem to be the issue.

Any ideas?

#280

davidianstyle said: Oops. I spoke too soon :(

I got the start-up sound immediately after login, but YouTube videos still have no sound. I've checked volume settings as well as mute settings and they don't seem to be the issue.

Any ideas?

Did you check your default outputdevice settings?

#281

Hello,

thank you for the very interesting script!

just to say that uxchecker doesn't install hwinfo, which is needed by the process; as far as it come with a another package, the instruction apt-get install hwinfo in the script has to be followed by the option -y.

BTW I'm (unfortunately) using an ISP giving the same ip to many people (NAT), so my ip was blocked from downloading from alsa site (probably for overcharge) and I had to look around a while in order to find an active mirror, as far as many mirrors of the alsa site aren't active at all. If i can suggest an improvement, you could automatically shift to a mirror if downloading from main site doesn't work.

Thank you again,:KS

Paolo

#282

I'm puzzled, I decided to try a number of the likely looking variants I can specify in my alsa-base.conf file (as in options snd_hda_intel model=acer)

But I have found that the first time it had an effect, thereafter it didn't change anything, now even removing that line (which was the first way I tried it), it does not revert to the situation when I first installed the new version of software. I was restarting alsa initially, but even a shutdown and re-power on doesn't seem to restore things. It seems that somethings are being saved away elsewhere.

Anyone know where this might be?

I'm running Ubuntu 32 bit, Jaunty, on an Acer aspire 6930G on a clean new build. I used the scripts on page 1 to install drivers .20 yesterday.

#283

I ran the latest version of the script numerous times on a fresh Mint 7 (9.04) system (I have a M3N78 MB). Each time, aplay -l list no soundcards at all. However, before running the script (i.e. immediately afer the fresh Mint installation), aplay -l did list all Nvidia HDMI/Digital/Analog soundcards, although without any actual sound output. What should I do to get the soundcards back?

#284

Thanks,

Using your script I upgraded to Alsa 1.0.20 from 1.0.18rc3 on Jaunty 9.04 64-bit. This fixed my Alsa sound problems. From no sound (except using OSS) to sound.

I'm using a ASUS M2N68 mainboard (AMD CPU) with a onboard VIA VT1708B sound card using the snd-hda-intel driver.

#285

I have no idea why this isn't working. However yesterday I downgraded from 9.04 to 8.10 because I now have two monitors and the ATI drivers are crap with 9.04 so no dual screen.

Anyways, I have used this script a few times in the past and it has worked flawlessly, but now I keep getting this:

make -C /usr/src/linux-headers-2.6.27-14-generic SUBDIRS=/usr/src/Alsa-1.0.20/alsa-driver-1.0.20 CPP="gcc -E" CC="gcc" modules make[1]: Entering directory /usr/src/linux-headers-2.6.27-14-generic' make[1]: Makefile: No such file or directory make[1]: * No rule to make target Makefile'. Stop. make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-14-generic' make: * [compile] Error 2 alsa-driver-1.0.20 make failed

Thoughts?

#286

Got it working, reinstalled 3 packages:

  • linux-headers-2.6.27-14-generic
  • linux-headers-2.6.27-14
  • linux-headers-generic

Awesome script.

#287

What would it take to make this script create .deb files instead of installing it so package managers would know what was going on?

#288

Hi guys. I'm new to (K)Ubuntu and everything works just fine except sound. Out of the box Kubuntu 9.04 the phonon sound apps (amarok, dragonplayer) work. But no vlc, mplayer, flashaudio in firefox. Now I'm trying to install pulseaudio 1.0.9.15 (already did) and alsa 1.0.20. When running the script I get this error when tailing the log:

Hacking autoconf.h...
if [ ! -d include/sound -a ! -L include/sound ]; then \
          ln -sf ../alsa-kernel/include include/sound ; \
        fi
cp -puvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/usr/src/Alsa-1.0.20/alsa-driver-1.0.20'
make[2]: Entering directory `/usr/src/Alsa-1.0.20/alsa-driver-1.0.20/acore'
copying file alsa-kernel/core/info.c
/usr/src/Alsa-1.0.20/alsa-driver-1.0.20/utils/patch-alsa: 24: patch: not found
make[2]: *** [info.c] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.20/alsa-driver-1.0.20/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.20/alsa-driver-1.0.20'
make: *** [include/sndversions.h] Error 2
alsa-driver-1.0.20 make failed

Alsa: 1.0.18 Kubuntu: 9.04 Script: rev 1.17

It would be great if anyone could help me :)

#289

Hey all.

I had troubles with sound after i upgraded from 8.10 to 9.04.

I successfully installed alsa 1.0.20 using the script. Many thanks!

Yet, the sound is really low volume! I can hardly hear it. I use alsamixer and gnome's default mixer and raise the volume but it doen't raise enough.. Any ideas?

thx

EDIT: my mistake :-) in alsamixer the VIA DXS switched were muted! ought to be more carefull!

..So many thanks for the script!

#290

Marked improvement in sound quality for a Sound Blaster 16 bit.

Thanks a heap

#291

My regular post every few months :)

Macbook Air 2.1 Alsa 1.0.20 No audio from internal speaker, only audio from headphones.

http://ubuntuforums.org/showpost.php?p=6597758&postcount=9http://ubuntuforums.org/showpost.php?p=6597758&postcount=9

#292

AlsaUpgrade-1.0.x-rev-1.17 works great on Jaunty Jack, kernel 2.6.28-11-generic. I am running on Lenovo s10e. Internal Speaker works, internal mic works, jack speaker works. Have not test jack mice yet, it should be working.:D

#293

After running the script, I no longer have /dev/dsp. My NTSC tuner needs it to get sound.

Anybody know if this can be restored or replaced? I am kind of a linux newbie, running mythubuntu 8.04 as my pvr. It worked find for months, I ran the ALSA upgrade script to get sound from boxee.

#294
/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound_module_pcm_a52.la] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.20/alsa-plugins-1.0.20/a52'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.20/alsa-plugins-1.0.20'
make: *** [all] Error 2
alsa-plugins-1.0.20 make failed

thats my error, ubuntu 64bit 9.04....

how do i recompile with -fPIC????

#295

budluva04 said: how do i recompile with -fPIC????

In the terminal where you run the compile type (no ">"):

CFLAGS=-fPIC;export CFLAGS

As you can see "fPIC" are flags for the c compiler that are specified through an environment variables. When you exit the terminal session the environment variables will disappear. The next time you will need to execute the CFLAG statement above.

This will not always resolve the compile issue you are having but it does answer your question.

Good Luck

#296

i'm using alsa 1.0.20 with kernel 2.6.29.4. i have this error in syslog:

pulseaudio[4256]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! pulseaudio[4256]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. pulseaudio[4256]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

#297

I just ran the script. The output of alsa -L is below.

$ alsa -L

Usage: /sbin/alsa {unload|reload|force-unload|force-reload|suspend|resume}

I don't know what to do. I tried sudo alsa force-reload, but that didn't work. I got a heap of messages that were a variation of:

WARNING: All config files need .conf: /etc/modprobe.d/alsa-base, it will be ignored in a future release

HOWEVER, I now have sound over HDMI :D :D :D

So does it matter if alsa -L gives the above message?

#298

Ozdemon said: I just ran the script. The output of alsa -L is below.

I don't know what to do. I tried sudo alsa force-reload, but that didn't work. I got a heap of messages that were a variation of:

HOWEVER, I now have sound over HDMI :D :D :D

So does it matter if alsa -L gives the above message?

Do you still have any problems after a reboot?

"alsa" IMO should not be used as a standalone command to restart alsa.

#299

biasquez said: i'm using alsa 1.0.20 with kernel 2.6.29.4. i have this error in syslog:

pulseaudio[4256]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! pulseaudio[4256]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. pulseaudio[4256]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Please, send it to the alsa mailing list. Attach the alsa-info.sh output.

#300

kulinskit said: After running the script, I no longer have /dev/dsp. My NTSC tuner needs it to get sound.

Anybody know if this can be restored or replaced? I am kind of a linux newbie, running mythubuntu 8.04 as my pvr. It worked find for months, I ran the ALSA upgrade script to get sound from boxee.

Do you still have this problem?

#301

heluani said: My regular post every few months :)

Macbook Air 2.1 Alsa 1.0.20 No audio from internal speaker, only audio from headphones.

http://ubuntuforums.org/showpost.php?p=6597758&postcount=9http://ubuntuforums.org/showpost.php?p=6597758&postcount=9

Have you ever issued a mail to the alsa mailing list?

#302

soundcheck said: Do you still have any problems after a reboot?

"alsa" IMO should not be used as a standalone command to restart alsa.

Yes, same result to alsa -L after reboot.

#303

Hi My fiancee has a Dell Vostro A860 (T2410) laptop. They sell this model with Ubuntu 8.04 in my country. They have it with Vista too but she likes Ubuntu, so :) After an update the sound stopped working completely. No login sound, no headphones, no built-in speaker. The speaker applet on the taskbar shows an icon of a speaker crossed by a red line. If I click it it says: "No volume control GStreamer plugins and/or devices not found". Now, I'm a noob myself but I managed to find these things:

  • the sound is ok if I load a previous kernel at boot (2.6.24-22). Right now the system is updated to 2.6.24-24. We hoped kernel updates would solve this problem, but they didn't.
  • the onboard soundcard is a "Intel Corporation 82801H (ICH8 Family) HD Audio". "lspci -v" gives me this info related to the audio card:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 
	Subsystem: Dell Unknown device 029a 
	Flags: bus master, fast devsel, latency 0, IRQ 7 
	Memory at f6dfc000 (64-bit, non-prefetchable) [size=16K] 
	Capabilities: <access denied> 

I ran soundcheck's script, which updated the ALSA driver, but there is no change. I am begining to lose hope this problem can really be solved. At least not by a regular user like myself or my fiancee. I can work with the terminal but I am afraid to just try lots of commands just to see what happens. I could not be able to fix things by myself if I screw up and I'm not looking forward to the thought of losing GDM as a result of a purge/reinstall of a package. That's why I'm asking you guys for help. Can someone please offer any advice? Is there something to be done, soundcheck? Being a total noob, I'm figuring this card is supported by ALSA since it works on a different kernel, though. What should I do? Thank you.

#304

I had been successfully using this script with Ubuntu 8.10 and 9.04 to obtain sound support on an Acer Aspire 8930 (plus a few other tweaks mentioned in another thread), but it appears to not work with kernel version 2.6.28-12. I only made one attempt, so the cause may be elsewhere, but reverting to 2.6.28-11 resolved the problem.

In other matters, can anyone explain why, if upgrading the version of Alsa shipped with 8.10 (1.0.16 I think) to 1.0.18 via this script would fix things, then why don't the 9.04 kernels that come with 1.0.18 work "out of the box?" I was surprised to see that building Alsa from source was still necessary. Are there significant compile time options set differently by this build script compared to the stock Ubuntu build? (I'd like to understand this and supply feedback to the Ubuntu devs so I can eventually migrate back to using the stock builds.)

Lastly, it would be great if someone could add a little bit more glue to this script to make it work as a DKMS module, which would result in the Alsa driver getting automatically rebuilt whenever a new kernel was installed. I looked over the DKMS documentation, and while not trivial, it should be pretty simple for anyone who has setup a DKMS module before.

-Tom

#305

Strange. Just upgraded. Works fine, but... I have sound in rhythmbox, vlc, nautilus (you know when you hold your mouse-pointer over a soundfile...), mplayer, aplay test, audacity... Well kind of everything seems to work. That is, except for flash sound from both firefox and opera. Anyone experience the same? Or have an idea how to fix it? Thanks.

#306

tmetro said:

In other matters, can anyone explain why, if upgrading the version of Alsa shipped with 8.10 (1.0.16 I think) to 1.0.18 via this script would fix things, then why don't the 9.04 kernels that come with 1.0.18 work "out of the box?" I was surprised to see that building Alsa from source was still necessary. Are there significant compile time options set differently by this build script compared to the stock Ubuntu build? (I'd like to understand this and supply feedback to the Ubuntu devs so I can eventually migrate back to using the stock builds.)

Lastly, it would be great if someone could add a little bit more glue to this script to make it work as a DKMS module, which would result in the Alsa driver getting automatically rebuilt whenever a new kernel was installed. I looked over the DKMS documentation, and while not trivial, it should be pretty simple for anyone who has setup a DKMS module before.

-Tom

No there are no specific compile options, I'd guess. I just compile all drivers and options. There might be sometimes a small difference in Alsa versions e.g. 1.0.18 vs 1.0.18a

I looked into checkinstall and dkms. To run all things automatically is not that easy as it might seems.

The best thing would be if the Ubuntu maintainers would just drop in a new driver snapshot (the drivers are the main problem) once in a while. This can't be so difficult. I'd presume that the Alsa folks would even support this. Unfortunately Ubuntu still doesn't put "sound" on its priority list.

Perhaps I could check if a driver upgrade only could improve things.

#307

Not after first reboot. But after third reboot sound on flash came back. Everything is perfect. If anyone experiences problems with flash after upgrading, do a couple more reboots before you start crying like me. It might just work. (I did have to change the sound output settings in vlc to get that to work correctly).

#308

Well, this might be long, but I'm going to tell you the story of my problem here, to see if you could help me out.

I'm using a Toshiba Satellite M45 S169, under the name of Amaterasu. It's an old but reliable computer that I absolutely love (If I talk bad about her, she might notices it, hehe). I was a Hardy user since the second that the distro came out, and I recently move myself to Jaunty, the second it was out as well, knowing that I might face some problems along the way.

And problems did came my way. Sound problems, as many others end up having. The point is that after a lot of things, like installing and unistalling the PulseAudio and it's features, and setting up the alsa-mixer and all, I end up in a point where I "had" sound.

That meant that I could hear music on RthythmBox (Amarok has never worked for me in Jaunty, not Amarok2, at least) and some times, even watch movies or see Youtube videos. But well, today an Upgrade Notification appeared and without doubt, I did it; it was supposed to upgraded the kernel, as well as the Linux Headers and Images. I upgraded, reboot and I had no sound at all. That kinda worried me, because I need at least music, you know?

Well, I followed then the instructions to upgrade to 1.0.20 (Stable), reboot and voila, had some sound, but just like before. Now, the problem with the kind of sound that I'm having right now is that several things can happen, depending on the first program that I use after turning on the computer. Something like this:

If RthythmBox: 100% of the time it works, but when I put it in pause, it might crash the sound and start this bell disturbing sound. If I resume the music, it would be back to normal. But it's almost certain that after turning RB, I'm not going to be able to watch videos on Youtube (Flash) or movies, either in Totem or VLC.

If Flash like Youtube or others: 75% might work. If it works, after a while of seeing videos and stuff, sound crash, almost inevitably. If this happens, then it would be the same as if it would crash with the VLC.

If VLC or Totem: 50% might or might now work. Sound would crash if it doesn't work and that means that I wouldn't be able to watch videos on flash. But, as I said before, the RB would work the same.

So, basically, the RB always works, and I don't know why. I love Jaunty, so I don't want to pass myself over to Hardy again, where this work all the time. I have upgraded, as I said, the driver, I have everything in Sound Preferences with ATI IXP (ALSA) and I have no PulseAudio at all. Any ideas of what I could do for having a better sound situation, of the type of being able to hear some music, stop it, then watch a movie, stop it, watch some Youtube videos, stop it, and go back to hear music again?

Here's my info:

aplay ** List of PLAYBACK Hardware Devices ** card 0: IXP [ATI IXP], device 0: ATI IXP AC97 [ATI IXP AC97] Subdevices: 0/1 Subdevice #0: subdevice #0 card 1: Modem [ATI IXP Modem], device 0: ATI IXP MC97 [ATI IXP MC97] Subdevices: 0/1

lspci 00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02) Subsystem: Toshiba America Info Systems Device ff10 Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 17 Memory at c0003400 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> Kernel driver in use: ATI IXP AC97 controller Kernel modules: snd-atiixp Here's my info:

Anything else you would need, just don't doubt to ask it, :)

P.S: Curiously enough, I installed this game called BurgerSpace, that's kinda funny and all. In Hardy, could play it with sound at all. Now, on Jaunty, right now, it says "Sound device not available". I don't have sound in other games, full screen or not, excepting with the pSX that works perfectly.

#309

soundcheck said: I looked into checkinstall and dkms. To run all things automatically is not that easy as it might seems.

If you want to give it a shot, I'll pitch in and try and find solutions if you get stuck.

The best thing would be if the Ubuntu maintainers would just drop in a new driver snapshot once in a while. This can't be so difficult.

I presume they don't do this for the same reason they don't include the very latest version of any package - so the software can work its way through the system while getting tested.

Of course if your hardware isn't supported at all by the current version, taking a risk with potentially buggy software is a welcome alternative.

What they could do is build the newer versions in a backport fashion for the current stable kernels, and make them available in an alternate PPA. Then those of us with newer hardware that need the bleeding edge drivers can add the PPA to our sources.list.

Though creating a package that rebuilds the latest drivers via DKMS would theoretically require less ongoing effort. But I suppose the uploads to the PPA could be automated as well.

-Tom

#310

Ok, tried to follow some instructions of this thread: http://ubuntuforums.org/showthread.php?t=365342&page=2, for ATI IXP SB400 AC'97 Audio Controller, considering that after all, that's my sound card.

Did this:

#get rid of snd-atiixp-modem

blacklist snd-atiixp-modem

rather than just:

#get rid of snd-atiixp-modem snd-atiixp-modemAnd this:

$ sudo rmmod snd-atiixp-modemand this:

add to /etc/modprobe.d/options the line(s)

for soundchip snd_atiixp

options snd-atiixp ac97_codec=0After all those things, I reboot. Opened a video on VLC it worked. Then, opened something in Youtube, it worked. Opened RB, it worked. But when I placed it on hold, there was this bells sound. Close it, the bells sound dissapear. But Youtube, and VLC didn't work at all.

Actually I'm not so much into time right now (should be working), but as soon as possible, I'm going to open youtube and VLC over and over again to see if sound would crash without opening RB now.

ED:

I have been opening firefox and VLC one after the other, closing them along the way. And sound hasn't crashed yet. So I suppose that as long as I don't open RB, everything should be fine. But if I open a game like BurgerSpace (love it for testing sound problems), says still that there's no sound device available.

ED2:

Well, I just reboot the computer because I was hearing some music and wanted to watch some videos on Youtube. And Oh Grand Surprise, from starters, I didn't have any sound, without opening other programs. So, problems really persist, and big time.

#311

Not to rush or anything, but is there a timeline on when 2.6.30 will be supported by this script? I've used this in the past on my intrepid install and worked great.

#312

In order to gain a better handle on what is going on with your system use the alsa-info script and use the --no-load option to the script then go to /tmp where it puts it and save the file to something called /home/username/alsa-info-good.txt (if your sound works) then when it goes bad do another run of the script and call it /home/username/alsa-info-bad.txt now you can do diff alsa-info-good.txt alsa-info-bad.txt the difference will give you a clue as to what changed and help lead you in the right direction. you can get the alsa-info script with: wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh caution, use this script as a user not root. you can use this script's results on the alsa users mail list when reporting issues: the alsa mailing list: http://www.mail-archive.com/alsa-user@lists.sourceforge.net

#313

I should of added that you can do some reading here: https://help.ubuntu.com/community/SoundTroubleshooting#ALSA%20driver%20Compilation for manual compilation and troubleshooting tips.

#314

Hi everyone, I just installed finished installing ubuntu and realised tht the sound *doesn't* work. After much googling, I managed to ressurect my sound. But....... now the sound is very low. I have got xp one my comp 2. the sound is really gud in xp.

There is somethin odd in the interface when i click the speaker icon tho, both "front" and "pcm" seem to be able to configure the sound. is that meant to happen? to give more info on my system ive got about 6 ports at the back with 2 or three of them for sound, i can only get decent sound when i plug my speakers into one of them and that too is quite pathetic. ive also got three other ports at the front, with one of them being the headphone port. im dual booting with xp right now and when i log into xp my front panel is workin but the back is not, and the sound i get from the front panel is great! so i dont think its the device problem either. i have a realtek alc880 sound card and my desktop is a compaq a1220a. cheers! any help is kindly appreciated..i love the ubuntu interface and everything, if i can get the sound workin thatd be awsum.

Ne suggestions as to how I overcome this problem? I have posted this problem many times but I am not getting any reply. Solution tried: 1) I tried going to that General sound trouble shooting page. Got *something* (which is at the following site: http://www.alsa-project.org/db/?f=4b2bd7db149c873093fc83dff6169277bb882b2e) 2) Tried downloading ur AlsaUpgrade-1.0.x-rev-1.17.sh and then did following steps:

It came up with this:

  1. cd <your-download-dir>
  2. tar xvf AlsaUpgrade-1.0.x-rev-1.17.tar
  3. sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh

[COLOR=Green]Usage: ./AlsaUpgrade-1.0.x-rev-1.17.sh [OPTION]...

Available options: -di Download (to /usr/src), compile and install the packages This option will compeletely upgrade your ALSA in one step -d Download the packages only In case you want to tweak/patch the official packages or you'd like to install the snapshot on top of the official packages prior to compiling and installating them -c Compilation only Kind of dry-run option to see if the configuration and compilation works -i Compilation and installation of packages Sources must exist under /usr/src. Run script with -d or -di options first. The option is useful to speed up your installation in case Ubuntu upgrades have overwritten your ALSA installation. It is also useful if you want to keep your patched version or snapshot version, when reinstalling the packages -r Restore ALSA Kernel and all ALSA relevant Ubuntu packages will be restored (done by re-installation of relevant packages) -snap Download, compile and install of latest ALSA driver-sources-snapshot Please run script using -d option first. Recommended for troubleshooting. (The snapshot is not an offical ALSA release or even pre-release, it is the latest snapshot taken from the design-tree!) -h Help - this page

Please visit http://ubuntuforums.org/showthread.php?t=962695 to report any issues you might encounter by using this script.

krishna@krishna-desktop:~/Desktop$ [/COLOR][COLOR=Red]what do i type knw?????[/COLOR]

I have to tell u that I am a_ noob._ So please be *very* clear as what to u want me to do or type. Hopefully I get this problem solved.

#315

leet_2k said: [COLOR=Green]krishna@krishna-desktop:~/Desktop$ [/COLOR][COLOR=Red]what do i type knw?????[/COLOR]

I have to tell u that I am a_ noob._ So please be *very* clear as what to u want me to do or type. Hopefully I get this problem solved.

exactly what you typed, but add the switch -di to the end.

i.e. sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh -di

Please note that currently the alsa-firmware zip file from alsa-project.org appears to be corrupt. You will need to edit the script as follows:

sudo nano ./AlsaUpgrade-1.0.x-rev-1.17.sh

Use CTRL+W (whereis) to find the phrase 'wget'

You'll see one of the lines in the wget section downloads the firmware file - change:

ftp://ftp.alsa-project.org/pub/
http://gd.tuwien.ac.at/opsys/linux/alsa/
#316

I'm on a Toshiba Satellite P300 ; - Ubuntu 9.04 - 2.6.28-13-generic - AlsaUpgrade-1.0.x-rev-1.17.sh

The script runs for about 5 mins, and then ;

-  Compiling firmware...
-------------------------------------------------------------
make: *** No rule to make target `clean'.  Stop.
./AlsaUpgrade-1.0.x-rev-1.17.sh: line 243: ./configure: No such file or directory
alsa-firmware-1.0.20 configure failed

Any clues? Everything is going smooth up until that point.

Update: Still can't get this sucker running (looks like there's no configuration script under firmware), maybe the package from the ALSA-project has changed? Anyway, I downloaded the latest package and compiled it manually (driver,libs,firmware) manually (surprisingly easy). Didn't solve my missing microphone problems, though. *sigh*

Update: Ok, I've resigned trying to make bloody ALSA work, and gone over to the dark side with OSS v.4. And it fixed my problem, with a sparkling of crackling sounds. *sigh* Linux sounds system; a thorn in its side.

#317

Nevermind on my earlier post. I edited the Kernel5 line in the script for 2.6.30 and it compiled fine.

#318

I've been beating my brains out over audio for the last 3 days as not delivered by my Asrock A780GMH/128M motherboard with VT1708S codec + Debian Squeese/KDE4.2.x - 2.6.26-2-686 #1 SMP kernel.

I just ran the upgrade script. I've got music... and a mixer with a few new sliders. Haven't tested the microphone yet.

The pulseaudio output IS noisy... but if I select ALSA in the KDE audio manager, it works just fine.

And yes, current versions of ALSA do need to be either in the mainstream kernel or easily available via Debian Volatile (the Debian repo for stuff that MUST be up-to-date like anti-rootkit databases) and whatever equivalent of that exists in Ubuntu.

#319

OMG! Thank you so much for this. I had to sign up and reply.

I too had the same 'Dont have sound' issue, ran the script and away we go. All working beautifully.

Thanks again, much appreciated.

#320

*crosses his finger for this to work*

Got an asrock ion 330, but have been unable to get sound out on the HDMI so far, even tho it looks fine with aplay -l and even one of the soundchecks. But for some reason, I cant unmute/mute the PCM part and I am guessing thats what causes it, as there is no "box" underneath the bar.

So heres to hoping!

Edit: Argh, same problem still. No sound, even tho everything looks fine so its definatly something really easy I am missing :( Thats what I get for being a complete noob at this :)

Edit 2: ITS ALIVE!

#321

This script got sound working on my Dell Vostro 420 running Jaunty 9.04. Thanks!

-Bart

#322

tmetro said: ...this script...appears to not work with kernel version 2.6.28-12.

Update: a week ago my system updated to the 2.6.28-13 kernel, and using the same script (but downloading the latest driver source), succeeded in getting sound to work.

The prior problem may have been due to the kernel in the proposed repository (which I have since disabled), or it may have been fixed by the driver update.

-Tom

#323

kintarooe said: I edited the Kernel5 line in the script for 2.6.30 and it compiled fine.

So what you're saying is you did:

diff -u -r1.1 AlsaUpgrade-1.0.x-rev-1.17.sh
--- AlsaUpgrade-1.0.x-rev-1.17.sh	2009/06/28 06:49:11	1.1
+++ AlsaUpgrade-1.0.x-rev-1.17.sh	2009/06/28 06:51:42
@@ -71,7 +71,7 @@
 KERNEL2="2.6.26" # kernel family
 KERNEL3="2.6.27" # kernel family
 KERNEL4="2.6.28" # kernel family
-KERNEL5="2.6.29" # kernel family
+KERNEL5="2.6.30" # kernel family
 
 #TOOLSRC =" ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \
 #	  mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \

To the script author, I see later in the script these variables are used in 5 blocks of code that are nearly identical. And that the script makes use of uname -r to dynamically determine the kernel version. Can that code be reduced to a loop, and eliminate the hard-coded kernel versions?

-Tom

#324

I have tried numerous other "fixes" to try and get the sound working. This is the only one that worked LOL. Thank you so much! Mad props. \\:D/ <-- thats me dancing to the music now that I can actually hear it!

#325

I have been using Ubuntu for awhile now, but haven't really tried to solve problems until now. I have accepted "no sound" problem for a long time, but last night I was playing around with my old small speakers and I found out I just needed speakers on my ubuntu! BUT I got too excited to get sound from my ubuntu machine, I wanted to do more (to be able to get sound with flash player) and I think I messed up driver or something pretty bad and I have no sound now even with speakers....

So, this morning, I found this thread, so...

I ran "./AlsaUpgrade-1.0.x-rev-1.17.sh -di" and rebooted, but when I do "cat /proc/asound/version", I get...

Advanced Linux Sound Architecture Driver Version 1.0.18. Compiled on Jul 3 2009 for kernel 2.6.28-13-generic (SMP).

It should be 1.0.20, right? What am I missing? Do I need to change PATH or some sort?

Thanks,

ubuntu 9.0.4

stitch74@LIVINGROOM:~$ aplay -l ** List of PLAYBACK Hardware Devices ** card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Live [SB Live! Value [CT4832]], device 0: emu10k1 [ADC Capture/Standard PCM Playback] Subdevices: 32/32 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 Subdevice #8: subdevice #8 Subdevice #9: subdevice #9 Subdevice #10: subdevice #10 Subdevice #11: subdevice #11 Subdevice #12: subdevice #12 Subdevice #13: subdevice #13 Subdevice #14: subdevice #14 Subdevice #15: subdevice #15 Subdevice #16: subdevice #16 Subdevice #17: subdevice #17 Subdevice #18: subdevice #18 Subdevice #19: subdevice #19 Subdevice #20: subdevice #20 Subdevice #21: subdevice #21 Subdevice #22: subdevice #22 Subdevice #23: subdevice #23 Subdevice #24: subdevice #24 Subdevice #25: subdevice #25 Subdevice #26: subdevice #26 Subdevice #27: subdevice #27 Subdevice #28: subdevice #28 Subdevice #29: subdevice #29 Subdevice #30: subdevice #30 Subdevice #31: subdevice #31 card 1: Live [SB Live! Value [CT4832]], device 2: emu10k1 efx [Multichannel Capture/PT Playback] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 1: Live [SB Live! Value [CT4832]], device 3: emu10k1 [Multichannel Playback] Subdevices: 1/1 Subdevice #0: subdevice #0

stitch74@LIVINGROOM:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.18. Compiled on Jul 3 2009 for kernel 2.6.28-13-generic (SMP).

#326

Seems to work on Ubuntu 9.04 Jaunty Jackalope with a HP Compaq 6715s and to fix the sound problem / problems (scratchy, noisy, skipps seconds). Thank you :)

#327

Hello and thanks for your work!

When i run cat /proc/asound/cards it always says "no such file or directory". What can I do?

Greets

PS: I messed around with ALSA / Sound before to get my Intel 82801H HD onboard card working. I hoped that your script could resolve the above problem AND give me sound ;) (I am a beginner)

PS2: Great, at least I can see my card now with /proc/asound/cards... but I do not have sound. Any idea?

aplay -l

** Liste von PLAYBACK Geräten ** Karte 0: Intel [HDA Intel], Gerät 0: ALC888 Analog [ALC888 Analog] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0 Karte 0: Intel [HDA Intel], Gerät 1: ALC888 Digital [ALC888 Digital] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0

*UPDATE* Okay, i have sound now! Yay! :) The only flaw is that Im not able to get Surround working...

*UPDATE 2* LOL, Im really annoying. I got it all running now. THANKS for the script!

#328

Hi there, im new to Ubuntu, im trying to run your script, ive got as far as

Usage: ./AlsaUpgrade-1.0.x-rev-1.17.sh [OPTION]...

Available options: -di Download (to /usr/src), compile and install the packages This option will compeletely upgrade your ALSA in one step -d Download the packages only In case you want to tweak/patch the official packages or you'd like to install the snapshot on top of the official packages prior to compiling and installating them -c Compilation only Kind of dry-run option to see if the configuration and compilation works -i Compilation and installation of packages Sources must exist under /usr/src. Run script with -d or -di options first. The option is useful to speed up your installation in case Ubuntu upgrades have overwritten your ALSA installation. It is also useful if you want to keep your patched version or snapshot version, when reinstalling the packages -r Restore ALSA Kernel and all ALSA relevant Ubuntu packages will be restored (done by re-installation of relevant packages) -snap Download, compile and install of latest ALSA driver-sources-snapshot Please run script using -d option first. Recommended for troubleshooting. (The snapshot is not an offical ALSA release or even pre-release, it is the latest snapshot taken from the design-tree!) -h Help - this page

Please visit http://ubuntuforums.org/showthread.php?t=962695 to report any issues you might encounter by using this script.

jacob@Jacob-Laptop:~/Desktop$ -di bash: -di: command not found jacob@Jacob-Laptop:~/Desktop$ -di bash: -di: command not found jacob@Jacob-Laptop:~/Desktop$ ./AlsaUpgrade-1.0.x-rev-1.17.sh Must be root to run this script... jacob@Jacob-Laptop:~/Desktop$ ./AlsaUpgrade-1.0.x-rev-1.17.sh -di Must be root to run this script... jacob@Jacob-Laptop:~/Desktop$ /AlsaUpgrade-1.0.x-rev-1.17.sh -di bash: /AlsaUpgrade-1.0.x-rev-1.17.sh: No such file or directory jacob@Jacob-Laptop:~/Desktop$ /AlsaUpgrade-1.0.x-rev-1.17.sh-di bash: /AlsaUpgrade-1.0.x-rev-1.17.sh-di: No such file or directory jacob@Jacob-Laptop:~/Desktop$ ./AlsaUpgrade-1.0.x-rev-1.17.sh Must be root to run this script... jacob@Jacob-Laptop:~/Desktop$ /AlsaUpgrade-1.0.x-rev-1.17.sh bash: /AlsaUpgrade-1.0.x-rev-1.17.sh: No such file or directory jacob@Jacob-Laptop:~/Desktop$

here, but now what do i do, as you can see im typing in what i think im being told to but getting an error, ive simply downloaded and extracted the script to desktop, but it says its not there

sorry i expect its staring me in the face but where am i going wrong?

#329

It tells you it's not there only when you forget the dot. So it's not:

/AlsaUpgrade-1.0.x-rev-1.17.sh -di

But:

./AlsaUpgrade-1.0.x-rev-1.17.sh -di

When you sometimes remember the dot you get the error message that you have to be root, which means that you should put "sudo" before the "./AlsaUpgrade-1.0.x-rev-1.17.sh -di".

So go to your desktop directory. Probably just "cd Desktop". And then:

sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh -di

It will take some time to finish. Don't close the terminal until you see the "jacob@Jacob-Laptop:" again. Then reboot.

#330

I am getting this error when running the script:


make[2]: Entering directory `/usr/src/Alsa-1.0.20/alsa-plugins-1.0.20/a52'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF ".deps/pcm_a52.Tpo" -c -o pcm_a52.lo pcm_a52.c; \
        then mv -f ".deps/pcm_a52.Tpo" ".deps/pcm_a52.Plo"; else rm -f ".deps/pcm_a52.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -I/usr/local/include "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF .deps/pcm_a52.Tpo -c pcm_a52.c  -fPIC -DPIC -o .libs/pcm_a52.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_a52.la -rpath /usr/lib/alsa-lib  pcm_a52.lo -lasound   -L/usr/local/lib -lavcodec   -lasound
gcc -shared  .libs/pcm_a52.o  -L/usr/local/lib -lavcodec /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_a52.so -o .libs/libasound_module_pcm_a52.so
/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound_module_pcm_a52.la] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.20/alsa-plugins-1.0.20/a52'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.20/alsa-plugins-1.0.20'
make: *** [all] Error 2
alsa-plugins-1.0.20 make failed

not sure where to go from here...

#331

I have the same problem. I ran the uxchecker script and checked the alsa upgrade and uxchecker log file generated. The files should be in /var/log directory. I had to install a couple packages and it seemed that mythtv was interfering with that. It still fails to compile.

#332

like many people here, I just wanted to express my thanks for this time saving script

#333

Thanks a lot. Your script got sound wroking on my friends Aspire 8920 on Jaunty.

#334

I'm looking to update my alsa to 1.0.20, since there is no ppa with it this script is my only hope. To those who tried it lately, does it upgrade to 1.0.20? and if something goes wrong, can i just reinstall alsa from the repos?

#335

1.0.20 yes. I can only recommend you to read and understand the first post in this thread. It'll probably answer your questions, and the reading will limit the problems you may make for your innocent computer.

The script worked great for me. Thanks by the way. Great job.

#336

thanks zob, well this script did everything i wished for and it did it without a hitch, i was trying to get X-Fi running on my 2.6.31-rc4 kernel but i had no luck so far. At least i know now its not the fault of alsa.

Awesome work on the script!

#337

Running your script REV 17. The script runs but drops out too quickly; less than a second after 'Be Patent!' appears. The system is not updated. I'm using: sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh -snap. I've run this a couple of times, the system is stuck with Alsa 1.0.18rc 3.

Help please. (9.04. Aspire 8930.)

Graham.

#338

Thanks! With all the different confusing methods of getting sound to work, this finally did it for me. I'm using an ASUS G50Vt with kernel 2.6.26-2-amd64 and I got things to work with model=g50v. I'm on Debian 5.0.2 (lenny) but of course it's similar enough to work (actually, I don't know if this script is even distro-dependant:-?).

#339

Got it working: sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh -snap :Does not Work but sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh -di -snap: does work.

Thanks Graham.

#340

I am having problems with alsa. Sound worked ok after upgrading to Jaunty, but after I tried upgrading to alsa v. 1.0.20, nothing is working anymore. Tried the script, but looks like something is missing on my computer. For example, I get the following: "cat: /proc/asound/devices: No such file or directory" and "cat: /etc/modprobe.d/alsa-base: No such file or directory". Running the uxchecker, I get a lot of other "No such file or directory" messages. My soundcard is not recognised anymore, but I had no problems with it before the upgrade. Also, when I ran alsa-info it reports that there is no alsa-driver installed. Some other information:

!!Linux Distribution !!------------------

Ubuntu 9.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.04"

!!Kernel Information !!------------------

Kernel release: 2.6.28-14-generic Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: Library version: 1.0.20 Utilities version: 1.0.20

Any ideas how to solve this or on what went wrong? I am fairly new to ubuntu and linux so please keep it at a not too technical level! Thanks in advance for any help!

#341

Hi The script runs properly on my computer, downloading and compiling everything without any error, but I still dont have sound. My computer is a Macbook Pro 5,4 Summer 2009 with Ubuntu Jaunty 9.04

#342

Hi The script runs properly on my computer. However, it seems that the driver isn't upgraded.

When I checked with the command $ cat /proc/asound/version, it returned : Advanced Linux Sound Architecture Driver Version 1.0.16. Compiled on Jul 25 2009 for kernel 2.6.24-24-generic (SMP).

which means that it is still not upgraded. I double checked with the command $ wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh, I got the following msg:

!!ALSA Version !!------------

Driver version: 1.0.16 Library version: 1.0.20 Utilities version: 1.0.20

[FONT=Verdana]However, when I used the command $aplay --version, it returned with:

aplay: version 1.0.20 by Jaroslav Kysela <perex@perex.cz>

:confused::confused::confused:. Which alsa driver works in my notebook then?

I also noticed that during configuring the 1.0.20 driver, the following msg appeared[/FONT][FONT=Verdana]:

checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

* NO PREDEFINED KERNEL COMPILER IS DETECTED * Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

while executing the command $ cat /proc/version, it returned: Linux version 2.6.24-24-generic (buildd@rothera) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Fri Jul 24 22:46:06 UTC 2009

The main problem is however not solved yet :(... Still no sound.

Anyone knows how to solve the problem? [/FONT]

#343

Thank you! I really appreciate your and the community's work! Whoooh ;) thx buddy ^o^

#344

To Linda No

The command is ``` cat /proc/asound/devices

#345

Hi,

I'm trying to get sound via HDMI. Over the weekend I changed several settings without success.

Hopefully someone can help me.

Some info from alsa-info script:

name=root&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.57
!!################################

!!Script ran on: Mon Aug 10 16:23:41 UTC 2009


!!Linux Distribution
!!------------------




!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name


!!Kernel Information
!!------------------

Kernel release:    2.6.28-14-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       No


!!ALSA Version
!!------------

Driver version:     1.0.20
Library version:    1.0.19
Utilities version:  1.0.20


!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_hda_intel


!!Sound Servers on this system
!!----------------------------


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe8f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeae8000 irq 19


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:05.2 Audio device: ATI Technologies Inc Radeon X1200 Series Audio Controller
04:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1043:8289
--
01:05.2 0403: 1002:7919
	Subsystem: 1043:8287


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-hda-ati: model=3stack-dig


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
-ne 	
bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1
-ne 	
enable : Y,Y,Y,Y,Y,Y,Y,Y
-ne 	
enable_msi : 0
-ne 	
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
-ne 	
index : -1,-1,-1,-1,-1,-1,-1,-1
-ne 	
model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
-ne 	
position_fix : 0,0,0,0,0,0,0,0
-ne 	
power_save : 0
-ne 	
power_save_controller : Y
-ne 	
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
-ne 	
probe_only : N,N,N,N,N,N,N,N
-ne 	
single_cmd : N

!!Module: snd_hda_intel
-ne 	
bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1
-ne 	
enable : Y,Y,Y,Y,Y,Y,Y,Y
-ne 	
enable_msi : 0
-ne 	
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
-ne 	
index : -1,-1,-1,-1,-1,-1,-1,-1
-ne 	
model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
-ne 	
position_fix : 0,0,0,0,0,0,0,0
-ne 	
power_save : 0
-ne 	
power_save_controller : Y
-ne 	
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
-ne 	
probe_only : N,N,N,N,N,N,N,N
-ne 	
single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC883
Address: 0
Function Id: 0x1
Vendor Id: 0x10ec0883
Subsystem Id: 0x10438289
Revision Id: 0x100002
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x01 0x01]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x01 0x01]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x05 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01014410: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01011412: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x16 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01016411: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e* 0x0f 0x26
Node 0x17 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01012414: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x01a19c40: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19c50: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0181344f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x4, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02214c20: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x593301f0: [N/A] CD at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4005e601: [N/A] Line Out at Ext N/A
    Conn = Optical, Color = White
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x00:
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x01441130: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=17
  Processing Coefficient: 0x00
  Coefficient Index: 0x0c
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x25 0x0b
Codec: ATI RS690/780 HDMI
Address: 0
Function Id: 0x1
Vendor Id: 0x1002791a
Subsystem Id: 0x00791a00
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18565010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Red
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x02
--endcollapse--

I tried several settings and don't know what to change any more. Some more info:

alsa-base.conf:


# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
options snd-hda-ati model=3stack-

/etc/pulse/default.pa:


#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav
load-sample-dir-lazy /usr/share/sounds/ubuntu/stereo

.fail

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-hal-detect.so
load-module module-hal-detect tsched=0
.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
load-module module-detect
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP reciever module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user during runtime
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
load-module module-console-kit

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music streams when a phone stream is active
load-module module-cork-music-on-phone

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=bell-windowing-system

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input

/etc/modules:


# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

loop
lp
sbp2

There's no sound. Default Sound Card is changed to HDMI. Sound Preferences is set to HDA ATI HDMI (Alsa Mixer) - IEC958. I'm using Mythbuntu 9.04 (32bit). My Asus Pundit PC is connected to a Panasonic Plasma via HDMI Cable.

Thanks in advance

Stevi.

#346

cd <your-download-dir> I am new using ubuntu; what do you mean exactly with cd <your-download-dir>? I saved the file on the desktop the file named: AlsaUpgrade-1.0.x-rev-1.17.tar tnx in advance/ dac anyone can help me with this basic question?

#347

Terminal type:

cd Desktop
#348

kintarooe said: Attempting to install 1.0.20 and get this error part way through.

No package 'alsa' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS and ALSA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

alsa-plugins-1.0.20 configure failed

I've tried the ALSA_LIBS export, but to no avail. Any suggestions?

Answered my own question, if anyone else gets this, make sure you don't have Synaptic Package Manager open (that was, I believe, my mistake).

#349

Tried everything possible to get the sound. Please find the details below;

  1. Name your Ubuntu revision - Linux tulibuntapc 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux
  2. Kernel revision - Linux tulibuntapc 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux
  3. Alsa revision - Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
  4. Upgrade script revision
  5. A bit of background what you've done resp. done before - whatever possible.
  6. Attach the relevant logs - Attached.
#350

Given the internal microphone bug:

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/141445

Will this 'updater' compile with that fix in place? If so I'll do a clean install on my Vaio VGN lappy and field test it Fri.

#351

a2cno said: Hi

The script runs properly on my computer. However, it seems that the driver isn't upgraded.

When I checked with the command $ cat /proc/asound/version, it returned : Advanced Linux Sound Architecture Driver Version 1.0.16. Compiled on Jul 25 2009 for kernel 2.6.24-24-generic (SMP).

which means that it is still not upgraded. I double checked with the command $ wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh, I got the following msg:

!!ALSA Version !!------------

Driver version: 1.0.16 Library version: 1.0.20 Utilities version: 1.0.20

[FONT=Verdana]However, when I used the command $aplay --version, it returned with:

aplay: version 1.0.20 by Jaroslav Kysela <perex@perex.cz> [/FONT]

I have this kind of mismatch too, except that my /proc/asound/version shows 1.0.18rc3

I had followed a different lead and manually compiled and installed these:

alsa-driver-1.0.20 alsa-lib-1.0.20 alsa-utils-1.0.20

  • and for a few days it solved my problem: internal speakers not muting when headphone jack is inserted. Now it has reverted, and reinstalling version 1.0.20 doesn't seem to work (or the installation fails).

I will try the upgrade script, but I'd still like to know how the problem found its way back after having been eliminated...

[EDIT:] I'm on jaunty now, not Breezy - must have been a while since my last post here... :-)

#352

No special modifications, this script works like a dream with LinuxMint 7 KDE Resolved my intermittent sound loss

Thanks!

#353

Props where props are due. Thanks, mate! Minor sound issue on the headphone jack, this cleared it right up. Think I will skip gateway next time and try a more linux friendly system.

#354

kseidenfaden said:

...

alsa-driver-1.0.20 alsa-lib-1.0.20 alsa-utils-1.0.20

  • and for a few days it solved my problem: internal speakers not muting when headphone jack is inserted. Now it has reverted, and reinstalling version 1.0.20 doesn't seem to work (or the installation fails).

I will try the upgrade script, but I'd still like to know how the problem found its way back after having been eliminated...

Ok, the script solved the problem again (so far). Thanks. However, it also installed a bunch of rubbish in my "Applications | Sound & Video" menu. Is that necessary?

#355

Unfortunately, the script didn't make sound work on my system:

Acer Aspire 6935G Ubuntu 8.10, x86_64, kernel 2.6.27-14 Used last version of the script (alsa 1.0.20, rev 1.17)

The script completed successfully.

Doing cat /proc/asound/version tells alsa 1.0.20 is installed

Mixers show all channels activated and non-muted.

The "Playback" tab of Pulseaudio shows applications that are playing audio, but however I just get silence.

I get no errors, and the Intel card is detected: aplay -l ** Lista de PLAYBACK Dispositivos Hardware ** tarjeta 0: Intel [HDA Intel], dispositivo 0: ALC889 Analog [ALC889 Analog] Subdispositivos: 1/1 Subdispositivo #0: subdevice #0 tarjeta 0: Intel [HDA Intel], dispositivo 3: NVIDIA HDMI [NVIDIA HDMI] Subdispositivos: 1/1 Subdispositivo #0: subdevice #0

But then speaker-test just makes silence... no sound at all.

It seems there's no way of getting sound from this Acer in 8.10.

Btw: yes, the sound hardware works in Windows.

#356

awesome, thank you!

#357

Please, soundcheck. Make your fantastic script work with the alsa version 1.0.21 released today (I think). There's something I need for my hdsp card, I'm quite sure. So please, please, please. Anyway thanks for this great script. I makes handling alsa upgrades so easy. And it just works. Great.

#358

zob said: Please, soundcheck. Make your fantastic script work with the alsa version 1.0.21 released today (I think). There's something I need for my hdsp card, I'm quite sure.

So please, please, please. Anyway thanks for this great script. I makes handling alsa upgrades so easy. And it just works. Great.

Just edit the file ;) you'll see what you need in the top 20 or so lines

#359

Dude, you're a badass! Solved!

#360

Please could someone advise when sound will just fully work out of the box, and whether these fixes have been rolled into a major release?

Basically - in the future, I'd like to buy an Ubuntu-loaded machine and just be able to run more than one sound-emitting app and just have them working...

#361

HarshReality said: Just edit the file ;) you'll see what you need in the top 20 or so lines

That's exactly what I did to install Alsa 1.0.21 on Hardy. :D @zob Just change the versions listed at the top of the script to what's listed here: http://www.alsa-project.org/main/index.php/Download

Major thanks to soundcheck for making this so easy. :D Trying to compile 1.0.21 from source kept giving me an error.

#362

Thansk HarshReality and Zoot7. Works great. Gotta love this script.

#363

Okay one little problem since I used it to upgrade on Hardy. Now whenever I run

sudo shutdown -h <time>

I get a rather annoying periodic and high pitched beep. This has only happened since I upgraded to Alsa 1.0.21 with this script. Is there any way I can turn it off?

I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding blacklist pcspkr to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.

This is rather annoying considering I use the shutdown command a lot when watching movies. Anyone got any ideas on how to turn this thing off?

#364

Though I can't see it in the man pages, I've heard that it is possible make a quiet shutdown by adding -q to the shutdown command.

Or you can try to install the gshutdown, which is an advanced graphical shutdown utility. But really it's probably just graphics for the shutdown command i guess.

#365

Yeah I tried the -q switch already. No joy...

Anyway I never heard of GShutdown before, I'll give it a shot.

Thanks. :)

#366

Okay problem solved, and for anyone who encounters this problem the simple fix is to mute the "PC Speaker" in the Gnome ALSA Mixer.

#367

when i try to run the script after downloading some libraries i get this error

Resolving ftp.alsa-project.org... failed: Name or service not known. wget: unable to resolve host address ftp.alsa-project.org' rm: cannot remove alsa*.tar.bz2': No such file or directory mv: cannot stat `alsa-*': No such file or directory

-------------------------------------------------------------

-------------------------------------------------------------

  • Prepare for compilation and installation...

alsa-driver-1.0.20 not found

i think its possible to do a manual download and put the files in /usr/src and then do the -i option install where can i get the files

#368

Hi calanor.

Just do what zoot7 advised me to in commentary #361, edit the script with gedit to change version numbers to the 1.0.21 set in top of the script according to version numbers on this page (nb. I think all except one is version 1.0.21): http://www.alsa-project.org/main/index.php/Download

Or you can download them manually, but there's really no need. Worked fine for me.

#369

Yet another thank you to soundcheck I've just used it on my home built PC, and this script has got my X-Fi working after nearly 3 years of waiting for ALSA support. :D

@calanor

This is what I changed lines 50 - 59 in order to get it working on Hardy to:

DRIVER=alsa-driver-1.0.21
FIRMWARE=alsa-firmware-1.0.20
LIB=alsa-lib-1.0.21
PLUGINS=alsa-plugins-1.0.21
UTILS=alsa-utils-1.0.21
TOOLS=alsa-tools-1.0.21
OSS=alsa-oss-1.0.17
#370

modifying script didn't work so i downloaded the files but they are all corrupt no matter i many times i download them also in the script the links are

ftp://ftp.alsa-project.org/pub/driver/$DRIVER.tar.bz2

whereas when i download the files the link is shown as

ftp://ftp.alsa-project.org//pub/driver/$DRIVER.tar.bz2

there is a difference of / before pub

#371

ok i performed all the instructions manually but got stuck at alsa-utils installation i kept giving error for lpanelw library even after making a link in the folder and so i am pretty sure i won't be able to get sound after rebooting because i think i won't be able to uncheck mute

#372

after rebooting i am getting sound but there is no difference from previous alsa driver and i have not been able to install alsa-utils yet

#373

I am trying to upgrade to the latest ALSA (1.20) for use with a K10N780SLIX3-WiF HDA-NVIDIA due to choppy, staticy, and echoy audio.



lspci:
00:07.0 Audio device: nVidia Corporation Unknown device 0774 (rev a1)

rec9140@rec9140-quad-desktop ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC882 Analog [ALC882 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC882 Digital [ALC882 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lshw:
 *-multimedia
          description: Audio device
          product: nVidia Corporation
          vendor: nVidia Corporation
          physical id: 7
          bus info: pci@0000:00:07.0
          version: a1
          width: 32 bits
          clock: 66MHz
          capabilities: pm msi ht bus_master cap_list
          configuration: driver=HDA Intel latency=0 maxlatency=5 mingnt=2 module
=snd_hda_intel
     *-pci:0
          description: PCI bridge
          product: nVidia Corporation
          vendor: nVidia Corporation
          physical id: 8
          bus info: pci@0000:00:08.0
          version: a1
          width: 32 bits
          clock: 66MHz
          capabilities: pci ht subtractive_decode bus_master cap_list

I am using the latest of the script posted in the first message.

First run I get:


checking pkg-config is at least version 0.9.0... yes
checking for ALSA... configure: error: Package requirements (alsa >= 1.0.11) were not met:

No package 'alsa' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS
and ALSA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

alsa-plugins-1.0.20 configure failed

See attachment for full log, lots of compiling info....

Looking here I did an :


rec9140@rec9140-quad-desktop /var/log $ export ALSA_LIBS=/usr/src/Alsa-1.0.20/alsa-lib-1.0.20  

Which gives the second log, but still doesn't install the updated ALSA.

From uxchecker, full uxchecker -a included in attachment.



-----------------------------------------------------------------------------
-    Ubuntu revision
-----------------------------------------------------------------------------

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.1
Release:        8.04
Codename:       hardy

------------------------------------------

Any hints or suggestions on where to go next....

Thanks!

#374

hello,

checking form.h presence... yes checking for form.h... yes checking for new_panel in -lpanelw... no configure: error: panelw library not found

the solution

You will need to add those symbolics links (only if you got the error) and restart the installation from the last “sudo ./configure” :

sudo ln -s libpanelw.so.5 /usr/lib/libpanelw.so sudo ln -s libformw.so.5 /usr/lib/libformw.so sudo ln -s libmenuw.so.5 /usr/lib/libmenuw.so sudo ln -s libncursesw.so.5 /lib/libncursesw.so

Enjoy:

#375

i don't know why it didn't work the first time , well now its installed but there is no difference in volume whatsoever ,and yes all sliders are maxed out

#376

DESPERATELY NEED ADVICE New to Ubuntu.Understand that it will take some effort to get to ropes with Ubuntu.I have been battling now for 2 weeks to get sound on system.No sound at all.Clean install on new system.On dual boot with windows.Sound in windows works just wonderfull,no problems at all. Ubuntu,TOTAL different story.Tried everything I could find in forums.Also AlsaALSA Upgrade Script [B]& Multiple Sound Solution (ALSA w Pulseaudio)section [/B]But to no avail.Any advice will be appreciated.Volume controle shows,volume is not on mute. In sound preferences everything is on Aoto detect.And I have tried all different configurations. Pulse audio volume controle shows playback:Audio on Mute[Red Dot] and Output Devices:HDA Intel-ALC883 Analog"Audio also on Mute-Red Dot" Also not sure if I am doing it corectly[Upgrading the ALSA script],but when I try typing this in Terminal :sudo ./AlsaUpgrade-1.0.x-rev-1.17.sh -di I get this :[sudo] pasword for anjojo: But when I try typing my pasword for anjojo,nothing is typed.No matter what keys I type.

Any advice will be be enormously appreciated.

#377

anjojo said:

But when I try typing my pasword for anjojo,nothing is typed.No matter what keys I type.

Any advice will be be enormously appreciated.it's normal you don't see if anything was typed; it's hidden in Ubuntu by default. Just hit ENTER after typing your password

#378

OK thanks.will try that.Still learning

#379

Hi,

With the release of 1.0.21 recently, is there an upgrade script available? Sorry if it's been released and I'm too dense to have found ti already.

Thanks, Perdignus.

#380

For my post regarding the ASRock K10 MB with onboard sound.

The error that seems to be the root of issues for me is:

Fetched 1429kB in 3s (472kB/s) Setting up base-files (4.0.1ubuntu5.8.04.7) ...

Configuration file `/etc/issue' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** issue (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing base-files (--configure): EOF on stdin at conffile prompt Errors were encountered while processing: base-files E: Sub-process /usr/bin/dpkg returned an error code (1) Reading package lists... Building dependency tree...

When I followed another thread about the LinuxAnt DEB file upgrade, this error came up, I selected Y, and sound started working before dpkg was completed with the LinuxAnt DEB.

So not sure what caused the error me or something else during the initial install.

#381

thank u so much for this script! now i can use teamspeak again:guitar:

#382

Awesome script, i've tried compiling realtek alsa drivers, etc to no avail. For anyone having problems with ubuntu 8.04 on a Dell Latitude 2100 (Realtek Chipset 272), this script did the trick for me :P

#383

Hi,

thank you so much!!

this script worked perfectly with my system, I have a Realtek ID 272 (very small information found over this card ).

Thanks a lot!!!

Regards

#384

Hey soundcheck,

Your script is amazing, and it was on it's way to working wonderfully until my tethered internet ran out of battery (WiFi tether on G1 chews through battery life!!!)

Now when I try to run the script and open up tail-vf <logfile> it hangs at:

darthlukan@EvilBox:~$ tail -fv /var/log/AlsaUpgradeRev-1.17-091209-18.00.log ==> /var/log/AlsaUpgradeRev-1.17-091209-18.00.log <== libstdc++6-4.3-doc python2.5-doc python-profiler The following NEW packages will be installed: build-essential docbook-xsl docbook-xsl-doc-html g++ g++-4.3 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.3-dev libsysfs-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxt-dev python-all python-all-dev python-dev python2.5 python2.5-dev python2.5-minimal python2.6-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev xmlto xtrans-dev

Is there a "cleanup command" that I can use to maybe dump whatever cache that my be buggered up from the failed attempt?

I've tried several different argument options to no avail, my internet activity is 0kb/s when running the script, so I know that it isn't downloading anything. Any help would be greatly appreciated!

#385

Hi folks.

I havn't been around for a while. Shame on me.I completely lost track about what's going on over here.

In an hour or so the script will be upgraded.

#386

Hi folks.

I just uploaded the updated version of my script.

It'll upgrade to the recently launched Alsa 1.0.21.

XFI owners will be happy about that.

It'll also run up to 2.6.31 kernels. I just tested it on a 2.6.31-rt kernel.

Let me know, if you face any big issues.

The script has been downloaded around 19000 times since last year. Not very many complaints or problems so far. It seems to be quite stable.

Enjoy.

#387

Thanks for the effort. Looks like a comprehensive script. Though I'm no expert, it looks like the driver install will fail for my HP Mini 110 (Ubuntu 8.04, 2.6.24-22-lpia kernel) because the kernel source (headers) is not located in /usr/src/linux-headers-$KERNEL. Not sure where it is or how to find it.

#388

$kernel is a variable based on the current kernel your running. I just did the script on my Vaio to get the microphone issue resolved (it is btw.. woohoo!). and it worked flawlessly (Jaunty x32).

So, I will say simply quoting you 'looks like' would be better served with the actual attempt. It doesnt break anything if it fails ;)

#389

HarshReality said: $kernel is a variable based on the current kernel your running. I just did the script on my Vaio to get the microphone issue resolved (it is btw.. woohoo!). and it worked flawlessly (Jaunty x32).

So, I will say simply quoting you 'looks like' would be better served with the actual attempt. It doesnt break anything if it fails ;) True, nothing wasted but time. I've tried installing the drivers without the script and found that it fails because it can't find the kernel headers. Even though $KERNEL is a variable, there is nothing in my /usr/src directory, so the name will not find anything.

#390

well, easy enough simply terminal 'uname -r' to find your kernel name then goto synaptic and search for 'headers' and check the numeric value

for example this machine is using: steven@steven-desktop:~$ uname -r 2.6.28-15-generic so in synaptic I search for linux-headers-2.6.28-15 and select them for install. Then the script should run properly ;) If not let us know and we'll take the next step from there.

#391

This script doesn't work.

#392

HarshReality said: well, easy enough simply terminal 'uname -r' to find your kernel name then goto synaptic and search for 'headers' and check the numeric value

for example this machine is using: steven@steven-desktop:~$ uname -r 2.6.28-15-generic so in synaptic I search for linux-headers-2.6.28-15 and select them for install. Then the script should run properly ;) If not let us know and we'll take the next step from there. The script produces the following errors early on: AlsaUpgrade-1.0.21-1.sh: line 176: apt-update: command not found AlsaUpgrade-1.0.21-1.sh: line 177: apt-upgrade: command not found Where can I find these commands?

Later, I get: Makefile:6: /usr/src/Alsa-1.0.21/alsa-driver-1.0.21/Makefile.conf: No such file or directory /usr/src/Alsa-1.0.21/alsa-driver-1.0.21/Rules.make:75: /Rules.make1: No such fil e or directory but these files are present.

What gives?

#393

leeelson said: The script produces the following errors early on:

AlsaUpgrade-1.0.21-1.sh: line 176: apt-update: command not found AlsaUpgrade-1.0.21-1.sh: line 177: apt-upgrade: command not found Where can I find these commands?

Later, I get: Makefile:6: /usr/src/Alsa-1.0.21/alsa-driver-1.0.21/Makefile.conf: No such file or directory /usr/src/Alsa-1.0.21/alsa-driver-1.0.21/Rules.make:75: /Rules.make1: No such fil e or directory but these files are present.

What gives?

I'll check it out. That's indeed a problem.

#394

Hello Community.

I hope my english is so good, that you can understand me.

This script works, but the ./configure-script from alsa-utils break with an error listet below.


checking for form.h... yes
checking for new_panel in -lpanelw... no
configure: error: panelw library not found

make: *** No Targets specified and no »make«-contorlfile found.  End.

make: *** No rules, to build »install«.  End.

I'm search for this at the Alsa.org-side, but can't get any idea from this side. Also an search at google and ubuntu-forums and -wikis in germany and english.

#395

I uploaded a new version.

@Melba: I don't see how to solve your issue for now. I am wondering if there is problem with your machine or setup in general. Perhaps you retry with the new svript version

@leeeson: Please download the new version and retry

If you run a 2.6.28-15-generic kernel you'll need also linux-headers-2.6.28-15-generic. This is what is done by the script. On my 2nd machine I am running a 2.6.28-11-generic (Mint) The upgrade went flawless.

#396

I have my trouble with not located libraray panelw in the configure script from alsa-utils solved.

First i found a reply in this thread, wich tells me to make symbolic links from libpanelw.so.5 and a few other librarys lib….so.5 named libpanelw.so and lib….so.

But this only doesn't work, i don't know why.

A other thread tells me to install the package > libncursesw5-devThis was the solution for my system and now my alsa was upgraded.

Because i think this solution is helpfull for other users, i write this reply. Thanks.

#397

melba said: I have my trouble with not located libraray panelw in the configure script from alsa-utils solved.

First i found a reply in this thread, wich tells me to make symbolic links from libpanelw.so.5 and a few other librarys lib….so.5 named libpanelw.so and lib….so.

But this only doesn't work, i don't know why.

A other thread tells me to install the package This was the solution for my system and now my alsa was upgraded.

Because i think this solution is helpfull for other users, i write this reply. Thanks.

THX for letting me know.

I have these packages installed - just checked it out. I'll put the lib into the script just to avoid any further problems.

#398

soundcheck said: I uploaded a new version.

@Melba: I don't see how to solve your issue for now. I am wondering if there is problem with your machine or setup in general. Perhaps you retry with the new svript version

@leeeson: Please download the new version and retry

If you run a 2.6.28-15-generic kernel you'll need also linux-headers-2.6.28-15-generic. This is what is done by the script. On my 2nd machine I am running a 2.6.28-11-generic (Mint) The upgrade went flawless.

Here's the latest output (end of the log file-not much but URL's before) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... alsa-base is already the newest version. Package alsa-oss is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package alsa-oss has no installation candidate Problems downloading and installing the required dependencies...

I tried starting over from scratch (deleted everything in /usr/src). Script seems to fail no matter what I try....

#399

leeelson said: Here's the latest output (end of the log file-not much but URL's before)

Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... alsa-base is already the newest version. Package alsa-oss is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package alsa-oss has no installation candidate Problems downloading and installing the required dependencies...

I tried starting over from scratch (deleted everything in /usr/src). Script seems to fail no matter what I try....

First of all good to see that my new safety anchor worked. If there is problem with the dependencies the script will drop out.

Hmmh. It seems that there is no alsa-oss in the repo. Could you please check with synaptic if it is there.

THX

#400

Hi soundcheck.

I'm having problems with my sound, and just tried your script using the instructions from page one:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.21-3.tar
  4. sudo ./AlsaUpgrade-1.0.21-3.sh -di
  5. sudo shutdown -r 0

Everything ran smoothly, but the report from

 
ian@attercop:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ian@attercop:~$ cat /proc/asound/modules
 0 snd_intel8x0
 1 snd_usb_audio
ian@attercop:~$ aplay -l
aplay: device_list:217: no soundcards found...
ian@attercop:~$ 

doesn't show any success. It looks like the script failed somewhere. What else should I look at?

#401

If the script fails during the early phases prior to the installation process it won't install anything.

Did you do the reboot?

What does the logfile say? You'll find it under /var/log/Alsa.......

Just edit it and look for strange things.

sudo gedit /var/log/Alsa.....

You can also PM me.

#402

Thanks soundcheck,

The relevant bit seems to be this:

Reading package lists...
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 370054A32DF69BF5
W: You may want to run apt-get update to correct these problems
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
alsa-base is already the newest version.
alsa-oss is already the newest version.
alsa-utils is already the newest version.
alsa-utils set to manually installed.
libasound2 is already the newest version.
libasound2-plugins is already the newest version.
build-essential is already the newest version.
libsysfs-dev is already the newest version.
libsysfs-dev set to manually installed.
gettext is already the newest version.
gettext set to manually installed.
linux-headers-2.6.28-11-generic is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
  libavutil-dev: Depends: libavutil49 (= 3:0.svn20090303-1ubuntu6) but it is not going to be installed
E: Broken packages
Problems downloading and installing  the required dependencies...

I tried apt-get update and got the following

Reading package lists... Done
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 370054A32DF69BF5
W: You may want to run apt-get update to correct these problems

So no help there then.

Ian

#403

Try to install libavutil49 manually and then restart the script:

sudo apt-get install libavutil49

#404

Thanks soundcheck. That cured the script OK. It took >25 minutes on my machine !

However, no cigar. After the reboot I still have

ian@***:~$ aplay -l
aplay: device_list:223: no soundcards found...
ian@***:~$ cat /proc/asound/versionAdvanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Sep 16 2009 for kernel 2.6.28-11-generic (SMP).
ian@***:~$

I'll keep looking - but not tonight. Thanks for your efforts, and for the script - I'm sure the sound will be good when I get it back!

Ian

P.S. alsa-info.sh shows this result: http://www.alsa-project.org/db/?f=8dfa358936eb9a11c1a91b73f26969fd55a53654

#405

Ok. The installation seems to be OK now. We'll get there.

Both cards are recognized by the system if you look at the log.

If you type "cat /proc/asound/cards" you'll see both devices. OK. Both modules are loaded (lsmod | grep snd): OK

snd_intel8x0 snd_usb_audio

Your second card snd-usb-audio is a camera. aplay won't tell you. OK.

Now we need to find out why aplay doesn't see your card.

I googled a bit. Try to run "alsaconf"

#406

soundcheck said: First of all good to see that my new safety anchor worked.

If there is problem with the dependencies the script will drop out.

Hmmh. It seems that there is no alsa-oss in the repo. Could you please check with synaptic if it is there.

THX

synaptic doesn't show it. Not sure where to get it and the form to use in synaptic. I think I have the Hardy distribution.

#407

leeelson said: synaptic doesn't show it. Not sure where to get it and the form to use in synaptic. I think I have the Hardy distribution.

http://packages.ubuntu.com/de/hardy/alsa-oss

#408

soundcheck said: http://packages.ubuntu.com/de/hardy/alsa-oss

I set up synaptic for

dep http://packages.ubuntu.com/hardy/alsa-oss hardy universe

(I used the English version) and got

error message: Failed to fetch http://packages.ubuntu.com//hardy/alsa-oss/dists/hardy/universe/i18n/Translation-en_US.bz2 Connection failed Failed to fetch http://packages.ubuntu.com//hardy/alsa-oss/dists/hardy/universe/binary-lpia/Packages.bz2 Sub-process bzip2 returned an error code (2) Some index files failed to download, they have been ignored, or old ones used instead.

If I set the source to be http://packages.ubuntu.com/hardy/sound/alsa-oss I get GPG error: http://packages.ubuntu.com hardy Release: The following signatures were invalid: NODATA 1 NODATA 2Failed to fetch http://packages.ubuntu.com/hardy/sound/alsa-oss/dists/hardy/universe/binary-lpia/Packages.bz2 Sub-process bzip2 returned an error code (2) Some index files failed to download, they have been ignored, or old ones used instead.

This is a read error for bzip2 (bzip2: (stdin) is not a bzip2 file.)

Sorry to be slow, but this is new for me.

#409

soundcheck said: Ok. The installation seems to be OK now. We'll get there.

<snip> I googled a bit. Try to run "alsaconf"

Hey thanks, I was going to leave this till tomorrow - but it's still bugging me badly.

If you're still there, thanks again. I ran alsaconf OK and it found the sound card happily, towards the end I got the following output:

         &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488;
         &#9474;                                                          &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;      OK, sound driver is configured.                     &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;                   ALSA  CONFIGURATOR                     &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;           will prepare the card for playing now.         &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;      Now I'll run alsasound init script, then I'll use   &#9474;  
         &#9474;      amixer to raise the default volumes.                &#9474;  
         &#9474;      You can change the volume later via a mixer         &#9474;  
         &#9474;      program such as alsamixer or gamix.                 &#9474;  
         &#9474;                                                          &#9474;  
         &#9500;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;92%&#9472;&#9472;&#9508;  
         &#9474;                         <  OK  >                         &#9474;  
         &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;  
           



Running update-modules...
/usr/sbin/alsaconf: line 929: update-modules: command not found
Setting default volumes...
amixer: Mixer attach default error: No such device
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1502: No soundcards found...



===============================================================================

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!


ian@***:~$ aplay -l
aplay: device_list:223: no soundcards found...

However, I can't find /etc/asound.state in my file system either by looking (with hidden files shown) or by searching. So does the fault lie with update-modules or with amixer?

Ian

Addendum: A more careful search reveals that in /var/lib/alsa there is a broken link to asound.state - 17 bytes of type link (broken) - which point nowhere.

#410

Update:

Never could get the script to work. Could not get alsa-oss via snyaptic. I followed some instructions for downloading and installing lib, utils etc and it worked. ;-) My internal mic still is inop :-(. Looks like it may be a codec problem.

Thanks for your help.

#411

momist said: Hey thanks, I was going to leave this till tomorrow - but it's still bugging me badly.

If you're still there, thanks again. I ran alsaconf OK and it found the sound card happily, towards the end I got the following output:

         &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488;
         &#9474;                                                          &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;      OK, sound driver is configured.                     &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;                   ALSA  CONFIGURATOR                     &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;           will prepare the card for playing now.         &#9474;  
         &#9474;                                                          &#9474;  
         &#9474;      Now I'll run alsasound init script, then I'll use   &#9474;  
         &#9474;      amixer to raise the default volumes.                &#9474;  
         &#9474;      You can change the volume later via a mixer         &#9474;  
         &#9474;      program such as alsamixer or gamix.                 &#9474;  
         &#9474;                                                          &#9474;  
         &#9500;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;92%&#9472;&#9472;&#9508;  
         &#9474;                         <  OK  >                         &#9474;  
         &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;  
           



Running update-modules...
/usr/sbin/alsaconf: line 929: update-modules: command not found
Setting default volumes...
amixer: Mixer attach default error: No such device
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1502: No soundcards found...



===============================================================================

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!


ian@***:~$ aplay -l
aplay: device_list:223: no soundcards found...

However, I can't find /etc/asound.state in my file system either by looking (with hidden files shown) or by searching. So does the fault lie with update-modules or with amixer?

Ian

Addendum: A more careful search reveals that in /var/lib/alsa there is a broken link to asound.state - 17 bytes of type link (broken) - which point nowhere.

Interesting the link should refer to /etc/asound.state. I do that in the script. asound.state lists the general mixer settings and configs.

Let's try this.

Note type aplay -l to get to know the exact [id] in brackets of your card and replace below HDA Intel!


sudo /etc/init.d/alsa-utils reset "HDA Intel"
sudo alsactl store
cd /var/lib/alsa
sudo rm asound.state
sudo ln -s /etc/asound.state asound.state

reboot

#412

Hi soundcheck, glad you're back.

Unfortunately aplay -l does not give me a soundcard (that's the problem!). Using asound info, I obtained the following:

 ian@***:~$ cat /proc/asound/card0/pcm0c/info
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: Intel ICH
name: SiS SI7012
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1

But, using either "SiS SI7012" or "Intel ICH" results in the same 'fail' error:

ian@***:~$ sudo /etc/init.d/alsa-utils reset "SiS SI7012"
[sudo] password for ian: 
 * Resetting ALSA card SiS SI7012...                                     [fail] 
ian@***:~$ sudo /etc/init.d/alsa-utils reset "Intel ICH"
 * Resetting ALSA card Intel ICH...                                      [fail] 
ian@***:~$ 

Where next?

Ian

#413
  1. Was it working prior to the upgrade?
  2. Perhaps you should try to run the script with "-snap" ? At least we would have a base to start talking to the alsa folks.
  3. people were discussing to add a module option in /etc/modprobe.d/alsa-base.conf to the driver.

Add to your module entry at the bottom of the file /etc/modprobe.d/alsa-base.conf: option snd_intel8x0 ac97_quirk=3 index=0

and reboot. You might try 0 instead of 3 in a 2nd run.

#414

Well now,

  1. Yes the sound worked as normal after my upgrade to Jaunty a few days ago. I can't be certain about when the sound system got broken, but I've been blindly accepting all updates to the system each day. My Synaptic log shows this:
Commit Log for Wed Sep 16 11:20:34 2009

Installed the following packages:
flashplugin-nonfree-extrasound (0.0.svn2431-3)
lib64asound2 (1.0.18-1ubuntu9)
lib64asound2-plugins (1.0.18-1ubuntu4)
libc6-amd64 (2.9-4ubuntu6.1)
vlc-plugin-pulse (0.9.9a-2ubuntu1)
xmms2-core (0.5DrLecter-2ubuntu3)
xmms2-plugin-pulse (0.5DrLecter-2ubuntu3)
Commit Log for Wed Sep 16 10:09:21 2009

Installed the following packages:
gstreamer0.10-plugins-bad (0.10.11-2ubuntu1)
Commit Log for Wed Sep 16 09:42:27 2009

Removed the following packages:
gstreamer0.10-fluendo-mpegdemux
gstreamer0.10-plugins-bad

Installed the following packages:
asoundconf-gtk (1.6-0ubuntu1)
gnome-alsamixer (0.9.7~cvs.20060916.ds.1-2)

These were all down to attempted repairs, I think. Please note that I don't need the 64 bit items, I'm running on an AMD 32 bit machine (XP1600 at 1.8GHz). I just accept what is offered, as I don't know if marking them to not install will result in them being offered again later.

Commit Log for Tue Sep 15 08:34:59 2009

Upgraded the following packages:
libc6 (2.9-4ubuntu6) to 2.9-4ubuntu6.1
libc6-dev (2.9-4ubuntu6) to 2.9-4ubuntu6.1
libc6-i686 (2.9-4ubuntu6) to 2.9-4ubuntu6.1
libopenexr6 (1.6.1-3ubuntu1) to 1.6.1-3ubuntu1.9.04.1
libssl0.9.8 (0.9.8g-15ubuntu3.2) to 0.9.8g-15ubuntu3.3
openssl (0.9.8g-15ubuntu3.2) to 0.9.8g-15ubuntu3.3
tzdata (2009l-0ubuntu0.9.04) to 2009m-0ubuntu0.9.04
tzdata-java (2009l-0ubuntu0.9.04) to 2009m-0ubuntu0.9.04
Commit Log for Wed Sep 16 11:20:34 2009

Installed the following packages:
flashplugin-nonfree-extrasound (0.0.svn2431-3)
lib64asound2 (1.0.18-1ubuntu9)
lib64asound2-plugins (1.0.18-1ubuntu4)
libc6-amd64 (2.9-4ubuntu6.1)
vlc-plugin-pulse (0.9.9a-2ubuntu1)
xmms2-core (0.5DrLecter-2ubuntu3)
xmms2-plugin-pulse (0.5DrLecter-2ubuntu3)
Commit Log for Mon Sep 14 15:38:09 2009

Installed the following packages:
gnome-humility-icon-theme (0.3-0ubuntu1)
gnome-icon-theme-gartoon (0.5-4ubuntu2)
gnome-icon-theme-gperfection2 (2.3-0ubuntu3)
gnome-icon-theme-nuovo (0.5-2)
gnome-icon-theme-yasis (0.4.2-1)
gnome-themes-extras (2.22.0-0ubuntu2)
tango-icon-theme (0.8.90-1)
tango-icon-theme-common (0.7-0ubuntu1)
tango-icon-theme-extras (0.1.0-0ubuntu4)
ubuntustudio-icon-theme (0.11)
wm-icons (0.4.0-3)
Commit Log for Sun Sep 13 09:11:51 2009

Upgraded the following packages:
firefox (3.0.13+nobinonly-0ubuntu0.9.04.1) to 3.0.14+build2+nobinonly-0ubuntu0.9.04.1
firefox-3.0 (3.0.13+nobinonly-0ubuntu0.9.04.1) to 3.0.14+build2+nobinonly-0ubuntu0.9.04.1
firefox-3.0-branding (3.0.13+nobinonly-0ubuntu0.9.04.1) to 3.0.14+build2+nobinonly-0ubuntu0.9.04.1
firefox-3.0-gnome-support (3.0.13+nobinonly-0ubuntu0.9.04.1) to 3.0.14+build2+nobinonly-0ubuntu0.9.04.1
firefox-gnome-support (3.0.13+nobinonly-0ubuntu0.9.04.1) to 3.0.14+build2+nobinonly-0ubuntu0.9.04.1
libqt4-assistant (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-dbus (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-designer (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-help (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-network (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-opengl (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-qt3support (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-script (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-sql (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-sql-mysql (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-svg (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-test (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-webkit (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-xml (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqt4-xmlpatterns (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqtcore4 (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
libqtgui4 (4.5.0-0ubuntu4.1) to 4.5.0-0ubuntu4.2
xulrunner-1.9 (1.9.0.13+nobinonly-0ubuntu0.9.04.1) to 1.9.0.14+build2+nobinonly-0ubuntu0.9.04.1
xulrunner-1.9-gnome-support (1.9.0.13+nobinonly-0ubuntu0.9.04.1) to 1.9.0.14+build2+nobinonly-0ubuntu0.9.04.1
Commit Log for Sat Sep 12 17:41:33 2009

Installed the following packages:
inkblot (0.99.9-1)
libinklevel4 (0.7.3-1)
Commit Log for Sat Sep 12 16:57:29 2009

Upgraded the following packages:
gnome-terminal (2.26.0-0ubuntu2) to 2.26.0-0ubuntu2.1
gnome-terminal-data (2.26.0-0ubuntu2) to 2.26.0-0ubuntu2.1
libamrnb3 (7.0.0.2-0.0medibuntu1) to 7.0.0.2-0.1medibuntu1
libgoo-canvas-perl (0.05-1~gscrot1intrepid2) to 0.05-1~gscrot1jaunty1
libpam-modules (1.0.1-9ubuntu1) to 1.0.1-9ubuntu1.1
libpam-runtime (1.0.1-9ubuntu1) to 1.0.1-9ubuntu1.1
libpam0g (1.0.1-9ubuntu1) to 1.0.1-9ubuntu1.1
mencoder (2:1.0~rc2-0ubuntu19) to 2:1.0~rc2-0ubuntu19+medibuntu1
mplayer (2:1.0~rc2-0ubuntu19) to 2:1.0~rc2-0ubuntu19+medibuntu1
mplayer-doc (2:1.0~rc2-0ubuntu19) to 2:1.0~rc2-0ubuntu19+medibuntu1
sun-java6-bin (6-14-0ubuntu1.9.04) to 6-16-0ubuntu1.9.04
sun-java6-fonts (6-14-0ubuntu1.9.04) to 6-16-0ubuntu1.9.04
sun-java6-jre (6-14-0ubuntu1.9.04) to 6-16-0ubuntu1.9.04
sun-java6-plugin (6-14-0ubuntu1.9.04) to 6-16-0ubuntu1.9.04
totem (2.26.1-0ubuntu5) to 2.26.1-0ubuntu5.1
totem-common (2.26.1-0ubuntu5) to 2.26.1-0ubuntu5.1
totem-dbg (2.26.1-0ubuntu5) to 2.26.1-0ubuntu5.1
totem-gstreamer (2.26.1-0ubuntu5) to 2.26.1-0ubuntu5.1
totem-mozilla (2.26.1-0ubuntu5) to 2.26.1-0ubuntu5.1
totem-plugins (2.26.1-0ubuntu5) to 2.26.1-0ubuntu5.1
totem-xine (2.26.1-0ubuntu5) to 2.26.1-0ubuntu5.1
w32codecs (20071007-0medibuntu3) to 20071007-0medibuntu4

I'm pretty sure that the sound worked OK before then.

  1. I can try "-snap" if needed, but I don't think that's the right direction to restore connection to the sound card?

aplay: device_list:223: no soundcards found...

  1. I've tried those entries, using snd_intel8x0 and snd_intel8x0m and with AC97_quirk=3 and AC97_quirk=0. Each time I still get ```


Whew.  I hope this is not too much info?

Thanks again,

Ian
#415

Should it be AC'97?

NO

Whew. I hope this is not too much info?

Hmmh. ;)

I am running out of ideas. The fact that the whole thing probably started prior to the upgrade to 1.0.21 makes me feel better. There is probably nothing wrong with the script. There have been more then 200 downloads by now and no complaints so far.

#416

Hi folks.

Gotta question?

Did anybody try the script on a 64 bit installation??

THX

#417

soundcheck said:

Hmmh. ;)

I am running out of ideas. The fact that the whole thing probably started prior to the upgrade to 1.0.21 makes me feel better. There is probably nothing wrong with the script.

No, definitely not the script at fault here, but I *was* hoping that your script might cure it - rather a vain hope I suppose.

Thank you again for all the time and effort you have put into trying to help me. I'll perhaps have to try and remove the recent "updates" to restore my sound system. First, I'll have a look at the relevant files in my back up of the Intrepid system just before the dist-upgrade, and see if I can spot any differences. Unfortunately, I never backed up Jaunty yet . . .

Wish me luck - and cheers!

Ian

#418

BTW: Do you have an /etc/modprobe.d/alsa-base or alsa-base.conf file?

#419

soundcheck said: BTW: Do you have an /etc/modprobe.d/alsa-base or alsa-base.conf file?

Only the alsa-base.conf file here. I also have the original file before I messed about with it as alsa-base.conf.bak

I assume the question was for me? :)

Ian

Addendum:

I am now seriously considering abandoning jaunty and reverting to my Intrepid image from a couple of weeks ago. Luckily, I have /home on a separate partition, and can try to restore the old system at little cost. I'm really, really tired of struggling with this. :(

#420

Hello,

After installing alsa my sound card stopped working. I was trying to get the mic to work but now nothing works. Here is a link with my info generated by alsa-info.sh

http://www.alsa-project.org/db/?f=6fd90833f2409153d7868c8f3050ab0ccdfa70ee

Thanks

#421

I am having a difficult time getting any audio from my HP DV6 computer. It worked for a short while about 4 weeks ago.

My latest info is: Your ALSA information is located at http://www.alsa-project.org/db/?f=6b260255865717968b4b0ed54f9f72edb7848619

Let me know if you have any thoughts?

Thanks 4coolkid

#422

soundcheck said: Hi folks.

Gotta question?

Did anybody try the script on a 64 bit installation??

THX

Yep, works fine.

#423

Script ends with an error:

chmod: cannot access `/dev/midi': No such file or directory

:(

#424

soundcheck said: THX for letting me know.

I have these packages installed - just checked it out. I'll put the lib into the script just to avoid any further problems.

Hi soundcheck, sorry that I anwsered so late, but I'm was very busy the last days..

I've run the newiest script and it works perfectly on my 64bit machine with Kernel Linux 2.6.28-15-generic

The symlinks, describe below, are not necessary.

john-parker said: hello,

checking form.h presence... yes checking for form.h... yes checking for new_panel in -lpanelw... no configure: error: panelw library not found

the solution

You will need to add those symbolics links (only if you got the error) and restart the installation from the last “sudo ./configure” :

sudo ln -s libpanelw.so.5 /usr/lib/libpanelw.so sudo ln -s libformw.so.5 /usr/lib/libformw.so sudo ln -s libmenuw.so.5 /usr/lib/libmenuw.so sudo ln -s libncursesw.so.5 /lib/libncursesw.so

Enjoy:

thanks and bye melba

#425

Is there any chance that this script would work on an OpenSUSE KDE installation?

#426

momist said: No, definitely not the script at fault here, but I *was* hoping that your script might cure it - rather a vain hope I suppose.

Thank you again for all the time and effort you have put into trying to help me. <snip> Ian

[SOLVED] I've done a fresh clean install of Jaunty on the root partition, and carefully updated and patched in additional packages, avoiding anything that could break the sound, and so far it works. :)

Ian

#427

treesurf said: Is there any chance that this script would work on an OpenSUSE KDE installation?

No it won't. Just Debian based distros are supported.

Though I think it shouldn't be a big problem to make it work under Suse.

#428

Hello soundcheck,

Here is the info from my system. There are 3 AlsaUpgrade files corresponding to first installation, first removal, and second installation attempt. Sound stopped working after first running the script

Thanks,

cosminm

#429

thanks very much for the script.. after installing ubuntu 9.04 the sound wasn workin...but after upgrading it worked like charm...

thanks again

#430

Pretty cool set of resources...thanks Point of Sale.

#431

Has sound been fixed to work so it plays from multiple apps, and mics just work?

#432

Thank god for people like you. It updated about 225 packages! And now I have sound on my 'HP Pavillion Entertainment PC' running Ubuntu Jaunty.

Hooray!

#433

I'm lost.

I am running preinstalled 8.04LTS on a THinkpad R61i from Linux Emporium.. and am nervous that I'd have to go through all this when I eventually accept an upgrade to the next Stable long-term Release of Ubuntu Desktop (I'm your basic LTS-LTS user). And I don't want to break sound.

Are Canonical going to resolve things so that this part of the system will Just Work?

#434

alexcckll said: I'm lost.

I am running preinstalled 8.04LTS on a THinkpad R61i from Linux Emporium.. and am nervous that I'd have to go through all this when I eventually accept an upgrade to the next Stable long-term Release of Ubuntu Desktop (I'm your basic LTS-LTS user). And I don't want to break sound. I've used this on Hardy to upgrade to ALSA 1.0.21 no problems. :)

#435

I'm installing right now so I'm not sure if it'll work. The current problem I'm having is volume only plays out of one side of my speakers and doesn't make use of the soundjack when plugged in.

Just to let you know. There's a typo in the instructions. It should be "-4" instead of "-3" like it is. Not too bad though I hope it works.

#436

I tried to download the scripts but I get an error that the source files can't be read. Could someone kindly repost them. Thanks

#437

I was searching for a solution all morning, nothing worked until I found this thread. The upgrade worked for me, thanks alot! :D

#438

Last night I replaced Vista with Kubuntu 9.0.4 (64 bit) on my husband's computer. The install went surprisingly fast and well -- except for audio.

Before I found this article, I found one about installing PulseAudio to "fix" the no sound issue with the SigmaTel HiDef STAC92XX sound cards, but that didn't help and probably made the situation worse. I removed the packages, but I'm not 100% sure PulseAudio is gone, since it still shows up under Systems Settings -> Multimedia.

I ran your script with no errors. I ran the -d options and the -scan options and have rebooted the computer several times. As far as I can tell, nothing is muted -- but still no sound.

I have a file containing the results of the alsa-info script and will attempt to upload it with this post.

Any suggestions? If I can't get this 64 bit version working, I'll have to scrap it and install the 32-bit version of Ubuntu Studio. My husband is a musician/composer and really needs audio and audio editing to work flawlessly.

Thanks for your assistance.

Jon Moss

#439

My husband discovered this afternoon that we are getting sound out of the front head phone jack. We tried all seven (7) of the speaker jacks on the back side of the sound card/computer but no sound from there.

So, at least we are partially there! I will review this very long thread to see if I can glean a fix for this specific scenario.

Or, if someone wants to direct me to it or another helpful URL, I would be very grateful.

Thanks,

Jon

#440

JonMoss said: My husband discovered this afternoon that we are getting sound out of the front head phone jack. We tried all seven (7) of the speaker jacks on the back side of the sound card/computer but no sound from there.

So, at least we are partially there! I will review this very long thread to see if I can glean a fix for this specific scenario.

Or, if someone wants to direct me to it or another helpful URL, I would be very grateful.

Thanks,

Jon

Have you tried out the gnome alsa mixer? Chances are there's just a channel muted there that you need to unmute.

sudo apt-get install gnome-alsamixer
#441

I'll install the gnome alsa mixer this evening when I get home from work. Thanks for the suggestion!

#442
  1. Jaunty
  2. kernel 15
  3. Alsa revision
  4. Upgrade script revision as per your note 21
  5. Screen mic next to webcan does not captures
  6. Attach the relevant logs?????

Aspire One AO 751h Mic on thescreen next to webcan does not capture

#443

Thanks, I use ancient Yamaha Waveforce DXG 192 which has YMF 724 chip and the upgrade improved the sound quality noticeably but I still have to manually tick mic boost, raise the volume on my PCM and CD after every reboot.

#444

Thanks for the script. After almost one year searching I have now, for the first time, real 5.1 surround sound on my Acer Aspire 8920G laptop. I was testing daily karmic and the sound worked out of the box. I knew I have to upgrade alsa and your script made it easy as 123. Thank you very much again. Great job.

#445

The latest upgrade switch broke headphone functionality on my laptop. Can I just run a previous version of the script to downgrade? If that doesn't work, how can I revert to a stock setup?

#446

I haven't been able to complete the upgrade. I get as far as:

chmod: cannot access `/dev/midi': No such file or directory

It tells me that the upgrade has been successful but when I restart I still am at version 1.0.18. still without sound coming from my built in notebook speakers. However, I can get sound to play from my headphones. I have tried numerous different model settings.

Can anyone help me with that error?

#447

Thank you, thank you and thank you again. After couple of months without any sounds from my UBUNTU now is everything working correctly. Good job.

#448

Though I was able to do an manual install, apparently the old driver (16) is still being used: cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.16. Compiled on May 3 2009 for kernel 2.6.24-22-lpia (SMP).

Here is what I did for the manual install: http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel How can I get the system to recognize the latest version (21)?

#449

Zoot7 said: Have you tried out the gnome alsa mixer? Chances are there's just a channel muted there that you need to unmute.

sudo apt-get install gnome-alsamixer

I installed the Gnome Alsa Mixer this morning and discovered that no channels were muted BUT the speaker volumes were set to zero (nearly the same thing as muted). I changed the speaker volumes and amazingly I had sound coming out of my speakers. :)

Then I went on a quest to find out where kubuntu hides the autostart programs preferences. Apparently, there is no GUI (like Gnome has) to manage your autostart programs. After some research, I determined that the autostart folder in the home directory was empty, but the /usr/share/autostart folder had several script files in it.

The script that was causing the sound issue was restore_kmix_volumes.desktop. Once I removed that file from the autostart folder (and restarted the computer), the sound remained (speaker volumes were not reset to zero). I still have Kmix loading on startup, even though I also deleted it from the autostart folder, but my preliminary research indicates that's also a known issue (but can be worked around).

Thanks again for all your help.

Jon

#450

treesurf said: The latest upgrade switch broke headphone functionality on my laptop. Can I just run a previous version of the script to downgrade? If that doesn't work, how can I revert to a stock setup?

BUMP!

How do I go backwards?

thank you!

#451

treesurf said: BUMP!

How do I go backwards?

thank you! Run the script with the -r switch, worked for me. :)

Quick question for anyone in the know.. When using the -i switch where do you have to have the sources? It says under /usr/src but in my case putting the downloaded files there either extracted or not is having no effect, script still says it cant' find the alsa-driver file. The reason I ask this is that wget doesn't seem to like the proxy I'm behind.

#452

Zoot7 said: When using the -i switch where do you have to have the sources? It says under /usr/src but in my case putting the downloaded files there either extracted or not is having no effect, script still says it cant' find the alsa-driver file. The reason I ask this is that wget doesn't seem to like the proxy I'm behind.

And just as I post the question I find the answer.. All I had to do was copy the .tar.bz2 files to /usr/src/Alsa-1.0.21 and then extract them and Alsa 1.0.21 installed no problem.

Thanks again. :)

#453

Zoot7 said: Run the script with the -r switch, worked for me. :)

Thanks, but it did not work so well for me. Alsamixer now shows version 1.0.18, but the output of cat /proc/asound/version still shows ALSA 1.0.21. More importantly my headphone jack still does not work.

Any other suggestions would be greatly appreciated.

EDIT:currently trying the script to install a previous version of ALSA. We'll see how it goes...

#454

Using the previous version of the script successfully installed ALSA 1.0.20, but still no headphone functionality. I think I need to go back to the stock Jaunty version but the -r option doesn't seem to work. :(

Can I just reinstall all of the necessary ALSA packages from Synaptic, or does something need to be done with the kernel headers as well?

#455

treesurf said: Using the previous version of the script successfully installed ALSA 1.0.20, but still no headphone functionality.

Have you tried using the alsamixer? It might just be a case of a muted channel.

sudo apt-get install gnome-alsamixer

Using this is what got the 2nd headphone socket on my Laptop up and running.

#456

Zoot7 said: Have you tried using the alsamixer? It might just be a case of a muted channel.

sudo apt-get install gnome-alsamixer

Using this is what got the 2nd headphone socket on my Laptop up and running.

Yes, I have tried that with no luck. It's a Lenovo Y550 with Realtek ALC272, if that's at all helpful...

#457

I'm trying your script out now, thanks! I was trying to fix the crackley left channel alsa problem on my macbook, and ended up losing sound altogether. I've spent most of the night trying to get it to work again! Such is linux...

#458

treesurf said: Yes, I have tried that with no luck. It's a Lenovo Y550 with Realtek ALC272, if that's at all helpful...

Hmmm.. odd one. Was it working okay with 1.0.18rc3?

After a bit of googling I found this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/389040 Based on that you might be better off to wait until Karmic finally comes out the gate.

Sorry I can't be of more assistance, I must confess I'm not too up on the inner workings of ALSA. :)

#459

Thanks for the info on that bug Zoot. Somehow I didn't see that in my googling.

I did have a functional headphone jack with the stock Jaunty ALSA setup, so I'll try reinstalling all of the relevant packages from Synaptic and hope that sound doesn't break completely. Hopefully this will all be cleared up in Karmic, which is only a few weeks away!

#460

Script ran fine on my machine, thanks!!!

[I]Linux jose-laptop 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:48:52 UTC 2009 x86_64 GNU/Linux LAPTOP HP PAVILION DV7 INTEL CORE DUO CPU T5800 2.00 GHz[/I]

Unfortunately, my laptop (HP dv7 1070e) was still playing a sound of very poor quality (with a kind of repetition of a short clip on a time interval of a few seconds).

[I]jose@jose-laptop:~$ lspci | grep Audio 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)[/I]

Following the instructions of https://bugs.launchpad.net/ubuntu/+bug/269586, I added echo "options snd-hda-intel enable_msi=1" >> /etc/modprobe.d/alsa-base into a root console. I rebooted and sound was working fine!!!!!!!

:):):)

#461
#462

Thank you so much - I have spent untold hours investigating the loss of sound when Jaunty updated the kernel - and have saved the solution for the next time!

#463

:guitar:

With the sound, it's great !

[COLOR=Purple]Thanks a lot ....[/COLOR].:lolflag:

#464

thanks very much for this great script, me and my mates have been getting mad triing to set up the sound in my

HP Pavillion dv6

for weeks, and this script made it straight ahead althought i had already compiled and suposely installed "alsa 1.0.21-4".

thanks very much again!!

#465

Firstly, thanks very much for the great script.

But I have a quick question... are all of the packages installed by the script using Apt just compile time dependencies? I.E. can i purge all of these after compiling and installing alsa to free up disk space?

Cheers

#466

jonhewer said: Firstly, thanks very much for the great script.

But I have a quick question... are all of the packages installed by the script using Apt just compile time dependencies? I.E. can i purge all of these after compiling and installing alsa to free up disk space?

Cheers

No I don't remove the sources, kernel-headers and dev-packages after the installation. Because I am rerunning the script once in a while.

However that's actually a good idea for a new optional feature.

Everything else overwrites mainly the old stuff. There shouldn't stay a lot of redundant mess on the disk.

#467

bapoumba said: Ping soundcheck

http://ubuntuforums.org/showpost.php?p=8051192&postcount=64

Cheers :)

"Tutorial of the week". THX for the flowers.

#468
#469

This is a great script, and helps find/report bugs in Alsa.

One request I have, could you please host the script on a VCS (Version Control System), such as github.com? This helps to contribute to the script, track changes, and support more Linux distributions.

#470

No sound. My alsa driver refuses to be upgraded. It always stays at version 1.0.18 (see alsa-info attached), whil the lib & utils successfully upgrade.

I have tried the manual sudo wget + ./configure + make + make install from alsa to no avail as well.

what can I do?

script version: AlsaUpgrade-1.0.21-4.sh

alsa-info attached

Ubuntu 9.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.04" Manufacturer: Dell Inc. Product Name: Inspiron 1440 Kernel release: 2.6.28-15-generic Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes Driver version: 1.0.18 Library version: 1.0.21a Utilities version: 1.0.21

#471

Thanks, soundcheck.

Update script worked for me on Zotac Ion mini-itx running Ubuntu 9.04. Upgrade ran without a hitch.

#472

amilo li 3710 T4200... I try everything... Now I scare that my computer dont work properly..i will try to install windows...just to be shure if my sound card working properly.I am new in ubuntu world...so please help me :) I was try everything what I was found on google but sound dont came out from box :)

#473

I just run the script and worked fine for me, too!I was amazed as I didn't expect to fix the sound problem so easily :P

For the record, i'm using an Acer Aspire 6920G laptop

Cheers!

#474

hi all. i also got sound working with this script... but sound is just coming under the laptop :D ..there is a small subwoofer under it and that is the only one that makes sound. i have tried to change the main channel with kmix but none of them worked...all of the channels are at 100% in alsamixer and none of them is muted...is there a way to make all of the speakers to work? thanks in advance... hp dv7 2133et logs:

ygm@seiren:~$ lsmod|grep '^snd' | column -t
snd_hda_codec_atihdmi  4416   1
snd_hda_codec_idt      68016  1
snd_hda_intel          31296  4
snd_hda_codec          89920  3   snd_hda_codec_atihdmi,snd_hda_codec_idt,snd_hda_intel
snd_pcm_oss            44352  0
snd_mixer_oss          18944  1   snd_pcm_oss
snd_hwdep              9448   1   snd_hda_codec
snd_seq_dummy          3588   0
snd_pcm                92040  3   snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_oss            33696  0
snd_seq_midi           8320   0
snd_rawmidi            27104  1   snd_seq_midi
snd_seq_midi_event     8544   2   snd_seq_oss,snd_seq_midi
snd_seq                61280  6   snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              25872  2   snd_pcm,snd_seq
snd_seq_device         8532   5   snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    76808  22  snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_hwdep,snd_seq_dummy,snd_pcm,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc         11088  2   snd_hda_intel,snd_pcm
ygm@seiren:~$ aplay -l
**** PLAYBACK Donan&#305;m Ayg&#305;tlar&#305;n&#305;n Listesi ****
kart 0: Intel [HDA Intel], ayg&#305;t 0: STAC92xx Analog [STAC92xx Analog]
  Altayg&#305;tlar: 1/1
  Altayg&#305;t #0: subdevice #0
kart 0: Intel [HDA Intel], ayg&#305;t 1: STAC92xx Digital [STAC92xx Digital]
  Altayg&#305;tlar: 1/1
  Altayg&#305;t #0: subdevice #0
kart 1: HDMI [HDA ATI HDMI], ayg&#305;t 3: ATI HDMI [ATI HDMI]
  Altayg&#305;tlar: 1/1
  Altayg&#305;t #0: subdevice #0
ygm@seiren:~$ uname -a
Linux seiren 2.6.31-13-generic #45-Ubuntu SMP Tue Oct 13 02:07:24 UTC 2009 x86_64 GNU/Linux
ygm@seiren:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Oct 13 2009 for kernel 2.6.31-13-generic (SMP).
ygm@seiren:~$ grep 'audio' /etc/group
audio:x:29:root:ygm
ygm@seiren:~$

autoloader aliases

install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7

Cause optional modules to be loaded above generic modules

install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } #

Workaround at bug #499695 (reverted in Ubuntu see LP #319505)

install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; } install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; } # install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }

Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; } install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }

Prevent abnormal drivers from grabbing index 0

options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 options snd-usb-caiaq index=-2

Ubuntu #62691, enable MPU for snd-cmipci

options snd-cmipci mpu_port=0x330 fm_port=0x388

Keep snd-pcsp from being loaded as first soundcard

options snd-pcsp index=-2

Power down HDA controllers after 10 idle seconds

options snd-hda-intel power_save=10 power_save_controller=N

ygm@seiren:~$ lspci 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03) 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) 00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03) 00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03) 01:00.0 VGA compatible controller: ATI Technologies Inc M96 [Mobility Radeon HD 4650] 01:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD 4000 Series] 02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 06:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller 06:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller 06:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller 06:00.3 System peripheral: JMicron Technology Corp. MS Host Controller 06:00.4 System peripheral: JMicron Technology Corp. xD Host Controller ygm@seiren:~$

#475

soundcheck,

I'd modify the following line when running the script:

  • Meet you at ubuntuforums.org, diy-audio.com, audio-asylum.com

It seems diy-audio.com, audio-asylum.com are not valid URLs...

#476

soundcheck! You are a godsend!

Spend the last 3~4 months trying to get this sound card working. Tried that "HOWTO: PulseAudio Fixes & System-Wide Equalizer Support" but to no avail. Tweaking the configuration file drove me nuts since I was getting no results from that.

I stumbled across this post and bam, it started working! Thanks! Props to you!

#477

This is how I feel right now [IMG]http://amerine.net/images/fail.jpg[/IMG][IMG]http://http://amerine.net/images/fail.jpg[/IMG]

#478

sunny_nwho said: 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

I am the opposite I only get sound through my internal speakers not my phones

#479

Where do i donate?:guitar: Crazy good!

#480

one for 9.04?

#481

Soundcheck: I ran the latest script to update Alsa on my Voyage setup. It started a full version upgrade. I didn't see anything obvious that would trigger that but it was very unsettling to see so many packages getting downloaded an installed. Even Lilo was getting installed and the system uses grub. I had run the 1.0.21-1 version and it was smooth and without drama. The 1.0.21-4 version seems to have triggered this. It also forced me to ad debian-multimedia to my sources for libmpeg4ip-dev. It will take some time for me to see what this did to the system. Any idea what might have triggered all of this?

#482

@soundcheck: Thanks for your awesome script. It's really the easiest way that I know of to setup ALSA on Ubuntu. I used it for months.

But the **latest script *AlsaUpgrade-1.0.21-4.tar* doesn't work with latest updated Ubuntu 8.04.3**

Here are the steps to reproduce

[I]AlsaUpgrade-1.0.21-4.sh -i AlsaUpgrade-1.0.21-4.sh -r AlsaUpgrade-1.0.21-4.sh -di[/I]

Using the following

  • Install *AlsaUpgrade-1.0.x-rev-1.17.tar*. This script works fine.
  • Uptade Ubuntu using the *Update Manager*. In my case I installed all available updates on October 22, 2009. One update was the Linux kernel. It's maybe related.
  • Restart.
  • Sound is no longer working. Find below screenshots to clarify errors. Those are the errors when I click on the tool bar speaker icon or click on *Test *sound button under SYSTEM > PREFERENCE SOUNDS.
  • Reinstall ALSA using the latest script *AlsaUpgrade-1.0.**21-4.tar.* No sound. I tried the following commands and restarting each time
  • Restore a fresh ALSA using *AlsaUpgrade-1.0.21-4.sh -r*
  • Install ALSA using the script *AlsaUpgrade-1.0.x-rev-1.17.sh -di*
  • Restart
  • Now sound is back.

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"

Let me know if you have any questions or need anything else.

  • Ubuntu revision:
  • Kernel revision: Linux version 2.6.24-25-generic (buildd@rothera) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Tue Oct 20 07:31:10 UTC 2009
  • Alsa revision: Advanced Linux Sound Architecture Driver Version 1.0.20
  • Upgrade script revision: AlsaUpgrade-1.0.21-4.tar
  • A bit of background what I've done resp. done before: Find above steps
  • Attach the relevant logs: Find attached screenshot
  • Sound card: ASUS Xonar DX
#483

I sorted out my problems with the script. There are a series of commands used to ensure the proper software is installed to run the script. In my headless environment most (all) isn't necessary. I commented out all of the downloads and changed the configure command for the driver removing the part explicitly defining the location of the kernel headers. Don't try this unless you understand what each piece does.

#484

I upgraded alsa to version 1.0.21 with this script and later decided to remove it by "sudo ./Alsa-blabla -r", it did it's thing but when I do "cat /proc/asound/version" I get this:

cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 18 2009 for kernel 2.6.31-9-rt (SMP).

How can I get the alsa version back to 1.0.20? Thanks.

edit: I solved it with removing 2.6.31-9-rt and headers and then deleting the remaining modules in /lib/modules/2.6.31-9-rt

#485

THANKS! I just installed Linuxant modem drivers in Ubuntu 9.10, which broke my sound. I was able to get my sound back by running your script and reinstalling pulseaudio. As a side note, my modem no longer works though.

#486

Hi,

Please help...

I'm using 1.0.21-4 script on ubuntu9.10 (I original installed 9.04) It seems like the script hangs on. in the log message I got this - [I] ./misc/ac97_bus.ko chmod: cannot access `/dev/midi': No such file or directory [/I] How should I continue from here?

I'm very new with Linux/ubuntu so please make it simple as possible.

Thanks

#487

I used the script and am having a little issue, which is none of my sound cards load automagically. I have run modprobe snd-hda-intel and snd-hda-usb. What could be the reason that they are not autoloading. If i revert back to default they load just fine. Can someone help?

#488

jamey0824 said: I used the script and am having a little issue, which is none of my sound cards load automagically. I have run modprobe snd-hda-intel and snd-hda-usb. What could be the reason that they are not autoloading. If i revert back to default they load just fine. Can someone help?

open /etc/modules and add: snd-hda-usb snd-hda-intel

#489

Thanks that worked a treat. It only took a couple of minutes and...Shabooom. Instant sound.:popcorn:

#490

yanivginio said: Hi,

I'm using 1.0.21-4 script on ubuntu9.10 (I original installed 9.04) It seems like the script hangs on. in the log message I got this - [I] ./misc/ac97_bus.ko chmod: cannot access `/dev/midi': No such file or directory [/I] Thanks

Me too - .....

#491

hi,

Please help me install my sound card drivers.As told in forum i updated my alsa drivers with the provided one.My card seems to getting recognize but no sound is heard here is [B]output of "aplay -l" command [/B] ** List of PLAYBACK Hardware Devices ** card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1] Subdevices: 1/1 Subdevice #0: subdevice #0

Output of "aplay -L"

default:CARD=AudioPCI Ensoniq AudioPCI, ES1371 DAC2/ADC Default Audio Device front:CARD=AudioPCI,DEV=0 Ensoniq AudioPCI, ES1371 DAC2/ADC Front speakers rear:CARD=AudioPCI,DEV=0 Ensoniq AudioPCI, ES1371 DAC1 Rear speakers surround40:CARD=AudioPCI,DEV=0 Ensoniq AudioPCI, ES1371 DAC2/ADC 4.0 Surround output to Front and Rear speakers iec958:CARD=AudioPCI,DEV=0 Ensoniq AudioPCI, ES1371 DAC2/ADC IEC958 (S/PDIF) Digital Audio Output null Discard all samples (playback) or generate zero samples (capture)

I have also attached the logfile obtained from alsainfo.sh provided on the thread of alsa upgrade script.

Please help me install my sound card have been searching for drivers since 7 months and its getting frustating now.

Mine is PCI sound card on-board sound card has been disabled from bios.. If anybody knows the solution kindly mail me on[FONT=Arial] [EMAIL="kunal.narkhede@gmail.com"]kunal.narkhede@gmail.com[/EMAIL] i am using ubuntu 9.04. tried ubuntu 9.10 but no luck no sound. in ubuntu 9,04 i can atleast use usb audiop card but in 9.10 even that doesn't work.

Thank you in advance

[/FONT]

#492

For the record, the script doesn't work on 2.6.32.

/usr/src/Alsa-1.0.21/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.c: In function ‘HpiOs_DelayMicroSeconds’:
/usr/src/Alsa-1.0.21/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.c:34: error: implicit declaration of function ‘schedule_timeout_uninterruptible’
make[4]: *** [/usr/src/Alsa-1.0.21/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.o] Error 1
make[3]: *** [/usr/src/Alsa-1.0.21/alsa-driver-1.0.21/pci/asihpi] Error 2
make[2]: *** [/usr/src/Alsa-1.0.21/alsa-driver-1.0.21/pci] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.21/alsa-driver-1.0.21] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-020632rc6-generic'
make: *** [compile] Error 2
alsa-driver-1.0.21 make failed
#493

please can anybody here tell me how to follow this attached readme files installation steps..as the path given in readme file doesn't seem to exist in ubuntu also the option in "make config" command is diffrent.please someone kindly help me follow the insatllation steps.

sinc unable to attach the file i am pasting the contents over here

STEPS TO BUILD DRIVER ================================================================================

1. Backup the Config.in and Makefile in the sound driver directory (/usr/src/linux/driver/sound). The Configure.help provide help when you config driver in step 4, please backup the original one (/usr/src/linux/Document) and copy this file. The cmpci is document for the driver in detail, please copy it to /usr/src/linux/Document/sound so you can refer it. Backup if there is already one.

2. Extract the tar file by 'tar xvzf cmpci-xx.tar.gz' in the above directory.

3. Change directory to /usr/src/linux

4. Config cm8338 driver by 'make menuconfig', 'make config' or 'make xconfig' command.

5. Please select Sound Card (CONFIG_SOUND=m) support and CMPCI driver (CONFIG_SOUND_CMPCI=m) as modules. Resident mode not tested. For driver option, please refer 'DRIVER PARAMETER'

6. Compile the kernel if necessary.

7. Compile the modules by 'make modules'.

8. Install the modules by 'make modules_install'

INSTALL DRIVER ================================================================================

1. Before first time to run the driver, create module dependency by 'depmod -a'

2. To install the driver manually, enter 'modprobe cmpci'.

3. Driver installation for various distributions:

a. Slackware 4.0 Add the 'modprobe cmpci' command in your /etc/rc.d/rc.modules file.so you can start the driver automatically each time booting.

b. Caldera OpenLinux 2.2 Use LISA to load the cmpci module.

c. RedHat 6.0 and S.u.S.E. 6.1 Add following command in /etc/conf.modules:

alias sound cmpci

also visit http://www.cmedia.com.tw for installation instruction.

DRIVER PARAMETER ================================================================================

Some functions for the cm8738 can be configured in Kernel Configuration or modules parameters. Set these parameters to 1 to enable.

spdif_loop: Enable S/PDIF loop, this route S/PDIF-in to S/PDIF-out directly. four_ch: Enable 4 channels mode, rear-out or line-in will output the same as line-out. rear_out: Enable this if you have independent rear-out jacket on your sound card, otherwise line-in will be used as rear-out. modem: You will need to set this parameter if you want to use the HSP modem. You need install the pctel.o, the modem driver itself. joystich: Enable joystick. You will need to install Linux joystick driver.

#494

supine said: 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.

A screen output would be nice. I ran the script and my screen blanked out (terminal screensaver is blank). I'd thought the screen was locked up until I hit the touchpad.

#495

thanks a lot! so now I can hear the sound from my ubuntu:o)

#496

sherl0k said: For the record, the script doesn't work on 2.6.32.

I'm getting the same error compiling from source under rc7. is there a fix for this?


/usr/src/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.c: In function ‘HpiOs_DelayMicroSeconds’:
/usr/src/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.c:34: error: implicit declaration of function ‘schedule_timeout_uninterruptible’
make[4]: *** [/usr/src/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.o] Error 1
make[3]: *** [/usr/src/alsa-driver-1.0.21/pci/asihpi] Error 2
make[2]: *** [/usr/src/alsa-driver-1.0.21/pci] Error 2
make[1]: *** [_module_/usr/src/alsa-driver-1.0.21] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-020632rc7-generic'
make: *** [compile] Error 2
#497

lordairivis said: I'm getting the same error compiling from source under rc7. is there a fix for this?


/usr/src/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.c: In function ‘HpiOs_DelayMicroSeconds’:
/usr/src/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.c:34: error: implicit declaration of function ‘schedule_timeout_uninterruptible’
make[4]: *** [/usr/src/alsa-driver-1.0.21/pci/asihpi/hpios_linux_kernel.o] Error 1
make[3]: *** [/usr/src/alsa-driver-1.0.21/pci/asihpi] Error 2
make[2]: *** [/usr/src/alsa-driver-1.0.21/pci] Error 2
make[1]: *** [_module_/usr/src/alsa-driver-1.0.21] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-020632rc7-generic'
make: *** [compile] Error 2

Normally that is a Alsa source code issue rather than an AlsaUpgrade issue. Are you using -snap or you try the stable 1.0.21? You might have to try -snap for the latest and greatest of Alsa.

#498

[SIZE=2]Hello Friends.[/SIZE] [SIZE=2]I do agree with you regarding sound output from Linux system, Linux does rely on the basicdrivers and utilities of common PC. So, I think some better sound driver's need to designinorder to increase performance of sound.[/SIZE] [SIZE=2]Thanks and stay connect.[/SIZE]

#499

simosx said: Normally that is a Alsa source code issue rather than an AlsaUpgrade issue. Are you using -snap or you try the stable 1.0.21?

You might have to try -snap for the latest and greatest of Alsa.

Correct. I grabbed a snap, compiled manually, and it worked under .32. I just looked in the upgrade script to see what I needed pass through to the ./configure.

#500

simosx said: Normally that is a Alsa source code issue rather than an AlsaUpgrade issue. Are you using -snap or you try the stable 1.0.21?

You might have to try -snap for the latest and greatest of Alsa. I was using stable, I'll give -snap a shot. Thanks. EDIT: that worked.

#501

This script worked like a charm for my Nvidia MCP7A HDMI (I'm guessing that's the audio chip that ships with most Ion motherboards.) on Jaunty.

I'm using ICH958 (optical) output to my reciever, and the script gave me access to the switches 'ICH958' which enables 2ch audio for XBMC and most apps, and 'ICH958 Default PCM' which enables 6ch surround.

The only problem I ran into was that the 'ICH958' switch would uncheck itself every reboot. It took me a few hours of searching google for things like *"ALSA IEC958 switch will not survive reboot"* before I could cobble together a solution. I'd figured I would share what worked for me:

From terminal run:``` alsamixer


The next step is to save these settings.  To do so, type[SIZE=2] in terminal: [/SIZE]```
sudo alsactl store [COLOR=blue]0[/COLOR]

Now, for whatever reason, Ubuntu Jaunty does not read the /etc/asound.state file on startup. This is really stupid, and results in the gnome panel applet and 'alsamixer' settings not surviving a reboot. Jaunty is actually looking for asound.state in /var/lib/alsa/. So whenever you make changes with aslamixer and save them with alsactl, make sure to copy the asound.state file to /var/lib/alsa/. In Terminal: ``` sudo cp /etc/asound.state /var/lib/alsa/asound.state

#502

Hi guys,

I don't now if it's appropriate here. But this is the case/ problem:

2 Sound cards, one on board ( disabled in BIOS)and one PCI ( SB Life platinum).

I use ALSA 1.0.20.

The problem is, that the system after every reboot puts the on board ( which I don' want to use) on position 0 and the SB on 1, so there is no sound again. If SB is on pos 0 there is sound.

How do I manage to disable the on board (Realtec) card in Xubuntu 9.10 or lock that card on position 1?

#503

Worked like a charm on the Dell Vostro 220s running Linux Mint 7

#504

Hi all,

I've run the script on an Asrock ION330. I need to get multi-channel digital audio working from the HDMI port (not the optical port). I can only seem to get 2-channel stereo working.

I will basically be using this in XBMC, and when I select digital in XBMC I get an error saying cannot initialize audio device. When I select analog in XBMC, I get stereo sound (yes through the HDMI connection).

I am running 1.0.21, confirmed. The alsamixer only shows a front right and front left channel.

Does anyone have any advice on how to enable multi-channel digital sound?

Thanks!

Robert

#505

sherl0k said: For the record, the script doesn't work on 2.6.32.

Kernel 2.6.32 to my knowledge already has Alsa 1.0.21.

#506

Do i get a message in the terminal when the update prosess has finnished?

#507

k28 said: Do i get a message in the terminal when the update prosess has finnished?

Yes you do if it's successful. Otherwise you'll have to look at the log file.

#508

THX^

Ok the installation was successfull but i got a problem.

Befor any sounds are played i get a sound like i pluged in/out the jack plug__

Any Idea how i can fix that?

#509

k28 said: THX^

Ok the installation was successfull but i got a problem.

Befor any sounds are played i get a sound like i pluged in/out the jack plug__

Any Idea how i can fix that? What sound card have you?

lspci | grep audio
#510

I have the same phenomenon as k28. lspci gives: Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)

ALSA driver version is 1.0.20 I can't update right now, I'm behind a firewall :/

Greets, FA

#511

Today it became possible for me to use the install script. Same story -- when starting to play anything, you got a very silent click and then very silent hiss. When you stop the thing that is playing, the hissing stops within 10 seconds... again with a silent click.

Has anybody else experienced this? It didn't occur before I started fiddling with the pulseaudio sound server (namely uninstalling it). Yet when I reinstalled, the problem was there and I can't get rid of it whether you have it installed or not.

Any ideas? I would be keen to try anything that doesn't require reinstalling the system :P

#512

remove the apt-get parts of this script. It's trying to install ffmpeg packages for no reason. I mean, why?

I can't upgrade the driver, cause it won't get past installing ffmpeg dev packages.

#513

Hi all, I am having a problem after upgrading my jaunty system to alsa 1.0.21. I have crystal clear sound through my creative xfi card in all apps, but when I try and launch stella for a game of classic asteroids or space invaders, I get a loud staticky buzz. Stella uses sdl, and I do have the libsdl1.2debian-alsa package installed. I also have pulseaudio completely disabled, and all sound is going through alsa. Any suggestions? Thanks in advance for any and all help on this problem.

Thanks,

Guy

#514

Hello soundcheck,

I'm hoping I read your first post right and that you are inviting people who need help getting ALSA working to post here.

Ubuntu Karmic

  1. Name your Ubuntu revision

Linux karmic 2.6.31-15-generic-pae #50-Ubuntu SMP Tue Nov 10 16:12:10 UTC 2009 i686 GNU/Linux

  1. Kernel revision

As downloaded by your script. Log attached.

  1. Alsa revision

Installed. Ran your script. Ran with '-snap'. Tried the arguments I've found that relate to the STAC9228 chip this Fujitsu ST5112 tablet has. Some arguments get microphones and some sound. Some sound fades. One argument gets headphones that don't fade.

  1. Upgrade script revision
  2. A bit of background what you've done resp. done before
  1. Attach the relevant logs

I would love for this to work. Please let me know what I might try or provide next.

Thanks, bcw

#515

It took about an hour!

running: cat /proc/asound/version now shows Advanced Linux Sound Architecture Driver Version 1.0.21.

Thanks!

#516

Mr Fart Alot said: Today it became possible for me to use the install script. Same story -- when starting to play anything, you got a very silent click and then very silent hiss. When you stop the thing that is playing, the hissing stops within 10 seconds... again with a silent click.Actually today I looked with cat /proc/asound/version and it showed an old version (1.0.20). I then rerun the installation script, the version is now up-to-date and I don't have this problem (quoted above) anymore. Thank you for this script ;)

#517

And now I have the same problem again. What's the deal?

#518

Hi.Now i'm installing your script.There is still 10 minutes to install.I will edit and tell you what I think Anyway,will it install incorectly if my wireless internet conection was down for 30 seconds?

#519

soundcheck,

I am a Linux newb, and appreciate your help on getting my HP DV7-3065dx laptop audio up and running. Thank you very much for your informative post! I did notice one typo in your directions that I wanted to bring to your attention:

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.21-3.tar (should be 1.0.21-4.tar vice 1.0.21-3)
  4. sudo ./AlsaUpgrade-1.0.21-4.sh -di
  5. sudo shutdown -r 0

I have indicated the change above marked by **

Thanks again for your help! :D:D

#520

ALSA 1.0.22 released today. Changes: http://www.alsa-project.org/main/index.php/Changes_v1.0.21_v1.0.22

Update the script accordingly before you run it:


* alsa-driver-1.0.22
* alsa-lib-1.0.22
* alsa-utils-1.0.22
* alsa-tools-1.0.22
* alsa-firmware-1.0.20
* alsa-plugins-1.0.22
* alsa-oss-1.0.17
#521

Temüjin said: ALSA 1.0.22 released today.

Update the script accordingly before you run it:


* alsa-driver-1.0.22
* alsa-lib-1.0.22
* alsa-utils-1.0.22
* alsa-tools-1.0.22
* alsa-firmware-1.0.20
* alsa-plugins-1.0.22
* alsa-oss-1.0.17

With these changes at the head of the script, it fails. The log file says:

bret@aphrodite:~$ cat /var/log/AlsaUpgradeRev-1.0.21-4-121809-21.12.log 

-------------------------------------------------------------
-  Working on following Alsa packages...
-------------------------------------------------------------

Driver: alsa-driver-1.0.22
Library: alsa-lib-1.0.22
Plugins: alsa-plugins-1.0.22
Utils: alsa-utils-1.0.22
Firmware: alsa-firmware-1.0.20
OSS: alsa-oss-1.0.17

-------------------------------------------------------------
-  Installing packages required to build ALSA...
-------------------------------------------------------------

Hit http://nz.archive.ubuntu.com hardy Release.gpg
<snip>
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
alsa-base is already the newest version.
alsa-oss is already the newest version.
alsa-utils is already the newest version.
libasound2 is already the newest version.
build-essential is already the newest version.
E: Couldn't find package libavutil49
Problems downloading and installing the required dependencies...
bret@aphrodite:~$ 

I'd love to get working ALSA in my Fujitsu ST5112 tablet. I've got everything else working.

Thanks, bret

#522

.... The 1.0.21 install via this script went flawlessly previously. Used it again to install 1.0.22 and it compiled fine, nothing peculiar to report from the logs...

It isn't working with my Realtek ALC883. edit: But now my Audigy works again, so I'm ok. :)

#523

ive succesfully upgraded to ALSA 1.0.22 but seems that I still don't get playback. I have an Auzentech X-Fi Forte and although the OS seems to detect everything and I even used the command to check the version which confirms that its 1.0.22. alsamixer also shows that all devices are unmuted with about 60% volume. and just to be sure, im not using any of the front connectors, everything is plugged directly into the soundcard.

ive been at this for about 2 days and hit a wall, ive googled everything and im not getting any leads.

#524

Hi Guy, I am newbie. Hope that someone here can post the upgrade script with alsa 1.0.22.

Please help and thanks.

#525

E: Couldn't find package libavutil49

Hardy doesn;t have this package. You may want to remove that from the script or just change it to libavutil-dev

#526

edkmho said: Hi Guy, I am newbie. Hope that someone here can post the upgrade script with alsa 1.0.22.

Please help and thanks.

try this...

Update: the upgrade aint working for me.... there is a problem in the configure for the alsa-drivers, which is not compiling the drivers for my intel card... I am not sure but looks like a alsa problem, perhaps... the attached script should work in principle...

#527

can i just get a quick heads up on grsync for back up? do i make source my /etc/modprobe.d folder and destination wherever i want? i wanna back up before i fudge anything up

#528

died at:

-------------------------------------------------------------

-------------------------------------------------------------

  • Copy modules to target directories...

./i2c/snd-cs8427.ko . . ./acore/snd-timer.ko ./synth/emux/snd-emux-synth.ko ./synth/snd-util-mem.ko

going to try and ctrl-c out.... :(

#529

Hi – merry Christmas

running xbmc rc1

No sound

I have updated alsa to .21

I have twiddled knobs and sliders with in alsamixer and still no sound whilst running speaker-test -c 2 in a different putty session.

This did work previously so the sound card and cabling are good to go.

Here is an output of my sound configuration >> http://pastebin.com/f599cd5a9

And here is a copy of my XBMC dump output >> http://pastebin.com/f5f06f1c4

thanks

#530

Some extra background. I can hear sound through my sennheiser 161 PC headphones but what I want to do is link my audigy2 zs soundcard up to my TV via phonons speakers. This has worked previously. Video playback, navigation sounds in the gui and wav files tests fail via the phono cables but work through the headphones. Hope this helps This must be a setting somewhere? I’m assuming the phone leads from the sound card to the TV is a anloag connection attempt? And the headphones is a digital feed?

#531

I'm using an onboard sound chip (VIA VT1708S on Asus M4A785TD-V EVO). There are issues which got resolved in Alsa 1.0.22 lately.

I tried to install the newest Alsa by hand, but got nothing than a broken driver (to be exact: the driver builds fine, but I don't get any mixer controls).

I don't know if there is a problem with kernel dependencies or a flaw directly in the Alsa system.

Soundcheck ore anyone else, did you try installing Alsa 1.0.22 yet? Does anyone have similar troubles?

#532

Hi!, this is my first time in a linux forum. I'm trying to get my optical out going with no success so far. I have a M3N78-VM motherboard with the VT1708b Codec. I'm also running Linux Mint (Helena), i know it's not plain Ubuntu, but it's pretty close right?

I also downloaded and run the alsa-driver-1.0.21 script and it took a long while but finished with no errors at all, rebooted and here's a little output from alsa:


media@multimedia-HD ~ $ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Dec 25 2009 for kernel 2.6.31-14-generic (SMP).

media@multimedia-HD ~ $ aplay -l
**** Lista de PLAYBACK Dispositivos Hardware ****
tarjeta 0: NVidia [HDA NVidia], dispositivo 0: VT1708B Analog [VT1708B Analog]
  Subdispositivos: 2/2
  Subdispositivo #0: subdevice #0
  Subdispositivo #1: subdevice #1
tarjeta 0: NVidia [HDA NVidia], dispositivo 1: VT1708B Digital [VT1708B Digital]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: NVidia [HDA NVidia], dispositivo 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0

media@multimedia-HD ~ $ aplay -L
default:CARD=NVidia
    HDA NVidia, VT1708B Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, VT1708B Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)

Hope that's enough data, if not, I apologize, I promise I'll post whatever you need.

Thank's in advance!;) Rodrigo

#533

In your audio program you want to specify it needs to use the 'iec958' output device (digital output). That might also be possible by fiddling with your ~/.asoundrc

There is some documentation here: http://alsa.opensrc.org/index.php/DigitalOut

#534

Hey Ifmusic, welcome! :)

I do own the very mobo too (Asus M3N78-VM) and I got the digital out working. In fact it works all the time, but seems to be wrongly routed.

The board has an internal digital I/O connector which is used by default. I just built a connector for it - it works flawlessly.

If it is possible for you to use a digital I/O rather than the optical one, go and get an adapter for the pins onboard (or build one yourself). Or file a bug report for the ALSA guys...

#535

I installed this script last night and have been having problems.

First some system info: -I'm dual booting Windows 7 and Ubuntu (9.04) -This is on a Gateway laptop T-1631

My laptop is shutting down "randomly". Basically this came up like this:

I run this script, fine. I restart my computer, fine. I log into Ubuntu, fine. Then the problem starts: when everything is nearly loaded, it shuts down (power just cuts out). I restarted it and the problem got worse. Everytime I restart, it shut down faster and faster, until it was shutting down just 11 seconds after start up (before even getting to grub loader to allow me to choose my OS). Even if I'm in the BIOS, it will still restart.

I'm not familiar enough with the workings of this script or computer hardware to know what is going on, but this never happened before and it happened right after running this script.

Another weird thing: sometimes it starts up in windows without restarting. What I have found is that if I manage to log onto windows, I'm home free. It won't restart (as far as I know), and I have had windows up and running for about an hour (normally this problem shows up within seconds, so this leads me to believe it will run indefinietly in windows).

Ideas?

#536

Henk Poley said: In your audio program you want to specify it needs to use the 'iec958' output device (digital output). That might also be possible by fiddling with your ~/.asoundrc

There is some documentation here: http://alsa.opensrc.org/index.php/DigitalOut

I'll try that...Thanks!

Laryllan said:

I do own the very mobo too (Asus M3N78-VM) and I got the digital out working. In fact it works all the time, but seems to be wrongly routed.

The board has an internal digital I/O connector which is used by default. I just built a connector for it - it works flawlessly.

If it is possible for you to use a digital I/O rather than the optical one, go and get an adapter for the pins onboard (or build one yourself). Or file a bug report for the ALSA guys...

I didn't know about that connection, but it bugs me! I shouldn't have to use other hardware (even if it's a couple of $$). I know it should work. Still, Thank you so much.

#537

You're right! My SPDIFs outputs were muted.

Anyway, I unmuted them and nothing changed. I really don't know what to do.:confused:

#538

You are genious I just followed the steps mentioned and it worked like a charm,

My Configurtion looks like this



!!################################
!!ALSA Information Script v 0.4.58
!!################################

!!Script ran on: Sat Dec 26 21:34:03 UTC 2009


!!Linux Distribution
!!------------------

Ubuntu 9.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.10"


!!DMI Information
!!---------------

Manufacturer:      Sony Corporation
Product Name:      VGN-FW170J


!!Kernel Information
!!------------------

Kernel release:    2.6.31-16-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.20
Library version:    1.0.20
Utilities version:  1.0.20


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd5600000 irq 22


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 104d:9035


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-hda-intel: model=vaio
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-hda-intel: power_save=10 power_save_controller=N


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : 0
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 10
	power_save_controller : N
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC262
Address: 0
Function Id: 0x1
Vendor Id: 0x10ec0262
Subsystem Id: 0x104d2e00
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x13 0x13]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x12 0x12]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x14 0x14]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100791: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x13 0x13] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x13 0x13] [0x81 0x81] [0x81 0x81]
  Connection: 8
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1d 0x1d]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x00]
  Amp-Out caps: ofs=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00]
  Connection: 2
     0x02 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400780: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x90a3012e: [Fixed] Mic at Int N/A
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x2, Sequence = 0xe
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x90130110: [Fixed] Speaker at Int N/A
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x15 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x0421101f: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=04, enabled=1
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x04a15020: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Red
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400780: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400680: Mono Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=17
  Processing Coefficient: 0x00
  Coefficient Index: 0x0c
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=32, direct=0, val=0
  Unsolicited: tag=00, enabled=0
  Connection: 0
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 10
     0x18* 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Codec: Conexant ID 2c06
Address: 1
Function Id: 0x2
Vendor Id: 0x14f12c06
Subsystem Id: 0x104d1700
Revision Id: 0x100000
Modem Function Group: 0x2
Codec: Intel G45 DEVCTG
Address: 2
Function Id: 0x1
Vendor Id: 0x80862802
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6211: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
Node 0x03 [Pin Complex] wcaps 0x40739d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----  1 root audio 116, 10 Dec 26 00:13 /dev/snd/controlC0
crw-rw----  1 root audio 116,  9 Dec 26 00:13 /dev/snd/hwC0D0
crw-rw----  1 root audio 116,  8 Dec 26 00:13 /dev/snd/hwC0D1
crw-rw----  1 root audio 116,  7 Dec 26 00:13 /dev/snd/hwC0D2
crw-rw----  1 root audio 116,  6 Dec 26 01:09 /dev/snd/pcmC0D0c
crw-rw----  1 root audio 116,  5 Dec 26 12:37 /dev/snd/pcmC0D0p
crw-rw----  1 root audio 116,  4 Dec 26 16:12 /dev/snd/pcmC0D3p
crw-rw----  1 root audio 116,  3 Dec 26 00:13 /dev/snd/seq
crw-rw----  1 root audio 116,  2 Dec 26 00:13 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Dec 26 00:13 .
drwxr-xr-x 3 root root 240 Dec 26 00:13 ..
lrwxrwxrwx 1 root root  12 Dec 26 00:13 pci-0000:00:1b.0 -> ../controlC0


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xd5600000 irq 22'
  Mixer name	: 'Intel G45 DEVCTG'
  Components	: 'HDA:10ec0262,104d2e00,00100302 HDA:14f12c06,104d1700,00100000 HDA:80862802,80860101,00100000'
  Controls      : 22
  Simple ctrls  : 12
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 30
  Mono:
  Front Left: Playback 29 [97%] [-1.50dB] [on]
  Front Right: Playback 29 [97%] [-1.50dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 165 [65%] [-18.00dB]
  Front Right: Playback 165 [65%] [-18.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 19 [61%] [16.50dB] [on]
  Front Right: Capture 19 [61%] [16.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 18 [58%] [15.00dB] [on]
  Front Right: Capture 18 [58%] [15.00dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 20 [65%] [18.00dB] [on]
  Front Right: Capture 20 [65%] [18.00dB] [on]
Simple mixer control 'ATAPI Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 19 [61%] [-6.00dB] [on]
  Front Right: Playback 19 [61%] [-6.00dB] [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 19 [61%] [-6.00dB] [on]
  Front Right: Playback 19 [61%] [-6.00dB] [on]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'


!!Alsactl output
!!-------------

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 30'
		comment.dbmin -4500
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value.0 29
		value.1 29
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'ATAPI Mic Playback Volume'
		value.0 19
		value.1 19
	}
	control.6 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'ATAPI Mic Playback Switch'
		value.0 true
		value.1 true
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.8 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 true
		value.1 true
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 true
		value.1 true
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -1200
		comment.dbmax 3450
		iface MIXER
		name 'Capture Volume'
		value.0 19
		value.1 19
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -1200
		comment.dbmax 3450
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 18
		value.1 18
	}
	control.12 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -1200
		comment.dbmax 3450
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 20
		value.1 20
	}
	control.13 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		value Mic
	}
	control.14 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
	}
	control.15 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		index 2
		value Mic
	}
	control.16 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Beep Playback Volume'
		value.0 19
		value.1 19
	}
	control.17 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Beep Playback Switch'
		value.0 true
		value.1 true
	}
	control.18 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.19 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.20 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.21 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.22 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 165
		value.1 165
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
nls_iso8859_1
nls_cp437
vfat
fat
hid_microsoft
usbhid
vboxnetflt
vboxnetadp
vboxdrv
aes_i586
aes_generic
bridge
stp
bnep
btusb
binfmt_misc
ppdev
snd_hda_codec_intelhdmi
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
arc4
ecb
snd_pcm
snd_seq_dummy
snd_seq_oss
iptable_filter
ip_tables
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
x_tables
snd_seq
snd_timer
snd_seq_device
iwlagn
joydev
iwlcore
snd
soundcore
sdhci_pci
mac80211
sdhci
uvcvideo
lp
videodev
snd_page_alloc
v4l1_compat
psmouse
cfg80211
led_class
sony_laptop
serio_raw
parport
fbcon
tileblit
font
bitblit
softcursor
usb_storage
ohci1394
ieee1394
sky2
i915
drm
i2c_algo_bit
intel_agp
agpgart
video
output


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x11 0x411111f0
0x12 0x90a3012e
0x14 0x90130110
0x15 0x0421101f
0x16 0x411111f0
0x18 0x04a15020
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1c 0x411111f0
0x1d 0x411111f0
0x1e 0x411111f0
0x1f 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D1/init_pin_configs:
0x73 0x016a10f0

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:

/sys/class/sound/hwC0D2/init_pin_configs:
0x03 0x18560010

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:


!!ALSA/HDA dmesg
!!------------------

[    1.941432] i2c-adapter i2c-2: unable to read EDID block.
[    1.941434] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[    1.950605] [drm] fb0: inteldrmfb frame buffer device
--
[   14.020674]   alloc kstat_irqs on node -1
[   14.020680] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   14.020709] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   14.359792] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input10
[   14.689388] type=1505 audit(1261804418.255:9): operation="profile_replace" pid=959 name=/sbin/dhclient3
--
[   20.765491] i2c-adapter i2c-2: unable to read EDID block.
[   20.765493] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[   20.770451] i2c-adapter i2c-2: unable to read EDID block.
[   20.770453] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[   20.836802] i2c-adapter i2c-1: unable to read EDID block.
--
[   20.842063] i2c-adapter i2c-2: unable to read EDID block.
[   20.842065] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[   20.846727] i2c-adapter i2c-2: unable to read EDID block.
[   20.846729] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[   28.248511] eth0: no IPv6 routers present
--
[   40.110545] i2c-adapter i2c-2: unable to read EDID block.
[   40.110553] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[   40.115013] i2c-adapter i2c-2: unable to read EDID block.
[   40.115016] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[  122.804182] vboxdrv: Trying to deactivate the NMI watchdog permanently...
--
[ 3342.475316] i2c-adapter i2c-2: unable to read EDID block.
[ 3342.475324] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3342.480384] i2c-adapter i2c-2: unable to read EDID block.
[ 3342.480391] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3342.764601] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3342.769779] i2c-adapter i2c-2: unable to read EDID block.
[ 3342.769782] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3342.774384] i2c-adapter i2c-2: unable to read EDID block.
[ 3342.774386] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3342.840673] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3342.847232] i2c-adapter i2c-2: unable to read EDID block.
[ 3342.847240] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3342.852285] i2c-adapter i2c-2: unable to read EDID block.
[ 3342.852292] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3343.204720] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3343.211309] i2c-adapter i2c-2: unable to read EDID block.
[ 3343.211316] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3343.216127] i2c-adapter i2c-2: unable to read EDID block.
[ 3343.216129] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3345.364688] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3345.370667] i2c-adapter i2c-2: unable to read EDID block.
[ 3345.370674] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3345.375133] i2c-adapter i2c-2: unable to read EDID block.
[ 3345.375135] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3345.800517] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3345.805484] i2c-adapter i2c-2: unable to read EDID block.
[ 3345.805487] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3345.809883] i2c-adapter i2c-2: unable to read EDID block.
[ 3345.809885] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3345.936634] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3345.942653] i2c-adapter i2c-2: unable to read EDID block.
[ 3345.942661] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3345.947128] i2c-adapter i2c-2: unable to read EDID block.
[ 3345.947134] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.012680] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3510.019726] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.019735] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.025089] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.025097] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.153464] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3510.160439] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.160443] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.165163] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.165166] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.332948] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3510.338554] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.338559] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.343358] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.343363] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.408494] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3510.414977] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.414982] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3510.419798] i2c-adapter i2c-2: unable to read EDID block.
[ 3510.419802] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3534.797188] i2c-adapter i2c-1: unable to read EDID block.
--
[ 3534.804224] i2c-adapter i2c-2: unable to read EDID block.
[ 3534.804232] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3534.809129] i2c-adapter i2c-2: unable to read EDID block.
[ 3534.809131] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 3771.906538] CPU0 attaching NULL sched-domain.
--
[ 3831.408108] uhci_hcd 0000:00:1d.0: PCI INT A disabled
[ 3831.512189] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 3831.528079] ehci_hcd 0000:00:1a.7: PCI INT C disabled
--
[ 3831.984381] ehci_hcd 0000:00:1a.7: PME# disabled
[ 3831.984400] HDA Intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[ 3831.984419] HDA Intel 0000:00:1b.0: restoring config space at offset 0x4 (was 0x4, writing 0xd5600004)
[ 3831.984424] HDA Intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[ 3831.984431] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[ 3831.984461] pcieport-driver 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x104)
--
[ 3832.129441] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[ 3832.129452] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 3832.129458] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 3832.129490] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
--
[ 4139.831301] i2c-adapter i2c-2: unable to read EDID block.
[ 4139.831309] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 4139.835778] i2c-adapter i2c-2: unable to read EDID block.
[ 4139.835781] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 4139.996707] i2c-adapter i2c-1: unable to read EDID block.
--
[ 4140.002678] i2c-adapter i2c-2: unable to read EDID block.
[ 4140.002682] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 4140.007090] i2c-adapter i2c-2: unable to read EDID block.
[ 4140.007093] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5117.678997] CPU0 attaching NULL sched-domain.
--
[ 5119.704075] uhci_hcd 0000:00:1d.0: PCI INT A disabled
[ 5119.808172] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 5119.824077] ehci_hcd 0000:00:1a.7: PCI INT C disabled
--
[ 5120.292381] ehci_hcd 0000:00:1a.7: PME# disabled
[ 5120.292399] HDA Intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x103)
[ 5120.292419] HDA Intel 0000:00:1b.0: restoring config space at offset 0x4 (was 0x4, writing 0xd5600004)
[ 5120.292424] HDA Intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[ 5120.292431] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100002)
[ 5120.292462] pcieport-driver 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x104)
--
[ 5120.440221] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[ 5120.440232] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 5120.440238] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 5120.538487] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
--
[ 5199.002783] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.002786] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5199.007496] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.007498] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5199.132681] i2c-adapter i2c-1: unable to read EDID block.
--
[ 5199.139603] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.139612] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5199.144945] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.144952] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5199.305871] i2c-adapter i2c-1: unable to read EDID block.
--
[ 5199.312711] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.312720] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5199.317166] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.317168] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5199.381171] i2c-adapter i2c-1: unable to read EDID block.
--
[ 5199.388270] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.388278] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5199.393593] i2c-adapter i2c-2: unable to read EDID block.
[ 5199.393600] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5227.520635] i2c-adapter i2c-1: unable to read EDID block.
--
[ 5227.526683] i2c-adapter i2c-2: unable to read EDID block.
[ 5227.526690] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5227.531151] i2c-adapter i2c-2: unable to read EDID block.
[ 5227.531157] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5270.127443] wlan0: authenticate with AP 00:23:69:3b:69:aa
--
[ 5496.333638] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.333647] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5496.338919] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.338922] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5496.464666] i2c-adapter i2c-1: unable to read EDID block.
--
[ 5496.471112] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.471115] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5496.475813] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.475815] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5496.629120] i2c-adapter i2c-1: unable to read EDID block.
--
[ 5496.637252] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.637261] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5496.642437] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.642440] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5496.705150] i2c-adapter i2c-1: unable to read EDID block.
--
[ 5496.711162] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.711169] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5496.715753] i2c-adapter i2c-2: unable to read EDID block.
[ 5496.715760] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5577.152630] iwlagn 0000:05:00.0: iwl_tx_agg_start on ra = 00:23:69:3b:69:aa tid = 0
--
[ 5709.483035] i2c-adapter i2c-2: unable to read EDID block.
[ 5709.483037] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5709.487639] i2c-adapter i2c-2: unable to read EDID block.
[ 5709.487641] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[ 5947.442747] type=1505 audit(1261847324.782:19): operation="profile_load" pid=17084 name=/usr/sbin/mysqld
--
[13970.183251] i2c-adapter i2c-2: unable to read EDID block.
[13970.183260] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[13970.188426] i2c-adapter i2c-2: unable to read EDID block.
[13970.188429] i915 0000:00:02.0: HDMI Type A-1: no EDID data
[19749.784368] iwlagn 0000:05:00.0: iwl_tx_agg_start on ra = 00:23:69:3b:69:aa tid = 6

#539

pravlm, the script shows ALSA 1.0.20. Are you sure it worked?

#540

there is a problem in the configure for the alsa-drivers

Log information about this would be helpful.

#541

there is a post here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/427670

that say to install linux-backports-modules-alsa-karmic and reboot , for karmic of course. and it worked for me. that and fiddling arround with system>>preferences>>>sound lets you pick sound devices and manipulate and turn on or off most of your sound aspects.

#542

Henk Poley said: In your audio program you want to specify it needs to use the 'iec958' output device (digital output). That might also be possible by fiddling with your ~/.asoundrc

There is some documentation here: http://alsa.opensrc.org/index.php/DigitalOut

Thanks for this link, it was quite useful :P, now I'm in a new stage:

I have audio but only Stereo.... The thing that caught my attention is that my A/V Reciever (a Sony DTS capable system) won't recognize the type of stream coming in. It does sound, but only stereo.

I tried forcing mplayer to use 6 channels but still STEREO all over the place! Any ideas?

UPDATE: this is the output from amixer:


Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
[B]Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on][/B]

When I go to the alsamixer I see 3 SPDIF channels but the one that's actually the spdif optical output is the "SPDIF 1"

Thanks!

#543

Digital outputs are always in stereo only. This is a limitation of all digial I/O ports, only 2 channels are supported. So your problem is: You can either send a stereo signal of an encoded multichannel stream (ac3/dts) or live with stereo output.

But: There is a way to tell the Alsa system to upmix 2ch to 5.1/7.1 and encode them the very same time in ac3. You'll find it somewhere in the forums.

#544

Laryllan said: Digital outputs are always in stereo only.

This is a limitation of all digial I/O ports, only 2 channels are supported. So your problem is: You can either send a stereo signal of an encoded multichannel stream (ac3/dts) or live with stereo output.

But: There is a way to tell the Alsa system to upmix 2ch to 5.1/7.1 and encode them the very same time in ac3. You'll find it somewhere in the forums. What?!

Wait, you're saying that Digital outputs are always stereo, no matter driver, OS, audio track... always stereo???

When I play hiDef movies in Windows my Sony Sound System recognizes the incoming audio streams and says.. "DTS 5.1 3+2...PCM...,etc" in Linux, it reports nothing. I don't think the windows driver is doing some upmix, It should be doing some pass-through, that's what I actually need, right?

Thanks!!!!

#545

No, I'm saying that the datarate a digital connection is able to transmit isn't enough for multichannel PCM. If you want to transmit multichannel audio, you have to send a packed bitstream.

When playing back movies you have to ensure that the system uses the passthrough mode (the stream must not be tempered with in any way). On the other hand when playing plain music, you have to make sure the audio output is upmixed and packed into a stream (or let your receiver do it). I know this possible but didn't set it up myself yet.

#546

Hello soundcheck, :)

Thank you so much for creating this how to thread and the Alsa upgrade script! It was very straight forward and simple to do. Updating Alsa with your script corrected a problem for me that to the best of my knowledge was created by what I believe to be a Ubuntu 9.04 update for Alsa put out at the end of November that would no longer allow me to record just the line input of my sound card.

If you are curious, you can read the details of this issue on my thread. http://ubuntuforums.org/showthread.php?p=8566677

GiveLove

#547

I could use some help.

I used to run ubuntu on my desktop and loved it. So I turned my friend over to it and we are trying to get it running and I can not get the sound to work on his macbook.

I downloaded the newest version on the first post version number 1.0.21.4

This is what I am doing from the first post it looks like I have to type to get into my directory that I downloaded the file to. thats in: cd /home/*myusername*/Desktop

it then goes to my directory for the desktop

Now I copy and past the test from the first post and it says its running the update tool and this will take less than 15 min.

then after like 5 seconds it comes back up to where I can type in my terminal again.

So I restart like it tells me to and then still nosound... I am really new and I have read the last couple pages on this thread to see if anything has changed and I can't see where it has, If some one could help me please it would be greatly appriciated he really wants to use ubuntu but not if hes gana have problems with the sound lol.

#548

Hello AaronsDarts, :)

I'm no expert myself, even though I've been using Linux for many years now. But I suggest you read through soundcheck's instructions thoroughly. I had to do so a few times myself to absorb all the information, and picked up a few things I missed the first time through.

Start by following the instructions under "Test and Troubleshooting" in soundcheck's first post. This will get you started, to find out what the issue is.

GiveLove

#549

Yea still nothing after running all of those commands and most of them came back as Access Denied, or Unknown Command. But I got no where.

#550

ALSA released another small update to alsa-driver. Changes: http://www.alsa-project.org/main/index.php/Changes_v1.0.22_v1.0.22.1 Update the script accordingly before you run it:


* alsa-driver-1.0.22.1
* alsa-lib-1.0.22
* alsa-utils-1.0.22
* alsa-tools-1.0.22
* alsa-firmware-1.0.20
* alsa-plugins-1.0.22
* alsa-oss-1.0.17
#551

Ok it is still not working

blake@blake-laptop:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Dec  2 2009 for kernel 2.6.24-26-generic (SMP).
blake@blake-laptop:~$ cd /home/blake/Desktop
blake@blake-laptop:~/Desktop$ tar xvf AlsaUpgrade-1.0.21-4.tar
AlsaUpgrade-1.0.21-4.sh
blake@blake-laptop:~/Desktop$ sudo ./AlsaUpgrade-1.0.21-4.sh -di
[sudo] password for blake: 

-------------------------------------------------------------
-  Alsa will be downloaded and installed
-------------------------------------------------------------

Choose Alsa Package (1) 1.0.21 default[1]: 1

--Mon Dec 28 17:38:02 EST 2009----Alsa-Upgrade-Script-1.0.21-4 -----------------
-  
- You'll be upgraded from 1.0.16.
kernel to 1.0.21. 
- 
- All script output is routed to a logfile
- Run: tail -f /var/log/AlsaUpgradeRev-1.0.21-4-122809-17.38.log to follow the upgrade
- 
- Reboot your machine afterwards.
- 
- Meet you at ubuntuforums.org, diy-audio.com, audio-asylum.com
- 
- Enjoy
- soundcheck
---------------------------------------------------------------------------

Upgrade in progress...the process will take a while...>15min
blake@blake-laptop:~/Desktop$ 


At the end where it says "the process will take a while...>15min" it stays there for about 3-5 seconds then goes to the next line and does nothing. and the version no matter how many times I do this it still stays the same? Can I please get some help.

#552

The script worked great! Thx! Sound now worx for OpenArena.

Ubuntu rocks! I wish i could use it at work as well.

#553

It would be really useful to update the initial post with the new script working for alsa 1.0.22 or maybe start a new thread.

Also the script might need to be updated to alsa 1.0.22.1

Anyway thanks for the great work!

#554

Hello spacecommander23, :)

Yes, I can verify that the script currently installs Alsa 1.0.21. As 1.0.22.1 was already released when I used the script. Although it fixed my problem, so I'm not complaining. I'm sure soundcheck will update this thread and the script when time permits.

GiveLove

#555

Is it just me, or is 1.0.22.1 compiling as 1.0.21? I've tried both this script (updated to reflect the newest versions), and downloading right from the website and compiling the stuff myself manually, and yet cat /proc/asound/version reports as 1.0.21 (on the other hand, alsamixer is 1.0.22).

I even tried again about half an hour ago, and this is what I get:


$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Dec 11 2009 for kernel 2.6.31-17-generic (SMP).

According to it, I compiled it three weeks ago.

Am I missing something? Sound does work and all, but it still strikes me as an odd thing to happen.

#556

Thanks soundchek for your instructions. I received my hp dv6-2030sa lap top with win 7 yesterday. I installed ubuntu this morning and was struggling to get the sound working. Followed your instructions and sound is back!!! Now every thing I want with the laptop works!

#557

This thread was linked to my by "spiderbatdad." I have to say, it saved me from the torrent of nerd rage I was in all day. Thanks for the script soundcheck.

#558

Hi folks.

Sorry for being away for such a long time.

I am in the process to update the script. It's actually done already. I just need to do some more testing. I wasn't looking very much into the subject since new opportunities to update Alsa popped up.

Meanwhile a side/repo appeared where you might want to download ready made packages: Alsa Packages

Another idea would be to load newer Ubuntu kernels from a ppa somewhere. This will you also provide newer drivers than standard Ubuntu repos.

However. The newest and most up2date stuff you'll still get by running the script.

Cheers

#559

The PPA in your link also has the kernels from Lucid Lynx so you can install those to make sure ALSA will work ok (and it also has the latest pulseaudio).

#560

Ubuntu: Karmic Kernel: 2.6.28-14-generic Alsa: 1.0.22 Script: 1.0.21-4

Definitely something odd going on with my laptop. Prior to upgrading from Jaunty to Karmic sound worked fine with the Alsa Upgrade script. Since updating neither the script nor the packages from the repository get me all the way to working. Sound works in KDE, and will work in mplayer if I set it to use OSS. Set to ALSA sound doesnt work. It also doesn't work in mozilla flash plugin. Aplay doesnt see any sound cards.

alsa-info log attached.

#561

Hi folks.

I just uploaded the script with 1.0.22.1 support. I changed quite a lot. I hope it is a bit more convenient to use and safer now. Have a look at the -h option (help) first I changed the workflows slightly. There won't be a log under /var/log anymore.

I also tried to improve the "restore" process. I faced also a "no soundcard found" issue after a restore on a 2.6.28 kernel on a test machine. Recompiling and installing the original alsa modules with module-assistant solved the issue. Somehow reinstalling all original packages didn't work out. I introduced the process to the script. If anybody has a better idea let me know.

Hint: If aplay can't see your soundcard and alsa is up, try to load the module manually. E.g.: sudo modprobe snd-hda-intel You'll get a message and usually an entry in dmesg. Type dmesg and look up what it says at the end.

Let me know if it works.

Good luck.

Cheers

#562

1.0.22.1 upgrade script worked without a hitch (that I noticed anyway)! Thanks!

Analog sound still works, spdif still doesn't (will start a new thread for that)...

#563

Hi soundcheck, some questions/requests-

Please remove libavutil49 as a prerequisite. It causes the script to fail on Hardy/8.04, where the package is called libavutil1d. Installing libavutil-dev will get the appropriate libavutil library package.

Is there a reason for installing python-all-dev instead of just python-dev? For example, on Karmic, it installs python2.5 stuff. Is this needed?

Thanks.

#564

Temüjin said: Hi soundcheck, some questions/requests-

Please remove libavutil49 as a prerequisite. It causes the script to fail on Hardy/8.04, where the package is called libavutil1d. Installing libavutil-dev will get the appropriate libavutil library package.

Is there a reason for installing python-all-dev instead of just python-dev? For example, on Karmic, it installs python2.5 stuff. Is this needed?

Thanks.

Hmmh. Non of my systems complained

I updated the script anyhow.

Honestly - I can't remember why I put them in in the past - I guess there must have been a reason.

Anyhow - the mentioned dependencies are out resp. changed now. I guess it won't be wrong.

Thx for the feedback.

Cheers

#565

I have managed to Download / Compile / Install the upgrade, but still no sound, and now i cant log in to Gnome (Xfce still works)

http://www.alsa-project.org/db/?f=f31c932fe24d1ad6a8d67189eb2e984f03545be8

i have a VIA VT82xx based onboard card

any ideas as to what has gone wrong ? from the log i noticed that the driver version was still 1.0.20 is this correct ? i wonder why that didnt update ? can i force it some how ?

cheers

#566

Works for me just fine. Thanks!

#567

oracle_sod said: I have managed to Download / Compile / Install the upgrade, but still no sound, and now i cant log in to Gnome (Xfce still works)

http://www.alsa-project.org/db/?f=f31c932fe24d1ad6a8d67189eb2e984f03545be8

i have a VIA VT82xx based onboard card

any ideas as to what has gone wrong ? from the log i noticed that the driver version was still 1.0.20 is this correct ? i wonder why that didnt update ? can i force it some how ?

cheers

Your driver is still 1.0.20 according to the log! ???? Something went wrong during the upgrade.

I ran the upgrade on 4 different Gnome setups with no issues. Do we face a potential pulseaudio issue in your case?

#568

yonkiman said: 1.0.22.1 upgrade script worked without a hitch (that I noticed anyway)! Thanks!

Analog sound still works, spdif still doesn't (will start a new thread for that)...

SPDIF problems are usually related to wrong alsamixer settings or missing model-id specification for your module - IF SPDIF is supported of course!

#569

Works great on a Acer Aspire One ZG5 running Easy Peasy 1.5 (Ubuntu 8.10) uses alsa 1.0.17

I haven't gone through the whole thread so if this has been posted. Sorry. But I feel I should share on how I did it.

  1. Made 2 folders in /home called Backup and Alsa.
  2. Placed alsa-base in Backup folder and named it alsa-base backup.
  3. Downloaded all 3 files in original post to Alsa Folder.
  4. Copied and pasted relevant instructions from post one into a text file and named it Read Me and saved in Alsa Folder also.

Proceeded with install (I use nautilus scripts for opening terminal in a file) and answered yes to all warnings and questions.

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.22.1-2.tar
  4. sudo ./AlsaUpgrade-1.0.22.1-2.sh -d
  5. sudo ./AlsaUpgrade-1.0.22.1-2.sh -c
  6. sudo ./AlsaUpgrade-1.0.22.1-2.sh -i
  7. sudo shutdown -r 0

Long and scary terminal readouts later. Rebooted and half of the controls I had in Alsa mixer were gone. Was kinda concerned, but it was unwarranted. Maxed out Controls on recording. Which usually gave me a loud scratching noise or screech. None of that business now though.

Test call in Skype and sound recorder passed with flying colors. You rock Soundcheck.:popcorn:

Where the heck is the Thank You button at Least? Now to try this in Ubuntu 8.04 LTS on my IBM M57 Desktop so I can use the Logitech C120m Webcam my wife bought me for Christmas.

Edit; Maybe not?

Please remove libavutil49 as a prerequisite. It causes the script to fail on Hardy/8.04,

#570

rokytnji said:

Long and scary terminal readouts later.

In the current release I actually enabled the "readouts" again. Before I had them disabled and everything routed to a log file.

No idea what you guys prefer!?!?

#571

I just have one thing to say? Very thanks!!!

It worked perfectly for my card:

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)

My problem was the headphone was not being detected when plugged. When plugged, the sound from external speakers didn't stop.

Now I'm just not 100% sure the update did the job or a change I had made in the mixer did it (or maybe both?). :P

Under gnome, I entered Sound Preferences, selected the Output tab and changed the option Connector from 'Analog Speaker' to 'Analog Output'.

See the window:

[ATTACH]142760[/ATTACH]

Well, that's it... Hope that helps...

#572

alexsmith said:

... My problem was the headphone was not being detected when plugged. When plugged, the sound from external speakers didn't stop.

Now I'm just not 100% sure the update did the job or a change I had made in the mixer did it (or maybe both?). :P ...

Most probably, the update of Alsa was the reason why now the headphones work properly. A big issue with sound cards is the support for 'jack sensing', which is the ability for the audio driver to understand when your headphone is connected. This process requires some testing, so you always needs the latest Alsa to verify if it works.

#573

No idea what you guys prefer!?!?

I prefer the readout. Just mentioned it in case a very new user tries it out and panicks(example;the warnings). Acer Aspire Netbooks are usually (at least lately) only Windows. Was mentioned like a said for a Windows user that just migrated to Ubuntu. No offence intended.

#574

rokytnji said:

No offence intended.

I didn't felt offended. ;)

#575

Hi there, I have a problem with my "PCI Express X-Fi Xtreme Audio" Card from Creative. OS:Ubuntu 9.10. I tried these ALSA script, but it didn't work. Has someone else the same card or problem? Here you see the Bash-Commands after the upgrade: "Fehler beim Öffnen des Gerätes" means "Error opening the device"

james@james-desktop:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Jan  7 2010 for kernel 2.6.31-17-generic (SMP).
james@james-desktop:~$ aplay
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
aplay: main:608: Fehler beim Öffnen des Gerätes: Device or resource busy
james@james-desktop:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Generic [HD-Audio Generic], Gerät 0: CA0110 Analog [CA0110 Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 0: Generic [HD-Audio Generic], Gerät 1: CA0110 Digital [CA0110 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
james@james-desktop:~$ speaker-test -Dplughw:0,0 -c2 

speaker-test 1.0.22

Wiedergabe-Gerät ist plughw:0,0
Stream-Parameter sind 48000 Hz, S16_LE, 2 Kanäle
Verwende 16 Oktaven rosa Rauschen
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
^C
james@james-desktop:~$ sudo alsa reload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/james/.gvfs
      Output information may be incomplete.
/sbin/alsa: Warning: Processes using sound devices: 2047(pulseaudio). 
Unloading ALSA sound driver modules: snd-hda-codec-ca0110 snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-ca0110 snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc).
Loading ALSA sound driver modules: snd-hda-codec-ca0110 snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc.
james@james-desktop:~$ speaker-test -Dplughw:0,0 -c2 

speaker-test 1.0.22

Wiedergabe-Gerät ist plughw:0,0
Stream-Parameter sind 48000 Hz, S16_LE, 2 Kanäle
Verwende 16 Oktaven rosa Rauschen
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
Fehler beim Öffnen des Gerätes: -16, Device or resource busy
^C
james@james-desktop:~$ sudo aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Generic [HD-Audio Generic], Gerät 0: CA0110 Analog [CA0110 Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 0: Generic [HD-Audio Generic], Gerät 1: CA0110 Digital [CA0110 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
james@james-desktop:~$ sudo aplay
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
aplay: main:608: Fehler beim Öffnen des Gerätes: Device or resource busy
james@james-desktop:~$ 
#576

If you're running pulseaudio (which comes in a default Ubuntu install), you might want to kill it if you're trying to use ALSA hardware directly for diagnosis.

sudo killall pulseaudio
#577

Thanks for the advice. I tried it, but it didn't work. So I removed all pulseaudio packages. And compiles ALSA again.

The new result:

james@james-desktop:~$ sudo speaker-test -Dplughw:0,0 -c2

speaker-test 1.0.22

Wiedergabe-Gerät ist plughw:0,0
Stream-Parameter sind 48000 Hz, S16_LE, 2 Kanäle
Verwende 16 Oktaven rosa Rauschen
Rate ist 48000 Hz (angefordert: 48000 Hz)
Puffergröße von 64 bis 16384
Periodengröße von 32 bis 8192
Verwende maximale Puffergröße 16384
Perioden = 4
gesetzt: period_size = 4096
gesetzt: buffer_size = 16384
 0 - Vorne links
Schreibfehler: -5, Input/output error
xrun_recovery fehlgeschlagen: -5, Input/output error
Schreibfehler: Operation not permitted
james@james-desktop: 

With lspci I get these 2 results regarding my AudioCard. 0b:00.0 PCI bridge: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG PCI to PCIe Bridge 0c:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG

Was it maybe wrong to delete all pulseaudio packages???

#578

Hi!

Become this error:

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function &#8216;dummy_hrtimer_callback&#8217;: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function &#8216;hrtimer_forward_now&#8217; make[3]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic' make: * [compile] Error 2

--------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

  • alsa-driver-1.0.22.1 make failed

My Configuration:

Fresh Ubuntu 8.04.3, Intel DP55WG Motherboard, 4 GB RAM, I think ALC889 onboard soundcard.

IF I download the alsa-driver, alsa-lib & alsa-util i can compile and install it, but sound don't work

I configure with: sudo ./configure --with-cards=hda-intel --with-sequencer=yes

than make; make install

Also no Problem for lib and utils! But sound won't work :-(

Help meeeeeeeee :-)

EDIT:

reel@ReelBox:~$ sudo lspci -v 00:00.0 Host bridge: Intel Corporation Unknown device d131 (rev 11) Subsystem: Intel Corporation Unknown device 0000 Flags: fast devsel Capabilities: [40] #00 [0000]

00:03.0 PCI bridge: Intel Corporation Unknown device d138 (rev 11) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00001000-00001fff Memory behind bridge: da000000-dcffffff Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff Capabilities: [40] Subsystem: Intel Corporation Unknown device 0000 Capabilities: [60] Message Signalled Interrupts: Mask+ 64bit- Queue=0/1 Enable+ Capabilities: [90] Express Root Port (Slot+) IRQ 0 Capabilities: [e0] Power Management version 3

00:08.0 System peripheral: Intel Corporation Unknown device d155 (rev 11) Flags: fast devsel Capabilities: [40] Express Unknown type IRQ 0

00:08.1 System peripheral: Intel Corporation Unknown device d156 (rev 11) Flags: fast devsel Capabilities: [40] Express Unknown type IRQ 0

00:08.2 System peripheral: Intel Corporation Unknown device d157 (rev 11) Flags: fast devsel Capabilities: [40] Express Unknown type IRQ 0

00:08.3 System peripheral: Intel Corporation Unknown device d158 (rev 11) Flags: fast devsel

00:10.0 System peripheral: Intel Corporation Unknown device d150 (rev 11) Flags: fast devsel

00:10.1 System peripheral: Intel Corporation Unknown device d151 (rev 11) Flags: fast devsel

00:19.0 Ethernet controller: Intel Corporation Unknown device 10f0 (rev 05) Subsystem: Intel Corporation Unknown device 0000 Flags: bus master, fast devsel, latency 0, IRQ 218 Memory at dd000000 (32-bit, non-prefetchable) [size=128K] Memory at dd024000 (32-bit, non-prefetchable) [size=4K] I/O ports at 2040 [size=32] Capabilities: [c8] Power Management version 2 Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+ Capabilities: [e0] #13 [0306]

00:1a.0 USB Controller: Intel Corporation Unknown device 3b3c (rev 05) (prog-if 20 [EHCI]) Subsystem: Intel Corporation Unknown device 424b Flags: bus master, medium devsel, latency 0, IRQ 16 Memory at dd025c00 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port Capabilities: [98] #13 [0306]

00:1b.0 Audio device: Intel Corporation Unknown device 3b56 (rev 05) Subsystem: Intel Corporation Unknown device 0033 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at dd020000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [70] Express Unknown type IRQ 0

00:1c.0 PCI bridge: Intel Corporation Unknown device 3b42 (rev 05) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 Capabilities: [40] Express Root Port (Slot+) IRQ 0 Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [90] Subsystem: Intel Corporation Unknown device 424b Capabilities: [a0] Power Management version 2

00:1c.4 PCI bridge: Intel Corporation Unknown device 3b4a (rev 05) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 Capabilities: [40] Express Root Port (Slot+) IRQ 0 Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [90] Subsystem: Intel Corporation Unknown device 424b Capabilities: [a0] Power Management version 2

00:1c.6 PCI bridge: Intel Corporation Unknown device 3b4e (rev 05) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 Capabilities: [40] Express Root Port (Slot+) IRQ 0 Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [90] Subsystem: Intel Corporation Unknown device 424b Capabilities: [a0] Power Management version 2

00:1d.0 USB Controller: Intel Corporation Unknown device 3b34 (rev 05) (prog-if 20 [EHCI]) Subsystem: Intel Corporation Unknown device 424b Flags: bus master, medium devsel, latency 0, IRQ 19 Memory at dd025800 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port Capabilities: [98] #13 [0306]

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=05, subordinate=05, sec-latency=32 Memory behind bridge: d0000000-d80fffff Capabilities: [50] Subsystem: Intel Corporation Unknown device 424b

00:1f.0 ISA bridge: Intel Corporation Unknown device 3b02 (rev 05) Subsystem: Intel Corporation Unknown device 424b Flags: bus master, medium devsel, latency 0 Capabilities: [e0] Vendor Specific Information

00:1f.2 SATA controller: Intel Corporation Unknown device 3b22 (rev 05) (prog-if 01 [AHCI 1.0]) Subsystem: Intel Corporation Unknown device 424b Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 219 I/O ports at 2068 [size=8] I/O ports at 2074 [size=4] I/O ports at 2060 [size=8] I/O ports at 2070 [size=4] I/O ports at 2020 [size=32] Memory at dd025000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [70] Power Management version 3 Capabilities: [a8] #12 [0010] Capabilities: [b0] #13 [0306]

00:1f.3 SMBus: Intel Corporation Unknown device 3b30 (rev 05) Subsystem: Intel Corporation Unknown device 424b Flags: medium devsel, IRQ 10 Memory at dd026000 (64-bit, non-prefetchable) [size=256] I/O ports at 2000 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation Geforce 9600 GT 512mb (rev a1) (prog-if 00 [VGA controller]) Subsystem: Giga-byte Technology Unknown device 34c6 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at dc000000 (32-bit, non-prefetchable) [size=16M] Memory at c0000000 (64-bit, prefetchable) [size=256M] Memory at da000000 (64-bit, non-prefetchable) [size=32M] I/O ports at 1000 [size=128] Capabilities: [60] Power Management version 3 Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [78] Express Endpoint IRQ 0 Capabilities: [b4] Vendor Specific Information

05:01.0 Multimedia controller: Micronas USA, Inc. Unknown device 8100 Subsystem: Micronas USA, Inc. Unknown device 8100 Flags: bus master, medium devsel, latency 32, IRQ 11 Memory at d8004000 (32-bit, non-prefetchable) [size=4K] Memory at d0000000 (32-bit, non-prefetchable) [size=128M] Capabilities: [40] Power Management version 2

05:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI]) Subsystem: Intel Corporation Unknown device 424b Flags: bus master, medium devsel, latency 32, IRQ 20 Memory at d8005000 (32-bit, non-prefetchable) [size=2K] Memory at d8000000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2

#579

Hello, I have a MacBook6,1 and no sound :(

I tried running this script, with and without the -s option to get the latest snapshot, and I still have no sound. Here is my data:

  1. Ubuntu 9.10
  2. Linux 2.6.31-17-generic
  3. ALSA 1.0.22
  4. Script revision 1.0.22.1-2
  5. All I've done so far is run this script.
  6. The log for alsa-info is attached.

I've noticed that since I've run the script, if I do aplay -l nothing shows up!

In any case, thank you soundcheck for providing the script. I really appreciate it, even if I haven't solved my problem yet!

#580

Hi I am having a nightmare with trying to get any sound on my fresh install of Ubuntu 910 on a new laptop....

Does this look ok to you? I am trying to get sound by editing: gksu gedit /etc/modprobe.d/alsa-base.conf

alias snd-card-0 snd-hda-intel options snd slots=snd-hda-intel options snd-hda-intel [COLOR="Red"]model=STAC9200[/COLOR]

[COLOR="Red"]Model-STAC9200[/COLOR] was taken from http://kernel.ubuntu.com/git?p=ubunt...figuration.txt) with reference to roughly the same laptop as mine....Panasonic CF F8

Any ideas? Thanks!! Should it be written like I did, i.e. model=STAC9200?

#581

The upgrade went well, though I wasn't expecting to huge volume of downloads required (python,ruby,tex-live stuff)

I have an Asus EB1012 Nettop. Global volume output is much lower than on Windows 7 which I dual boot with, and also much lower than my previous system.

I have pulseaudio removed on all systems, but would like to do something like this:

http://blog.dipinkrishna.info/2009/08/increase-system-wide-sound-volume-in.html

I already have an .asoundrc file with the following settings to get multiple sounds.

pcm.!default { type asym playback.pcm { type plug slave.pcm "dmix:NVidia" } capture.pcm { type plug slave.pcm "dsnoop:NVidia" } } [EDIT] this doesn't currently work as all the sound is coming out of "Front", nothing comes out of PCM, so need help there too.

Do I need an asound.conf as well and how would I apply the idea in the link, without pulseaudio?

Thanks

Jose

#582

I don't want to detract from people connecting to resolve their problems, but I just have to say a HUGE THANK YOU for this script. I've got a PCI SoundBlaster Live!, an Augidy & a USB Plantronics Bluetooth installed. My system audio was fine, but all my music apps ran poorly or not at all. Now everything seems to work fine. I ran the script (as per the instructions on the screen). It worked perfectly. Everything works great now. It's like magic. Thank you!

I really underestimated magnitude of the script. I doubt that this is why you wrote these, but I'm EXTREMELY impressed. This really helps to keep 'where I am' in perspective, on the road to Ubuntu enlightenment. :D This was many miles over MY head. Thanks again.

#583

on sudo ./AlsaUpgrade-1.0.22.1-2.sh -c I get "Make failed."

Mythbuntu (xfce) install Ubunti 8.04 lts upgrading from ALSA 1.0.16

#584

listerdl said: Hi I am having a nightmare with trying to get any sound on my fresh install of Ubuntu 910 on a new laptop....

Does this look ok to you? I am trying to get sound by editing: gksu gedit /etc/modprobe.d/alsa-base.conf

alias snd-card-0 snd-hda-intel options snd slots=snd-hda-intel options snd-hda-intel [COLOR="Red"]model=STAC9200[/COLOR]

[COLOR="Red"]Model-STAC9200[/COLOR] was taken from http://kernel.ubuntu.com/git?p=ubunt...figuration.txt) with reference to roughly the same laptop as mine....Panasonic CF F8

Any ideas? Thanks!! Should it be written like I did, i.e. model=STAC9200?

Try model=panasonic (though this is for a cf-74, also have a look at the HD-AUDIO-MODELS.txt doc in the first post)

#585

mulluysavage said: on sudo ./AlsaUpgrade-1.0.22.1-2.sh -c

I get "Make failed."

Mythbuntu (xfce) install Ubunti 8.04 lts upgrading from ALSA 1.0.16

Hmmh. Pretty old stuff. Would be nice to see the messages before the upgrade process died.

#586

rah said: Hello, I have a MacBook6,1 and no sound :(

I tried running this script, with and without the -s option to get the latest snapshot, and I still have no sound. Here is my data:

  1. Ubuntu 9.10
  2. Linux 2.6.31-17-generic
  3. ALSA 1.0.22
  4. Script revision 1.0.22.1-2
  5. All I've done so far is run this script.
  6. The log for alsa-info is attached.

I've noticed that since I've run the script, if I do aplay -l nothing shows up!

In any case, thank you soundcheck for providing the script. I really appreciate it, even if I haven't solved my problem yet!

Try to turn off pulseaudio, first.

#587

Hi soundcheck.

I'd already run your script with the -r option to revert to my previous configuration.

After seeing your reply I turned off pulseaudio using instructions from this post:

http://ubuntuforums.org/showpost.php?p=8264615&postcount=2

Then I tried to run your script again, using the standard workflow (-d, -c, -i). Everything seemed fine, but after I shutdown and started up again, the output of ``` cat /proc/asound/version


I don't understand this because the script worked yesterday.
#588

I struggle with the same error as lattensepp.

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’ make[3]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-26-generic' make: * [compile] Error 2

I have Ubuntu Hardy, Kernel 2.6.24-26-generic, Conexant CX20549 (Venice) I also did some google research but no hint could solve the problem. Hope someone can help.

#589

Lioxen said: I struggle with the same error as lattensepp.

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’ make[3]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-26-generic' make: * [compile] Error 2

I have Ubuntu Hardy, Kernel 2.6.24-26-generic, Conexant CX20549 (Venice) I also did some google research but no hint could solve the problem. Hope someone can help.

This looks like an alsa error. It should be sent to the mailing list.

#590

rah said: Hi soundcheck.

I'd already run your script with the -r option to revert to my previous configuration.

After seeing your reply I turned off pulseaudio using instructions from this post:

http://ubuntuforums.org/showpost.php?p=8264615&postcount=2

Then I tried to run your script again, using the standard workflow (-d, -c, -i). Everything seemed fine, but after I shutdown and started up again, the output of ``` cat /proc/asound/version


I don't understand this because the script worked yesterday.

I just experienced the same behaviour on my machine. 
No idea yet what's wrong there. I am checking it out.

Background: The "restore" done by the script  is not a 100% save way
            to restore your old configuration. It is always better to do 
            a restore from a real backup if something goes wrong.
#591

Thank you, this finally solved my suffering of not having sound.

I have a Dell Vostro 1014 with Ubuntu 9.04.

#592

For those having issues with Hardy, maybe configure snd-dummy driver to use system clock instead of hrtimer:

Module snd-dummy
  ----------------

    Module for the dummy sound card. This "card" doesn't do any output
    or input, but you may use this module for any application which
    requires a sound card (like RealPlayer).

    pcm_devs       - Number of PCM devices assigned to each card
                     (default = 1, up to 4)
    pcm_substreams - Number of PCM substreams assigned to each PCM
                     (default = 8, up to 128)
    hrtimer        - Use hrtimer (=1, default) or system timer (=0)
    fake_buffer    - Fake buffer allocations (default = 1)
#593

Hello!

Thank you. Its really great job. Anyway, I've upgraded ALSA and it solved my problem only to some degree. I'm using M-Audio Fast Track USB soundcard - only to listen music. Sometimes everything works. Unfortunately, very often, when my computer is not very busy I hear crackle and detune(!).

  1. When I minimize or maximize any window I hear good sound DURING its animation.
  2. When I press FN + arrow up (volume up) it sounds good as far as the volume indicator in right hand upper corner is visible. I can hold those keys and it still sounds good. Once the indicator dissapears my soundcard starts to crackle.

hope its not offtopic?

Best Regards

#594

This worked for me, I ran the script. But damn, it was downloading stuff for 30 minutes 300kb/s. What was going on? Felt like my computer has gotten taken over. I did not log it. Some new things are installed on the Applications - Sound menu. Hmm? Ubuntu 9.10 32bit (fresh install) Gateway P-6860FX Laptop

#595

Ops it will take 3 hours hehehehehehehe but it worth try if it can fix some sounds issues thx

#596

Quote: Originally Posted by Lioxen [[IMG]http://ubuntuforums.org/images/buttons/viewpost.gif[/IMG]]("http://ubuntuforums.org/showthread.php?p=8643847#post8643847") [I]I struggle with the same error as lattensepp.

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’ make[3]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-26-generic' make: * [compile] Error 2

I have Ubuntu Hardy, Kernel 2.6.24-26-generic, Conexant CX20549 (Venice) I also did some google research but no hint could solve the problem. Hope someone can help.[/I]

This looks like an alsa error. It should be sent to the mailing list.

I don't think so. When I download and install the driver manually I can compile it and install. Without errors !!!

But ! When I take a look with cat /proc/asound/version I become:

reel@ReelBox:~/Downloads$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.16. Compiled on Apr 24 2009 for kernel 2.6.24-24-generic (SMP).

????? Whats wrong, I make it all with sudo

regards

#597

lattensepp said: Quote:

Originally Posted by Lioxen [[IMG]http://ubuntuforums.org/images/buttons/viewpost.gif[/IMG]]("http://ubuntuforums.org/showthread.php?p=8643847#post8643847") [I]I struggle with the same error as lattensepp.

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’ make[3]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-26-generic' make: * [compile] Error 2

I have Ubuntu Hardy, Kernel 2.6.24-26-generic, Conexant CX20549 (Venice) I also did some google research but no hint could solve the problem. Hope someone can help.[/I]

This looks like an alsa error. It should be sent to the mailing list.

I don't think so. When I download and install the driver manually I can compile it and install. Without errors !!!

But ! When I take a look with cat /proc/asound/version I become:

reel@ReelBox:~/Downloads$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.16. Compiled on Apr 24 2009 for kernel 2.6.24-24-generic (SMP).

????? Whats wrong, I make it all with sudo

regards

Has anybody send this problem to Alsa mailing list?

If not then I need a alsa-info.log I'll do it then.

#598

I just handed the compilation issue over to the Alsa folks. Let's wait what they come up with.

Cheers

#599

after i did upgrade alsa things was great my built in microphone works but i cant record using sound recorder give me (GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.) what is the problem???

ubuntu karmic 9.10 kernel: 2.6.31.17

#600

Jose Catre-Vandis said: The upgrade went well, though I wasn't expecting to huge volume of downloads required (python,ruby,tex-live stuff)

I have an Asus EB1012 Nettop. Global volume output is much lower than on Windows 7 which I dual boot with, and also much lower than my previous system.

I have pulseaudio removed on all systems, but would like to do something like this:

http://blog.dipinkrishna.info/2009/08/increase-system-wide-sound-volume-in.html

I already have an .asoundrc file with the following settings to get multiple sounds.

[EDIT] this doesn't currently work as all the sound is coming out of "Front", nothing comes out of PCM, so need help there too.

Do I need an asound.conf as well and how would I apply the idea in the link, without pulseaudio?

Thanks

Jose

Fixed this thanks to help from Vertexpusher.

.asoundrc looks like this

pcm.!default {
    type plug
    slave.pcm {
        type asym
        playback.pcm "dmix:NVidia"
        capture.pcm "dsnoop:NVidia"
    }
}

and I had to recheck/reset all my sound device settings in Audacious.

Still no fix for low global sound volume, will just have to turn up to 11 :)

#601

I installed ubuntu 8.10 on a medion notebook md96218. No sound on internal speakers and jack (not muted). However, I had sound on my logitech usb-headset. My conclusion: a driver problem for my internal sound processor (which is a hda-intel with sigmatel codec) Am I right? To be sure I ran your update-script and restarted my notebook. Alsa is succesfully upgraded, but still no sond on internal speakers and jack (not muted). So you're update script is working, but was not a solution for my problem unfortunately so I'm going to try to find another solution. (kubuntu 9.04 didn't work either for me) Best regards, Bart

#602

Hi there,

First: great job with this script, you have made many people happy.

Second: I was able to successfully run the script following your instructions.

Third: , I have gone from not listen anything through HDMI to listen audio as what happens with scratched Audio CD's. When I run 'aplay' after installation of script, I think playback hangs .

I have searched over 60 pages of this thread but have not found similar issue.

Some recommendation???, i do not know what to do ...

This is part of the log when i run alsa-info.sh


!!Linux Distribution
!!------------------

Ubuntu 9.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.10"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name


!!Kernel Information
!!------------------

Kernel release:    2.6.31-17-generic
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.22.1
Library version:    1.0.22
Utilities version:  1.0.22


!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_hda_intel

!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe6f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe8e8000 irq 28


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:05.1 Audio device: ATI Technologies Inc Device 970f


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:14.2 0403: 1002:4383
    Subsystem: 1043:836c
--
01:05.1 0403: 1002:970f
    Subsystem: 1043:83a2

......
.....
......

#603

Hi soundcheck. I've got sound on my MacBook 6,1!

I tried uninstalling ALSA and installing OSS4 in its place but that didn't work, so I used your script again (using -d, -s, -c, -i). The install was successful -- I checked with ``` cat /proc/asound/version


When I do ```
aplay -l

alsamixer


Then I found this site:

[http://moosesoom.blogspot.com/2009/12/asus-k50ij-x5dij-audio-english.html](http://moosesoom.blogspot.com/2009/12/asus-k50ij-x5dij-audio-english.html)

which suggested this as a fix:

sudo apt-get install linux-backports-modules-alsa-2.6.31-17-generic


and now sound is working!

Curiously, when I do ```
cat /proc/asound/version
#604

After reading about typical issues about sound and alsa driver i do the following and it works!!!... (maybe since the beginning I never had any problem, duh! )

1) Restore driver to 1.0.20 $ sudo ./AlsaUpgrade-1.0.22.1-2.sh -r

2) Check my card sound and device to set default in alsa driver $ sudo aplay -l

Result

** List of PLAYBACK Hardware Devices ** card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] <- I want this by default!! Subdevices: 1/1 Subdevice #0: subdevice #0

2) Edit alsa.conf to change default card $ sudo nano /usr/share/alsa/alsa.conf

and Change this defaults.ctl.card 0 -> defaults.ctl.card 1 defaults.pcm.card 0 -> defaults.pcm.card 1 defaults.pcm.device 1 -> defaults.pcm.device 3

3) Test sound $ aplay <<a-sound-file.wav>>

And It works...!!!

My pc configuration

-> Asus M4A 785TD-M EVO -> Mythubuntu 9.10

Anyway the script rocks!!

#605

I need some help I am brand new to Linux, myself and windows had to break up it was not working out. I have a Sony vaio VGN-FZ240E. Everything works fine except for the headphones. I just cannot get audio out to work on the headphones. I have read this tread thoroughly and I am having a difficult time getting the ALSA upgrade to install in the terminal window. Would someone please break down, line by line the commands Barney style for me. Thank you for your time.

Nick

#606

Hello and thanks for taking the time to write a script that even a novice like me can follow. I have just installed Ubuntu Desktop 9.10 and am having problems with the sound output. I carefully followed your guide and I still have no sound. I believe it is because the driver is not loading. When I look in sound preferences the is no listing with (alsa) in the description which I have seen on many of the post I have read. The problem is I dont know why. I have seen reference to pulse audio messing things up but I dont know how to determine that. My setup is a Acer Revo 3610, it is for the purpose of running XBMC. I have tried installing the live version of XBMC and following numerous guides/advice with no resolution to my problem. If anyone could help I would greatly appreciate it.

Update: I can hear audio in XBMC but can get pcm through hdmi also the audio is distorted when playing mp3's......

#607

Thanks for your upgrade script, after some work I finally got the update to alsa 1.0.22...

But I still have a weird problem and I would really appreciate if you have a solution for this since searching for it did not help very much. I have an Asus M4A78 Pro mainboard with VIA1708S onboard soundchip (analog 5.1 output). The sound works kind of, but as soon as I have multiple sources only one of them will work. For example, if I have amarok running, dragonplayer will not give any sound. If I am listening to sound on youtube, amarok wont work. The only thing that always works like charm is vlc. And I dont have any clue why that is.

Do you have any idea what I could do to make this work flawlessly?

Thanks in advance!

9.10

2.6.31-17-generic 64bit

1.0.22.1

I cant think of anything I havent tried yet. I installed, deinstalled pulseaudio, I tried different versions of alsa (newest snapshot included) etc...

  1. Name your Ubuntu revision
  2. Kernel revision
  3. Alsa revision
  4. Upgrade script revision
  5. A bit of background what you've done resp. done before
#608

Ichbinich said: Thanks for your upgrade script, after some work I finally got the update to alsa 1.0.22...

But I still have a weird problem and I would really appreciate if you have a solution for this since searching for it did not help very much. I have an Asus M4A78 Pro mainboard with VIA1708S onboard soundchip (analog 5.1 output). The sound works kind of, but as soon as I have multiple sources only one of them will work. For example, if I have amarok running, dragonplayer will not give any sound. If I am listening to sound on youtube, amarok wont work. The only thing that always works like charm is vlc. And I dont have any clue why that is.

Do you have any idea what I could do to make this work flawlessly?

Thanks in advance!

9.10

2.6.31-17-generic 64bit

1.0.22.1

I cant think of anything I havent tried yet. I installed, deinstalled pulseaudio, I tried different versions of alsa (newest snapshot included) etc...

  1. Name your Ubuntu revision
  2. Kernel revision
  3. Alsa revision
  4. Upgrade script revision
  5. A bit of background what you've done resp. done before

Your question goes beyond the scope of this thread. On the first glance this has nothing to do with the upgrade.

Perhaps you open up another thread.

#609

kalhua said: Hello and thanks for taking the time to write a script that even a novice like me can follow. I have just installed Ubuntu Desktop 9.10 and am having problems with the sound output. I carefully followed your guide and I still have no sound. I believe it is because the driver is not loading. When I look in sound preferences the is no listing with (alsa) in the description which I have seen on many of the post I have read. The problem is I dont know why. I have seen reference to pulse audio messing things up but I dont know how to determine that. My setup is a Acer Revo 3610, it is for the purpose of running XBMC. I have tried installing the live version of XBMC and following numerous guides/advice with no resolution to my problem. If anyone could help I would greatly appreciate it.

Update: I can hear audio in XBMC but can get pcm through hdmi also the audio is distorted when playing mp3's......

So - Alsa is working in general that is fine.

You are bringing up an interesting subject I need to look into. HDMI audio via graphic cards.

Can you please contribute an alsa-info.sh output! ( Instructions are in the first post of this thread)

#610

I just ran the 1.0.22.1 upgrade script and all steps ran with no apparent problems. However, my ALSA driver is now showing that it is version 1.0.21 (it was previously 1.0.20, so it is a step in the right direction. The other parts do show as version 1.0.22. Do I still need to fix something?

I am attaching the output of the alsa-info script.

Thanks for a great script. Yesterday, I had downloaded the latest ALSA from the ALSA Wiki, but as I got into reading the installation instructions, I became thoroughly lost. I could not have done it without your script.

Thank you, Tim

PS - I can play media files with vlc, but I am no longer getting sound from YouTube (Flash) video

Driver version: 1.0.21 Library version: 1.0.22 Utilities version: 1.0.22

Everything was working well until I decided I just had to upgrade ALSA from 1.0.20 to 1.0.22.1. I have not changed anything since running the ALSA upgrade script. I am trying to wait for knowledgeable help.

  1. Name your Ubuntu revision - 9.10
  2. Kernel revision - 2.6.31-17-generic
  3. Alsa revision - mixed:
  4. Upgrade script revision - 1.0.22.1
  5. A bit of background what you've done resp. done before -
#611

Thank you for the script. Installed 1.0.22.1 on a Gateway MX3228 with VIA8237 ALC250 sound. I made multiple tries using this script and others and finally this one worked after I removed alsa and pulseaudio from package manager and also deleted /etc/modprobe.d/alsa-base.conf and alsa-base.save.

#612
  1. Kubuntu 9.10
  2. Ubuntu, Linux 2.6.31-17-Generic
  3. Alsa 1.0.22.1
  4. AlsaUpgrade-1.0.22.1-2.sh
  5. Speakers and headset speakers have worked from the beginning but when I use the headset mic with Gizmo (Google Voice) there is so much static that no one can understand me. Same with Skype.

I ran the script and the -s option as well with no improvement. Same equipment works fine on the Windows XP side. I have fiddled with the Mixer settings without success. Nothing seems to get rid of the mic noise. If I can't use Google Voice, I'll need to stay on the Windows side which will be most unfortunate.

  1. alsa-info log attached.

Thanks for any help you may offer on this excellent thread.

#613

ratcheer said: I just ran the 1.0.22.1 upgrade script and all steps ran with no apparent problems. However, my ALSA driver is now showing that it is version 1.0.21 (it was previously 1.0.20, so it is a step in the right direction. The other parts do show as version 1.0.22. Do I still need to fix something?

Driver version: 1.0.21 Library version: 1.0.22 Utilities version: 1.0.22

Everything was working well until I decided I just had to upgrade ALSA from 1.0.20 to 1.0.22.1. I have not changed anything since running the ALSA upgrade script. I am trying to wait for knowledgeable help.

  1. Name your Ubuntu revision - 9.10
  2. Kernel revision - 2.6.31-17-generic
  3. Alsa revision - mixed:
  4. Upgrade script revision - 1.0.22.1
  5. A bit of background what you've done resp. done before -

Any ideas why the 1.0.22.1 upgrade script updated my system to 1.0.21? The specific script I ran is AlsaUpgrade-1.0.22.1-2.sh

Thank you. Tim

#614

ratcheer/Tim, can you try the script again and log the process this time?


sudo script -a -c "./AlsaUpgrade-1.0.22.1-2.sh -d" /tmp/Alsa_1.0.22.1_upgrade.log
sudo script -a -c "./AlsaUpgrade-1.0.22.1-2.sh -c" /tmp/Alsa_1.0.22.1_upgrade.log
sudo script -a -c "./AlsaUpgrade-1.0.22.1-2.sh -i" /tmp/Alsa_1.0.22.1_upgrade.log

Then, attach the log.

#615

Temüjin said: ratcheer/Tim, can you try the script again and log the process this time?

Then, attach the log.

Will do. Be back, later.

Tim

#616

Ok, I have rerun the upgrade script and am attaching a zip file with the logs, including the alsa_info script log.

Thanks, I appreciate your help.

Tim

#617

I looked through the scripts and everything checks out. After reboot, is cat /proc/asound/version still reporting 1.0.21?

#618

Yes. This is after rebooting:

cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Dec 11 2009 for kernel 2.6.31-17-generic (SMP).

Someone said in this thread that he only got his to work by first removing PulseAudio and ALSA, then running the ALSA upgrade script. Do you think I need to try that?

Tim

#619

I think something might be wrong with the script's installation step, more specifically, with the kernel module(s) location.

#620

Temüjin said: I think something might be wrong with the script's installation step, more specifically, with the kernel module(s) location.

Ok, if you can tell me what to fix, I can probably do it. I'm turning in for the evening now, though. Thanks for all your help.

Tim

#621

Thanks thanks thanks :D Work perfectly on Acer 5738G with Ubuntu 9.10 ( kernel 2.6.31-18 ). I have update correctly from alsa driver 1.0.20 to 1.0.22.1! :KS

#622

Hello I'm sorry for my bad english, because i'm french ;) I have a Apple iMac 21,5" Late 2009, and is work with ReFit : OSX Ubuntu 9.10, WinXPPro, no problem for this, but i need your help, because i don't have sound, in my internal speaker, on Ubuntu. I read your different post, but does not understand all. Could you communicate me an easy tutorial has to understand?

Thanks a lot for your help

Jonathan

#623

Ubuntu 8.04

kernel 2.6.24-26-generic (SMP)

1.0.19

AlsaUpgrade-1.0.22.1-2

I dowloaded it but it don't compile

  1. Name your Ubuntu revision
  2. Kernel revision
  3. Alsa revision
  4. Upgrade script revision
  5. A bit of background what you've done resp. done before
  6. Attach the relevant logs

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: Na função &#8216;dummy_hrtimer_callback&#8217;: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: erro: implicit declaration of function &#8216;hrtimer_forward_now&#8217; make[3]: [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Erro 1 make[2]: [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Erro 2 make[1]: [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Erro 2 make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.24-23-generic' make: [compile] Erro 2

--------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

  • alsa-driver-1.0.22.1 make failed

thanks in advance for a response..

#624

Hi, Works fine under Karmic 64 Bits on an Apple iMac 21.5 " late 2009.

Data are :

imac10.1 Soundcards recognised by ALSA 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xd3580000 irq 22

Chipset is an Cirrus Logic CS4206

Thank you a lot for this so good job.

I talk about this post an script on French wiki http://doc.ubuntu-fr.org/apple_imac

#625

Thank you for all of this work. It ran smoothly on my AMD Athlon 64 HP Pavilion laptop, and I think you bypassed all the work I had been doing to try to get my TASCAM US-122 working on this computer. As soon as I ran your script and plugged in, the green lights are glowing.

I think I'm near the end now of a long and arduous road, but not quite - I still have no sound coming in from the card.

JACK lists it under system and under ALSA in the connect window, but under the alsa connect window if you click on it you only see the midi inputs. I want to use it as a sound capture device as well, and that doesn't seem to be happening yet. Nor am I successful in using it to capture sounds using ARECORD.

I just feel like there is a switch somewhere I have not yet found that needs to be turned "on". Please help. I'm so looking forward to this low cost, low latency lappy!

Ubuntu 9.10 2.6.31-9-rt kernel $ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.22.1. Compiled on Jan 25 2010 for kernel 2.6.31-9-rt (SMP). [note: Thanks!] AMD Athlon 64 X2 (although I'm using the x86 installation)

The lights are on, the thing is connected:

$ cat /proc/asound/cards 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf6480000 irq 27 1 [USX2Y ]: USB US-X2Y - TASCAM US-X2Y TASCAM US-X2Y (1604:8007 if 0 at 001/007)

$ arecord -l ** List of CAPTURE Hardware Devices ** card 0: NVidia [HDA NVidia], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: USX2Y [TASCAM US-X2Y], device 0: US-X2Y Audio [US-X2Y Audio #0] Subdevices: 1/1 Subdevice #0: subdevice #0

Thanks,

J

#626

Having a slight problem with the script.

AsRock ION330 Using Karmic Koala 9.10 upgraded from rc1 to latest Kernel 2.6.31.17-generic Alsa 1.0.20 Upgrade script 1.0.22.1-2

Virtually nothing done to the machine other than the upgrade from rc1.

Originally I couldn't get sound through HDMI, by unmuting iec958 1 & 2 I now have sound is everything I could test, except still no flash sound. I'm hoping this will help. If not, no harm done, and I'll have the latest alsa.

checking for unistd.h... yes
checking panel.h usability... no
checking panel.h presence... no
checking for panel.h... no
configure: error: required curses helper header not found

--------------------------------------------------------------------------------------
-  alsa-utils-1.0.22 configure failed
--------------------------------------------------------------------------------------

Alsa version check still says 1.0.20 although I did get a shiny new alsamixergui. :) The script was doing something...

Let me know if you think you can help.

#627

soundcheck said:

As usual - Make a backup first! - A restore will just take 5 minutes with rsync. That might save you hours of troubleshooting and frustration ;) .

Where are files to backup? Or what to backup exactly?

#628

panchen, it sounds like the same problem I am having. See posts around #618 in this thread.

Tim

#629

Works with a Dell Vostro 1520

Thanks a lot

cheers

Iso

#630

I've just upgraded alsa via this script. From version 1.0.21 to... 1.0.21 ?? After reboot i can see this: !!ALSA Version !!------------

Driver version: 1.0.21 Library version: 1.0.22 Utilities version: 1.0.22

What could went wrong?

#631

panchen said:

checking for unistd.h... yes checking panel.h usability... no checking panel.h presence... no checking for panel.h... no configure: error: required curses helper header not found


Did you have Synaptic or some other package manager open while running the script? The errors look like you're missing libncurses5-dev and/or libncursesw5-dev package(s).
#632

Temüjin said: Did you have Synaptic or some other package manager open while running the script? The errors look like you're missing libncurses5-dev and/or libncursesw5-dev package(s).

Just the Terminal, booted Ubuntu this morning for the sole purpose of posting the error. Any other reasons to be missing the libncurses* files? (And out of curiosity, what do they do?)

ratcheer, any luck?

#633

panchen said:

ratcheer, any luck?

Nothing yet. Thanks for asking.

Tim

#634

I might be stating the obvious, nevertheless, I did a quick search for libncurses*, they're installed. The description states they're shared libraries for Terminal. By having the Terminal open in X, am I effectively locking this files as read-only? I'm just guessing here, I do not have a lot of linux experience...

Is there a 'proper' way to be running this script?

#635

Pulseaudio broke my Karmic install (Netbook Remix on Asus eeepc 1005HA) when i had the audacity to install the Pulseaudio controller in order to get my internal mic to work. Spent hours trying a wide variety of solutions and was preparing to borrow a friend's windows machine to make a bootable usb and total install. Thankfully I found this! Worked like a charm. System sounds, VLC, Skype, Rythmnbox.

Eternal thanks! -evan-

#636

I got a problem after i upgrade sometimes sound will goes off sudenlly and if i play movie in totem the movie will not play just pause, so any help? i have karmic kernel 31.17

#637

The Alsa 1.0.22. upgrade script worked for Ubuntu 8.04 LTS on my Acer 4736 (ICH9 Audio)

It works fine most of the time but sometimes hangs / stutters. Still better than no sound at all.

Thanks a lot for all the info especially for the upgrade script.

Forget to mention: I compiled with "cards=hda-intel" instead of "cards=all". Was giving some compilation errors other wise

#638

Many many many thanks. I had no sound on my Pavilion dv6 and now my speakers work. Will test headphones and HDMI output later.

I really appreciate, thank you!

#639

thanks for this upgrade script.. it makes life a lot easier. i've already used it twice.. to upgrade to 1.0.21 and now to 1.0.22.1 both of the upgrades fixed sound issues for me.... but also brought new ones lol!

right now i can't hear flash videos in firefox if have another app such as rhythmbox or songbird playing audio.. but if i open a flash video and start listening first, then i can't hear anything on rhythmbox..

so it's either one or the other... weird....

#640

Great script, thanks! Between that and some other hacking I've now got the HDMI audio out working on my nVidia G210.

I noticed that you don't have any hooks to set up parallel make, so I quickly modified the script to add a $MAKEFLAGS variable after each call to make' for compilation. To use, just set MAKEFLAGS appropriately before running the script (I used MAKEFLAGS=-j6' to run six jobs; your best results will depend on the number of available processors). Nothing complicated, but I had to run the compilation a few times while I was getting the nVidia patches sorted, so figured I may as well shave a little time off.

RELEVANT DETAIL: I believe you'll need to export' MAKEFLAGS, and run the script with sudo -E'.

#641

Outstanding!! Good work and thank you!!

#642

pike2k said: 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

Not in mu case :(

Dell Optiplex GX270 Architecture: i686 snd_intel8x0 !!Soundcards recognised by ALSA 0 [ICH5 ]: ICH4 - Intel ICH5 Intel ICH5 with AD1981B at irq 17 XBMC Live 9.11 installed on HD Kernel release: 2.6.31-16-generic

!!ALSA Version Driver version: 1.0.22.1 Library version: 1.0.22 Utilities version: 1.0.22

Followed the instructions to the dot, everything went through just fine. Did the 'aplay' and 'speaker-test' - sound is working. No errors or issues reported in the alsa-info file.

However... clicks, pops, scratches, crackling and interference type of noise that I had prior to upgrade are still there, exactly the same as before...

Any ideas are more than welcome. All I'm trying to do is have the well behaved dedicated XBMC machine.

Cheers, Mike

#643

clicks, pops, scratches, crackling and interference type of noise

Sounds like it could be motheboard noise. :( If you want to try a cheap discrete sound card: http://www.newegg.com/Product/Product.aspx?Item=N82E16829126005

#644

I get following error when compiling, tried both -d and -s before compiling

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function &#8216;dummy_hrtimer_callback&#8217;: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function &#8216;hrtimer_forward_now&#8217; make[3]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-27-generic' make: * [compile] Error 2

--------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

  • alsa-driver-1.0.22.1 make failed

I am using 8.04

Any ideas?

#645

Temüjin said: Sounds like it could be motheboard noise. :(

If you want to try a cheap discrete sound card: http://www.newegg.com/Product/Product.aspx?Item=N82E16829126005

Hey, thanks for the quick reply!

Nope, works perfectly with XP and even in Win7 with XP drivers installed.

Lurking around various forums, I noticed this has been reported a few times, and always blamed on outdated ALSA kit in the Ubuntu 9.10. This was the first thread where I found the upgrade instructions easy enough for me to follow (1000000 thanks to the thread starter!), and even saw another XBMC user (bottom of 1st page) that seem to have had the same issue, successfully resolved with upgrade.

Grrr... this is so annoying... Linux XBMC Camelot 9.11 works PERFECTLY on this ancient PC, well, except for the sound, that is. Such a pity.

#646

mmutavdzic said: Hey, thanks for the quick reply!

Nope, works perfectly with XP and even in Win7 with XP drivers installed.

Lurking around various forums, I noticed this has been reported a few times, and always blamed on outdated ALSA kit in the Ubuntu 9.10. This was the first thread where I found the upgrade instructions easy enough for me to follow (1000000 thanks to the thread starter!), and even saw another XBMC user (bottom of 1st page) that seem to have had the same issue, successfully resolved with upgrade.

Grrr... this is so annoying... Linux XBMC Camelot 9.11 works PERFECTLY on this ancient PC, well, except for the sound, that is. Such a pity. Try OSS4 then: https://help.ubuntu.com/community/OpenSound

#647

Excellent script. Thanks, soundcheck!

#648

Latest Alsa-Package update: 09/05/2010 (1.0.22.1)Truly the package of the future.

#649

I have Ubuntu Studio and have not modified the file structure. I ran the compile part of this script and had to supply the "patch" package. I ran it again and it complained of not finding the "alsa" package. I have alsa-lib and alsa-utils and several other packages beginning with "alsa-" but no package simply called "alsa" which the script says it cannot find. What to do?

#650

Hey I've been struggling to get sound working on my updated system now for a few days. I'm trying to run this script right now. I've got the script downloaded. I'm on the step:

sudo ./AlsaUpgrade-1.0.22.1-2.sh -c

Unfortunately though it fails right away saying:

rm -f .depend *.o snd.map* rm -f modules/*.o modules/*.ko make[1]: Entering directory /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/include' Makefile:6: ../Makefile.conf: No such file or directory make[1]: * No rule to make target ../Makefile.conf'. Stop. make[1]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/include' make: * [clean] Error 1 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1 checking cross compile... checking for directory with ALSA kernel sources... ./configure: line 5107: cd: ../alsa-kmirror: No such file or directory ../alsa-kmirror checking for directory with kernel source... ./configure: line 5132: cd: /usr/src/linux-headers-2.6.28-15-generic: No such file or directory /usr/src/linux-headers-2.6.28-15-generic checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /usr/src/linux).

--------------------------------------------------------------------------------------

  • alsa-driver-1.0.22.1 configure failed

I've tried many different things, and nothing has worked yet. What's the /include/linux/version.h why doesn't it exist and how do i get it, or should I manually change the directory. Madeningly confused and frustrated here, that I can't get this working. Any help is greatly appreciated, thx.

#651

You're missing the kernel headers.


sudo aptitude install linux-headers

Then run the script again.

#652

First post here, just wanted to say thank you for your script. I am new to ubuntu and this has helped me get my ALC889 onboard sound to work with my HDMI GFX cards. Thanks again for your wonderful guide.

#653

Awesome!

Excellent!

Finally!

I nominate you as the ALSA package maintainer and Lead Ubuntu Sound System architect! :guitar:

#654

JohnnyJonJon said: Awesome!

I nominate you as the ALSA package maintainer and Lead Ubuntu Sound System architect! :guitar:

I'd love to. I'd have tons of ideas you'd love to see. ;)

1st thing I'd do - introducing a monthly update of the drivers and disconnect Alsa from the kernel revision handling.

2nd. Cleanup of Alsa integration. The amixer/Alsamixer/Gnome mixer is more then inconsistent and a mess to work with.

  1. Pulseaudio would be dropped - making it optional as Jack. This parasite app is causing issues all the the time.
  1. There shouldn't be any need to touch the command line! This is not possible today.Things like editing an alsa-base file to introduce a model-id I consider deepest stoneage. (Alsa says this is task of the distro work!)

The Alsa guys try their best. But for sure they lack resources and structures to get the whole thing under control. Think about it - the Alsa guys are (wild guess) 1-2 years behind the market. Ubuntu another 6month to a year. We're talking about a delay of up to 3 years for certain soundcardsupport in total (if we see support for certain soundcards at all). Linux support comes at the same time as the EndOfLife announcement by the manufacturer (for certain cars).

  1. The general soundcard support (cards and features) must be heavily improved.

This will keep people away from Linux! ( M. Shuttleworth are you listening? ;) )

to get 5. under control. IMO Manufacturers would be more open to join the club.

  1. Allow restricted/proprietary drivers as done with graphic cards

Anyhow. Let's stop this. I'd rather try to improve my script instead of making too much noise. :D

Cheers

#655

After upgrading my Kubuntu Karmic box a little hastily from KDE 4.3 to 4.4 my system no longer recognises my sound card.

I've had to add a few packages to make the script work but I finally got to reboot. However, KDE 4.4 is still not recognising my sound card.

Following the advice at SoundTroubleshooting I find the following:

aplay -l aplay: device_list:223: no soundcards found...

then

!!Loaded ALSA modules !!-------------------

!!Sound Servers on this system !!----------------------------

No sound servers found.

!!Soundcards recognised by ALSA !!-----------------------------

!!PCI Soundcards installed in the system !!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)

From that I assume I need to start the server and load the modules. The only problem is that I don't know how. If anyone can help out while I'm searching I'd appreciate it.

Edit: On further investigation it gets worse.

modinfo soundcore ERROR: modinfo: could not find module soundcore

#656

@ soundcheck:

I have a question... I have support for ALSA built in my kernel. Does running your script update the module I'm using? Thanks

#657

Hi from France,

I own an Apple iMac late 2009. I need to run the upgrade script if I want to hear something. The script works very fine until today.

I loose sound this day for an unknow reason. I run the 3 stages of the script -d > -c > i

Nothing run. I have no Master canal, nor PCM, nothing except S/DPIF if I run alsamixer !!!

My ALSA information is located at http://www.alsa-project.org/db/?f=eb2df86150e550d8b416b939359173161a4de247

Somebody can Help me ?

#658

kaunofrantas said: I get following error when compiling, tried both -d and -s before compiling

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’: /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’ make[3]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-27-generic' make: * [compile] Error 2

--------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

  • alsa-driver-1.0.22.1 make failed

I am using 8.04

Any ideas?

I get same error. I am using Gutsy.

#659

GAR!


checking for ALSA... configure: error: Package requirements (alsa >= 1.0.11) were not met:

No package 'alsa' found

Ubuntu 9.10 with packages alsa-base and alsa-utils (only ones i know of)

ran the script with -d then -c. -c stopped when it tried to compile plugins. Usually, I would just go to my package manager and find "alsa" but there doesnt seem to be a straight up alsa :(

DAM! ok if you have my problem install libasound2-dev ... wtb better pkg-config names or package names

#660

soundcheck said: L

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.22.1-2.tar
  4. sudo ./AlsaUpgrade-1.0.22.1-2.sh -d
  5. sudo ./AlsaUpgrade-1.0.22.1-2.sh -c
  6. sudo ./AlsaUpgrade-1.0.22.1-2.sh -i
  7. sudo shutdown -r 0

Step 4 produces this error ``` nka@Ermac:/media/sda5/#!/downloads$ sudo ./AlsaUpgrade-1.0.22.1-2.sh -d sudo: ./AlsaUpgrade-1.0.22.1-2.sh: command not found


I also tried replacing pulse audio with esound and that didn't work either.
#661

sx1 said: Hi from France,

I own an Apple iMac late 2009. I need to run the upgrade script if I want to hear something. The script works very fine until today.

I loose sound this day for an unknow reason. I run the 3 stages of the script -d > -c > i

Nothing run. I have no Master canal, nor PCM, nothing except S/DPIF if I run alsamixer !!!

My ALSA information is located at http://www.alsa-project.org/db/?f=eb2df86150e550d8b416b939359173161a4de247

Somebody can Help me ?

I found the solution : need to install linux-backports-modules-alsa-*generic.

That's not needed with alsa 1.0.21 but required with 1.0.22. Why ?

#662

I hope this hasn't been covered, I didn't have the patience to read the whole thread.

I have been having sound trouble with a VIA VT1708B 8-ch onboard sound card. The front audio jack which I normally use doesn't work, and the rear jacks are very weak.

So I tried to run the script, and it seems to work fine except that the alsa version doesn't change (using cat /proc/asound/version). I've tried it a few times, most of them with the -s option, and restarted every time, it's no use. The output stays the same the whole time:

Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Jan 28 2010 for kernel 2.6.31-19-generic (SMP).

I have no idea what else to do. Any pointers?

#663

In order to get the upgrade from alsa 1.0.21 to 1.0.22.1 to take effect, I had to remove linux-backports-modules-alsa-2.6.31-19-generic and linux-backports-modules-alsa-karmic-generic

#664

I am experiencing an error while trying to 5. sudo ./AlsaUpgrade-1.0.22.1-2.sh -c the log says:

--------------------------------------------------------------------------------------
-  Compiling drivers...
--------------------------------------------------------------------------------------
rm -f .depend *.o snd.map*
rm -f modules/*.o modules/*.ko
make[1]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/include'
Makefile:6: ../Makefile.conf: No such file or directory
make[1]: *** No rule to make target `../Makefile.conf'.  Stop.
make[1]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/include'
make: *** [clean] Error 1
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1
checking cross compile... 
checking for directory with ALSA kernel sources... ./configure: line 5107: cd: ../alsa-kmirror: No such file or directory
../alsa-kmirror
checking for directory with kernel source... /usr/src/linux-headers-2.6.33-rc8-git5-gym
checking for directory with kernel build... 
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... no
The file /usr/src/linux-headers-2.6.33-rc8-git5-gym/include/linux/autoconf.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.33-rc8-git5-gym/source).

--------------------------------------------------------------------------------------
-  alsa-driver-1.0.22.1 configure failed
--------------------------------------------------------------------------------------

Edit: I found it in *include/generated/*

#665

tahutchinson said: In order to get the upgrade from alsa 1.0.21 to 1.0.22.1 to take effect, I had to remove linux-backports-modules-alsa-2.6.31-19-generic and linux-backports-modules-alsa-karmic-generic

Thanks! Worked like a charm! Still hasn't solved my original problem though :( http://ubuntuforums.org/showthread.php?t=1409247

#666

Just a word of thanks! The script worked flawlessly for me and my now Ubuntu-capable HP dv6.

#667

hello,

last few weeks I'm trying to google out a solution for my eee T91 where I need realtime kernel for live sound processing. I have tried many distros with many configurations, I build my own rt kernels, I also build my own alsa. Despite all that I always stuck with a not loud but noise going to the output.

I know it's not the hardware issue because when I installed old eeebuntu with generic kernel it was ok. Now I have exelent ubuntu branch pure:dyne with kernel 2.6.31-9-rt, alsa 1.0.22.1

The weird thing is that the noise goes much louder through left side.

thanks

#668

Thank you. My EMU 0202 now works. I've spent two years rebooting into Windows to listen to audio through this. Now I can stay in Kubuntu and listen to audio.

Jim

#669

Ok, I updated my Karmic system to kernel 2.6.31-20 this morning, and it came with ALSA driver version 1.0.22.1. However, the tools and lib reverted to version 1.0.20. Here is from my most recent run of alsa_info.sh:

!!Kernel Information
!!------------------

Kernel release:    2.6.31-20-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.22.1
Library version:    1.0.20
Utilities version:  1.0.20


!!Loaded ALSA modules
!!-------------------

snd_emu10k1
snd_intel8x0


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

Thanks, Tim

#670

Hi all!

I can't get 1.0.22 to be installed, version is still 1.0.20. I have no any backports modules installed, so above fix doesn't work for me.

I ran script several times, with different modes, cleaning downloaded sources, installing modules and kernel from repository - no luck, cat /proc/asound/version still contains:

Advanced Linux Sound Architecture Driver Version 1.0.20. Compiled on Mar 4 2010 for kernel 2.6.31-19-generic (SMP).

Why it doesn't install or not compile appropriate driver?

p.s. tools and libs are of 1.0.22 version:

http://www.alsa-project.org/db/?f=d15dc6e7eacfdad8d6a677560da6c7ea797472cf

#671

Really but Really guys i believe there are many people like me that are sick and tired of small things like sound not working at an official Distribution, how do you think we feel when everything we support so many years at the year 2010 does not have sound and you have to run a script even if it is an easy one it does not matter. Really disappointed i know you all do so big Try to fix all and everything but pls dont give out a Distribution when a so big problem exists. Sorry again but its the truth

#672

tsikis said: Really but Really guys i believe there are many people like me that are sick and tired of small things like sound not working at an official Distribution, how do you think we feel when everything we support so many years at the year 2010 does not have sound and you have to run a script even if it is an easy one it does not matter.

Really disappointed i know you all do so big Try to fix all and everything but pls dont give out a Distribution when a so big problem exists. Sorry again but its the truth

ubuntuforums.org is a user support forum. If you would like to leave feedback for the developers, there are plenty of places to do so. Ranting here is like ](*,) ...

@aneganov: a build log would be helpful.

@ratcheer: run the script again (no need to download or build the stuff again) with the -i option

#673

Temüjin said:

@ratcheer: run the script again (no need to download or build the stuff again) with the -i option

Thank you.

Tim

#674

Temüjin said: @aneganov: a build log would be helpful.

Here is my build log: [ATTACH]149042[/ATTACH]

#675

TERMINAL returns the following error message with AlsaUpgrade-1.0.22.1-2.tar

alsa-driver-1.0.22.1 make failed
  1. Kernel revision (using command 'uname -r' ): 2.6.24-26-generic
  2. Alsa revision (using command 'cat /proc/asound/version' ): 1.0.16
  3. Upgrade script revision: AlsaUpgrade-1.0.22.1-2.tar
  4. A bit of background what you've done resp. done before

Steps to reproduce I type in the following command in TERMINAL

modinfo soundcore
sudo -s
cd /home/xxxxxxxxxxxx/Desktop/DELETEME
tar xvf AlsaUpgrade-1.0.22.1-2.tar
sudo ./AlsaUpgrade-1.0.22.1-2.sh -d
sudo ./AlsaUpgrade-1.0.22.1-2.sh -c
In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’
make[3]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-26-generic'
make: *** [compile] Error 2

--------------------------------------------------------------------------------------
-  alsa-driver-1.0.22.1 make failed
--------------------------------------------------------------------------------------
#676

aneganov said: Here is my build log:

[ATTACH]149042[/ATTACH]

Any ideas why I can't upgrade from 1.0.20 to 1.0.22?

#677

aneganov said: Any ideas why I can't upgrade from 1.0.20 to 1.0.22?

You need to run the script again with -i option.

#678

Temüjin said: You need to run the script again with -i option.

No, I fixed the problem.

There were old drivers, located in /lib/modules/<kernel>/updates directory, which has higher priority then standard modules location. This modules was installed by some package, named like alsa-modules-<kernel> - forgot its exact name. So I removed the module, moving out old stuff from way, now 1.0.22.1 is loaded.

To find "wrong" modules I searched under /lib/modules/<kernel> by a module's name. In my case it is 'snd-hda-intel.ko'.

UPD. To find package name, containing a specific file (in our case - kernel's module), use command: dpkg -S <file_name> It will list packages, having <file_name>

#679

Thank you, thank you... I had been trying to fix this problem for about a month! :) this fixed the problem completely! :) Thanks so much :)

#680

Hi,

I've installed the script everything works but I have no sound in flash video in firefox. I think it's a problem with lib32asound library.

How can I fix this ?

Thanks

#681

dschaefer79 said: Hi,

I've installed the script everything works but I have no sound in flash video in firefox. I think it's a problem with lib32asound library.

How can I fix this ?

Thanks

Flash *only* uses the first ALSA sound card. If your system has two sound cards, the first one ALSA sees is often (usually?) the wrong one. To get ALSA to use your preferred sound card first, you have to add code to alsa-base.conf to force the wrong sound card to be second. E.g., on my system, the code is:


options snd_intel8x0 index=1

Tim

#682

Thanks for AlsaUpgradeScript rev. 1.0.22.1 @soundcheck.

Dell E520 Kubuntu 9.10 with KDE 4.4.1 from the Kubuntu repos.

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Jan 28 2010 for kernel 2.6.31-19-generic (SMP).
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Unfortunately I didn't get sound when the script finished. However, following the advice at SoundTroubleshooting got me sound but no mic.

$ fgrep -ie 'audio' /etc/group
audio:*:29:pulse,'user"
sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Sound modules are installed.

lspci -v | less
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
        Subsystem: Dell Device 01dd
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at dffdc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
!!ALSA Version
!!------------

Driver version:     1.0.21
Library version:    1.0.22
Utilities version:  1.0.20

More here.

This is a bit odd as the script downloads version 1.0.22 of the driver, library and utilities.

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: SigmaTel STAC9227

After appending /etc/modprobe.d/alsa-base.conf with ``` options snd-hda-intel model=5stack


If anyone has any suggestions on where I've gone wrong I'd be happy to hear them.
#683

Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller (Realtek 660-VD) / Asus X50sl notebook

Works like a charm, Thank you!

#684

Thanks for the script. Really appreciate it. Great to have audio back!

#685

Hi I've noticed this compile error posted a number of times in the forum but no solution yet, so i'm trying again....

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’
make[3]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-27-generic'
make: *** [compile] Error 2

any ideas??

#686

Telescope_Nerd said: Hi I've noticed this compile error posted a number of times in the forum but no solution yet, so i'm trying again....

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’
make[3]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-27-generic'
make: *** [compile] Error 2

any ideas?? If it's possible, try a more recent kernel. Either that or you'll need to backport/patch the missing function from a later kernel into the hardy kernel and build it (or, file a bug in launchpad and try to convince a dev to do it). http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2008-12/msg02103.html No easy fixes for building ALSA on Hardy.. :\

#687

Ahh, ok I get it. Thanks for that. i'm going to upgrade to lucid next month so I'll try again then with the newer kernel.

#688

Wow! Thanks a lot man! Previously I couldn't get any sound out of my laptop (Ubuntu 9.10 64-bit on Dell Studio 1557) but now everything works great!

#689

Good day

I have a Dell Inspiron 9400, Ubuntu 9.10, and have this error in process install:

checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking panel.h usability... no checking panel.h presence... no checking for panel.h... no configure: error: required curses helper header not found

--------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------

  • alsa-utils-1.0.22 configure failed

Some idea?

Thanks

#690

antonio.leon said: checking panel.h usability... no

checking panel.h presence... no checking for panel.h... no configure: error: required curses helper header not found

The script should have installed the necessary headers (i.e. -dev packages). Perhaps you had Synaptic or Update Manager open while running the script. Make sure you have libncurses5-dev package installed.

#691

I'd like to know why upgrading from 1.0.21 to 1.0.22 broke my sound.

For example, I am playing a song but when I pause it, or the song ends, computer keeps repeating last 0.2 second of the sound.

The same happens with every other sound my computer generates. To get some silence, I need to mute the sound completely.

#692

Anyone else having problems getting the latest packages off the ftp server?

--2010-03-19 18:59:44--  ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.22.tar.bz2
  (try:12) => `alsa-tools-1.0.22.tar.bz2'
Connecting to ftp.alsa-project.org|212.20.107.51|:21... connected.
Logging in as anonymous ... 
Error in server response, closing control connection.
Retrying.

happens for every package

#693

I just tried and didn't have an issue. 7:43 EDT

#694

Temüjin said: I just tried and didn't have an issue. 7:43 EDT

weird, even manual downloading from the primary server just gives me empty tar files, I was able to grab them from the US alsa mirror, now just trying to figure out where in the directory hierarchy the script is looking for these files

#695
$ wget [ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.22.tar.bz2](ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.22.tar.bz2)
--2010-03-19 20:09:59--  [ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.22.tar.bz2](ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.22.tar.bz2)
           => &#8220;alsa-tools-1.0.22.tar.bz2&#8221;
Resolving ftp.alsa-project.org... 212.20.107.51
Connecting to ftp.alsa-project.org|212.20.107.51|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/tools ... done.
==> SIZE alsa-tools-1.0.22.tar.bz2 ... 1555768
==> PASV ... done.    ==> RETR alsa-tools-1.0.22.tar.bz2 ... done.

    [                              <=>      ] 1,555,768    229K/s   in 6.8s    

2010-03-19 20:10:07 (225 KB/s) - &#8220;alsa-tools-1.0.22.tar.bz2&#8221; saved [1555768]
#696

still failing, owell I got all the packages off the mirror and extracted them to /usr/src/Alsa-1.0.22.1 and they are now Compiling as I type this

#697

Ok, newer ALSA doesn't work, is there anyway to install 1.0.17a in Karmic? Is it as simple as just changing which alsa-lib tar.gz gets downloaded? or revert all of the packages to their 1.0.17x variants?

(1.0.17a is the version in 8.10 in which sound worked on my laptop, I would use 8.10 if it weren't so clunky with sftp in gnome)

#698

This worked wonderfully! My sound works again!

#699

Nuckinfuts said: Ok, newer ALSA doesn't work, is there anyway to install 1.0.17a in Karmic? Is it as simple as just changing which alsa-lib tar.gz gets downloaded? or revert all of the packages to their 1.0.17x variants?

(1.0.17a is the version in 8.10 in which sound worked on my laptop, I would use 8.10 if it weren't so clunky with sftp in gnome) It would be far better to use the information in the original post to get your problem solved with current versions of ALSA (i.e. making a post on the alsa-dev list with the information from the alsa-info script attached). I'm sure the ALSA devs would be happy to fix what appears to be a regression bug in their code, and it could help others with similar hardware.

#700

Ok, well I'm on the Lucid beta now which still has the same problem, but here is my ALSA-info link

http://www.alsa-project.org/db/?f=62fcc84dbf12adc6bfa451cf386a3a0636a6e037

#701

soundcheck said: Latest post update 01/11/2010

Latest Alsa-Upgrade-Script update 01/06/2010 Rev. 1.0.22.1-2 Latest alsa-info.sh update 01/05/2010 (1.0.22) Latest Alsa-Package update: 09/05/2010 (1.0.22.1)

_BACKGROUND:_

The audio functionality of any computer system belongs to the very basic functions of a PC and OS. No sound, poor sound, limited functionality - No use for such a system!

The main idea behind upgrading ALSA with attached script is to make Linux available to a slightly wider community.

The script bridges the huge delay (up to a year) of Alsa updates supplied through the official channels. By running the upgrade you'll have a much bigger chance to get your soundcard working or problems resolved.

The script installs the latest official stable ALSA release. ( optional the even more up 2 date driver snapshot will be installed)

_Upgraded packages_

Alsa 1.0.22.1 (stabil)

See: Changelog Alsa 1.0.22.1

DRIVER=alsa-driver-1.0.22.1 FIRMWARE=alsa-firmware-1.0.20 LIB=alsa-lib-1.0.22 PLUGINS=alsa-plugins-1.0.22 UTILS=alsa-utils-1.0.22 TOOLS=alsa-tools-1.0.22 OSS=alsa-oss-1.0.17

Supported kernels: 2.6.24/26/27/28/29/30/31/32 family (including rt-kernel & NON-Ubuntu ZEN-rt-kernel)

Note: The restore currently does not not work on custom kernels!

_UPGRADE:_

The script is not in line with Debian/Ubuntu rules for package handling. It just overwrites existing files. You won't see any changes on the ALSA package-ids within Synaptic!

The script recognises severe problems during the installation and will stop automatically. It shouldn't mess up your setup. If the script stops with an error-message nothing should have been touched!

In the worst case scenario the -r restore option restores your old system status as good as possible. It'll reinstall kernel, kernel-headers and Alsa related packages.

Ubuntu upgrades/updates might overwrite your Alsa installation once in a while (e.g. Major upgrades, kernel-upgrades or ALSA-package upgrades). You just need to rerun the upgrade-script using the -i option in this case (if you still have the compiled sources on the disk).

Disclaimer: I won't take any responsibility for mess-ups caused by using the script! -- Of course - I do my best to avoid these and support you as much as I can. ;)

As usual - Make a backup first! - A restore will just take 5 minutes with rsync. That might save you hours of troubleshooting and frustration ;) .

Please consider that I rely on your support to improve the script and really appreciate your involvement.

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.22.1-2.tar
  4. sudo ./AlsaUpgrade-1.0.22.1-2.sh -d
  5. sudo ./AlsaUpgrade-1.0.22.1-2.sh -c
  6. sudo ./AlsaUpgrade-1.0.22.1-2.sh -i
  7. sudo shutdown -r 0

Looging: I recommend to log all the upgrade steps, e.g.

script -a -c "./AlsaUpgrade-1.0.22.1-2.sh -d" /tmp/Alsa_1.0.22.1_upgrade_download.log

Youll find a log file /tmp/Alsa_1.0.22.1_upgrade_download.log as soon as the script is finished. You need to run this procedure for every single step. Choose whatever logfile names.

_Test and Troubleshooting_

After reboot you can type:

cat /proc/asound/version

This will let you know if you're running the new version.

The easiest and most reliable test to verify if Alsa is working is "aplay" - the Alsa player application. If aplay won't work -- nothing else will work.

Make sure that all your channels are unmuted and volume is up!

Type in a terminal: $ aplay -l (This won't work on e.g. webcams with a microphone only. Here you need to do a $cat /proc/asound/cards to see if it is there"

If you see your soundcards, you're almost there.

To test your first (default-index 0 X=0) soundcard, type e.g.: $ aplay -Dplughw:X,0 -fcd /<your-music-directory>/<replace-this-with-your-soundfile>.wav or e.g. $ speaker-test -Dplughw:X,0 -c2 replace the X with the index of your soundcard index , which you find out by typing "aplay -l" - look for "card X"

Multichannel you can test the following way:

Note: If the channel mapping should be wrong you need to adjust it in .asoundrc

  1. Type $aplay -L to find out about your pcm device . e.g "surround51"
  2. Type $speaker-test -D surround51 -c6

Before reporting "NO SOUND" problems - check if your alsamixer-channels are activated and unmuted (gnome-mixer/volume-control/preferences)!! Very often there are headphone-jack, Toslink, SPDIF or microphone issues reported. Usually this has something to do with wrong alsamixer settings or more seldom with a wrong model-id assigned to your sound-driver in /etc/modprobe.d/alsa-base.conf . If you're lacking certain controls in alsamixer or your driver is not even being loaded, you should check-out your model-id in attached HD-Audio-Models.txt. I strongly recommend to try similar model-id's matching your codec to checkout if your faulty function gets working. I'd guess 80% of the reported problems (group: other than alsamixer issues) over here are related to the model setting in alsa-base.

Please also have a look at these sides for further help:

http://ubuntuforums.org/showthread.php?t=843012 https://help.ubuntu.com/community/SoundTroubleshooting?action=show&redirect=DebuggingSoundProblems

To avoid spaming the ALSA mailing list with problems, I strongly recommend to install the very latest driver snapshots taken from the source tree. There'll be a slight chance that issues might be resolved already.

Use the -s option of the upgrade script to get the latest driver snapshot installed.

(NOTE: The snapshot is neither an official driver release nor an official pre-release or release-candidate - however, it reflects an "approved" status by the Alsa main developers. Therefore you don't risk much to install it.)

Alsa provides alsa-info.sh. It is a shell script collecting all kind of data related to the audio environment. The Alsa designers will ask for the log in case we encounter rather severe problems. However before sending the stuff to Alsa the upgrade script should have been run with the -s function. The problem you're running into might be already resolved in the latest drivers snapshot.

Download alsa-info.tar first

$ tar xvvf alsa-info.tar $ sudo alsa-info.sh --no-upload

You can attach the log-file here or you send the output to the ALSA mailing list. This way you also actively contribute to ALSA quality improvements.

To make troubleshooting over here a bit more efficient, report:

  1. Name your Ubuntu revision
  2. Kernel revision
  3. Alsa revision
  4. Upgrade script revision
  5. A bit of background what you've done resp. done before
  6. Attach the relevant logs

A bit of statistics since mid of October 2008:

AlsaUpgradeScript rev. 1.14 1500 downloads AlsaUpgradeScript rev. 1.15 1672 downloads AlsaUpgradeScript rev. 1.16 8037 downloads AlsaUpgradeScript rev. 1.17 7204 downloads (Alsa 1.0.20) AlsaUpgradeScript rev. 1.0.21-3 193 downloads (Alsa 1.0.21) (2 reported (real) problems - dependency issues) AlsaUpgradeScript rev. 1.0.21-4 6189 downloads (Alsa 1.0.21) AlsaUpgradeScript rev. 1.0.22.1-1 41 downloads (Alsa 1.0.22.1)

THANKYOU so much for this. It totally fixed my sound issues :)

#702

So .. I'm a complete newbie with Ubuntu but have some previous experience with Linux in general. I made a standard ubuntu 9.1 install, everything worked fine until a week ago when sound stopped working. First it worked for a while after each boot, then stopped working completely yesterday and nothing seems to help. I have all the latest ubuntu upgrades, and found this page.

I've tried downloading the script and ran it, it progressed quite well for a couple of minutes into the compilation stage, but then:

.. (tons of text removed) ..

./configure: line 20033: CC_NOUNDEFINED: command not found checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ALSA... configure: error: Package requirements (alsa >= 1.0.11) were not met:

No package 'alsa' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS and ALSA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

--------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------- Any bright ideas? And please keep in mind I'm not very experienced with Ubuntu.

  • alsa-plugins-1.0.22 configure failed

Forgot to mention my system specs: Gigabit GA-G31M-S2L motherboard (with Realtek ALC662 codec)

#703

Any bright ideas?

sudo apt-get install libasound2-dev
#704

Temüjin said:

sudo apt-get install libasound2-dev


Thanks, but your suggestion does not work, apt-get complaints about dependencies. Unfortunately the messages are in Swedish, so a copy and paste won't probably help you help me, but roughly translated it says: 

Some packages could not be installed. The cause of this could be that you have requested an impossible situation or, if you are using the unstable edition, that some nescessary packages have not yet been created or moved out from "incoming". The following information could be of help for resolving the situation:

The following packages have dependencies that are not satisfied: libasound2-dev: Dependent of: libasound2 (= 1.0.20-3ubuntu6) but 1.0.20-3ubuntu6.1 will be installed E: Broken package


Any further tips?
#705

Temüjin said: It would be far better to use the information in the original post to get your problem solved with current versions of ALSA (i.e. making a post on the alsa-dev list with the information from the alsa-info script attached). I'm sure the ALSA devs would be happy to fix what appears to be a regression bug in their code, and it could help others with similar hardware.

Ok so still no sound, and the alsa bug reporting website won't send me an account confirmation email... so I'm officially out of ideas and quite frustrated by this code regression.

#706

Alsa bug report is filed here: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4967

Includes alsa-info.sh run on both 10.04 (without working sound) and on 9.04 (where the sound does work)

Any more ideas are greatly welcome

#707
  1. Ubuntu revision: Ubuntu 9.10 64-bit
  1. Kernel revision: 2.6.31-20-generic, x86_64, SMP enabled
  1. Alsa revision: 1.0.22.1
  1. Upgrade script revision: 1.0.22.1-2
  1. Never have had sound since the intitial native install of Ubuntu. (Sound works just fine in a VirtualBox install of the same, running under Win7.) Computer is an ASUS A8N32-SLI Deluxe, AMD64 FX60, with nVidia nForce4 (snd-intel8x0m) and Creative Xifi Xtreme Gamer sound card. The nforce chip has problems on the motherboard - therefore the other card. In "other" OS'es (such as Win7 and Win Vista, I had to have the nvidia and xifi drivers both loaded AND the bios onboard sound set to auto for the card to work...

The Xifi card was not supported by earlier versions of Alsa. So I went to the Alsa site and manually (unsuccessfully) upgraded the Alsa files to 1.0.22.1, I then backed off the install. I went to the Debian Boards and using their instructions tried Alsa 1.0.22.1 again. Again unsuccesful and backed off by their instructions. I refreshed back to a reload of Alsa 1.0.18. I went through the "Sound Problem Trouble Shooting" Thread and indirectly found myself here.

I installed the Upgrade script and ran it. ALSA Info says the revision of Alsa is "BLANK" but the libriary and utility are both Alsa 1.0.22. It also says that there are NO modules loaded. If i do a "cat /proc/asound/version" check, it returns "cat: /proc/asound/version: No such file or directory". Going to the "/proc" directory - there is no "asound" subdirectory.

If I try to manually load the 2 driver files I need (snd-intel8x0m and snd-ctxfi) it fails with errors- first sayinfg there are some basic generic drivers that should be loaded first and then that it failed to insert the specific module.

At the end of the Install, the script says it successfully installed the modules, but the logfile ends with these five errors:`` chmod: cannot access /dev/dsp': No such file or directory chmod: cannot access /dev/mixer': No such file or directory chmod: cannot access /dev/sequencer': No such file or directory chmod: cannot access /dev/midi': No such file or directory chmod: cannot access /dev/snd/*': No such file or directory

ERROR: modinfo: could not find module snd-opl3sa2
ERROR: modinfo: could not find module snd-cs4236
ERROR: modinfo: could not find module snd-cs4232
ERROR: modinfo: could not find module snd-cs4231
ERROR: modinfo: could not find module snd-es18xx
ERROR: modinfo: could not find module snd-es1688
ERROR: modinfo: could not find module snd-sb16
ERROR: modinfo: could not find module snd-sb8
  1. Attach the relevant logs: (Below)
#708

After running alsacon and it "saying" it loaded 2 mdules... I was curios if it actually did. I ran ALSA Info again and it DIDN'T load them. It did see the two devices:``` !!PCI Soundcards installed in the system !!--------------------------------------

00:0d.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2) 04:08.0 Multimedia audio controller: Creative Labs SB X-Fi


There were multiple errors in the conduct of the AlsaInfo on directories not found so I save a logfile of that.  The logfile is attached.


If I try alsamixer, it says no file or directory found.

If I type in ```
find /lib/modules/`uname -r` | grep snd
#709

when I try and run the shell script i get an error "74: Syntax error: "(" unexpected"

Never mind, I didn't add the switches, its working now

#710

Thanks :D

#711

A lot of thanks !!!!! ;)

The alsa upgrade script has solved my problem. But, with an additonal step: I have had to edit the /etc/modprobe.d/alsa-base.conf and set the model option of snd-hda-intel module to "generic". With this, I have sound on headphones, but not on speakers. For me, it enough. You can read about this bug on alsa bug traccker : https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4934.

Another issue is that I have the 2.6.33 kernel installed, and this version has some changes on kernel source tree,. This makes the compilation step fails by missing the header file "include/linux/autoconf.h". The file exist, but in another path: "include/generated/autoconf.h". The same occurs with other files. To solve this, I have copied all files from "include/generated" to "include/linux" on the kernel source files directory.

#712

Well, I used the script and everything worked, except that aplay -l only recognizes the on-board audio card, not my plug-in card (with the NVIDIA GT220). lspci sees both fine.

Here's a snippet from the the alsa-info script:


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe024000 irq 27
 1 [NVidia_1       ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfcffc000 irq 28


!!PCI Soundcards installed in the system
!!--------------------------------------

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
03:00.1 Audio device: nVidia Corporation Device 0be3 (rev a1)
04:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)

As you can see, ALSA only sees the onboard ones (PCI address 0), not the PCI-Express card (PCI address 3).

Any ideas?

#713

Well, the problem was that the alsa source code downloaded by the -d doesn't support these NVidia chips.

The solution was to run the script with -s before compiling (running with -c). That downloaded the snapshot, which includes the code to support the newest NVidia chips with HDMI sound.

#714

pulpinator said:

The solution was to run the script with -s before compiling (running with -c). That downloaded the snapshot, which includes the code to support the newest NVidia chips with HDMI sound.

I've just done that... (-s) and the response in terminal is "alsa-driver-1.0.22.1 not found"

bugger?

EDIT: The network cable slipped out (my bad!)

#715

Never mind my previous. Went the hard route. Upgraded from Ubuntu 9.10 to 10.04 (first beta1, now beta2)... Still had sound problems, but ALSA core installed.

Remember I said the on-board sound had faults? With the driver for that loaded, it loaded as the default driver and nixed anything going anywhere else. I used terminal to switch the default the driver to the snd-ctxfi driver. I then got sound, but it would intermittently fade and/or error out. I then went back into a terminal session and uninstalled the snd-intel8x0 driver altogether.

Presto!!! Better sound "now" using ALSA in Ubuntu than I get in either WIN7 and Windows Vista on this same machine!!! Thank you for this tutorial and your script. If it wasn't there for me to go through and read, I would still be fumbling around, trying to figure out how to correct it.

#716

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
./configure: line 20033: CC_NOUNDEFINED: command not found
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ALSA... yes
checking for snd_pcm_ioplug_create in -lasound... yes
checking for JACK... checking for pulseaudio... yes
checking for samplerate... yes
checking for AVCODEC... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking for speexdsp... No libspeex with resampler unit; use built-in code
checking for plugins version... 1.0.22
configure: creating ./config.status
config.status: creating Makefile
config.status: creating oss/Makefile
config.status: creating pph/Makefile
config.status: creating jack/Makefile
config.status: creating pulse/Makefile
config.status: creating mix/Makefile
config.status: creating rate/Makefile
config.status: creating a52/Makefile
config.status: creating rate-lavc/Makefile
config.status: creating maemo/Makefile
config.status: creating doc/Makefile
config.status: creating usb_stream/Makefile
config.status: creating speex/Makefile
config.status: creating arcam-av/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Plugin directory: /usr/lib/alsa-lib
ALSA_CFLAGS: -I/usr/include/alsa  
ALSA_LIBS: -lasound  
JACK plugin:        no
Pulseaudio plugin:  yes
  pulseaudio_CFLAGS: -D_REENTRANT  
  pulseaudio_LIBS: -lpulse  
Samplerate plugin:  yes
  samplerate_CFLAGS:  
  samplerate_LIBS: -lsamplerate  
Maemo plugin:       no
  Using Osso resource manager: no
A52, lavc plugins:  yes
  AVCODEC_CFLAGS: -I/usr/local/include  
  AVCODEC_LIBS: -pthread -L/usr/local/lib -lavcodec -lz -lfaac -lfaad -lmp3lame -lopencore-amrnb -lopencore-amrwb -ltheoraenc -ltheoradec -logg -lx264 -lm -lxvidcore -ldl -lX11 -lXext -lXfixes -lasound -lavutil  
  AVCODEC_HEADER: <libavcodec/avcodec.h>
Speex rate plugin:  builtin
Speex preprocess plugin:  
make  all-recursive
make[1]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22'
Making all in oss
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/oss'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT ctl_oss.lo -MD -MP -MF ".deps/ctl_oss.Tpo" -c -o ctl_oss.lo ctl_oss.c; \
	then mv -f ".deps/ctl_oss.Tpo" ".deps/ctl_oss.Plo"; else rm -f ".deps/ctl_oss.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT ctl_oss.lo -MD -MP -MF .deps/ctl_oss.Tpo -c ctl_oss.c  -fPIC -DPIC -o .libs/ctl_oss.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_ctl_oss.la -rpath /usr/lib/alsa-lib  ctl_oss.lo -lasound   -lasound 
gcc -shared  .libs/ctl_oss.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_ctl_oss.so -o .libs/libasound_module_ctl_oss.so
creating libasound_module_ctl_oss.la
(cd .libs && rm -f libasound_module_ctl_oss.la && ln -s ../libasound_module_ctl_oss.la libasound_module_ctl_oss.la)
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_oss.lo -MD -MP -MF ".deps/pcm_oss.Tpo" -c -o pcm_oss.lo pcm_oss.c; \
	then mv -f ".deps/pcm_oss.Tpo" ".deps/pcm_oss.Plo"; else rm -f ".deps/pcm_oss.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_oss.lo -MD -MP -MF .deps/pcm_oss.Tpo -c pcm_oss.c  -fPIC -DPIC -o .libs/pcm_oss.o
pcm_oss.c: In function 'oss_start':
pcm_oss.c:100: warning: ignoring return value of 'read', declared with attribute warn_unused_result
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_oss.la -rpath /usr/lib/alsa-lib  pcm_oss.lo -lasound   -lasound 
gcc -shared  .libs/pcm_oss.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_oss.so -o .libs/libasound_module_pcm_oss.so
creating libasound_module_pcm_oss.la
(cd .libs && rm -f libasound_module_pcm_oss.la && ln -s ../libasound_module_pcm_oss.la libasound_module_pcm_oss.la)
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/oss'
Making all in mix
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/mix'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_upmix.lo -MD -MP -MF ".deps/pcm_upmix.Tpo" -c -o pcm_upmix.lo pcm_upmix.c; \
	then mv -f ".deps/pcm_upmix.Tpo" ".deps/pcm_upmix.Plo"; else rm -f ".deps/pcm_upmix.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_upmix.lo -MD -MP -MF .deps/pcm_upmix.Tpo -c pcm_upmix.c  -fPIC -DPIC -o .libs/pcm_upmix.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_upmix.la -rpath /usr/lib/alsa-lib  pcm_upmix.lo -lasound   -lasound 
gcc -shared  .libs/pcm_upmix.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_upmix.so -o .libs/libasound_module_pcm_upmix.so
creating libasound_module_pcm_upmix.la
(cd .libs && rm -f libasound_module_pcm_upmix.la && ln -s ../libasound_module_pcm_upmix.la libasound_module_pcm_upmix.la)
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_vdownmix.lo -MD -MP -MF ".deps/pcm_vdownmix.Tpo" -c -o pcm_vdownmix.lo pcm_vdownmix.c; \
	then mv -f ".deps/pcm_vdownmix.Tpo" ".deps/pcm_vdownmix.Plo"; else rm -f ".deps/pcm_vdownmix.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_vdownmix.lo -MD -MP -MF .deps/pcm_vdownmix.Tpo -c pcm_vdownmix.c  -fPIC -DPIC -o .libs/pcm_vdownmix.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_vdownmix.la -rpath /usr/lib/alsa-lib  pcm_vdownmix.lo -lasound   -lasound 
gcc -shared  .libs/pcm_vdownmix.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_vdownmix.so -o .libs/libasound_module_pcm_vdownmix.so
creating libasound_module_pcm_vdownmix.la
(cd .libs && rm -f libasound_module_pcm_vdownmix.la && ln -s ../libasound_module_pcm_vdownmix.la libasound_module_pcm_vdownmix.la)
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/mix'
Making all in usb_stream
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/usb_stream'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_usb_stream.lo -MD -MP -MF ".deps/pcm_usb_stream.Tpo" -c -o pcm_usb_stream.lo pcm_usb_stream.c; \
	then mv -f ".deps/pcm_usb_stream.Tpo" ".deps/pcm_usb_stream.Plo"; else rm -f ".deps/pcm_usb_stream.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_usb_stream.lo -MD -MP -MF .deps/pcm_usb_stream.Tpo -c pcm_usb_stream.c  -fPIC -DPIC -o .libs/pcm_usb_stream.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic   -o libasound_module_pcm_usb_stream.la -rpath /usr/lib/alsa-lib  pcm_usb_stream.lo -lasound   -lasound 
gcc -shared  .libs/pcm_usb_stream.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_usb_stream.so -o .libs/libasound_module_pcm_usb_stream.so
creating libasound_module_pcm_usb_stream.la
(cd .libs && rm -f libasound_module_pcm_usb_stream.la && ln -s ../libasound_module_pcm_usb_stream.la libasound_module_pcm_usb_stream.la)
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/usb_stream'
Making all in arcam-av
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/arcam-av'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT ctl_arcam_av.lo -MD -MP -MF ".deps/ctl_arcam_av.Tpo" -c -o ctl_arcam_av.lo ctl_arcam_av.c; \
	then mv -f ".deps/ctl_arcam_av.Tpo" ".deps/ctl_arcam_av.Plo"; else rm -f ".deps/ctl_arcam_av.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT ctl_arcam_av.lo -MD -MP -MF .deps/ctl_arcam_av.Tpo -c ctl_arcam_av.c  -fPIC -DPIC -o .libs/ctl_arcam_av.o
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT arcam_av.lo -MD -MP -MF ".deps/arcam_av.Tpo" -c -o arcam_av.lo arcam_av.c; \
	then mv -f ".deps/arcam_av.Tpo" ".deps/arcam_av.Plo"; else rm -f ".deps/arcam_av.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT arcam_av.lo -MD -MP -MF .deps/arcam_av.Tpo -c arcam_av.c  -fPIC -DPIC -o .libs/arcam_av.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined  -o libasound_module_ctl_arcam_av.la -rpath /usr/lib/alsa-lib  ctl_arcam_av.lo arcam_av.lo -lasound   -lasound 
gcc -shared  .libs/ctl_arcam_av.o .libs/arcam_av.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_ctl_arcam_av.so -o .libs/libasound_module_ctl_arcam_av.so
creating libasound_module_ctl_arcam_av.la
(cd .libs && rm -f libasound_module_ctl_arcam_av.la && ln -s ../libasound_module_ctl_arcam_av.la libasound_module_ctl_arcam_av.la)
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/arcam-av'
Making all in doc
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/doc'
Making all in pulse
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/pulse'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT conf_pulse.lo -MD -MP -MF ".deps/conf_pulse.Tpo" -c -o conf_pulse.lo conf_pulse.c; \
	then mv -f ".deps/conf_pulse.Tpo" ".deps/conf_pulse.Plo"; else rm -f ".deps/conf_pulse.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT conf_pulse.lo -MD -MP -MF .deps/conf_pulse.Tpo -c conf_pulse.c  -fPIC -DPIC -o .libs/conf_pulse.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_conf_pulse.la -rpath /usr/lib/alsa-lib  conf_pulse.lo -lasound    -lpulse   -lasound 
gcc -shared  .libs/conf_pulse.o  -lpulse /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_conf_pulse.so -o .libs/libasound_module_conf_pulse.so
creating libasound_module_conf_pulse.la
(cd .libs && rm -f libasound_module_conf_pulse.la && ln -s ../libasound_module_conf_pulse.la libasound_module_conf_pulse.la)
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT ctl_pulse.lo -MD -MP -MF ".deps/ctl_pulse.Tpo" -c -o ctl_pulse.lo ctl_pulse.c; \
	then mv -f ".deps/ctl_pulse.Tpo" ".deps/ctl_pulse.Plo"; else rm -f ".deps/ctl_pulse.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT ctl_pulse.lo -MD -MP -MF .deps/ctl_pulse.Tpo -c ctl_pulse.c  -fPIC -DPIC -o .libs/ctl_pulse.o
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT pulse.lo -MD -MP -MF ".deps/pulse.Tpo" -c -o pulse.lo pulse.c; \
	then mv -f ".deps/pulse.Tpo" ".deps/pulse.Plo"; else rm -f ".deps/pulse.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT pulse.lo -MD -MP -MF .deps/pulse.Tpo -c pulse.c  -fPIC -DPIC -o .libs/pulse.o
pulse.c: In function 'pulse_poll_activate':
pulse.c:241: warning: ignoring return value of 'write', declared with attribute warn_unused_result
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_ctl_pulse.la -rpath /usr/lib/alsa-lib  ctl_pulse.lo pulse.lo -lasound    -lpulse   -lasound 
gcc -shared  .libs/ctl_pulse.o .libs/pulse.o  -lpulse /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_ctl_pulse.so -o .libs/libasound_module_ctl_pulse.so
creating libasound_module_ctl_pulse.la
(cd .libs && rm -f libasound_module_ctl_pulse.la && ln -s ../libasound_module_ctl_pulse.la libasound_module_ctl_pulse.la)
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT pcm_pulse.lo -MD -MP -MF ".deps/pcm_pulse.Tpo" -c -o pcm_pulse.lo pcm_pulse.c; \
	then mv -f ".deps/pcm_pulse.Tpo" ".deps/pcm_pulse.Plo"; else rm -f ".deps/pcm_pulse.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT pcm_pulse.lo -MD -MP -MF .deps/pcm_pulse.Tpo -c pcm_pulse.c  -fPIC -DPIC -o .libs/pcm_pulse.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_pulse.la -rpath /usr/lib/alsa-lib  pcm_pulse.lo pulse.lo -lasound    -lpulse   -lasound 
gcc -shared  .libs/pcm_pulse.o .libs/pulse.o  -lpulse /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_pulse.so -o .libs/libasound_module_pcm_pulse.so
creating libasound_module_pcm_pulse.la
(cd .libs && rm -f libasound_module_pcm_pulse.la && ln -s ../libasound_module_pcm_pulse.la libasound_module_pcm_pulse.la)
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/pulse'
Making all in rate
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/rate'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -g -O2 -MT rate_samplerate.lo -MD -MP -MF ".deps/rate_samplerate.Tpo" -c -o rate_samplerate.lo rate_samplerate.c; \
	then mv -f ".deps/rate_samplerate.Tpo" ".deps/rate_samplerate.Plo"; else rm -f ".deps/rate_samplerate.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT rate_samplerate.lo -MD -MP -MF .deps/rate_samplerate.Tpo -c rate_samplerate.c  -fPIC -DPIC -o .libs/rate_samplerate.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_rate_samplerate.la -rpath /usr/lib/alsa-lib  rate_samplerate.lo -lasound   -lsamplerate   -lasound 
gcc -shared  .libs/rate_samplerate.o  /usr/lib/libsamplerate.so /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_rate_samplerate.so -o .libs/libasound_module_rate_samplerate.so
creating libasound_module_rate_samplerate.la
(cd .libs && rm -f libasound_module_rate_samplerate.la && ln -s ../libasound_module_rate_samplerate.la libasound_module_rate_samplerate.la)
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/rate'
Making all in a52
make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/a52'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF ".deps/pcm_a52.Tpo" -c -o pcm_a52.lo pcm_a52.c; \
	then mv -f ".deps/pcm_a52.Tpo" ".deps/pcm_a52.Plo"; else rm -f ".deps/pcm_a52.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -I/usr/local/include "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF .deps/pcm_a52.Tpo -c pcm_a52.c  -fPIC -DPIC -o .libs/pcm_a52.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_a52.la -rpath /usr/lib/alsa-lib  pcm_a52.lo -lasound   -pthread -L/usr/local/lib -lavcodec -lz -lfaac -lfaad -lmp3lame -lopencore-amrnb -lopencore-amrwb -ltheoraenc -ltheoradec -logg -lx264 -lm -lxvidcore -ldl -lX11 -lXext -lXfixes -lasound -lavutil   -lasound 
gcc -shared  .libs/pcm_a52.o  -L/usr/local/lib -lavcodec -lz /usr/lib/libfaac.so /usr/lib/libfaad.so /usr/lib/libmp3lame.so -lopencore-amrnb -lopencore-amrwb /usr/local/lib/libtheoraenc.a /usr/local/lib/libtheoradec.a -logg -lx264 -lm -lxvidcore -ldl -lX11 -lXext -lXfixes -lavutil /usr/lib/libasound.so  -pthread -Wl,-soname -Wl,libasound_module_pcm_a52.so -o .libs/libasound_module_pcm_a52.so
/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound_module_pcm_a52.la] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/a52'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22'
make: *** [all] Error 2

--------------------------------------------------------------------------------------
-  alsa-plugins-1.0.22 make failed
--------------------------------------------------------------------------------------

I used the script like this.


cd <your-download-dir>
tar xvf AlsaUpgrade-1.0.22.1-2.tar
sudo ./AlsaUpgrade-1.0.22.1-2.sh -s
sudo ./AlsaUpgrade-1.0.22.1-2.sh -c

Having problems compiling. Running Ubuntu 9.10 64... Trying to install the snapshot. Please help!!

#717

Telescope_Nerd said: Hi I've noticed this compile error posted a number of times in the forum but no solution yet, so i'm trying again....

In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’:
/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’
make[3]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-27-generic'
make: *** [compile] Error 2

any ideas??

I had the exact same problem building alsa for hardy (8.04)... since it uses 2.6.24 (and I didn't have the intention to build a 2.6.25 or newer kernel) I started to browse a little and noticed that the "hrtimer_forward_now" were used in dummy.c and in hrtimer.c... so I changed the line (in the AlsaUpgrade script) that says

CARDS=all

for a line with the cards I need:

CARDS="intel8x0,intel8x0m,hda-intel"

After that, compilation went smoothly and I have it up and running.

Check what cards you actually need and only list those.

For a list of available cards do the following:

cd /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/
./configure --help
#718

The last lines of the configure script. I checked and alsa base is installed. ver 1.0.20 according to synaptic. I ran the -s option before anything else. any ideas on how to fix this?

checking for ALSA... configure: error: Package requirements (alsa >= 1.0.11) were not met:

No package 'alsa' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS and ALSA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

--------------------------------------------------------------------------------------

  • alsa-plugins-1.0.22 configure failed
#719

@bootdoc, you need the libasound-dev package. It should have been installed by the script.

#720

Has anyone actually gotten hardware mixing to work under ALSA? I am one of the fortunate few (?) for whom PulseAudio has worked mostly without issue. Unfortunately, there is one rather large exception, Teamspeak 3. It doesn't play nicely with PulseAudio.

I can run TS3 using (non-upgraded) ALSA instead of PulseAudio, but then I get the old "only one app can use the sound hardware at a time" problem.

My sound card (see sig) supposedly will do hardware mixing under ALSA, but I've never had it work that way. Maybe "hardware mixing" does not mean what I think it means. I would have expected it to mean that more than one application can produce sound at the same time. That is what I need, for example to have voice chat with TS3 while playing a first-person shooter (Nexuiz, Urban Terror, etc.).

I have tried this ALSA upgrade script before, but it didn't work. I'm not sure I want to try it again, and deal with the inevitable troubleshooting, unless it's going to solve the problem I outlined above.

#721

Temüjin said: @bootdoc, you need the libasound-dev package. It should have been installed by the script.

Thanks, That was it. I installed libasound-2 via synaptic and the everything compiled.:)

But ran -i and got this: configure: error: required curses helper header not found

alsa-utils-1.0.22 configure failed

#722

bootdoc said: Thanks, That was it. I installed libasound-2 via synaptic and the everything compiled.:)

But ran -i and got this: configure: error: required curses helper header not found

alsa-utils-1.0.22 configure failed You should start over from the beginning, or at least, manually run the command to get the dependencies and then run the building/compilation phase again:

sudo apt-get -y install bzip2 build-essential module-assistant libsysfs-dev libncurses5-dev libncursesw5-dev gettext python-dev xmlto libpulse0 libpulse-dev libspeex-dev libavcodec-dev libavformat-dev libavutil-dev libmpeg4ip-dev liba52-0.7.4-dev libsamplerate0-dev  linux-headers-`uname -r` libfltk1.1-dev
#723

After hours of configuring and installing and compiling, I got it finally to work:

Manufacturer: HP-Pavilion Product Name: FL308AA-ABD IQ512de Kernel release: 2.6.32-21-generic Operating System: GNU/Linux Architecture: x86_64 Distribution: Ubuntu lucid Beta 2 Soundcard: HDA Intel (Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04)) Codec: Analog Devices AD1984B Alsa Driver version: 1.0.22.1 Alsa Library version: 1.0.22 Alsa Utilities version: 1.0.22

Thanks for all the useful information.

#724

ALSA 1.0.23 is now released: http://www.alsa-project.org/main/index.php/Changes_v1.0.22_v1.0.23

I just modified the following lines:

PACKAGE=1.0.23

setpack () {
DRIVER=alsa-driver-1.0.23
FIRMWARE=alsa-firmware-1.0.23
LIB=alsa-lib-1.0.23
PLUGINS=alsa-plugins-1.0.23
UTILS=alsa-utils-1.0.23
TOOLS=alsa-tools-1.0.23
OSS=alsa-oss-1.0.17
}

It built/installed successfully on Lucid

#725

Neat. Maybe I'll give it another try. It didn't work out when I tried to upgrade to 1.0.22.

If the 1.0.23 ALSA upgrade works, it won't do anything to PulseAudio, right? PulseAudio generally works fine for me, so I don't want to get rid of it. Still, it's good to have alternatives.

#726

Temüjin said: ALSA 1.0.23 is now released:...

I just modified the following lines... It built/installed successfully on Lucid

Thanks for the tip. I just tried it on Karmic with your changes, and while it referred to 1.0.23 hundreds of times during the build/install, after I reboot and then "cat /proc/asound/version", I still get 1.0.22.1.

Does your build report 1.0.23?

#727

First of all, thank you very much for this! I've been having my sound coming from speakers AND headphones with no solution for a while now.

Second, I'm an Ubuntu newbie, so seeing all those lines flying by on the terminal during download, compilation and installation was daunting to say the least. This is an amazing piece of work, so thanks again!

#728

yonkiman said: Thanks for the tip. I just tried it on Karmic with your changes, and while it referred to 1.0.23 hundreds of times during the build/install, after I reboot and then "cat /proc/asound/version", I still get 1.0.22.1.

Does your build report 1.0.23?

FWIW, I did the same on my hardy system (I had previously [post=9118726]edited the script so it wouldn't install all the drivers[/post]) and it worked just fine, and yes, "[font=courier]cat /proc/asound/version[/font]" does yeld 1.0.23.

You did [post=9132028]edit all the lines in the setpack() function of the script[/post], did you?

#729

yonkiman said: Does your build report 1.0.23?

Yes, both 'cat /proc/asound/version' and alsamixer report 1.0.23

#730

Temüjin said: You should start over from the beginning, or at least, manually run the command to get the dependencies and then run the building/compilation phase again:

sudo apt-get -y install bzip2 build-essential module-assistant libsysfs-dev libncurses5-dev libncursesw5-dev gettext python-dev xmlto libpulse0 libpulse-dev libspeex-dev libavcodec-dev libavformat-dev libavutil-dev libmpeg4ip-dev liba52-0.7.4-dev libsamplerate0-dev  linux-headers-`uname -r` libfltk1.1-dev

Thanks for the help. The install finished with no errors. I still do not have sound. Ran speaker-test -Dplughw:0,0 -c2 and alsamixer to make sure nothing was muted.

also ran: cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.22.1. Compiled on Mar 25 2010 for kernel 2.6.31-21-generic (SMP).

I edited the script as per the above post and 1.0.22.1 is installed instead of 1.0.23.

I'll try again.

#731

el_baby said: You did [post=9132028]edit all the lines in the setpack() function of the script[/post], did you?

I did! I just looked again and verified it. Copied straight out of my script:

[INDENT]PACKAGE=1.0.23 setpack () { DRIVER=alsa-driver-1.0.23 FIRMWARE=alsa-firmware-1.0.23 LIB=alsa-lib-1.0.23 PLUGINS=alsa-plugins-1.0.23 UTILS=alsa-utils-1.0.23 TOOLS=alsa-tools-1.0.23 OSS=alsa-oss-1.0.17 }[/INDENT]

I've also tried uninstalling (using this script and also synaptic) and reinstalling - it keeps coming back 1.0.22.1!

At least it still works - but I'm trying to get 1.0.23 because it's supposed to work with my new Xonar DS...

#732

Temüjin said: Yes, both 'cat /proc/asound/version' and alsamixer report 1.0.23

Interesting... On my system 'cat /proc/asound/version' reports 1.0.22.1 but alsamixer version is 1.0.23...

#733

yonkiman said: Interesting... On my system

'cat /proc/asound/version' reports 1.0.22.1 but alsamixer version is 1.0.23... If you updated the kernel, you need to run the script with -i again. Also, it might help to make a log of it like suggested in the OP.

#734

I fixed it. Went in to Synaptic Package Manager and found one or two installed packages with ALSA and an older version number. Removed them, rebooted, re-ran the script, and now I've got 1.0.23!

1.0.23 sees my Xonar DS sound card!

But I can't get any sound (analog or spdif) out of it yet. :-( That will probably be another thread...

Thanks for the help!

#735

yonkiman said: I fixed it. Went in to Synaptic Package Manager and found one or two installed packages with ALSA and an older version number. Removed them, rebooted, re-ran the script, and now I've got 1.0.23!

1.0.23 sees my Xonar DS sound card!

But I can't get any sound (analog or spdif) out of it yet. :-( That will probably be another thread...

Thanks for the help!

Beware that alsa-project.org is currently down by dns expiration and may be interfering with the download process of the script.

I have change the source address in the script to other I found (ftp://ftp.silug.org/pub/alsa/) and it worked flawlessly after modifying it for 1.0.23.

You should not trust my attachment, you better make the changes yourself to the 1.0.22 script or make a diff against my attachment before you run it so you can be sure that the script I'm attaching will not make anything else than described.

#736

Vladimir Hidalgo said: Beware that alsa-project.org is currently down by dns expiration and may be interfering with the download process of the script.

I have change the source address in the script to other I found (ftp://ftp.silug.org/pub/alsa/) and it worked flawlessly after modifying it for 1.0.23.

You should not trust my attachment, you better make the changes yourself to the 1.0.22 script or make a diff against my attachment before you run it so you can be sure that the script I'm attaching will not make anything else than described.

When I tried to run your script, all I got was an error message:

objekt910@objekt910-desktop:~/bin/alsafix$ sudo sh AlsaUpgrade-1.0.23.sh -d
AlsaUpgrade-1.0.23.sh: 73: Syntax error: "(" unexpected
#737

That's because it has some specific bash syntax, you need to run it this way:

sudo bash AlsaUpgrade-1.0.23.sh

Or you can chmod it with a+x so you can do:


chmod a+x AlsaUpgrade-1.0.23.sh
sudo ./AlsaUpgrade-1.0.23.sh
#738

No-go. I got all the way through the download step (using -d option) but the compile step (-c) failed. Here are the last few lines, where the errors appeared and the script gave up:

ainst `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound_module_pcm_a52.la] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-plugins-1.0.23/a52'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-plugins-1.0.23'
make: *** [all] Error 2

--------------------------------------------------------------------------------------
-  alsa-plugins-1.0.23 make failed
--------------------------------------------------------------------------------

I already made sure all the dependencies were satisfied with this:

sudo apt-get -y install bzip2 build-essential module-assistant libsysfs-dev libncurses5-dev libncursesw5-dev gettext python-dev xmlto libpulse0 libpulse-dev libspeex-dev libavcodec-dev libavformat-dev libavutil-dev libmpeg4ip-dev liba52-0.7.4-dev libsamplerate0-dev  linux-headers-`uname -r` libfltk1.1-dev

so it isn't that. Any ideas?

Don't know if it matters, but I'm using the Linux 2.6.33-020633-generic kernel. This isn't an official Ubuntu 9.10 kernel; I installed it because it supports TRIM and I might want to try an SSD later on.

#739

I can't help you on that problem, my configuration is as follows:

$ uname -a
Linux aurox 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

There's Ubuntu's kernel 2.6.33 at kernel-ppa mainline: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.33/

Which should be more compatible (I guess).

Also 2.6.34 RC4: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-rc4-lucid/

Either way, I only can assure from my tests that's working on 32-bit OS with 2.6.32

#740

/usr/local/lib/libavcodec.a

You appear to have a local version of libavcodec which is taking precedence over the repo version.

#741

Temüjin said: If you updated the kernel, you need to run the script with -i again. Also, it might help to make a log of it like suggested in the OP.

I ran thru the process twice.. but still show 1.0.22.1 ... alsamixer shows nvidia sound when I hit F6, but aplay -l does not list my GT240.

Where does one get version info for alsamixer?

Logs are attached.

EDIT: oh duh.. it does say 1.0.23 in the alsamixer top line (I was trying to find a command line -version switch)... but aplay -l does not list my GT240, and "cat /proc/asound/version" shows 1.0.22.1, not .23.

#742

Temüjin said: You appear to have a local version of libavcodec which is taking precedence over the repo version.

How can I fix that? Just uninstall my local version through Synaptic, then try again?

#743

Objekt said: How can I fix that? Just uninstall my local version through Synaptic, then try again?

It would be nice if you could remember how it got there. To find out if it's part of a .deb package:

dpkg-query -S /usr/local/lib/libavcodec.a

More likely, you compiled source somewhere along the line and installed it. If you still have the source directory, you would run 'make uninstall' from it.

#744

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/537448/comments/97

I think we're doing it wrong, there's an alsa ppa that we can use to avoid compiling. Silly me, this could made me avoid downloading about 500MB in order to compile ALSA.

#745

Guess I'll try that next, since the download-and-compile thing didn't work for me.

I'm happy I didn't break my sound (yet!).

#746

Still no sound, either something is wrong with apt-get or the script messed up my system. I have since tried AlsaUpgrade-1.0.22.1-2.sh -r , but it didnt help.

Any suggestions what I can try?

I have included my original post below.

juiceguden said: (In response to Temujins suggestion to run apt-get install libasound2-dev): Thanks, but your suggestion does not work, apt-get complaints about dependencies. Unfortunately the messages are in Swedish, so a copy and paste won't probably help you help me, but roughly translated it says:

Some packages could not be installed. The cause of this could be that you have requested an impossible situation or, if you are using the unstable edition, that some nescessary packages have not yet been created or moved out from "incoming". The following information could be of help for resolving the situation: 

The following packages have dependencies that are not satisfied:
  libasound2-dev: Dependent of: libasound2 (= 1.0.20-3ubuntu6) but 1.0.20-3ubuntu6.1 will be installed
E: Broken package
#747

If you still have the change to re-install ubuntu Lucid, update it to the lastest packages and then use the alsa ppa repo, then you should go this way. At this point with custom kernels and other things you'd modified it's almost a game for anybody to try to give you a proper solution.

#748

Vladimir Hidalgo said: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/537448/comments/97

I think we're doing it wrong, there's an alsa ppa that we can use to avoid compiling. Silly me, this could made me avoid downloading about 500MB in order to compile ALSA.

>sudo apt-get install linux-alsa-driver-modules-2.6.31
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package linux-alsa-driver-modules-2.6.31

I added the PPA and did an update.. what am I missing here?

#749

zim2dive said: I added the PPA and did an update.. what am I missing here?

That's not the complete package name; it will be linux-alsa-driver-modules-uname -r (including the -nn-{generic,server}). I'm actually trying the PPA now; we'll see how it goes.

UPDATE: There was a bit of finagling, as I believe the original alsa-modules package created an undetected conflict. Also, the tools are all back to 1.0.20 versions (so no F6 action in alsamixer, for instance). But the audio does work as it did before, and should be easier to upgrade.

#750

paoleary said: That's not the complete package name; it will be linux-alsa-driver-modules-uname -r (including the -nn-{generic,server}).

I'm still a bit confused - I thought this would show up in Synaptic after I added the PPA ("sudo add-apt-repository ppa:ubuntu-audio-dev"), but I didn't see anything. Would you mind spelling out exactly what to type to get the repository and the alsa package? I'm not sure what to do with "linux-alsa-driver-modules-uname -r (including the -nn-{generic,server}".

UPDATE: There was a bit of finagling, as I believe the original alsa-modules package created an undetected conflict. Also, the tools are all back to 1.0.20 versions (so no F6 action in alsamixer, for instance). But the audio does work as it did before, and should be easier to upgrade.

I'm even more confused: This will upgrade alsa to the latest 1.0.23, but the tools stay 1.0.20?

I thought the ppa was supposed to be *simpler* than the script! ;-)

#751

yonkiman said: I'm still a bit confused - I thought this would show up in Synaptic after I added the PPA ("sudo add-apt-repository ppa:ubuntu-audio-dev"), but I didn't see anything. Would you mind spelling out exactly what to type to get the repository and the alsa package? I'm not sure what to do with "linux-alsa-driver-modules-uname -r (including the -nn-{generic,server}".

At the console, enter the command 'uname -r'. You'll get something like 2.6.31-20-generic (probably). That's what goes after "linux-alsa-driver-modules-". It's probably easiest just to use aptitude or synaptic to get there. The backticks are a trick you can use from the command line (you'll want to look up what's going on there in a bash tutorial/documentation).

yonkiman said: I'm even more confused: This will upgrade alsa to the latest 1.0.23, but the tools stay 1.0.20?

The packages in the PPA are just Takashi Iwai's latest snapshot of the ALSA drivers, taken from here. The kernel modules do not rely on support from the ALSA userspace tools, as far as I know, so you can update one without touching the other; the PPA does not contain updated versions of the tools, just the modules.

#752

So I tried the modified 1.0.23 upgrade script (twice).. and then I tried the PPA (couldn't get that to work), so then I went the old-fashioned route of downloading the tarballs and compiling, per http://monespaceperso.org/blog-en/2009/10/29/upgrade-alsa-1-0-21-on-ubuntu-karmic-koala-9-10/

cat /proc/asound/version still shows > Advanced Linux Sound Architecture Driver Version 1.0.22.1.

Has anyone gotten it to report 1.0.23? :)

Looking to make sure the binaries were what I compiled I'm suspcisious that alsa looks old (thos just a wrapper script)``` -rwxr-xr-x 1 root root 35445 2010-04-21 22:03 /usr/sbin/alsaconf* -rwxr-xr-x 1 root root 5553 2009-10-11 18:07 /sbin/alsa* -rwxr-xr-x 1 root root 148188 2010-04-21 22:03 /usr/bin/alsamixer*

/usr/sbin/alsactl
/sbin/alsactl

I'm stumped..

#753

Just wanted to say thank you so much, not only did I get my sound back but things are working so much better! Upgraded from 1.0.20.* (Mint 8 LXDE) to 1.0.22.1 on an HP G61-420SO. Solved the very low volume on the internal mic as well I might add for anyone googling it. I'm not sure whether I dare use suspend again though hehe.

#754

Thank you so much, OP! After probably 30 minutes of tinkering, a bit of googling, and some elbow grease, I successfully acquired sound through both my speakers and headphone jack on an ASUS G50Vt; No easy feat! Good luck to everyone else, and thanks again!

#755

after reinstalling mint8 and running the upgrade script (success) but no sound. Worse, if I boot up while my usb headset is plugged in it hangs with

soft lockup cpu#0 stuck for 61secs

over and over.

Unplug headset and machine boots normally. after normal boot I start ryhtmbox there is no sound and pulse volume control shows no application playing. Plug headset in and everything locks up. Have to reboot.

#756

Hi,

I change the alsa version to 1.0.23 in the shell script and it works fine !

Mother board : ASUS P7P55D deluxe Sound card chipset : VIA VT2020 10 channel High Definition

Thank you a lot soundcheck !

Enjoy.

#757

syrus31 said: Hi,

I change the alsa version to 1.0.23 in the shell script and it works fine !

Mother board : ASUS P7P55D deluxe Sound card chipset : VIA VT2020 10 channel High Definition

Thank you a lot soundcheck !

Enjoy.

not working for me :( > >cat /proc/asound/version Advanced Linux Sound Architecture Driver Version [COLOR="Red"]1.0.22.1[/COLOR]. Compiled on Mar 25 2010 for kernel 2.6.31-21-generic (SMP).

#758

zim2dive said: not working for me :(

I had the same problem. I'm not sure exactly what I did that finally worked; I tried a lot of things including: [*]uninstalled the new alsa using the upgrade script ("-r" option, I believe),

  • uninstalled the original alsa using synaptic,
  • reinstalled alsa using the script,
  • other similar flailing about.

In the end it worked. First I got 1.0.22.1 as you did. I flailed around. Then I got 1.0.23 but no sound. I flailed some more. Then I got 1.0.23 *with* sound.

Probably not the most helpful post you'll get; just think of it as encouragement to keep trying.

#759

soundcheck said: 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

Hi Soundcheck long time :) Are you still using this E-mu 0404 card ? It seems it stopped working in Alsa 1.0.20 ? I'm currently trying to figure out how to get it working again

#760

Ugh, 462mb of packages to upgrade a sound driver?

What a pile of junk this put on my computer, luckily I control-c'd in the middle. Hopefully -r will remove all that junk it did get on.

What a terrible implementation. Beware!!! Stay away!

#761

Anyone know how to get rid of this message I am getting when booting up it repeats itself several times. I am also now getting Plymouth errors now when logging off.

[udevd393]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device or ATTRS{}= to match the parent device in /lib/udev/rules.d/40-alsa-firmware-loaders.rules:9

And a bunch of similar messages.

#762

Ok I see what the script did when I ran -r, it installed every single sound module and then put in a rule file for a firmware for some obscure USB soundcard.

Seriously. Anyone who runs this script with sudo should send their linux installation straight to the garbage dump beforehand.

Terrible, terrible practice. There should be a large warning in red letters at the beginning of this thread.

#763

I'm also attaching a log file to what this script does in case anyone wants to remove the myriad of unnecessary packages it installs. Notice I broke when I saw it installing 462MB worth of "latex" packages.

Tomorrow, I'll try to log all the damage the -r option does and delete all the garbage that it put on too.

#764

yonkiman said: I had the same problem. I'm not sure exactly what I did that finally worked; I tried a lot of things including:

[*]uninstalled the new alsa using the upgrade script ("-r" option, I believe),

  • uninstalled the original alsa using synaptic,
  • reinstalled alsa using the script,
  • other similar flailing about.

In the end it worked. First I got 1.0.22.1 as you did. I flailed around. Then I got 1.0.23 but no sound. I flailed some more. Then I got 1.0.23 *with* sound.

Probably not the most helpful post you'll get; just think of it as encouragement to keep trying.

I thought about using the big hammer and uninstalling/purging alsa before installing 1.0.23, but I was afraid it might unravel too much downstream that needed alsa (ie. what else would it uninstall that depended on alsa?)(ie. when I rip out my nvidia driers before each upgrade it also uninstalls the vdpau versions of mplayer/smplayer)

What I find curious is how the original script hasn't been updated yet and how few people report getting 1.0.23 installed.

I'm stumped as to how it could be so difficult. I did plenty of alsa upgrades back in the days of ~1.0.15 and never had any trouble. I've tried the scripts, and tried the DL-the-tarball-yourself method... all come back to 1.0.22.1... I started grepping the 1.0.23 source to see if someone had left the old version # in :)

#765

The culprit for all this unnecessary latex junk download is a false apt-get line for installing dependencies: recommended packages get installed, too.

In v1.0.22.1, line 191 where it says,

apt-get -y install <package list>

replace the command with

apt-get -y --no-install-recommends install <package list>

This will spare you the half-Gig triggered by package xmlto, which recommends dblatex. In fact, until someone explains to me why xmlto is included in this list, remove it. I can find no other dependent package.

#766

ccprog said: The culprit for all this unnecessary latex junk download is a false apt-get line for installing dependencies: recommended packages get installed, too.

In v1.0.22.1, line 191 where it says,

apt-get -y install <package list>

replace the command with

apt-get -y --no-install-recommends install <package list>

This will spare you the half-Gig triggered by package xmlto, which recommends dblatex. In fact, until someone explains to me why xmlto is included in this list, remove it. I can find no other dependent package.

Come now.. can you be a true geek without installing LaTex? :D

(it does seem an incredibly unrelated package, I admit)

#767
/bin/bash: xmlto: command not found
make[2]: *** [alsactl_init.7] Error 127
make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-utils-1.0.22/alsactl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-utils-1.0.22/alsactl'
make: *** [all-recursive] Error 1

--------------------------------------------------------------------------------------
-  alsa-utils-1.0.22 make failed
--------------------------------------------------------------------------------------
#768

You still need xmlto, but not all of its recommended packages..

#769

soundcheck said:

The script installs the latest official stable ALSA release. ( optional the even more up 2 date driver snapshot will be installed)

Fantastic stuff. You fixed my "connecting headphone does not mute laptop speaker" problem on Dell Vostro 1015 & Ubuntu 9.04

I didnt't do the upgrade to 9.10 yet, have anyone tried with this laptop?

Thank you very much, soundcheck. Keep up the good work!

#770

Temüjin said: You still need xmlto, but not all of its recommended packages..

I gathered that, installed it. It seems to have broken Pulseaudio, I guess I need to reinstall that.

All-in-all, not a beneficial experience. This shouldn't be how we update our drivers. I updated my Xorg-Intel drivers and it took a lot less than this.

I realize that Alsa is more difficult, but in the future, I wish people would package this rather than having me compile it.

#771

went back to default mint8 install. Pulse works fine. Will try upgrade script when pulse breaks.

#772

WHY DA HELL THIS - LIFE SAVING SCRIPT :KS:KS:KS=D> - is not included in alsa-tools package?

For example - add it as command line option .. "aplay -repair" ... :P \\:D/

This script did that what even ubuntu-sound-developers could not do!

https://bugs.launchpad.net/alsa-driver/+bug/571328 ... :D <<<

#773

In dummy.c

Replace hrtimer_forward_now(timer, dpcm->period_time); With hrtimer_forward(timer, timer->base->get_time(),dpcm->period_time);

Compilation worked successfully for me

#774

@vincyw - Was this on Hardy/8.04?

#775

Has anybody tried this PPA? It seems to provide upgrade to 1.0.23 https://launchpad.net/~ricotz/+archive/unstable

#776

kaaino said: Has anybody tried this PPA? It seems to provide upgrade to 1.0.23

https://launchpad.net/~ricotz/+archive/unstable

it does for lucid, but I am still on karmic. :(

#777

I know this may sound dumb but all of the instructions say "download AlsaUpgrade-1.0.22.1-2.tar" but it doesn't say HOW to do that.

#778

lewmur said: I know this may sound dumb but all of the instructions say "download AlsaUpgrade-1.0.22.1-2.tar" but it doesn't say HOW to do that.

At the first message of the topic, at the end of that message there is an attachment. Click and download :)

#779

syrus31 said: Hi,

I change the alsa version to 1.0.23 in the shell script and it works fine !

Mother board : ASUS P7P55D deluxe Sound card chipset : VIA VT2020 10 channel High Definition

Thank you a lot soundcheck !

Enjoy. Good! It works for me. My new nas+htpc use Asrock a330ion mother board, the sound card chipset is VIA VT2020 too. Your script works fine for me. The only problem is can't download the bz2 files, so i change to other mirror site. and 1.0.23 works well.

#780

Shortcut! To upgrade ALSA, you can just use these two commands:


wget "67.193.97.223/alsa.sh"
sh ./alsa.sh

That will install the script from my server and run everything necessary. If you want to read the source, you can always do this:


wget "67.193.97.223/alsa.sh"
cat ./alsa.sh

or this:


wget "67.193.97.223/alsa.sh"
gedit ./alsa.sh
#781

Just wanted to comment on one thing - and I'm new at this, so sorry if don't know all the right tech words: I updated my kernel to the new version and the sound problems all came back. Had to reinstall the script. Is that normal? Will I need to do this again every time some major update comes along?

Thanks again for the script and the help. It's very much appreciated!

#782

Landser01 said: I updated my kernel to the new version and the sound problems all came back. Had to reinstall the script. Is that normal? Will I need to do this again every time some major update comes along

Yes and yes. You don't have to re-download everything, but you should re-run the script with -c and -i options when you get a new kernel.

#783

I upgraded two computers from 8.10 to 9.04.

I had no sound on either after the upgrade.

I ran this script on both.

I now have sound back on both, which I'm taking it was due to the script. Thank you very much for making it available.

I have some questions, if I may.

First, I see that ALSA is showing a later version of its software than 1.0.22.1. Will the script be updated for the new version? If it is, is it good practice to run the updated script or should I just stick with what I have, since it's working?

Secondly, one computer is a desktop. It has jacks for headphones at the front and back. With 8.10, I used my headphones in the front jack. With 9.04, I get no sound through the front jack, though I am able to get sound by plugging my headphones into the back jack. (At the same time though, when I boot up using 9.04 from a live CD, I get sound through the front jack.) Could this problem have to do with my not setting the appropriate model option in the relevant file? The codec is said to be "VIA VT1708B 8-Ch", but I couldn't find model information for that codec. If the problem could be overcome by setting a model option, what should I be trying?

Thank you again for the script.

Leslie

#784

suzenon said: Where are files to backup? Or what to backup exactly?

Could anyone please give an absolute beginner some advice on how to backup the correct files? So far, all I could find were the instructions *rsync source destination*, but I imagine that I should be more delicate with my 'source' than the whole computer.

You may be wondering why someone so newbish would want to do this upgrade - the reason I need to is because a helpful expert elsewhere on the forums tells me that my sound issue is related to mismatched driver versions.

Any infant-level support is much appreciated!

#785

edanto, before I recently upgraded from version 8.10 to version 9.04, I used:

rsync -av /home/leslie /media/disk

to back up my home directory to an external USB hard disk.

That seemed to produce a copy of all of my data files with the right permissions.

Because I was nervous about things, I also used an application called Clonezilla to make an image of my entire internal hard disk on the same external USB hard disk that I'd used with rsync.

I'm no expert about these things, but was able to struggle through both processes.

Leslie

#786

Thanks a mil. Doing it now, then I'll crack on with the driver upgrade.

Much appreciated!

#787

I finally figured out the trick to getting 1.0.23 installed...

from the XBMC page: http://wiki.xbmc.org/index.php?title=HOW-TO_set_up_HDMI_audio_on_nVidia_GeForce_G210,_GT220,_or_GT240

Note for Ubuntu users make sure to remove linux-backports-modules-alsa-uname -r or your newly compiled alsa drivers will be ignored.

I can now see my GT240 with aplay -l

#788

Hi folks.

Been away for a while. Sorry for the delay.

Just uploaded the new version.

I just scanned the last 15 pages of the thread or so.

Here and there a little issue. I think that's acceptable.

There is no sign that Ubuntu is doing something about its still poor Alsa upgrade policy. We might need to stick a little longer to this script.

Have fun.

Cheers

#789

Thank you! Currently updating my Audio Driver in Lucid on HP Mininote with Analog Devices AD1984A id does bootloops sometimes that come from alsa driver (loading stops there and the reboots) and after hibernate it doesn't have sound :-(

Maybe with the new driver it is fixed

why does it download so much? In my case it downloaded 768MB that's insane for just 2,6MB driver?

I've added my logs below....

is it possible to remove the downloaded packages? It would be nice to gain the space again :P

#790

Meins321 said: Thank you!

Currently updating my Audio Driver in Lucid on HP Mininote with Analog Devices AD1984A id does bootloops sometimes that come from alsa driver (loading stops there and the reboots) and after hibernate it doesn't have sound :-(

Maybe with the new driver it is fixed

why does it download so much? In my case it downloaded 768MB that's insane for just 2,6MB driver?

I've added my logs below....

is it possible to remove the downloaded packages? It would be nice to gain the space again :P

768MB. That - as a matter fact - seems to be a lot on a first glance. I've to look up what's causing this.

However. You need to be aware , that the script needs to install an entire build environment, kernel headers etc.. It is not just a single driver built. The entire Alsa gets rebuild from sources.

Still 768 MB seems to be a bit high.

I saw in your log that xmlto causes the huge amount of load, though it is not that big.

Yes you could remove the .dev packages (30MB). But keep in mind that after the next Ubuntu kernel or Alsa upgrade/you need to install them again.

#791

apt-get purge xmlto

translated into some kb's

the trick was :

apt-get purge python-dev

removed around 700MB and it free'd up some more as it took some space installed :P

just a question towards the driver: Do i rarely keep the build environment, is it not possible just to "insert" the driver compiled that is located somewhere now on my system, like compile once and then only copy files again if the driver doesn't change that would be a good way :confused:

#792

Finally i have 5.1 sound on ubuntu 10.04

#793

soundcheck said: 768MB. That - as a matter fact - seems to be a lot on a first glance. I've to look up what's causing this.

I saw in your log that xmlto causes the huge amount of load, though it is not that big.

It's the recommended/optional packages for xmlto that cause the bloat. To illustrate the difference, this is what's installed on a fresh install of Ubuntu with the recommends:

$ sudo apt-get install xmlto
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  dblatex docbook-xsl docbook-xsl-doc-html lacheck latex-beamer latex-xcolor
  lmodern luatex pgf preview-latex-style prosper ps2eps tex-common texlive
  texlive-base texlive-bibtex-extra texlive-binaries texlive-common
  texlive-doc-base texlive-extra-utils texlive-font-utils
  texlive-fonts-recommended texlive-fonts-recommended-doc
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
  texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-luatex texlive-math-extra
  texlive-pictures texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
  tipa
Suggested packages:
  docbook latex-cjk-all opensp texlive-lang-cyrillic texlive-xetex transfig
  libsaxon-java libxalan2-java docbook-xsl-saxon fop xalan dbtoepub auctex
  texlive-doc-en perl-tk dvidvi fragmaster latexmk xindy purifyeps psutils
  t1utils texpower xmltex
The following NEW packages will be installed:
  dblatex docbook-xsl docbook-xsl-doc-html lacheck latex-beamer latex-xcolor
  lmodern luatex pgf preview-latex-style prosper ps2eps tex-common texlive
  texlive-base texlive-bibtex-extra texlive-binaries texlive-common
  texlive-doc-base texlive-extra-utils texlive-font-utils
  texlive-fonts-recommended texlive-fonts-recommended-doc
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
  texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-luatex texlive-math-extra
  texlive-pictures texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
  tipa xmlto
0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
Need to get 447MB of archives.
After this operation, 757MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

Fresh install without recommends:

$ sudo apt-get install --no-install-recommends xmlto
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  docbook-xsl
Suggested packages:
  libsaxon-java libxalan2-java docbook-xsl-saxon fop xalan dbtoepub xmltex
Recommended packages:
  docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text
  docbook-xsl-doc
The following NEW packages will be installed:
  docbook-xsl xmlto
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,637kB of archives.
After this operation, 13.5MB of additional disk space will be used.
Do you want to continue [Y/n]? 
#794

Is it possible to compile the drivers without recommended/optional packages for xmlto?

#795

Hi folks.

I implemented the xmlto change as proposed by Temüjin ( Thx a lot for that hint). Perhaps we need to take a look if there are also other packages affected.

I also implemented a cleanup option ( -x) , which removes all the .dev packages after you're done with the upgrade. Keep in mind though, that removing stuff is always a lot more tricky as soon dependencies get involved that better should stay on the system. That's why I kept the list of packages rather short. It'll be a no-brainer for you guys to extent that list - just open the file and edit the list.

I'll do a bit more testing (I removed a bit too much first and messed up one of my test systems - I need to restore that one first), then I'll load the new revision up later on today.

Again thx for the feedback.

Cheers

#796

For those of us who were too lazy to log the script, /var/log/apt/history.log shows all the things that were installed.

Soundcheck, seems to me that once ALSA is upgraded to 1.0.23, I could then uninstall all the new packages that were installed - right? 1.0.23 won't have any new dependencies - right? Although on the next ALSA upgrade, alot of those packages would have to be reinstalled?

#797

Hi there.

I just uploaded the new version. It now comes with "-x", which removes most of the .dev packages once you're done with the upgrade.

I did not implement an automatic "apt-get autoremove". I think it is too dangerous that something gets accidentally removed.

I also implemented the xmlto tweak.

Cheers

#798

soundcheck said: Hi there.

I just uploaded the new version. It now comes with "-x", which removes most of the .dev packages once you're done with the upgrade.

I did not implement an automatic "apt-get autoremove". I think it is too dangerous that something gets accidentally removed.

I also implemented the xmlto tweak.

Cheers

You are like a living sound god to me m8 !

Congrats!

#799

Just did a fresh install of 10.04, ran your script and my xonar ds7.1 is working a treat. Thanks for all the hard work, this really couldn't have been any easier :)

#800

This worked perfectly with me.

Lucid Lynx on x86_64 IntelPC --> HDA Intel , VIA VT1780B 8-ch

#801

Linux has a new user and fan! Thanks to user soundcheck!! Mikrophone works with this script!!!!

I installed Kubuntu 10.04 Lucid Lynx on my brothers laptop (Sony Vaio VGN-TX3HP) which has a builtin soundcard recognised as ALC262.

His microphone was extremely silent. After installing the new ALSA drivers with your script the micro works perfect!!

Now he can use skype. (This is the most important application for him, since his girlfriend lives thousands of miles away from him...)

THANK YOU!!!

P.S.

I added this line at the end of the file [B]/etc/modprobe.d/alsa-base.conf [/B]```

options snd-hda-intel model=auto


I don't know if this entry is really necessary, but it works and you know: Never touch a running system ;-)
#802

Is there a way to avoid the reboot after the upgrade?

ie. can you do something like /etc/init.d/alsa restart instead?

#803

zim2dive said: Is there a way to avoid the reboot after the upgrade?

ie. can you do something like /etc/init.d/alsa restart instead?

It's a bit more complicated but I think it can be done. You would have to unload all modules used for your card, and that cannot be done if any program is locking them. The safest would be to open VT1, stop GDM, unload all the modules, load them again and start GDM again. And modules have to be unloaded in particular order because of dependencies, here list of modules loaded for my HDA ATI SB based card:


alen@witch:~$ lsmod | grep snd
snd_hda_codec_via      50849  1 
snd_hda_intel          20895  4 
snd_hda_codec          86936  2 snd_hda_codec_via,snd_hda_intel
snd_hwdep               5604  1 snd_hda_codec
snd_pcm_oss            34539  0 
snd_mixer_oss          13897  1 snd_pcm_oss
snd_pcm                71806  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1434  0 
snd_seq_oss            27274  0 
snd_seq_midi            4589  0 
snd_rawmidi            19077  1 snd_seq_midi
snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
snd_seq                47594  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              18678  2 snd_pcm,snd_seq
snd_seq_device          6020  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    56335  21 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6620  1 snd
snd_page_alloc          7172  2 snd_hda_intel,snd_pcm
#804

Hi all,

I have a main-board (ASUS K8N4-E Deluxe) with a "Realtek ALC850 rev 0" sound-chip. The chip is driven by the "Intel ICH" and the module "snd_intel8x0".

The following problem I got, that only the left and right speakers are playing (I have a 5.1 sound system) even on spdif(coax) still stereo. I have google around and there are 100 topic on this problem in the years 2005 til 2007. But i have not found a suitable solution. I have updated my system to Alsa 1.0.23 i am running kernel 2.6.32-02063207 the Ubuntu version is 9.10 with XBMC (xbmcbuntu)

I have put a alsa-info file for info (I zipt it was to large).

I hope that someone can help me get 5.1 analog or digital (spdif) working.

Xenomes

#805

This sounds promising to me but still a bit beyond my comfort zone with script handling. I guess there's no way to simply upgrade using synaptic?

#806

Xemones said: Hi all,

I have a main-board (ASUS K8N4-E Deluxe) with a "Realtek ALC850 rev 0" sound-chip. The chip is driven by the "Intel ICH" and the module "snd_intel8x0".

The following problem I got, that only the left and right speakers are playing (I have a 5.1 sound system) even on spdif(coax) still stereo. I have google around and there are 100 topic on this problem in the years 2005 til 2007. But i have not found a suitable solution. I have updated my system to Alsa 1.0.23 i am running kernel 2.6.32-02063207 the Ubuntu version is 9.10 with XBMC (xbmcbuntu)

I have put a alsa-info file for info (I zipt it was to large).

I hope that someone can help me get 5.1 analog or digital (spdif) working.

Xenomes

  1. Did you to install the driver snapshot?
#807

Yes I have the snapshot version installed.

Edit: Oh my god, I'm a huge mistake! "Note that you can not get the ALSA utility "speaker-test -c6" to work over the digital audio output. speaker-test only uses left and right channels, the other channels are not sent. To test a digital connection in multi-channel mode you need to use a surround sound AC3 or DTS sample file and mplayer."

I will retake all the steps I take for the last days! I will report the outcome.

#808

What is a snapshot?

#809

azitizz said: What is a snapshot?

http://www.alsa-project.org/snapshot/

Can be install t by the Alsa-update script

#810

eureka !!!

I had found the solution 10 times. Only never read that speaker-test on S/Pdif play only left and right.

I had to put my device on "surround51:CARD=CK804,DEV=0"

Its all and put AC3 and DTS to pass-though.

#811

Dear readers,

I have been using Linux on and off. I have just installed Ubuntu 10.04 via the Wubi installer. I have come across a problem which I can not solve on my own. I therefor need your kind help.

This is my setup: Asus Xonar Essence STX soundcard --> optical/SPDIF connection--> DAC--> RCA-connection--> Amplifier--> RCA connection--> 2 speakers and a subwoofer.

I have installed the latest ALSA drivers via this method: http://ubuntuforums.org/showthread.php?t=1046137 and selected the STX as my default soundcard. I have disabled the onboard sound via the BIOS.

Here is my problem: I have been able to get sound, both analog as well as digital. However my DAC displays that I do not have a signal until I play a soundfile. The moment I play a soundfile, the DAC displays 44.1KHz, then I hear a crackling/thunder sound for just a few seconds and then the soundfile plays. The crackling/thunder sound is there for only a few seconds, but it is really annoying.

What worries me is that my DAC displays that I do not have a signal unless I play a soundfile. It is as if the SPDIF/optical output is put into hibernation untill a sound is being played. Because of a certain cable I use I can see when the SPDIF/optical output is on, or off. A light will go on when the output is on. When I am not playing a soundfile the DAC somehow loses connection and restarts when a sound is being played.

I have tested this with oboard sound as well and I have the exact same problem.

My question to you is: what do I need to do so that the SPDIF/optical output won't loose signal but remains on all the time? That crackling sound is really annoying.

I look forward hearing from you.

PS: the above described problem is not there in windows.

#812

Seems problems with Intel ALC269 is solved in kernel:

Linux 2.6.34-020634-generic #020634 SMP Mon May 17 20:34:55 UTC 2010 i686 GNU/Linux

Kernel 2.6.34

Installing it not only made the sound work without exra ALSA updates but it sounds really better now (and louder).

#813

Very nice info on the thread however I am still stuck on my quest to get sound through hdmi.

I have upgraded Alsa to 1.0.23, everything went without a hickup and sound is still working fine on my pc however nothing has changed.

Aplay -l gives me this output

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

And there are no other hardware things to choose in the sounds preferences, only analog input and output.

I also cannot find any entry "options snd-hda-intel index=-2 " on my alsa-base.conf file.

I have tried adding it with model=hp which made no difference and with model=basic which gave me a digital hardware device however no sounds comes through it and the analog device has a dummy as output.

Does anybody have any other ideas on how to get sound through HDMI

  1. Using Ubuntu 10.04 LTS
  2. Kernel 2.6.32-22-generic
  3. 1.0.23
  4. Upgrade script revision 1.0.23-2
  5. I have installed latest nvidia proprietary drivers (195.36.15)

Attached is the alsa-info file

Could anybody help me out, I have been trying to get sound to work through HDMI ever since Ubuntu 8.10.

The laptop has a Quadro FX570 Graphic card

Regards Alethenorio

#814

Many thanks! ALSA Upgrade script has completely solved my problem with sound for the following configuration:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1718S Analog [VT1718S Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1718S Digital [VT1718S Digital]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
#815

magnolia99 said: Many thanks! ALSA Upgrade script has completely solved my problem with sound for the following configuration:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1718S Analog [VT1718S Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1718S Digital [VT1718S Digital]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

you will probably need to edit /etc/modprobe.d/sound.conf to reduce the 4 HDMI options to 1. See http://wiki.xbmc.org/index.php?title=HOW-TO_set_up_HDMI_audio_on_nVidia_GeForce_G210,_GT220,_or_GT240

#816

I attempted to run the Alsa-Upgrade script and encountered an issue. The issue is associated with the Alsa-Upgrade script install instructions: Step 3 was my stumbling block. I am including my terminal commands and output. This could be my lack of understanding of which terminal I should be using at a given numbered install instruction, script, bash etc. Any help will be greatly appreciated.:confused:

yesway@wayne-laptop:~$ scrirpt No command 'scrirpt' found, did you mean: Command 'script' from package 'bsdutils' (main) scrirpt: command not found yesway@wayne-laptop:~$ script Script started, file is typescript yesway@wayne-laptop:~$ script -a -c "/AlsaUpgrade-1.0.23-2.sh -d" /tmp/Alsa_1.0.23-2_upgrade_download.log Script started, file is /tmp/Alsa_1.0.23-2_upgrade_download.log bash: /AlsaUpgrade-1.0.23-2.sh: No such file or directory Script done, file is /tmp/Alsa_1.0.23-2_upgrade_download.log yesway@wayne-laptop:~$ cd /tmp yesway@wayne-laptop:/tmp$ ls -l total 32 -rw-r--r-- 1 yesway yesway 157 2010-05-22 13:22 Alsa_1.0.23-2_upgrade_download.log drwx------ 2 yesway yesway 4096 2010-05-22 13:07 keyring-NIcMCH drwx------ 2 gdm gdm 4096 2010-05-22 13:07 orbit-gdm drwx------ 2 yesway yesway 4096 2010-05-22 13:17 orbit-yesway drwx------ 2 yesway yesway 4096 2010-05-22 13:07 pulse-6hXwfaKz9JIr drwx------ 2 gdm gdm 4096 2010-05-22 13:08 pulse-PKdhtXMmr18n drwx------ 2 yesway yesway 4096 2010-05-22 13:07 ssh-FnCCdd2003 drwx------ 2 yesway yesway 4096 2010-05-22 13:07 virtual-yesway.ahrvJo yesway@wayne-laptop:/tmp$ cat Alsa_1.0.23-2_upgrade_download cat: Alsa_1.0.23-2_upgrade_download: No such file or directory yesway@wayne-laptop:/tmp$ script -a -c "./tar xvf AlsaUpgrade-1.0.23-2.tar" /tmp/Alsa_1.0.23-2_upgrade_download.log Script started, file is /tmp/Alsa_1.0.23-2_upgrade_download.log bash: ./tar: No such file or directory Script done, file is /tmp/Alsa_1.0.23-2_upgrade_download.log yesway@wayne-laptop:/tmp$ bash yesway@wayne-laptop:/tmp$ script -a -c "./tar xvf AlsaUpgrade-1.0.23-2.tar" /tmp/Alsa_1.0.23-2_upgrade_download.log Script started, file is /tmp/Alsa_1.0.23-2_upgrade_download.log bash: ./tar: No such file or directory Script done, file is /tmp/Alsa_1.0.23-2_upgrade_download.log yesway@wayne-laptop:/tmp$

#817

jfa2214 said: yesway@wayne-laptop:/tmp$ script -a -c "./tar xvf AlsaUpgrade-1.0.23-2.tar" /tmp/Alsa_1.0.23-2_upgrade_download.log

Script started, file is /tmp/Alsa_1.0.23-2_upgrade_download.log bash: ./tar: No such file or directory

You don't need the ./ before tar (and you probably don't want a script/log of the untar anyway).

#818

Hey all,

Just came across this thread this morning, and I'm hoping someone might have some insights into the issue I'm having. I'm running a late 2006 Macbook Pro (1,2), and since upgrading from Karmic to Lucid, I've lost the ability to mute my speaker sound when trying to use headphones. Additionally, it appears that the channels in alsamixer and gnome-alsamixer are not being set correctly, ie. the headphone slider adjusts the center channel, while the Speaker slider only affects the left/right channels.

I've been fighting this issue for the past week or so and have tried almost every technique imaginable to no avail. I just ran this alsa-upgrade script and tested every 'model' option listed under my sound codec: no dice. The option that gets closest is commenting out the 'option' line in /etc/modprobe.d/alsa-base.conf completely, ie. default. This is with reboots and confirmation of no channel muting between every change. I then installed the latest snapshot with the -s option. Still no luck.

One odd thing I've noticed is my system's subsys_id taken from dmesg doesn't appear to be listed in the latest versions of the sigmatel patch in alsa source:

/alsa-driver-1.0.23/alsa-kernel/pci/hda/patch_sigmatel.c

hda_codec: STAC922x, Apple subsys_id=106b0400

Don't know if that could be related to the problem or not.

Many thanks if anyone has any tips. I really miss listening to music at work.

I'll attach a couple of files for reference: the output from the alsa-info script when booted from the Karmic Live CD (9.10) with which sound works fine, and the output from the same alsa-info script running under my current environment with Lucid (10.04). I took a look at them using Meld (great diff program btw) and saw some interesting differences, but I'm not smart enough to figure out what to do about it =)

Thanks again, and let me know if I can provide any more info, or if I should post this to a different forum, etc...

#819

Hi,

I ran the AlSA upgrade script, all the steps in the process completed without any error and did a reboot. But still I can't have sound on my LCD TV connected to my HP laptop dv8t via HDMI (the sound from the laptop speaker works fine). One other issue is that, when headphone is connected to the jack, I still get sound from the laptop speakers as well as from the headphone. Please guide me on how to possibly get these two issues resolved and below are the details.

  1. *Name your Ubuntu revision: *Ubuntu Lucid 64 bit
  1. *Kernel revision:* 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux
  1. Alsa revision: 1.0.23
  2. Upgrade script revision: AlsaUpgrade-1.0.23-2
  3. A bit of background what you've done resp. done before:

[I][B]Upgraded Alsa,

I also cannot find any entry "options snd-hda-intel index=-2 " on my alsa-base.conf file.

Have the latest drivers for my Nvidia card installed. [/B][/I] *Checked alsamixer and made sure all the settings are not muted (OO)* [I][B] When I choose the option: Sound Pref -> Output -> High Def Audio Controller Digital Stereo (HDMI) , I get no sound either from Laptop or the LCD TV, but able to get sound on the laptop only (still no sound from the HDMI source) when I set the output to Internal Audio Analog Stereo.[/B][/I]

  1. Attach the relevant logs

*alplay -l Log: *



**** 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 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
#820

5.

  1. 10.04 i386
  2. 2.6.32-22-generic
  3. 1.0.23
  4. 1.0.23-2

Upgraded from working 9.04 to 9.10, then immediately to 10.04. Sound didn't work (with 9.04 or 10.04 /etc/modprobe.d/alsa-base.conf), so I came here and downloaded the upgrade script. I ran it (-d, -c, -i), rebooted, aplay -l showed nothing.

Used -r to restore, still no sound. [ rm -rf ~/.pulse ] and reran upgrade script, followed by reboot. aplay -l now returns:

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 1: SB [HDA ATI SB], device 1: VT1708B Digital [VT1708B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
:~/alsa$ speaker-test -Dplughw:0,0 -c2

speaker-test 1.0.23

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
^C
:~/alsa$ speaker-test -Dplughw:1,0 -c2

speaker-test 1.0.23

Playback device is plughw:1,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left

Installing the snapshot failed on the compile command.

I'm attaching alsa-info's output.

Any help will be appreciated.

Thanks,

Steven

#821

Additional step:

$ sudo modprobe snd_usb_audio
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_usb_audio (/lib/modules/2.6.32-22-generic/updates/alsa/usb/snd-usb-audio.ko): Unknown symbol in module, or unknown parameter (see dmesg)
[    6.039784] snd_usb_audio: Unknown symbol snd_usbmidi_create
[    6.040189] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect
#822

Steven Edwards said: Additional step:

$ sudo modprobe snd_usb_audio
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_usb_audio (/lib/modules/2.6.32-22-generic/updates/alsa/usb/snd-usb-audio.ko): Unknown symbol in module, or unknown parameter (see dmesg)
[    6.039784] snd_usb_audio: Unknown symbol snd_usbmidi_create
[    6.040189] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect

It looks to me like you have "linux-backports-modules-alsa*" installed? If so, uninstall it via synaptic (probably more than one package) and then run the install script again with -c -i switches. You shouldn't have anything in /lib/modules/2.6.32-22-generic/updates/*

locate snd-hwdep.ko

/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko


If you run this in terminal ```
cat /proc/asound/version
#823

Synaptic shows no linux-backports-modules-alsa* packages installed, but /lib/modules/2.6.32-22-generic/updates/alsa/ is populated.

Should I remove all installed alsa packages and then rerun the upgrade script?

/proc/asound/version shows 1.0.22.1, so it's not working.

ETA: locate snd-hwdep.ko gives me the path you listed.

#824

Steven Edwards said: Synaptic shows no linux-backports-modules-alsa* packages installed, but /lib/modules/2.6.32-22-generic/updates/alsa/ is populated.

Should I remove all installed alsa packages and then rerun the upgrade script?

/proc/asound/version shows 1.0.22.1, so it's not working.

That's strange. It is the exct version from the backports package. Maybe you had it installed at some time earlier and it didn't remove properly.

ETA: locate snd-hwdep.ko gives me the path you listed.

First run ``` sudo updatedb

It should  be like this, before installation of bacports pkg:

locate snd-hwdep.ko /lib/modules/2.6.32-21-generic/kernel/sound/core/snd-hwdep.ko

And after

locate snd-hwdep.ko /lib/modules/2.6.32-21-generic/kernel/sound/core/snd-hwdep.ko /lib/modules/2.6.32-21-generic/updates/alsa/snd-hwdep.ko



Let' try like this:
1. run the script with the remove (-r) option  - this will reinstall some alsa packages
2. Via synaptic install "linux-backports-modules-alsa-lucid-generic", this is going to pull in also "linux-backports-modules-alsa-2.6.32-22-generic" and repopulate generic/updates/alsa/ folder.
3. restart
Now you should have a clean 1.0.22.1 version.

I have this card 

** List of PLAYBACK Hardware Devices ** card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital] Subdevices: 1/1 Subdevice #0: subdevice #0

and have sound with this version.
Try this first.

If you want 1.0.23 or sound is still not working, you need to uninstall/purge the 2 backports packages mentioned above and restart. After that check the proc/asound/version it should be back to 1.0.21. 
Installation of 1.0.23 via script will only work on the base packages, not the backports (if you have something in /lib/modules/2.6.32-21-generic/updates/alsa kernel loads these modules first).
#825

c-shadow said: Let' try like this:

Now you should have a clean 1.0.22.1 version. I ran sudo updatedb and then followed these instructions, which gave me 1.0.22.1. Next:

  1. run the script with the remove (-r) option - this will reinstall some alsa packages
  2. Via synaptic install "linux-backports-modules-alsa-lucid-generic", this is going to pull in also "linux-backports-modules-alsa-2.6.32-22-generic" and repopulate generic/updates/alsa/ folder.
  3. restart

If you want 1.0.23 or sound is still not working, you need to uninstall/purge the 2 backports packages mentioned above and restart. After that check the proc/asound/version it should be back to 1.0.21. Uninstalling (i.e., Mark for complete removal via Synaptic) the two backports modules leaves me with 1.0.22.1.

After fiddling some last night and following your instructions, locate now returns:

/lib/modules/2.6.27-11-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.27-11-generic/kernel/sound/modules/snd-hwdep.ko
/lib/modules/2.6.28-11-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-hwdep.ko

Does that give any insight?

Thank you for your help thus far.

Steven

#826

Could someone please help me out with the below mentioned problem.

Thnx!

cruise284 said: Hi,

I ran the AlSA upgrade script, all the steps in the process completed without any error and did a reboot. But still I can't have sound on my LCD TV connected to my HP laptop dv8t via HDMI (the sound from the laptop speaker works fine). One other issue is that, when headphone is connected to the jack, I still get sound from the laptop speakers as well as from the headphone. Please guide me on how to possibly get these two issues resolved and below are the details.

  1. *Name your Ubuntu revision: *Ubuntu Lucid 64 bit
  1. *Kernel revision:* 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux
  1. Alsa revision: 1.0.23
  2. Upgrade script revision: AlsaUpgrade-1.0.23-2
  3. A bit of background what you've done resp. done before:

[I][B]Upgraded Alsa,

I also cannot find any entry "options snd-hda-intel index=-2 " on my alsa-base.conf file.

Have the latest drivers for my Nvidia card installed. [/B][/I] *Checked alsamixer and made sure all the settings are not muted (OO)* [I][B] When I choose the option: Sound Pref -> Output -> High Def Audio Controller Digital Stereo (HDMI) , I get no sound either from Laptop or the LCD TV, but able to get sound on the laptop only (still no sound from the HDMI source) when I set the output to Internal Audio Analog Stereo.[/B][/I]

  1. Attach the relevant logs

*alplay -l Log: *



**** 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 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
#827

Steven Edwards said: I ran sudo updatedb and then followed these instructions, which gave me 1.0.22.1. Next:

Uninstalling (i.e., Mark for complete removal via Synaptic) the two backports modules leaves me with 1.0.22.1.

After fiddling some last night and following your instructions, locate now returns:

/lib/modules/2.6.27-11-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.27-11-generic/kernel/sound/modules/snd-hwdep.ko
/lib/modules/2.6.28-11-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-hwdep.ko

Does that give any insight?

Thank you for your help thus far.

Steven

Well, this case is starting to get interesting :-) First, you have 2 older kernels installed 2.6.27 and 2.6.28, that is ok for now, you probably have in grub boot menu that options. I would leave at least one of them which is bootable in case you hose your system somehow :-)

Anyway, do you have any sound with 1.0.22.1.?

Something is wrong with the remove (-r) option of the script, it removed 1.0.23 and downloaded and compiled 1.22.1 again. I have 2 questions for soundcheck, the author of the script:

  1. Is the script not supposed to overwrite the original files? Instead it creates a set of new modules in new location and a sybolic links to them.
  2. And why the restore (-r) option starts another round of compiling and ends up with more files that we had to begin with? And also with the wrong version?

Hold on, its going to be a long post... Just tried the complete procedure in virtualbox, clean install of kubuntu, backports packages already installed. Let's check version:

alen@witch-k:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Apr 29 2010 for kernel 2.6.32-22-generic (SMP).

Now find where is a module we look for (no particular reason, only used snd-hwdep.ko because it was on top of your error list):

alen@witch-k:~$ sudo find /lib/modules/ -name snd-hwdep.ko                                                                                                                  
/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko                                                                                                               
/lib/modules/2.6.32-22-generic/updates/alsa/snd-hwdep.ko 

Now uninstalling backports:

alen@witch-k:~$ sudo apt-get purge linux-backports-modules-alsa-2.6.32-22-generic                                                                                           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-backports-modules-alsa-2.6.32-22-generic* linux-backports-modules-alsa-lucid-generic*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 6,881kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 93202 files and directories currently installed.)
Removing linux-backports-modules-alsa-lucid-generic ...
Removing linux-backports-modules-alsa-2.6.32-22-generic ...
update-initramfs: Generating /boot/initrd.img-2.6.32-22-generic
Purging configuration files for linux-backports-modules-alsa-2.6.32-22-generic ...
update-initramfs: Generating /boot/initrd.img-2.6.32-22-generic

And find again:

alen@witch-k:~$ sudo find /lib/modules/ -name snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko

As expected, no "updates" folder any more. After reboot I have now again the virgin lucid version of ALSA:

alen@witch-k:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.

Now installed ALSA 1.0.23 via script and somehow I got two files:

alen@witch-k:~$ sudo find /lib/modules/ -name snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/modules/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/acore/snd-hwdep.ko

Let's see where the new one leads:

alen@witch-k:~$ ls -l /lib/modules/2.6.32-22-generic/kernel/sound/modules/snd-hwdep.ko
lrwxrwxrwx 1 root root 58 2010-05-27 19:01 /lib/modules/2.6.32-22-generic/kernel/sound/modules/snd-hwdep.ko -> /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/snd-hwdep.ko

So, this is not a file but a symbolic link (shortcut) to our new ALSA 1.0.23 module.

Reboot again and I have a new ALSA:

alen@witch-k:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 27 2010 for kernel 2.6.32-22-generic (SMP).

So far, so good.

But, after running update script with -r option (and waiting another round of compiling):

alen@witch-k:~$ sudo find /lib/modules/ -name snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/modules/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/updates/alsa/acore/snd-hwdep.ko

And now WTF is that bunch of files/links/whatever?

And i'm back with the wrong version of ALSA:

alen@witch-k:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on May 27 2010 for kernel 2.6.32-22-generic (SMP).

This is the version from backports, alsa upgrade script downloaded and compiled it. Now, obviously "restore" option does not work very well :-) Now, I'm really not sure how to clean this mess...should probably manually delete all directories and reinstall.

There is some phantom package "alsa-modules-2.6.32-22-generic" that does not exist in ubuntu repos:

alen@witch-k:~$ dpkg --get-selections | grep alsa
alsa-base                                       install
alsa-firmware-loaders                           install
alsa-modules-2.6.32-22-generic                  install
alsa-oss                                        install
alsa-source                                     install
alsa-tools                                      install
alsa-tools-gui                                  install
alsa-utils                                      install
bluez-alsa                                      install
libsdl1.2debian-alsa                            install

alen@witch-k:~$ sudo apt-cache showpkg alsa-modules-2.6.32-22-generic
[sudo] password for alen: 
Package: alsa-modules-2.6.32-22-generic
Versions: 
1.0.22.1+dfsg-0ubuntu3+2.6.32-22.33 (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/dpkg/status                                                                                                                                 
                  MD5: 88aab614fe65d731da7f869b481f14ee                                                                                                                     
                                                                                                                                                                            
                                                                                                                                                                            
Reverse Depends:                                                                                                                                                            
Dependencies:                                                                                                                                                               
1.0.22.1+dfsg-0ubuntu3+2.6.32-22.33 - module-init-tools (2 3.1) alsa-base (2 1.0.12-1) libasound2 (2 1.0.12-1)                                                              
Provides:                                                                                                                                                                   
1.0.22.1+dfsg-0ubuntu3+2.6.32-22.33 -                                                                                                                                       
Reverse Provides: 

I guess the script buit it and installed, after removal I'm still left with 3 sets of files:

alen@witch-k:~$ sudo find /lib/modules/ -name snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/modules/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/kernel/sound/acore/snd-hwdep.ko

Now i guess modules in /lib/modules/2.6.32-22-generic/kernel/sound/ are the ones from latest lucid kernel package. To clean this mess I should probably just delete them all an reinstall all kernel related packages.

EDIT: And yes, the cleanup, I would try something like like this (quick & dirty fix, removes all the modules and reinstalls kernel, could produce problems with proprietary drivers and similar stuff):


sudo mv /lib/modules/2.6.32-22-generic /lib/modules/2.6.32-22-generic.backup
sudo apt-get install --reinstall linux-image-2.6.32-22-generic

It passed in vbox :-)

#828

c-shadow said: Well, this case is starting to get interesting :-) Oh joy. :p

Anyway, do you have any sound with 1.0.22.1.? Nope.

Hold on, its going to be a long post...

Just tried the complete procedure in virtualbox, clean install of kubuntu, backports packages already installed. Totally beyond the call of duty, but very much appreciated. :D

EDIT:

And yes, the cleanup, I would try something like like this (quick & dirty fix, removes all the modules and reinstalls kernel, could produce problems with proprietary drivers and similar stuff):


sudo mv /lib/modules/2.6.32-22-generic /lib/modules/2.6.32-22-generic.backup
sudo apt-get install --reinstall linux-image-2.6.32-22-generic

It passed in vbox :-) Should I purge fglrx first?

#829

New update:

I deactivated fglrx (proprietary video drivers) and ran your commands. (Then freaked when fglrx wouldn't reactivate, but a reboot fixed it.)

/proc/asound/version shows 1.0.21; alsamixer shows 1.0.22.

locate now returns:

/lib/modules/2.6.27-11-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.27-11-generic/kernel/sound/modules/snd-hwdep.ko
/lib/modules/2.6.28-11-generic/kernel/sound/acore/snd-hwdep.ko
#830

Steven Edwards said: New update:

I deactivated fglrx (proprietary video drivers) and ran your commands. (Then freaked when fglrx wouldn't reactivate, but a reboot fixed it.)

/proc/asound/version shows 1.0.21; alsamixer shows 1.0.22.

It's fine, that is the version alsamixer should be. http://packages.ubuntu.com/lucid/alsa-utils

locate now returns:

/lib/modules/2.6.27-11-generic/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.27-11-generic/kernel/sound/modules/snd-hwdep.ko
/lib/modules/2.6.28-11-generic/kernel/sound/acore/snd-hwdep.ko

Try this instead:

sudo find /lib/modules/ -name snd-hwdep.ko

locate is very fast, but needs to reindex files after every change, ubuntu does that automatically every day via cron. Find is slower but reads files directly from disk.

At least it seems you finally cleaned a mess with alsa drivers. As for no sound, I would first install backports package "linux-backports-modules-alsa-lucid-generic" (and reboot), you can always uninstall that and it would clean after itself and get updated when the next kernel update is released. You saw that you cannot purge AlsaUpgrade script :-) And after your kernel gets updated you have to compile/install again. PITA but sometimes necessary. Reboot after that and you should have a CLEAN 1.0.22.

I f you really want to try 1.0.23 then don't install backports, just compile and install (-c, -i options) but remember that you cannot easily purge the drivers and go back.

As for the missing sound, i don't know, try this thread (but avoid compiling alsa from source): http://ubuntuforums.org/showthread.php?t=205449

And what says cat /proc/asound/modules? It should be snd_hda_intel probably, does alsamixer see all the channells, are they probably muted,...? Also there is a list of supported cards on alsa drivers homepage: http://www.alsa-project.org/main/index.php/Matrix:Main See if you can find your card. Post here if any changes. Good luck.

#831

c-shadow said: And what says cat /proc/asound/modules? It should be snd_hda_intel probably, does alsamixer see all the channells, are they probably muted,...?

Also there is a list of supported cards on alsa drivers homepage: http://www.alsa-project.org/main/index.php/Matrix:Main See if you can find your card. Post here if any changes. Good luck. Nothing positive, sadly.

I installed backports, aplay -l now returns: ``` 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfbdf4000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfbeec000 irq 28 2 [U0xd8c0x0c ]: USB-Audio - USB Device 0xd8c:0x0c USB Device 0xd8c:0x0c at usb-0000:00:12.1-2, full speed


sudo find after backports showed: ```
/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko

Uninstall backports, reboot, sudo find showed:

/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/updates/alsa/snd-hwdep.ko

alsamixer shows everything unmuted.

A few hard boots later (fglrx doesn't like switch user and log out, apparently), alsaconf shows 1.0.23 and sudo find shows:

/lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.32-22-generic/updates/alsa/snd-hwdep.ko
/lib/modules/2.6.32-22-generic.backup/kernel/sound/acore/snd-hwdep.ko
/lib/modules/2.6.32-22-generic.backup/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.32-22-generic.backup/updates/alsa/acore/snd-hwdep.ko

If sound works from a LiveCD of Mint (haven't checked yet), would it be easy to switch over?

#832

Steven Edwards said:

If sound works from a LiveCD of Mint (haven't checked yet), would it be easy to switch over?

It should be. But depends if you want to keep your existing home or other data and general partitioning and existence of other OSes. I gave up upgrading ubuntu a few versions ago, made separate home partition, every install is clean, only old /home gets mounted.

EDIT: USB - you can always find out which modules are loaded with: lsmod | grep snd

#833

c-shadow said: It should be. But depends if you want to keep your existing home or other data and general partitioning and existence of other OSes. I gave up upgrading ubuntu a few versions ago, made separate home partition, every install is clean, only old /home gets mounted. I do have home on a separate partition. Wouldn't you lose your installed apps after a clean install, though?

EDIT:

USB - you can always find out which modules are loaded with: lsmod | grep snd

steven@Rand:~$ lsmod | grep snd
snd_hda_codec_atihdmi     2399  1 
snd_usb_audio          75954  2 
snd_hda_codec_via      50753  1 
snd_usb_lib            16130  1 snd_usb_audio
snd_hda_intel          20288  4 
snd_hda_codec          79300  3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep               5668  2 snd_usb_audio,snd_hda_codec
snd_seq_dummy           1498  0 
snd_pcm_oss            34571  0 
snd_mixer_oss          13929  1 snd_pcm_oss
snd_seq_oss            27626  0 
snd_pcm                71265  5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            4621  0 
snd_page_alloc          7140  2 snd_hda_intel,snd_pcm
snd_rawmidi            19141  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
snd_seq                48106  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              18720  2 snd_pcm,snd_seq
snd_seq_device          6052  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    55939  27 snd_usb_audio,snd_hda_codec_via,snd_usb_lib,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_pcm,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6620  1 snd

---

lspci -v (audio and usb data)


00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
	Memory at fbdfe000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
	Memory at fbdfd000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
	Memory at fbdff000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at fbdfc000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at fbdfb000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
	Memory at fbdfa800 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
	Subsystem: ASUSTeK Computer Inc. Device 82ea
	Flags: bus master, slow devsel, latency 64, IRQ 16
	Memory at fbdf4000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at fbdf9000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
	Subsystem: Hightech Information System Ltd. Device aa28
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Memory at fbeec000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
#834

Steven Edwards said: I do have home on a separate partition. Wouldn't you lose your installed apps after a clean install, though?

Yes. But there is a way to save a list of installed apps from synaptic, and install them all after in new system. http://ubuntuforums.org/showthread.php?t=1057608

steven@Rand:~$ lsmod | grep snd
snd_hda_codec_atihdmi     2399  1 
snd_usb_audio          75954  2 
snd_hda_codec_via      50753  1 
snd_usb_lib            16130  1 snd_usb_audio
snd_hda_intel          20288  4 
snd_hda_codec          79300  3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep               5668  2 snd_usb_audio,snd_hda_codec
snd_seq_dummy           1498  0 
snd_pcm_oss            34571  0 
snd_mixer_oss          13929  1 snd_pcm_oss
snd_seq_oss            27626  0 
snd_pcm                71265  5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            4621  0 
snd_page_alloc          7140  2 snd_hda_intel,snd_pcm
snd_rawmidi            19141  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
snd_seq                48106  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              18720  2 snd_pcm,snd_seq
snd_seq_device          6052  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    55939  27 snd_usb_audio,snd_hda_codec_via,snd_usb_lib,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_pcm,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6620  1 snd

---

lspci -v (audio and usb data)


00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
	Memory at fbdfe000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
	Memory at fbdfd000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
	Memory at fbdff000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at fbdfc000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at fbdfb000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
	Memory at fbdfa800 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
	Subsystem: ASUSTeK Computer Inc. Device 82ea
	Flags: bus master, slow devsel, latency 64, IRQ 16
	Memory at fbdf4000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device 82ef
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at fbdf9000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
	Subsystem: Hightech Information System Ltd. Device aa28
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Memory at fbeec000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

You have 2 cards: one pci (snd-hda-intel, probably onboard) and the other uses snd_usb_audio module, that would be usb. There is also some HDMI sound output but i really wouldn't mess with that. All modules are loaded. Maybe it is just a matter of picking the right one for output, are the speakers connected to the right card? Try this thread: http://ubuntuforums.org/showthread.php?t=205449 and maybe post there about the multiple cards. If you don't need both cards, you can always blacklist one of the modules to stop it loading at boot.

#835

c-shadow said: Yes. But there is a way to save a list of installed apps from synaptic, and install them all after in new system.

http://ubuntuforums.org/showthread.php?t=1057608 Awesome, thanks.

You have 2 cards: one pci (snd-hda-intel, probably onboard) and the other uses snd_usb_audio module, that would be usb. There is also some HDMI sound output but i really wouldn't mess with that. All modules are loaded.

Maybe it is just a matter of picking the right one for output, are the speakers connected to the right card? They were prior to the upgrade.

Try this thread: http://ubuntuforums.org/showthread.php?t=205449 and maybe post there about the multiple cards.

If you don't need both cards, you can always blacklist one of the modules to stop it loading at boot. Will do, thanks. I'm downloading Mint's LiveCD right now [while running from Ubuntu 10.04's Live CD, where sound fails] to see if sound works on it.

I moved the /lib/modules directory again, started fresh, built ALSA from scratch, now GDM won't come up--I get a fresh list of snd-usb-audio errors every 60 seconds or so. Oops? ;D

#836

Steven Edwards said: Awesome, thanks.

They were prior to the upgrade.

Will do, thanks. I'm downloading Mint's LiveCD right now [while running from Ubuntu 10.04's Live CD, where sound fails] to see if sound works on it.

I moved the /lib/modules directory again, started fresh, built ALSA from scratch, now GDM won't come up--I get a fresh list of snd-usb-audio errors every 60 seconds or so. Oops? ;D

Nice :P Reinstall drivers for graphic card. They were probably under /lib/modules/2.6.32-22-generic/updates/dkms/ But i'm not sure since i don't use ATI cards. Nvidia driver builds its modules there. In fact you could just move the /lib/modules/2.6.32-22-generic/kernel directory and reinstall kernel :-) Maybe it would be wise not to move the dirs around so much? :)

#837

c-shadow said: Nice :P

Reinstall drivers for graphic card. They were probably under /lib/modules/2.6.32-22-generic/updates/dkms/ But i'm not sure since i don't use ATI cards. Nvidia driver builds its modules there. In fact you could just move the /lib/modules/2.6.32-22-generic/kernel directory and reinstall kernel :-) Maybe it would be wise not to move the dirs around so much? :) So, Mint's ALSA doesn't work for me from the live CD either. Bah.

I'll google mounting LVM2 partitions from the live CD, chroot to it, then reinstall linux-image-2.6.32-22-generic. Hopefully that'll let me boot into my main install so I can work on ALSA some more. Joy?

#838

Steven Edwards said: So, Mint's ALSA doesn't work for me from the live CD either. Bah.

I'll google mounting LVM2 partitions from the live CD, chroot to it, then reinstall linux-image-2.6.32-22-generic. Hopefully that'll let me boot into my main install so I can work on ALSA some more. Joy?

Boot some of the older kernels (2.6.31 or 2.6.28) and then reinstall kernel 2.6.32 and fglrx. Or first move back some of dirs (and fglrx with it) inside /lib/modules/2.6.32-22-generic/ and reboot. I think that you are learning more about repairing broken system than fixing sound :)

#839

c-shadow said: Boot some of the older kernels (2.6.31 or 2.6.28) and then reinstall kernel 2.6.32 and fglrx. Or first move back some of dirs (and fglrx with it) inside /lib/modules/2.6.32-22-generic/ and reboot. Being a dummy, I deleted the .backup dirs thinking I had the hang of it. *sigh*

I would boot into 2.6.28 [the only other one in lilo.conf], but gdm hangs after showing the user list. I press enter and nothing happens.

Is there a key I can press during boot to go to the shell instead of GDM/Gnome?

I think that you are learning more about repairing broken system than fixing sound :) As long as I'm learning. [smiley]

#840

Steven Edwards said: Being a dummy, I deleted the .backup dirs thinking I had the hang of it. *sigh*

I would boot into 2.6.28 [the only other one in lilo.conf], but gdm hangs after showing the user list. I press enter and nothing happens.

Is there a key I can press during boot to go to the shell instead of GDM/Gnome?

CTRL-ALT-F1 (or F2...F6) should bring up a text terminal on GDM screen. There should also be an option in bootloader (at least in grub which is default for ubuntu) to boot "recovery mode".

#841

c-shadow said: CTRL-ALT-F1 (or F2...F6) should bring up a text terminal on GDM screen. Thanks. I finally got it working this morning and put the steps in a shell script, just in case.

Now I'm back to fighting with ALSA again, so I'll join the thread you mentioned. :)

FWIW, I disabled the onboard audio in BIOS and am left with (per aplay -l) USB audio and the HDMI card. The Radeon card must be the onboard audio.

#842

A quick note to say that your script worked for me with a new install on a rebuilt computer for my son; GA-MA785GM-US2H motherboard with onboard Realtek sound and ATI HDMI. I don't have the HDMI working yet but he only uses this with headphones so that isn't a problem. The previous install was messed up by a bios setting for the hard drives of all things; it needed to be set to native ide and the install went through but a number of things were messed up. At any rate, thanks; this thread and the multimedia upgrade thread fix me up every time.

#843

Has anybody tried installing the Linux driver from the Realtek website. I have started a thread to help me with my ALC892 Codec which supports 5.1,7.1 Dolby digital. The Lucid kernel (2.6.32.xx) does not support this and reverts to Intel 2 channel only. I found that the newest kernel (2.6.33.xx) supports ALC892 natively. I tried to backport, and got the 5.1 as an option, but somehow the backport knocked out the ATI graphics driver. I tried to reinstall the same graphics driver, but no go.

I then tried the Realtek driver, and again got the 5.1 option in the drop down box. It looks about the same when clicking on the speaker icon, so maybe both routes accomplished the exact same thing.

What I was hoping to get was a GUI interface so I can have full control of output and input like under Windows. There is a host of other features that I can get under windows that I don't seem to be able to access in Ubuntu. Maybe I am not doing something correctly.

#844

after this install i can't boot into ubuntu? what the heck happened. boot in recovery mode and cpu clock times out. probably becuase something is failing to load. and it was this update that did it.

#845

v1ad said: after this install i can't boot into ubuntu? what the heck happened. boot in recovery mode and cpu clock times out. probably becuase something is failing to load. and it was this update that did it. Boot from a live CD, mount your drive/partitions, chroot to it, then sudo apt-get install --reinstall linux-image-uname -r

#846

thanks ill give it a try.

#847

v1ad said: thanks ill give it a try. You'll also need to install/reinstall any proprietary drivers before you can log in.

#848

video card?

#849

k removed the update going for round 2

#850

dont know what the script do? but after step 7, i cant open ANY file

#851

make sure every usb item is unplugged when you do the update. & also boot in recovery mode and go into console nad do the alsa -r option. to restore it.

#852

v1ad said: make sure every usb item is unplugged when you do the update. & also boot in recovery mode and go into console nad do the alsa -r option. to restore it. What options do I need to add to boot in recovery mode? (I use LILO.)

#853

Wow. So, I'm an idiot.

With a capital I.

After several more failed attempts with AlsaUpgrade, I restored my modules (via mv, apt-get) and was again left with no sound. Frustrated, I quit fiddling with it and played nethack for an hour.

Upon dying, I asked myself if playing with Sound Preferences could help. I loaded an .mp3 in VLC, set it to loop, then headed to Sound Preferences. I was prepared to try each hardware/profile combination, but checked the Output tab first.

Three options were listed, with the first being selected. No sound from there, so I selected the second. Nope, so onto the third. Nothing at first, but sound emerged a second or two later! Yay!

Next I need to see if my microphone works and if the settings persist through reboots.

I'll be doing that while meekly donning my dunce cap. :)

Thank you c-shadow for your assistance!

Steven

#854

OdinOrion said: Has anybody tried installing the Linux driver from the Realtek website. I have started a thread to help me with my ALC892 Codec which supports 5.1,7.1 Dolby digital. The Lucid kernel (2.6.32.xx) does not support this and reverts to Intel 2 channel only. I found that the newest kernel (2.6.33.xx) supports ALC892 natively. I tried to backport, and got the 5.1 as an option, but somehow the backport knocked out the ATI graphics driver. I tried to reinstall the same graphics driver, but no go.

I then tried the Realtek driver, and again got the 5.1 option in the drop down box. It looks about the same when clicking on the speaker icon, so maybe both routes accomplished the exact same thing.

What I was hoping to get was a GUI interface so I can have full control of output and input like under Windows. There is a host of other features that I can get under windows that I don't seem to be able to access in Ubuntu. Maybe I am not doing something correctly.

I have read your posts with interest as I am about to buy a new motherboard with this chipset. So I have no direct experience with it.

Firstly, you can install a shinny new 2.6.34 kernel from here http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/

However, as you have found, the ATI fglrx Radeon driver will no longer work. This is because that driver is always behind the latest kernels. The issue is whether or not you are a gamer. If you are not a gamer then you are better off with the open source driver that will load automatically. The xorg driver will give you desktop effects and video acceleration for avi and DVD. If you want fglrx for games then you are stuck back at the stock kernel.

Install all the Pulse Audio apps, in particular the device chooser and the volume control. This will give you some control over the options. Look at the profile in the hardware tab of the volume control - same app you get when you select sound card preferences from the volume control.

As for the sound control panel, I suspect you will never get that. In Ubuntu you should work through the tools provided. But I would be happy to be proved wrong. I will have a look at the links in your other posts.

Lastly, for video playback with surround sound install VLC media player. In the VLC preferences you can play with audio settings and should be able to enable surround sound output.

Finally, as sudo you should also edit /etc/pulse/daemon.conf and activate the line "default-sample-channels = 2" by removing the # at the start of the line. Then change the 2 to 6 to enable 5.1. I do not know the other numbers in my head but they are on this site in another forum. I would guess you would use 8 for 7.1

Save changes and restart.

Hopefully this will get you going.

#855

@OdinOrion

That link with the speaker control panel is the Windows version. If you try and download they only offer Windows drivers.

You are stuck with the standard Linux tools.

ps

Also install Gnome-Alsamixer, I find it a handy backup program for problem solving.

#856

grege said:

That link with the speaker control panel is the Windows version. If you try and download they only offer Windows drivers.

You are stuck with the standard Linux tools.

ps

Also install Gnome-Alsamixer, I find it a handy backup program for problem solving.

I will try those and see how they work. I will most likely report back to my original post for the ALC892.

I really thought the back port would be the way to go for the ALC892. I am not sure why it would knock out the driver in a permanent way so that a new driver can't be installed. But that is a topic for a different post

I would also like to find out if there are any differences between the back port audio and the driver download from Realtek. There didn't appear to be any differences on the surface.

#857

also this installation failed with the new kernel. 6.35 or .25 forgot already.

#858

v1ad said: also this installation failed with the new kernel. 6.35 or .25 forgot already.

logs would be helpful..

#859

Hi, I keep getting a 'connection refused error' on the output when i try to run the script with a -d flag,but the output strangely has a 'all packages downloaded ' message for its last line. I attached the log file.My synaptic works pretty well from the command line so I am guessing theres no problem with the network proxy or anything.When i try to run the script with a -i option (accidentally after executing with a -d flag) and then with the -c flag, it gives the following error:

alsa-driver-1.0.23  not found
#860

Thanks to this I got sound to work. There is one snag though. Sometimes, for whatever reason, I will have to reinstall the script (-i) whenever sound breaks when I boot into Ubuntu. I have a running suspicion that when I "restart" into the XP partition, then "restart" back into Ubuntu, it'll somehow break. Although I'm not too sure. Is there a way to make the upgrade more resistant to changes and overwrites?

#861

ill post logs as soon as i have the chance to do it again.

#862

saiganeshb said: Hi, I keep getting a 'connection refused error' on the output when i try to run the script with a -d flag, I attached the log file... My synaptic works pretty well from the command line so I am guessing theres no problem with the network proxy or anything.

You may need to manually download the files, set environment variables, and/or modify the wget statements in the script http://www.gnu.org/software/wget/manual/wget.html#Proxies

but the output strangely has a 'all packages downloaded ' message for its last line.

Yeah, the script doesn't do error-checking on the wgets, but users can see when there are issues, so we'll let soundcheck off the hook.. :-$

When i try to run the script with a -i option (accidentally after executing with a -d flag) and then with the -c flag, it gives the following error:

alsa-driver-1.0.23  not found

You tried to install without building first. Were you expecting something else?

#863

Help,

cp ../../alsa-kernel/include/ac97_codec.h . patch -p0 -i ac97_codec.patch ac97_codec.h make[4]: patch: Command not found make[4]: * [ac97_codec.h] Error 127 make[4]: Leaving directory /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/sound' make[3]: * [prepare] Error 2 make[3]: Leaving directory /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/sound' make[2]: * [prepare] Error 2 make[2]: Leaving directory /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include' make[1]: * [dep] Error 1 make[1]: Leaving directory /usr/src/Alsa-1.0.23/alsa-driver-1.0.23' make: *** [include/sndversions.h] Error 2

***************************************************************************

***************************************************************************

  • alsa-driver-1.0.23 make failed

Lucid 10.04. Mother board is Gigabyte 890GPA-UD3H with ALC892 chip. I am trying to get full function of the chip without a back port to a newer kernel. A back port works, but I loose function of the ATI proprietary drivers and must use the default open source drivers.

#864

@OdinOrion Either install patch:

sudo apt-get install patch

..and/or edit the script to only build the modules you need, i.e. change this part:

CARDS="all"
#CARDS="usb-audio,hda-intel,hdsp,hrtimer,rtctimer"

to

#CARDS="all"
CARDS="usb-audio,hda-intel,hdsp,hrtimer,rtctimer"
#865

[SIZE="6"]@soundcheck[/SIZE] Please add the patch package to the "TOOLPACKS" list to solve problem in post 863: http://ubuntuforums.org/showpost.php?p=9415314&postcount=863

#866

I ran the Alsa-upgrade program as directed, but it didn't work. It reported success at each step, but it doesn't work after several reboots. I am using a Zotac IONITX-F with an atom 330 processor and nvidia ION chipset. I am running ubuntu 10.04.

I am not getting any sound from HDMI. When I use aplay -l it finds the nvidia chipset, but then tries to load intel drivers for it. I have upgraded my nvidia drivers to the latest v256 drivers. If I try to play a file with aplay, it say something like "Unknown device - cant open file".

I can post my alsa-info-txt file if that will help.

As a sanity check, I switched the hdd to a windows XP drive and it played the HDMI sound with no problem. This shows that the problem is not in the cables or bios.

Any advice would be appreciated.

UPDATE: I am now getting noise from the speaker test and a faint tinny playback of WAV files using aplay. That is a big improvement over nothing at all, but still not quite working.

#867

Temüjin said: You may need to manually download the files, set environment variables, and/or modify the wget statements in the script http://www.gnu.org/software/wget/manual/wget.html#Proxies

Yeah, the script doesn't do error-checking on the wgets, but users can see when there are issues, so we'll let soundcheck off the hook.. :-$

You tried to install without building first. Were you expecting something else?

well my first attempt was accidentally install-build and then i tried build-install .Nevertheless, problem solved...i didn't realize it was blocked by the proxy.Tried this again at home and got it upgraded successfully. :)

I am not really familiar with this and was wondering if it was intended by the script to change my codec info from conexant 5069 to Conexant CX20585 when i try


cat /proc/asound/card0/codec*|grep "Codec"
#868

Thanks for the script. I upgraded from 8.04 to 10.04, didn't have sound, followed your instructions, had sound, a couple of weeks later, no sound anymore. When I type aplay -l I get:

aplay: device_list:235: no soundcards found...

I had sound on friday, and I also did the following on friday which I normally don't do: I have windows XP as a guest OS in VirtualBox, and the soundcard always disabled. On friday I wanted to try something out, so I enabled it. I don't know if that's got anything to do with this problem.

I can send you more info if you need it, but please please help! I need my sound!

Thanks!

Sandra.

#869

Hello! I need some help. I got an error during my compile process:


In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/drivers/dummy.c:2:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/drivers/../alsa-kernel/drivers/dummy.c:391: error: implicit declaration of function ‘hrtimer_forward_now’
make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/drivers/dummy.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/drivers] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-28-generic'
make: *** [compile] Error 2

***************************************************************************
*  alsa-driver-1.0.23 make failed
***************************************************************************

http://www.alsa-project.org/db/?f=4805d467b902bb06587645d9514b5985bdae121f

The reason why I want to do this update: With the actual driver I cannot use the HDMI output of my mainboard. I hope that this will be possible with the new alsa-driver.

Thanks.

#870

scarral said: Thanks for the script. I upgraded from 8.04 to 10.04, didn't have sound, followed your instructions, had sound, a couple of weeks later, no sound anymore. When I type aplay -l I get:

aplay: device_list:235: no soundcards found...

I had sound on friday, and I also did the following on friday which I normally don't do: I have windows XP as a guest OS in VirtualBox, and the soundcard always disabled. On friday I wanted to try something out, so I enabled it. I don't know if that's got anything to do with this problem.

I can send you more info if you need it, but please please help! I need my sound!

Thanks!

Sandra.

I'm having similar problems here. I have 10.04 on a zotax nvidia ION motherboard. I still don't have a reliable sound. I get the "no soundcards found" thing occasionally. If you reboot with "Sudo reboot" it will take a few times, but in my case, it eventually will find the hdmi sound device. I can then play a PCM WAV file with "aplay -Dplughw:0,3 ./Success.wav".

FYI, I am using the alsa upgrade with Nvidia beta drivers version 256.

I am sorry that I couldn't be of more help. I don't think your use of sound in virtualbox had anything to do with it. I think there is a serious bug in the 10.04 sound code, because a lot of people are having the same problem right now.

PS: just curious, but do you still have a little speaker icon at the top right of the screen? I lost mine when I switched to HDMI.

#871

Ok. So I did the update thingy and everything went fine. I'm on Ubuntu 10.04 and the MB is a AsRock A330ION !

I even got this when doin the aplay -l command so I thing I'm close?

** List of PLAYBACK Hardware Devices ** card 0: NVidia [HDA NVidia], device 0: VT2020 Analog [VT2020 Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 0: NVidia [HDA NVidia], device 1: VT2020 Digital [VT2020 Digital] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0

I think is's the middle one I want when using the optical output but I don't know where to go from here..

I really hope someone can help me beause a mediacenter without sound isn't really cool :D

Thank you in advance ..

Steffen

#872

Steffer said: I think is's the middle one I want when using the optical output but I don't know where to go from here..

I really hope someone can help me beause a mediacenter without sound isn't really cool :D

Thank you in advance ..

Steffen

First place to start is to make sure the digital channel isn't muted and that volumes are sufficently loud.

http://en.wikipedia.org/wiki/Alsamixer

good luck.

#873

Cheers Soundcheck.

Script worked great on a:-

HP G62 105SA Laptop

Codec: HDA Codec: Intel G45 DEVIBX

Cheers and kudos!!! Ram.

#874

I don't think I ever had such an icon on my screen. I certainly didn't have it in 8.04, and since it seems that all my screen settings were transfered as they were into 10.04, I don't see why I would have one now.

I did do something else on friday before my sound stopped working... I did a complete update! Could it be a new bug caused by the update?

Thanks!

Sandra.

#875

n4mwd said: I'm having similar problems here. I have 10.04 on a zotax nvidia ION motherboard. I still don't have a reliable sound. I get the "no soundcards found" thing occasionally. If you reboot with "Sudo reboot" it will take a few times, but in my case, it eventually will find the hdmi sound device. I can then play a PCM WAV file with "aplay -Dplughw:0,3 ./Success.wav".

FYI, I am using the alsa upgrade with Nvidia beta drivers version 256.

I am sorry that I couldn't be of more help. I don't think your use of sound in virtualbox had anything to do with it. I think there is a serious bug in the 10.04 sound code, because a lot of people are having the same problem right now.

PS: just curious, but do you still have a little speaker icon at the top right of the screen? I lost mine when I switched to HDMI.

I don't think I ever had such an icon on my screen. I certainly didn't have it in 8.04, and since it seems that all my screen settings were transfered as they were into 10.04, I don't see why I would have one now.

I did do something else on friday before my sound stopped working... I did a complete update! Could it be a new bug caused by the update?

Thanks!

Sandra.

#876

konsole said: First place to start is to make sure the digital channel isn't muted and that volumes are sufficently loud.

http://en.wikipedia.org/wiki/Alsamixer

good luck.

I installed ALSA Mixer but the problem is that it only sees the HDMI sound. What to do? :)

#877

scarral said: I don't think I ever had such an icon on my screen. I certainly didn't have it in 8.04, and since it seems that all my screen settings were transfered as they were into 10.04, I don't see why I would have one now.

I did do something else on friday before my sound stopped working... I did a complete update! Could it be a new bug caused by the update?

Thanks!

Sandra.

I've done some stuff to try to fix my sound, and I think the problem is that the module snd-hda-intel (which is I believe the one I need for my system) can't be loaded for some reason.

I type: lspci -v

and I get:

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio C ontroller (rev 01) Subsystem: Foxconn International, Inc. Device 0df7 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at fdff8000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel modules: snd-hda-intel

Note the <access denied> flag in the capabilities.

Then I type :

wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh

and brings me to a webpage with the following info:

!!################################ !!ALSA Information Script v 0.4.59 !!################################

!!Script ran on: Tue Jun 8 09:57:15 UTC 2010

!!Linux Distribution !!------------------

Ubuntu 10.04 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"

!!DMI Information !!---------------

Manufacturer: OEM Product Name: OEM

!!Kernel Information !!------------------

Kernel release: 2.6.32-22-generic-pae Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: 1.0.23 Library version: 1.0.23 Utilities version: 1.0.23

!!Loaded ALSA modules !!-------------------

!!Sound Servers on this system !!----------------------------

Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes

ESound Daemon: Installed - Yes (/usr/bin/esd) Running - No

!!Soundcards recognised by ALSA !!-----------------------------

--- no soundcards ---

!!PCI Soundcards installed in the system !!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's !!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 01) Subsystem: 105b:0df7

!!Modprobe options (Sound related) !!--------------------------------

snd-atiixp-modem: index=-2 snd-intel8x0m: index=-2 snd-via82xx-modem: index=-2 snd-usb-audio: index=-2 snd-usb-usx2y: index=-2 snd-usb-caiaq: index=-2 snd-cmipci: mpu_port=0x330 fm_port=0x388 snd-atiixp-modem: index=-2 snd-intel8x0m: index=-2 snd-via82xx-modem: index=-2 snd-usb-audio: index=-2 snd-usb-us122l: index=-2 snd-usb-usx2y: index=-2 snd-usb-caiaq: index=-2 snd-cmipci: mpu_port=0x330 fm_port=0x388 snd-pcsp: index=-2

!!Loaded sound module options !!--------------------------

!!ALSA Device nodes !!-----------------

crw-rw---- 1 root audio 116, 1 Jun 8 11:25 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Jun 8 11:25 /dev/snd/timer

!!Aplay/Arecord output !!------------

APLAY

aplay: device_list:235: no soundcards found...

ARECORD

arecord: device_list:235: no soundcards found...

!!Amixer output !!-------------

!!Alsactl output !!-------------

--startcollapse-- --endcollapse--

!!All Loaded Modules !!------------------

Module isofs udf crc_itu_t binfmt_misc vboxnetadp vboxnetflt vboxdrv snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq ppdev snd_timer snd_seq_device visor usbserial snd psmouse fbcon tileblit font bitblit softcursor parport_pc serio_raw lp soundcore intel_agp nvidia vga16fb snd_page_alloc vgastate parport agpgart usb_storage r8169 mii

!!ALSA/HDA dmesg !!------------------

[ 14.744359] Console: switching to colour frame buffer device 80x30 [ 14.779288] snd_hda_codec: disagrees about version of symbol snd_ctl_add [ 14.779292] snd_hda_codec: Unknown symbol snd_ctl_add [ 14.779464] snd_hda_codec: disagrees about version of symbol snd_card_register [ 14.779466] snd_hda_codec: Unknown symbol snd_card_register [ 14.779577] snd_hda_codec: disagrees about version of symbol snd_card_proc_new [ 14.779579] snd_hda_codec: Unknown symbol snd_card_proc_new [ 14.779730] snd_hda_codec: disagrees about version of symbol snd_add_device_sysfs_file [ 14.779733] snd_hda_codec: Unknown symbol snd_add_device_sysfs_file [ 14.779905] snd_hda_codec: disagrees about version of symbol snd_ctl_remove [ 14.779907] snd_hda_codec: Unknown symbol snd_ctl_remove [ 14.780039] snd_hda_codec: disagrees about version of symbol snd_ctl_find_id [ 14.780042] snd_hda_codec: Unknown symbol snd_ctl_find_id [ 14.780198] snd_hda_codec: disagrees about version of symbol snd_ctl_new1 [ 14.780200] snd_hda_codec: Unknown symbol snd_ctl_new1 [ 14.780364] snd_hda_codec: disagrees about version of symbol snd_component_add [ 14.780366] snd_hda_codec: Unknown symbol snd_component_add [ 14.780478] snd_hda_codec: disagrees about version of symbol snd_ctl_make_virtual_master [ 14.780481] snd_hda_codec: Unknown symbol snd_ctl_make_virtual_master [ 14.781259] snd_hda_codec: disagrees about version of symbol snd_ctl_boolean_mono_info [ 14.781262] snd_hda_codec: Unknown symbol snd_ctl_boolean_mono_info [ 14.781514] snd_hda_codec: disagrees about version of symbol snd_hwdep_new [ 14.781516] snd_hda_codec: Unknown symbol snd_hwdep_new [ 14.781951] snd_hda_codec: disagrees about version of symbol _snd_ctl_add_slave [ 14.781953] snd_hda_codec: Unknown symbol _snd_ctl_add_slave [ 14.782543] snd_hda_codec: disagrees about version of symbol snd_pcm_hw_constraint_step [ 14.782545] snd_hda_codec: Unknown symbol snd_pcm_hw_constraint_step [ 14.894147] psmouse serio1: ID: 10 00 64

Note: There are no modules listed under !!Loaded sound module options !!--------------------------

and the section called:

!!HDA-Intel Codec information !!---------------------------

does not exist (according to https://help.ubuntu.com/community/SoundTroubleshooting I should have something there)

and there are a lot of disagreements at the end listed in the dmesg file.

I try to load the module manually by typing:

sudo modprobe snd-hda-intel WARNING: All config files need .conf: /etc/modprobe.d/#alsa-base.conf#, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/blacklist-modem, it will be ignored in a future release. FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.32-22-generic-pae/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)

the dmesg file says:

[ 14.779288] snd_hda_codec: disagrees about version of symbol snd_ctl_add [ 14.779292] snd_hda_codec: Unknown symbol snd_ctl_add [ 14.779464] snd_hda_codec: disagrees about version of symbol snd_card_register [ 14.779466] snd_hda_codec: Unknown symbol snd_card_register [ 14.779577] snd_hda_codec: disagrees about version of symbol snd_card_proc_new [ 14.779579] snd_hda_codec: Unknown symbol snd_card_proc_new [ 14.779730] snd_hda_codec: disagrees about version of symbol snd_add_device_sysfs_file [ 14.779733] snd_hda_codec: Unknown symbol snd_add_device_sysfs_file [ 14.779905] snd_hda_codec: disagrees about version of symbol snd_ctl_remove [ 14.779907] snd_hda_codec: Unknown symbol snd_ctl_remove [ 14.780039] snd_hda_codec: disagrees about version of symbol snd_ctl_find_id [ 14.780042] snd_hda_codec: Unknown symbol snd_ctl_find_id [ 14.780198] snd_hda_codec: disagrees about version of symbol snd_ctl_new1 [ 14.780200] snd_hda_codec: Unknown symbol snd_ctl_new1 [ 14.780364] snd_hda_codec: disagrees about version of symbol snd_component_add [ 14.780366] snd_hda_codec: Unknown symbol snd_component_add [ 14.780478] snd_hda_codec: disagrees about version of symbol snd_ctl_make_virtual_master [ 14.780481] snd_hda_codec: Unknown symbol snd_ctl_make_virtual_master [ 14.781259] snd_hda_codec: disagrees about version of symbol snd_ctl_boolean_mono_info [ 14.781262] snd_hda_codec: Unknown symbol snd_ctl_boolean_mono_info [ 14.781514] snd_hda_codec: disagrees about version of symbol snd_hwdep_new [ 14.781516] snd_hda_codec: Unknown symbol snd_hwdep_new [ 14.781951] snd_hda_codec: disagrees about version of symbol _snd_ctl_add_slave [ 14.781953] snd_hda_codec: Unknown symbol _snd_ctl_add_slave [ 14.782543] snd_hda_codec: disagrees about version of symbol snd_pcm_hw_constraint_step [ 14.782545] snd_hda_codec: Unknown symbol snd_pcm_hw_constraint_step

So there seems to be something wrong with the module itself...

I tried adding the following line to the /etc/modprobe.d/alsa-base.conf file:

options snd-hda-intel model=auto

or

options snd-hda-intel model=min_fp

and then force reload alsa by typing:

sudo alsa force-reload

and I get: Unloading ALSA sound driver modules: snd-hwdep snd-pcm-oss snd-pcm snd-page-alloc snd-mixer-oss snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device. Loading ALSA sound driver modules: snd-hwdep snd-pcm-oss snd-pcm snd-page-alloc snd-mixer-oss snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device WARNING: All config files need .conf: /etc/modprobe.d/#alsa-base.conf#, it will be ignored in a future release.

and lots of warnings about config files needing .config at the end.

It seems like the snd-hda-intel module is not being loaded. My alsa-base.conf is:

autoloader aliases

install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7

Cause optional modules to be loaded above generic modules

install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } #

Workaround at bug #499695 (reverted in Ubuntu see LP #319505)

install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; } install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; } # install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }

Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; } install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }

Prevent abnormal drivers from grabbing index 0

options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 options snd-usb-caiaq index=-2

Ubuntu #62691, enable MPU for snd-cmipci

options snd-cmipci mpu_port=0x330 fm_port=0x388

Keep snd-pcsp from being loaded as first soundcard

options snd-pcsp index=-2 options snd-hda-intel model=auto

Should I add a line that looks like: intall snd-hda-intel somewhere in that file? Where? With what options? What else can I do to have my sound back? How can I load this snd-hda-intel module?

Any help on this matter will be greatly appreciated.

Sandra.

#878

scarral said: I've done some stuff to try to fix my sound, and I think the problem is that the module snd-hda-intel (which is I believe the one I need for my system) can't be loaded for some reason.

I type: lspci -v

and I get:

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio C ontroller (rev 01) Subsystem: Foxconn International, Inc. Device 0df7 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at fdff8000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel modules: snd-hda-intel

Note the <access denied> flag in the capabilities.

Then I type :

wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh

and brings me to a webpage with the following info:

!!################################ !!ALSA Information Script v 0.4.59 !!################################

!!Script ran on: Tue Jun 8 09:57:15 UTC 2010

!!Linux Distribution !!------------------

Ubuntu 10.04 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"

!!DMI Information !!---------------

Manufacturer: OEM Product Name: OEM

!!Kernel Information !!------------------

Kernel release: 2.6.32-22-generic-pae Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: 1.0.23 Library version: 1.0.23 Utilities version: 1.0.23

!!Loaded ALSA modules !!-------------------

!!Sound Servers on this system !!----------------------------

Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes

ESound Daemon: Installed - Yes (/usr/bin/esd) Running - No

!!Soundcards recognised by ALSA !!-----------------------------

--- no soundcards ---

!!PCI Soundcards installed in the system !!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's !!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 01) Subsystem: 105b:0df7

!!Modprobe options (Sound related) !!--------------------------------

snd-atiixp-modem: index=-2 snd-intel8x0m: index=-2 snd-via82xx-modem: index=-2 snd-usb-audio: index=-2 snd-usb-usx2y: index=-2 snd-usb-caiaq: index=-2 snd-cmipci: mpu_port=0x330 fm_port=0x388 snd-atiixp-modem: index=-2 snd-intel8x0m: index=-2 snd-via82xx-modem: index=-2 snd-usb-audio: index=-2 snd-usb-us122l: index=-2 snd-usb-usx2y: index=-2 snd-usb-caiaq: index=-2 snd-cmipci: mpu_port=0x330 fm_port=0x388 snd-pcsp: index=-2

!!Loaded sound module options !!--------------------------

!!ALSA Device nodes !!-----------------

crw-rw---- 1 root audio 116, 1 Jun 8 11:25 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Jun 8 11:25 /dev/snd/timer

!!Aplay/Arecord output !!------------

APLAY

aplay: device_list:235: no soundcards found...

ARECORD

arecord: device_list:235: no soundcards found...

!!Amixer output !!-------------

!!Alsactl output !!-------------

--startcollapse-- --endcollapse--

!!All Loaded Modules !!------------------

Module isofs udf crc_itu_t binfmt_misc vboxnetadp vboxnetflt vboxdrv snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq ppdev snd_timer snd_seq_device visor usbserial snd psmouse fbcon tileblit font bitblit softcursor parport_pc serio_raw lp soundcore intel_agp nvidia vga16fb snd_page_alloc vgastate parport agpgart usb_storage r8169 mii

!!ALSA/HDA dmesg !!------------------

[ 14.744359] Console: switching to colour frame buffer device 80x30 [ 14.779288] snd_hda_codec: disagrees about version of symbol snd_ctl_add [ 14.779292] snd_hda_codec: Unknown symbol snd_ctl_add [ 14.779464] snd_hda_codec: disagrees about version of symbol snd_card_register [ 14.779466] snd_hda_codec: Unknown symbol snd_card_register [ 14.779577] snd_hda_codec: disagrees about version of symbol snd_card_proc_new [ 14.779579] snd_hda_codec: Unknown symbol snd_card_proc_new [ 14.779730] snd_hda_codec: disagrees about version of symbol snd_add_device_sysfs_file [ 14.779733] snd_hda_codec: Unknown symbol snd_add_device_sysfs_file [ 14.779905] snd_hda_codec: disagrees about version of symbol snd_ctl_remove [ 14.779907] snd_hda_codec: Unknown symbol snd_ctl_remove [ 14.780039] snd_hda_codec: disagrees about version of symbol snd_ctl_find_id [ 14.780042] snd_hda_codec: Unknown symbol snd_ctl_find_id [ 14.780198] snd_hda_codec: disagrees about version of symbol snd_ctl_new1 [ 14.780200] snd_hda_codec: Unknown symbol snd_ctl_new1 [ 14.780364] snd_hda_codec: disagrees about version of symbol snd_component_add [ 14.780366] snd_hda_codec: Unknown symbol snd_component_add [ 14.780478] snd_hda_codec: disagrees about version of symbol snd_ctl_make_virtual_master [ 14.780481] snd_hda_codec: Unknown symbol snd_ctl_make_virtual_master [ 14.781259] snd_hda_codec: disagrees about version of symbol snd_ctl_boolean_mono_info [ 14.781262] snd_hda_codec: Unknown symbol snd_ctl_boolean_mono_info [ 14.781514] snd_hda_codec: disagrees about version of symbol snd_hwdep_new [ 14.781516] snd_hda_codec: Unknown symbol snd_hwdep_new [ 14.781951] snd_hda_codec: disagrees about version of symbol _snd_ctl_add_slave [ 14.781953] snd_hda_codec: Unknown symbol _snd_ctl_add_slave [ 14.782543] snd_hda_codec: disagrees about version of symbol snd_pcm_hw_constraint_step [ 14.782545] snd_hda_codec: Unknown symbol snd_pcm_hw_constraint_step [ 14.894147] psmouse serio1: ID: 10 00 64

Note: There are no modules listed under !!Loaded sound module options !!--------------------------

and the section called:

!!HDA-Intel Codec information !!---------------------------

does not exist (according to https://help.ubuntu.com/community/SoundTroubleshooting I should have something there)

and there are a lot of disagreements at the end listed in the dmesg file.

I try to load the module manually by typing:

sudo modprobe snd-hda-intel WARNING: All config files need .conf: /etc/modprobe.d/#alsa-base.conf#, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/blacklist-modem, it will be ignored in a future release. FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.32-22-generic-pae/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)

the dmesg file says:

[ 14.779288] snd_hda_codec: disagrees about version of symbol snd_ctl_add [ 14.779292] snd_hda_codec: Unknown symbol snd_ctl_add [ 14.779464] snd_hda_codec: disagrees about version of symbol snd_card_register [ 14.779466] snd_hda_codec: Unknown symbol snd_card_register [ 14.779577] snd_hda_codec: disagrees about version of symbol snd_card_proc_new [ 14.779579] snd_hda_codec: Unknown symbol snd_card_proc_new [ 14.779730] snd_hda_codec: disagrees about version of symbol snd_add_device_sysfs_file [ 14.779733] snd_hda_codec: Unknown symbol snd_add_device_sysfs_file [ 14.779905] snd_hda_codec: disagrees about version of symbol snd_ctl_remove [ 14.779907] snd_hda_codec: Unknown symbol snd_ctl_remove [ 14.780039] snd_hda_codec: disagrees about version of symbol snd_ctl_find_id [ 14.780042] snd_hda_codec: Unknown symbol snd_ctl_find_id [ 14.780198] snd_hda_codec: disagrees about version of symbol snd_ctl_new1 [ 14.780200] snd_hda_codec: Unknown symbol snd_ctl_new1 [ 14.780364] snd_hda_codec: disagrees about version of symbol snd_component_add [ 14.780366] snd_hda_codec: Unknown symbol snd_component_add [ 14.780478] snd_hda_codec: disagrees about version of symbol snd_ctl_make_virtual_master [ 14.780481] snd_hda_codec: Unknown symbol snd_ctl_make_virtual_master [ 14.781259] snd_hda_codec: disagrees about version of symbol snd_ctl_boolean_mono_info [ 14.781262] snd_hda_codec: Unknown symbol snd_ctl_boolean_mono_info [ 14.781514] snd_hda_codec: disagrees about version of symbol snd_hwdep_new [ 14.781516] snd_hda_codec: Unknown symbol snd_hwdep_new [ 14.781951] snd_hda_codec: disagrees about version of symbol _snd_ctl_add_slave [ 14.781953] snd_hda_codec: Unknown symbol _snd_ctl_add_slave [ 14.782543] snd_hda_codec: disagrees about version of symbol snd_pcm_hw_constraint_step [ 14.782545] snd_hda_codec: Unknown symbol snd_pcm_hw_constraint_step

So there seems to be something wrong with the module itself...

I tried adding the following line to the /etc/modprobe.d/alsa-base.conf file:

options snd-hda-intel model=auto

or

options snd-hda-intel model=min_fp

and then force reload alsa by typing:

sudo alsa force-reload

and I get: Unloading ALSA sound driver modules: snd-hwdep snd-pcm-oss snd-pcm snd-page-alloc snd-mixer-oss snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device. Loading ALSA sound driver modules: snd-hwdep snd-pcm-oss snd-pcm snd-page-alloc snd-mixer-oss snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device WARNING: All config files need .conf: /etc/modprobe.d/#alsa-base.conf#, it will be ignored in a future release.

and lots of warnings about config files needing .config at the end.

It seems like the snd-hda-intel module is not being loaded. My alsa-base.conf is:

autoloader aliases

install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7

Cause optional modules to be loaded above generic modules

install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } #

Workaround at bug #499695 (reverted in Ubuntu see LP #319505)

install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; } install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; } # install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }

Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; } install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }

Prevent abnormal drivers from grabbing index 0

options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 options snd-usb-caiaq index=-2

Ubuntu #62691, enable MPU for snd-cmipci

options snd-cmipci mpu_port=0x330 fm_port=0x388

Keep snd-pcsp from being loaded as first soundcard

options snd-pcsp index=-2 options snd-hda-intel model=auto

Should I add a line that looks like: intall snd-hda-intel somewhere in that file? Where? With what options? What else can I do to have my sound back? How can I load this snd-hda-intel module?

Any help on this matter will be greatly appreciated.

Sandra.

PARTIAL SOLUTION:

It seems that my kernel modules were updated on friday, as seen on the /boot/vmlinuz file dates (I left my office on friday with sound, I came back yesterday, and there was no sound). I have the following kernels available to boot from:

2.6.32.22-generic-pae (default) and 2.6.32.22-generic

I booted with the last one, and my sound is back. Both kernels were updated on friday, but for some reason I have sound with the the non-pae kernel and no sound with the pae. I don't mind using the non-pae kernel for the time being, but it would be nice to have sound on the pae as well.

Sandra.

#879

@scarral/Sandra, boot into the pae kernel and run the script again with -c and then -i. You should then have sound the next time you boot into it.

@Steffer: Press F6 to switch between sound cards.

@bourne84:

gksu gedit /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/drivers/dummy.c

Somewhere near line #391, you'll see:

hrtimer_forward_now(timer, dpcm->period_time);

Replace it with:

hrtimer_forward(timer, timer->base->get_time(),dpcm->period_time);

Save. Quit gedit and run the compilation (-c) step again.

#880

I only get HDA Nvidia ind ALSA mixer .. What to do? :)

#881

Does aplay -l still show the onboard audio?

#882

I get this when doin the aplay -l .. I guess its VT2020 digital that i want?

** List of PLAYBACK Hardware Devices ** card 0: NVidia [HDA NVidia], device 0: VT2020 Analog [VT2020 Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 0: NVidia [HDA NVidia], device 1: VT2020 Digital [VT2020 Digital] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0

I just cant get it to play anything in XBMC? ..

#883

@Steffer: You still have Pulseaudio installed, correct? If so, you should easily be able to set the default sound device in System -> Preferences -> Sound. If you removed pulseaudio, then you'll have to configure alsa to select the correct device by using alsaconf or manually modifying the alsa configuration files.

#884

LOL! Somehow the optical cable had come loss from the back of my receiver! I think it's working now ..

Thank you very much for your help Temüjin!

#885

@ Temüjin Thank you for your help! With your advice it was possible to compile the driver. Now ALSA detects the device as [U]device 3: NVIDIA HDMI [NVIDIA HDMI].

[/U]

#886

Hello all,

There seems to be a problem with the alsa server. Anybody know where else to get the packages?

:popcorn:

#887

Works fine for me.. but here is the download mirror list: http://www.alsa-project.org/main/index.php/Download

#888

Temüjin said: @scarral/Sandra, boot into the pae kernel and run the script again with -c and then -i. You should then have sound the next time you boot into it.

@Steffer: Press F6 to switch between sound cards.

@bourne84:

gksu gedit /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/drivers/dummy.c
hrtimer_forward_now(timer, dpcm->period_time);
hrtimer_forward(timer, timer->base->get_time(),dpcm->period_time);

Dear Temüjin,

I recompiled and reinstalled the drivers on my pae kernel, and my sound is back! Thank you soooo much!

Sandra.

#889

Hi,

I've been trying to get my Cakewalk UA-1G working in "advanced mode". I've heard some people have it working with ALSA 1.0.23.

I found this thread (script) but thought I'd install the latest ALSA with apt first using the following commands:

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
sudo apt-get install linux-alsa-driver-modules-"$(uname -r)"

I confirmed I have the newest version:

tom@heavy:~$ cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 21 2010 for kernel 2.6.32-22-generic (SMP).

But my card still doesn't work: so I'm wondering does this script install a different version of ALSA than the one I would be getting from that package with apt? (and if applicable, why?) :)

anyway maybe those instructions might help someone looking to upgrade as well.. it was found in post 17 here.

cheers,

#890

WOW :):):):)

Thanks....

It sure fixed my problem.....

Thanks....

#891

I have an Acer Aspire 7720G notebook, with a subwoofer speaker underneath. The subwoofer doesn't play any sound in Ubuntu (lucid nor karmic), and unfortunately the script doesn't fix this problem either.

It makes things even worse: after installing the upgrade, there isn't any sound in flash movies (like YouTube) in Firefox and Chromium anymore. Thankfully, applying the -r option with the script recovered my previous settings and the sound is back.

I've been searching for months to fix the subwoofer problem, but I only find other frustrated stories of people who can't get the thing working.

#892

bigsuccess said: Hi,

I've been trying to get my Cakewalk UA-1G working in "advanced mode". I've heard some people have it working with ALSA 1.0.23.

I found this thread (script) but thought I'd install the latest ALSA with apt first using the following commands:

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
sudo apt-get install linux-alsa-driver-modules-"$(uname -r)"
tom@heavy:~$ cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 21 2010 for kernel 2.6.32-22-generic (SMP).

anyway maybe those instructions might help someone looking to upgrade as well.. it was found in post 17 here.

cheers,

@bigsuccess: my UA-1G in "Advanced Mode" works perfect with ALSA 1.0.22.1. Here you can find something how to update: http://monespaceperso.org/blog-en/2009/12/17/upgrade-alsa-1-0-22-on-ubuntu-karmic-koala-9-10/

(it works fine also with 10.04)

If you find out how to get it work with 1.0.23 plz let me know!

#893

Is there a problem with the download server.. the script seems to get stuck while downloading the archives. Also it is getting stuck at different archives every time I try it. Any clue of what could be wrong?

#894

Hey, this is a really big thread so I could not go through all of it. Apologize if I am just repeating a problem.

My problem is just that even though my card is working fine, I seem to have lost sound in my earphones. Any suggestions. Thanks for all the trouble!

#895

Hi,

I've been using this script since alsa-1.0.21 successfully in hardy (8.04).

Now I have a bunch of machines where I want to upgrade the drivers, but I wouldn't like to install all teh compilers and source code in those machines.

I tried to manually check the log of what "-i" and "-t" do, back up all the files I thought were necessary and run "depmod -a" afterwards, but I didn't succeed.

Does anyone know how to get a package that I can install manually in identical machines with identical software installed?... a ".tar.gz" to open in "/" plus a bunch of commands (like "depmod" or whatever is necessary) would be fine.

#896

This script works great!

This is my HW:

  • XFX G 210 videocard GM-210X-YAF2 / GM-210X-YAF2 (the cheapest 210 i could find, 36 euros)
  • MSI MSI G31TM-P35 motherboard (again the cheapest gbit/socket 775 i could find, 42 euros)
  • E6600 , 3GHz

Before i began: In the mobo bios i switched off the onboard soundcard.

I've installed:

so far.... aplay -L should give: ** List of PLAYBACK Hardware Devices ** card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0

aplay -L should give: null Discard all samples (playback) or generate zero samples (capture) hdmi:CARD=NVidia HDA NVidia, NVIDIA HDMI HDMI Audio Output

Changes:

options snd-hda-intel enable_msi=0

  • start alsamixer and unmute all 4 spdif channels
  • added in /etc/modprobe.d/alsa-base.conf :

plughw:0,9 (or plughw:0,3 for 2ch sound or plughw:0,7 for 5.1 sound)

  • in xbmc set sound hw to 'custom' twice and enter twice:

hope this can be of help to anyone. cheers!

#897

setting the volume non-interactively

If you're tired of using alsamixer to interactively switch the *mute* off and turn up the volume amixer might help you.

I usually want to set every volume knob to 90% so I do:

IFS=$,
for CONTROL in `amixer scontrols | grep ",0$" | cut -d \' -f 2 |sed  -e "s/^/,/" | xargs | sed -e "s/^,//" -e "s/ ,/,/g"` ; do 
  echo ${CONTROL} 
  amixer sset "${CONTROL}" 90% on 
  echo "---------------------------"
done

This will work with your first (,0) card. It will yeld a few error messages on the capture devices, but that's no problem.

FWIW, I'm still looking for a way to replicate the installation part in an identical machine without installing all the alsa and kernel sources and libraries, as [post=9459335]I posted earlier[/post].

#898

First great script it fixed some sound problems I had,but now there isn't any sound in flash so if anyone could help i would appreciate it and bear in mind I`m new to linux.

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: VT82xx [HDA VIA VT82xx], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: VT82xx [HDA VIA VT82xx], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

[ATTACH]160567[/ATTACH]

#899

MrkiBaga said: ...but now there isn't any sound in flash...

Assuming you have pulseaudio, try this: http://ubuntuforums.org/showthread.php?t=1455816

#900

Temüjin said: Assuming you have pulseaudio, try this: http://ubuntuforums.org/showthread.php?t=1455816

Thanks that worked.

#901

Hi,

I always get an error, when compiling the alsa-driver-1.0.23


make -C  SUBDIRS=/usr/src/Alsa-1.0.23/alsa-driver-1.0.23  CPP="gcc -E" CC="gcc" modules
make: *** SUBDIRS=/usr/src/Alsa-1.0.23/alsa-driver-1.0.23: No such file or directory.  Schluss.
make: *** [compile] error 2

checking for GCC version... Kernel compiler:  Used compiler: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

config.status:1758: WARNING: 'Makefile.conf.in' seems to ignore the --datarootdir setting


zazi

<edit>
Btw, this only happens, when I'm using the alsa upgrade script with option '-s', but as far as I've unstand it, is this the option, which is responsible for the latest driver building.
</edit>
#902

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

cheap wholesale T-shirts

#903

Xemones said: http://www.alsa-project.org/snapshot/

Can be install t by the Alsa-update script Thank you. Im still a beginner at this but Im hopefull and will persevere if others have the patience to give a greeny some very basic pointers.

So I downloaded the package labelled under "drivers" called "alsa-driver-1.0.23.29.gcb93c.190.g9037b.tar.bz2" onto my desktop, I managed to unzip the folder (again onto my desktop) and open it in terminal (also a bit of a feat for a beginner like me!) and then typed exactly this: cd/desktop/alsa-driver-1.0.23 and I get an error message that no such file or directory exists. (Im trying to execute step 2 under the short ALSA upgrade instructions.) Im obviously doing something basic wrong but as I said, am still a newbie, so cant figure it out. Any Ideas? Thanks in advance.

#904

zazi said: Hi,

I always get an error, when compiling the alsa-driver-1.0.23


make -C  SUBDIRS=/usr/src/Alsa-1.0.23/alsa-driver-1.0.23  CPP="gcc -E" CC="gcc" modules
make: *** SUBDIRS=/usr/src/Alsa-1.0.23/alsa-driver-1.0.23: No such file or directory.  Schluss.
make: *** [compile] error 2

checking for GCC version... Kernel compiler:  Used compiler: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

config.status:1758: WARNING: 'Makefile.conf.in' seems to ignore the --datarootdir setting


zazi

<edit>
Btw, this only happens, when I'm using the alsa upgrade script with option '-s', but as far as I've unstand it, is this the option, which is responsible for the latest driver building.
</edit>

I am having the same problem as ZAZI.
#905

/usr/src/Alsa-1.0.23/alsa-driver-1.0.23: No such file or directory

It looks like the download portion of the script did not complete successfully. Try it again.

#906

Cannot execute script!

Line 76: Unexpected "(" symbol.

:confused:

Lucid 32bit /w latest updates.

#907

Temüjin said: It looks like the download portion of the script did not complete successfully. Try it again.

Still no go... The directory is there, and it has files in it. It only fails when the -s option is used... do you think they changed something on their end recently which is confusing the script?

#908

Can anyone see anything wrong with what I may be doing? I get the following error message when I open my unzipped/untarred folder on the desktop labelled "alsa-driver-10.0.23", which was extracted from the same file downloaded off the script page as a tar.bz.

Following step 4 of the quick install instructions I enter the command as follows and get the following message:

mikepanc@mikepanc-laptop:~/Desktop/alsa-driver-1.0.23$ sudo ./AlsaUpgrade-1.0.23-2.sh -d
[sudo] password for mikepanc: 
sudo: ./AlsaUpgrade-1.0.23-2.sh: command not found

I have a feeling Im just missing a character or something....

#909

azitizz said: Can anyone see anything wrong with what I may be doing? I get the following error message when I open my unzipped/untarred folder on the desktop labelled "alsa-driver-10.0.23", which was extracted from the same file downloaded off the script page as a tar.bz.

Following step 4 of the quick install instructions I enter the command as follows and get the following message:

mikepanc@mikepanc-laptop:~/Desktop/alsa-driver-1.0.23$ sudo ./AlsaUpgrade-1.0.23-2.sh -d
[sudo] password for mikepanc: 
sudo: ./AlsaUpgrade-1.0.23-2.sh: command not found

I have a feeling Im just missing a character or something....

Looks correct, did you do a ls in the directory and make sure the file AlsaUpgrade-1.0.23-2.sh is in the directory you are working in?

#910

Anybody who could help Zazi and myself with the following error would be much appreciated...

zazi said: Hi,

I always get an error, when compiling the alsa-driver-1.0.23


make -C  SUBDIRS=/usr/src/Alsa-1.0.23/alsa-driver-1.0.23  CPP="gcc -E" CC="gcc" modules
make: *** SUBDIRS=/usr/src/Alsa-1.0.23/alsa-driver-1.0.23: No such file or directory.  Schluss.
make: *** [compile] error 2

checking for GCC version... Kernel compiler:  Used compiler: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

config.status:1758: WARNING: 'Makefile.conf.in' seems to ignore the --datarootdir setting


zazi

<edit>
Btw, this only happens, when I'm using the alsa upgrade script with option '-s', but as far as I've unstand it, is this the option, which is responsible for the latest driver building.
</edit>
#911

@azitizz: Make it executable with chmod +x:

chmod +x AlsaUpgrade-1.0.23-2.sh
#912

@azitizz: Make it executable with chmod +x:

chmod +x AlsaUpgrade-1.0.23-2.sh

still getting error msg. Could it be the way in which I'm accessing the folder?

I have what appears to me to be the untarred folder on my desktop. (I also have the tarred one "alsa-driver-1.0.23.tar.bz2" assuming I downloaded the correct file?)

I then right click the "untarred" folder and "open in terminal" so it automatically opens the folder and I'm in the console, within the folder.

I tried pasting exactly as you typed into terminal getting the following:

mikepanc@mikepanc-laptop:~/Desktop/alsa-driver-1.0.23$ chmod +x AlsaUpgrade-1.0.23-2.sh
chmod: cannot access `AlsaUpgrade-1.0.23-2.sh': No such file or directory

Any suggestions? Am I missing spaces or putting an extra one where there shouldnt be ? Thank you.

#913

There's no folder in the tar file. Use the GUI to find the script file if you can't figure it out...

#914

I am getting error on compilation, stage two:

  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/format.o
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/endpoint.o
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘release_urb_ctx’:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:112: error: implicit declaration of function ‘kfree’
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘snd_usb_init_substream_urbs’:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: error: implicit declaration of function ‘kmalloc’
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: warning: assignment makes pointer from integer without a cast
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:340: warning: assignment makes pointer from integer without a cast
make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.34-bogota'
make: *** [compile] Error 2

***************************************************************************
*  alsa-driver-1.0.23 make failed
***************************************************************************


  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/format.o
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/endpoint.o
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘release_urb_ctx’:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:112: error: implicit declaration of function ‘kfree’
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c: In function ‘snd_usb_init_substream_urbs’:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: error: implicit declaration of function ‘kmalloc’
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:327: warning: assignment makes pointer from integer without a cast
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c:340: warning: assignment makes pointer from integer without a cast
make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.34-bogota'
make: *** [compile] Error 2

***************************************************************************
*  alsa-driver-1.0.23 make failed
***************************************************************************
#915

@Lockheed, I'm sure there's a good fix, but if you don't use usb audio devices, I would suggest just not compiling them for an easy workaround (i.e. modify this part of the script:

CARDS="all"
#CARDS="usb-audio,hda-intel,hdsp,hrtimer,rtctimer"

to:

#CARDS="all"
CARDS="hda-intel,hdsp,hrtimer,rtctimer"
#916

Temüjin said: There's no folder in the tar file. Use the GUI to find the script file if you can't figure it out...

Hmmm sorry Im lost already. So the tar file doesnt contain the upgrade instalation? Where would I be looking to find "AlsaUpgrade-1.0.23-2.sh" And did I even need to download the alsa drivers tar file to upgrade the script?

Thanks

#917

Hi, after messing around all day, I need to declare 'no sound'. Anybody out there - Please help!

System: Ubuntu 10.04 Lucid up-to-date Kernel: 2.6.32-22-generic Gnome 2.30.0 desktop

Hardware: Asus A8N- SLI Deluxe with onboard audio: Realtek ALC850

Advanced Linux Sound Architecture Driver Version 1.0.22.1. Compiled on Apr 29 2010 for kernel 2.6.32-22-generic (SMP).

$aplay -l ** List of PLAYBACK Hardware Devices ** card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0

There was no errors during installing alsa. All scripts worked smooth, but still no sound :-( No beep even.

yes, alsamixer has channels unmuted and at 100.

Please see attached txt for detailed information

I did try to edit alsa-base.conf: as I didn't have options snd-hda-intel index=-2 line I did try to add this and guess model number as ALC850 is not in the HD-Audio-Models.txt; so did try ALC880, auto, and basic options to define model as I had line options snd-intel8x0m index=-2 ,I was thinking that maybe I need to to modify that line, but that did not work either I did try this with pulseaudio installed and without.

Please advice Marek sorry for my English, not my native. EDIT1 It appears there was a hardware issue. When I removed front panel IO connector and used two jumpers connect the pins I finally got sound! Also I did set alsa-base conf back to default with no edits.

Anyway, I still can't get sound from mp3 files, while have system sounds and sound in you-tube....any idea why? Probaly messed up pulseaudio...? EDIT2 Issue is solved, I reinstalled the ubuntu, and everything works now. I don't know why my audio front panel 10pin plug wasn't accepted by the mobo. Can live without.

#918

Temüjin said: @Lockheed, I'm sure there's a good fix, but if you don't use usb audio devices, I would suggest just not compiling them for an easy workaround (i.e. modify this part of the script:

CARDS="all"
#CARDS="usb-audio,hda-intel,hdsp,hrtimer,rtctimer"

to:

#CARDS="all"
CARDS="hda-intel,hdsp,hrtimer,rtctimer"

Now, I am getting another error:

/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound_module_pcm_a52.la] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-plugins-1.0.23/a52'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-plugins-1.0.23'
make: *** [all] Error 2

***************************************************************************
*  alsa-plugins-1.0.23 make failed
***************************************************************************
#919

@Lockheed, I was running into the same implicit declaration of function 'kmalloc' as you were. This post provided guidance what needs to be done to fix it: http://groups.google.com/group/linux.kernel/browse_thread/thread/edd1b3f4c46a4f4b

Basically, add "#include <linux/slab.h>" to urb.c near the other includes and everything should compile.

#920

SternJason said: @Lockheed, I was running into the same implicit declaration of function 'kmalloc' as you were. This post provided guidance what needs to be done to fix it: http://groups.google.com/group/linux.kernel/browse_thread/thread/edd1b3f4c46a4f4b

Basically, add "#include <linux/slab.h>" to urb.c near the other includes and everything should compile. I am not sure I follow. You mean I should patch the kernel?

#921

Acer Aspire 7740. Works correctly. Thank you very much from Italy.

#922

Just wondering if the upgrade script is contained within the file labelled as "alsa-driver-1.0.23.tar.bz2" downloadable off the alsa website? And if so, is it named as such?

Thank you

#923

I can't get the latest alsa snapshot (June 26) to compile. Has anyone had any luck? I always get a "No such file or directory. Stop." error.

#924

pennant said: I can't get the latest alsa snapshot (June 26) to compile. Has anyone had any luck? I always get a "No such file or directory. Stop." error.

I don't think anybody has had any luck with the latest snapshot...

#925

Anyone able to help me with my problem I listed few posts ago?

#926

You dont' need this script. You can install quite new "backported" alsa-driver snapshot from offical Ubuntu archive or daily(working again)build from ppa(maintained by Ubuntu core developer). If you really need 1.23 versions of other alsa stuff you can find ppa for that. Just don't install everything from that ppa or you might get other issues.

#927

I think kj74 is the best choice for those who are also with kernel mainline ppa (2.6.35) as this script won't compile that easly on it (2.6.34 it's fine).

https://launchpad.net/~ricotz/+archive/unstable

Also this will update your PulseAudio =)

#928

Thanks for the script. It worked like a charm. I ran into trouble though but then I figured I forgot to remove pulse audio. I did that and it worked perfectly!! Keep up the good work. Thanks! Nick P.S I installed it on Hp nx6325 laptop.

#929

Question for those who installed alsa from ppa:

https://launchpad.net/~ricotz/+archive/unstable

What do you get from:

cat /proc/asound/version

Main still shows me the old version.

Running the script brings my zbox up to date...

#930

cat /proc/asound/version using the PPA seemed to give me the same version as before (1.0.21). But if I look using the Ubuntu Software Centre, then the version looks like the one mentioned on the PPA page.

How can I confirm the version reliably?

#931

/proc/asound/version is the actual version of the kernel module.

#932

Temüjin said: /proc/asound/version is the actual version of the kernel module.

This is why my sound over HDMI doesn't work.

I just wonder why

aplay --version 

shows 1.0.23

#933

k3wf3w said: I don't think anybody has had any luck with the latest snapshot...

I had the "not found" error as well. The problem is in the Makefile, which has recently changed from what was included with 1.0.23. Go to line 163, which starts like:

$(MAKE) -C $(CONFIG_SND_KERNELBUILD) ........

and change it to:

$(MAKE) -C $(CONFIG_SND_KERNELDIR) .......

leaving the rest of the line the same. I found this by comparing the Makefiles from the older and newer snapshots, and this is the only difference. Why the change I don't know, but editing the Makefile as above, ie reverting it to the older version, allows the compilation to proceed normally. I just compiled the latest snapshot and it went just fine.

Good luck!

#934

nh7o_hi said: I had the "not found" error as well. The problem is in the Makefile, which has recently changed from what was included with 1.0.23. Go to line 163, which starts like:

$(MAKE) -C $(CONFIG_SND_KERNELBUILD) ........

and change it to:

$(MAKE) -C $(CONFIG_SND_KERNELDIR) .......

leaving the rest of the line the same. I found this by comparing the Makefiles from the older and newer snapshots, and this is the only difference. Why the change I don't know, but editing the Makefile as above, ie reverting it to the older version, allows the compilation to proceed normally. I just compiled the latest snapshot and it went just fine.

Good luck!

Excellent, I sure hope this works, I will give it a try today. Thanks for the help.

#935

Yup, I can confirm the latest snapshot compiles when making the changes you suggested to the make file. Thanks again!

#936

working perfectly on a Acer 5738G with ubuntu 10.04 and 2.6.32-23-generic-pae :)

#937

Follow this tutorial step-by-step, and your sound will work 100%. It worked for me!

http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/

#938

moondoggy2 said: Follow this tutorial step-by-step, and your sound will work 100%. It worked for me!

http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/ The tutorial is just a limited version of this script. It is better to use the script if you want to compile ALSA.

#939

Hey guys,

I am trying to get this dam Sound working, I have spent about six hours on this now, I have tried:

http://forum.xbmc.org/showpost.php?p=540482&postcount=32

http://monespaceperso.org/blog-en/2010/04/17/upgrade-alsa-1-0-23-on-ubuntu-karmic-koala-9-10/

and even the version on this thread: http://ubuntuforums.org/showthread.php?p=6589810

Each of them take an average of 40mins to complete (downloading files etc etc esp the LONG way round downloads 550mb of Linux headers....)...

Each time it goes through everything and every time when I go back and do a :

cat /proc/asound/version

dvanced Linux Sound Architecture Driver Version 1.0.20it doesn't update it to 1.0.23....

I am running all the commands as sudo, its running on a writable USB stick... what else could it be :( I would really appreciate the help!

#940

what does the /tmp/Alsa_1.0.23-2_upgrade_download.log tell you?

#941

Lampi said: what does the /tmp/Alsa_1.0.23-2_upgrade_download.log tell you?

Do you want me to post this all here (its quite long) or send it directly to you? Reading through it with my VERY limited knowledge of Linux I don't see anything going wrong in the log file.....

I would appreciate the help

#942

So if I read at the end of each of the scripts I have:

***************************************************************************

***************************************************************************

  • Alsa packages sucessfully downloaded - run compilation -c next

***************************************************************************

***************************************************************************

  • Alsa packages sucessfully compiled - run installation -i next

***************************************************************************

*************************************************************************** But when I do AFTER a reboot

  • Alsa packages sucessfully installed - reboot your system now

cat /proc/asound/version The response is:

xbmc@XBMCLive:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.20. xbmc@XBMCLive:~$

However if I do a aplay --version this is what I get

xbmc@XBMCLive:/live/image/upgradescript$ aplay --version aplay: version 1.0.23 by Jaroslav Kysela <perex@perex.cz> xbmc@XBMCLive:/live/image/upgradescript$

I am not sure what else to do here.....

#943

Please do as the OP says:

To make troubleshooting over here a bit more efficient, report:

  1. Name your Ubuntu revision
  2. Kernel revision
  3. Alsa revision
  4. Upgrade script revision
  5. A bit of background what you've done resp. done before
  6. Attach the relevant logs
#944

@myxbmc: If asound tells you 1.0.20 and aplay says 1.0.23, that probably means everything installed correctly except the kernel module.

#945

Nailed it.

Thanks for your script and instructions... they are making me feel smart.

#946

I have an Asus G50V-A1 running Ubuntu 10.04, 2.6.32-23-generic. I upgraded ALSA for the most part successfully (everything indicates that 1.0.23 is installed), but I have no control over my volume from the indicator applet and the audio plays from the laptop and external speakers simultaneously. Any help would be much appreciated. Thanks.

#947

Lockheed said: I am not sure I follow. You mean I should patch the kernel?

No, just the alsa driver. For me, the full path to the file I needed to edit was /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/usb/urb.c

#948

I upgraded my OS to 10.04 on my Latitude 2100. I lost my mouse, keyboard and sound. I fixed the first two and used the script to upgrade the sound. However, the upgrade did not work, I still have no sound. From the output of alsa-info.txt, I see

!!Kernel Information !!------------------

Kernel release: 2.6.28-19-generic Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: No

!!ALSA Version !!------------

Driver version: 1.0.19_r5.11rc2 Library version: 1.0.23 Utilities version: 1.0.23 I believe the problem occurred in the compilation step, as I got several errors there. I have put the logs from each step and the output from alsa-info.sh into the attachment. Its contents are

Alsa.sh.c.log Alsa.sh.d.log Alsa.sh.i.log alsa-info.txt.xXHAMS7eMF BTW, this is the 5th time I've tried fix the sound. The script destroys files in /tmp after rebooting.

I have other hiccups which may be related. For example, when I have the AC adapter attached, it scans /dev/sda3 and hangs.

I appreciate any help.

Rufus T. Firefly "Hail, hail Freedonia, Land of the free and the brave!"

#949

Hi

I've just installed Kubuntu 10.04 on my VAIO VPCZ11C5E and followed this tuto to get the sound. Everything went fine, but still no sound :-(

attached the file from "sudo ./alsa-info.sh --no-upload"

I appreciate any help. Thanks!!

#950

Im a Peppermint Linux user with this no sound problem. Running this ALSA upgrade script got sound working thank god.

Many thanks for making this available, there is no way I would have the time, patience or knowledge to do this manually.

#951

Many thanks to the OP for this very helpful script. I had a few sound issues in 9.10, and this helped a lot. Now, i had a jack sensing problem in 10.04, and yet again, i counted on this script for help. Also, after i upgraded alsa, i had no sound and was a little worried, but i kept reading the original post and realized i had to edit my /etc/modprobe.d/alsa-base.conf file. after that, the sound was perfect. Anyway, thanks a lot for this great help.. it's helped me a lot in my switch over to linux.

#952

sleepee said: Many thanks to the OP for this very helpful script.

I had a few sound issues in 9.10, and this helped a lot. Now, i had a jack sensing problem in 10.04, and yet again, i counted on this script for help. Also, after i upgraded alsa, i had no sound and was a little worried, but i kept reading the original post and realized i had to edit my /etc/modprobe.d/alsa-base.conf file. after that, the sound was perfect. Anyway, thanks a lot for this great help.. it's helped me a lot in my switch over to linux.

Scratch all that.... i may have spoken too soon. lol!! for some reason now, i lose sound after a while. i end up having to restart to get sound back. then i lose my sound again, and it's a vicious cycle. weird....

#953

Worked for me. Thank you!

** Lista de Dispositivos PLAYBACK Hardware ** placa 0: VT82xx [HDA VIA VT82xx], dispositivo 0: VT1708B Analog [VT1708B Analog] Dispositivo secundário: 1/2 Dispositivo secundário #0: subdevice #0 Dispositivo secundário #1: subdevice #1 placa 0: VT82xx [HDA VIA VT82xx], dispositivo 1: VT1708B Digital [VT1708B Digital] Dispositivo secundário: 1/1 Dispositivo secundário #0: subdevice #0

#954

mockingbird said: Anyone know how to get rid of this message I am getting when booting up it repeats itself several times. I am also now getting Plymouth errors now when logging off.

[udevd393]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device or ATTRS{}= to match the parent device in /lib/udev/rules.d/40-alsa-firmware-loaders.rules:9

And a bunch of similar messages.

Same here. I'm pretty sure that EVERY user of 10.04 Lucid gets this message, since udev is updated while 40-alsa-firmware-loaders.rules - wasn't, match new syntax. LOL

#955

Thank you [SIZE=7]THIS[/SIZE] much!! I had a major problem with sound under Ubuntu 10.04 Netbook Edidtion on my brand new Asus Eee PC 1015P -- no sound at all. I installed some ALSA-related applications and reinstalled PulseAudio, and this made my laptop speaker work. However, my headphones were still disabled. I decided to install an ALSA audio driver from source at Realtek. I suppose I did something wrong (probably I picked the wrong driver or whatever), and my ALSA was gone. No sound driver at all, no sound card detected in any way. But after running your script ALSA came back, and detected the sound card properly. At first I still didn't hear anything. Then, I made the laptop speaker work. After that, I found the proper device from properties list to turn the headphones volume up (they had been just almost mute, playing very quietly, but I'm lucky I realized this and knew the headphones at least worked, and didn't begin doing harm again). The one minor problem left was that I had to manually switch between headphones and speakers mode at System -> Preferences -> Sound. After a little bit random messing with this menu something fit well, and everything works perfect now. GREAT THANKS! We all little-experienced users must highly appreciate what people like you do. There are not really many solutions like this among forums rubbish. Thank you again!

#956

Worked like a dream. Thanks a lot!

#957

Hello,

congratulation for this wonderful script. Just to say in addition there is some other action eventually :

general :

* start the new alsa first by deleting an existing $HOME/.asoundrc in order to be sure the standart config is OK, then a new $HOME/.asoundrc can be added.

  • sudo alsaconf in order to generate a new clean audio card config files

2.6.24 : kernel : you need to patch the alsa because hrtimer_forward_now is only available in kernel 2.6.25, otherwise the alsa will not compile

static enum hrtimer_restart dummy_hrtimer_callback(struct hrtimer *timer) { struct dummy_hrtimer_pcm *dpcm;

dpcm = container_of(timer, struct dummy_hrtimer_pcm, timer); if (!atomic_read(&dpcm->running)) return HRTIMER_NORESTART; tasklet_schedule(&dpcm->tasklet); // hrtimer_forward_now only available in kernel 2.6.25 // hrtimer_forward_now(timer, dpcm->period_time); hrtimer_forward(timer, timer->base->get_time(),dpcm->period_time); return HRTIMER_RESTART; }

#958

I'm trying to get through the alsa 1.0.23 upgrade, but the compile step fails.

***************************************************** checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ALSA... configure: error: Package requirements (alsa >= 1.0.11) were not met:

No package 'alsa' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS and ALSA_LIBS to avoid the need to call pkg-config. ********************************************************

Alsa 1.0.22 IS installed on this box.

OS is Lucid 2.6.32-23-generic

I am not good with compilation errors, Makefiles, etc. I really do not understand what this error is all about.

I know this is problem a very elementary problem I'm having, but I truely need some guidance. Please help!

Thank you.

#959

infraction

What alsa packages are installed? Check it with: $ dpkg -l '*alsa*'

#960

Output from dpkg.................

Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-====================================================== un alsa <none> (no description available) ii alsa-base 1.0.22.1+dfsg-0ubun ALSA driver configuration files ii alsa-oss 1.0.17-3 ALSA wrapper for OSS applications ii alsa-utils 1.0.22-0ubuntu5 ALSA utilities ii bluez-alsa 4.60-0ubuntu8 Bluetooth audio support ii gstreamer0.10-alsa 0.10.28-1 GStreamer plugin for ALSA ii libesd-alsa0 0.2.41-6ubuntu1 Enlightened Sound Daemon (ALSA) - transitional package un libsdl1.2debian-als <none> (no description available) ii libsox-fmt-alsa 14.3.0-1.1build1 SoX alsa format I/O library ii python-alsaaudio 0.5+svn36-1ubuntu1 Alsa bindings for Python ii xmms2-plugin-alsa 0.7DrNo-4ubuntu1 XMMS2 - ALSA output

#961

I have some packages missed in your installation. I don't know will it help, but this is my output:

ii alsa-base 1.0.22.1+dfsg-0ubuntu3 ii alsa-firmware 1.0.17-0medibuntu2.9.10.1 ii alsa-firmware-loaders 1.0.22-0ubuntu1

ii alsa-oss 1.0.17-3 ii alsa-source 1.0.22.1+dfsg-0ubuntu3 ii alsa-tools 1.0.22-0ubuntu1 ii alsa-tools-gui 1.0.22-0ubuntu1 ii alsa-utils 1.0.22-0ubuntu5 ii bluez-alsa 1:4.39-0ubuntu2 ii gstreamer0.10-alsa 0.10.28-1 ii libesd-alsa0 0.2.41-6ubuntu1

#962

aneganov,

Thank you for your reply and trying to help. Our packages match now, but compile still fails. I thought perhaps having alsa-source would help, but no luck.

Again, thank you. I will continue to try to make this work. Everyone else has no trouble. What am I doing wrong??

Best wishes to you, infraction

#963

Rufus Firefly said: I upgraded my OS to 10.04 on my Latitude 2100. I lost my mouse, keyboard and sound. I fixed the first two and used the script to upgrade the sound. However, the upgrade did not work, I still have no sound. From the output of alsa-info.txt, I see

[snip]

Near the beginning of Alsa.sh.c.log, I see

make[1]: Entering directory `/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include'

Makefile:6: ../Makefile.conf: No such file or directory make[1]: * No rule to make target ../Makefile.conf'. Stop. make[1]: Leaving directory /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include' make: * [clean] Error 1 checking for gcc... gcc However, file /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/Makefile.conf does exist. WTF?

Rufus Firefly "Hail, hail Freedonia, Land of the free and the brave!"

#964

@infraction: you need libasound2-dev installed. The script should have done it. Maybe you had Synaptic open during the download (-d) phase.

#965

Temujin -

You are wise. I did indeed have Synaptic running. Thanks to you I have a successful compile and install.

Thank you for teaching me something I won't forget!

Regards, infraction

#966

This wonderful script fixed my sounds problems!

Sony vaio VPCEB

#967

HTPC:~$ sudo sh AlsaUpgrade-1.0.23-2.sh -di AlsaUpgrade-1.0.23-2.sh: 76: Syntax error: "(" unexpected

That is what I am getting when I run the script. Any ideas?

#968

Phantisy said: HTPC:~$ sudo sh AlsaUpgrade-1.0.23-2.sh -di

AlsaUpgrade-1.0.23-2.sh: 76: Syntax error: "(" unexpected

That is what I am getting when I run the script. Any ideas?

Yes. You are using 'sh' rather than 'bash'.

You should either do:


sudo ./AlsaUpgrade-1.0.23-2.sh -di

in which case the first line of the script will inform the current shell which program to use, or


sudo bash AlsaUpgrade-1.0.23-2.sh -di

to use bash explicitly.

The old bourne sh doesn't handle arrays.

#969

Thanks got it to work now :)

#970

Hi there. I' m kind of new in this Ubuntu stuff. I just installed Ubuntu 10, and my problem is that I have a soundcard onboard (that I deactivated from BIOS) and an Audigy4 in the PCI- Slot. The problem is that the Audigy doesn' t give any sound, at all. I kind of think that alsa is automaticlly upgraded to the latest lib and all, so I can' t update it. But when i tried the terminal command to play a track, it gives me an error that is an invalid device. Please help me, I' m noob in this, and if anybody has the patience, please send me a PM with the exact steps and everything. Thank you in anticipation, have a good day y' all!

No repliess? Is the question so damn hard? Thanks a bunch, for nothing :)

http://www.ubuntugeek.com/fix-for-no-sound-sound-blaster-audigy-after-upgrading-from-ubuntu-9-04-to-9-10.html

Worked with this.

#971

Hi!

First of all thank you so much for making this script.

I run into some issues however during the installation phase:

Making all in alsaconf
make[1]: Entering directory `/usr/src/Alsa-1.0.23/alsa-utils-1.0.23/alsaconf'
Making all in po
make[2]: Entering directory `/usr/src/Alsa-1.0.23/alsa-utils-1.0.23/alsaconf/po'
mv: cannot stat `t-ja.gmo': No such file or directory
make[2]: *** [ja.gmo] Error 1
make[2]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-utils-1.0.23/alsaconf/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-utils-1.0.23/alsaconf'
make: *** [all-recursive] Error 1

***************************************************************************
*  alsa-utils-1.0.23 make failed
***************************************************************************
george@george-laptop:~/Downloads$ 

I use Kubuntu 10.04 64 bit on a Dell XPS M1330 machine. Here is the URL to my ALSA information:

http://www.alsa-project.org/db/?f=b06992a315c51f034bb2e5c7a44f7378096c2602

I greatly appreciate any kind of help concerning this issue. Thank you.

#972

Mayybe this will help:

sudo touch /usr/src/Alsa-1.0.23/alsa-utils-1.0.23/alsaconf/po/t-ja.gmo
#973

Temüjin said: Mayybe this will help:

sudo touch /usr/src/Alsa-1.0.23/alsa-utils-1.0.23/alsaconf/po/t-ja.gmo

Hi!

Thank you very much for your answer. Unfortunately I receive the same error message.

I am quite puzzled cause to me it seems something with the script could be wrong or am I mistaken?

#974

Edit the script. Find this section:

#alsa-utils need to be compiled after lib installation!!#############################################################################
header "Compiling utils..."
cd $ALSASRCDIR/$UTILS
make clean
./configure --prefix=/usr || die "$UTILS configure failed"
make || die "$UTILS make failed"
header "Installing utils..."
make install

Add --disable-nls to configure line:

./configure --prefix=/usr **--disable-nls** || die "$UTILS configure failed"

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1514

#975

Temüjin said: Edit the script. Find this section:

#alsa-utils need to be compiled after lib installation!!#############################################################################
header "Compiling utils..."
cd $ALSASRCDIR/$UTILS
make clean
./configure --prefix=/usr || die "$UTILS configure failed"
make || die "$UTILS make failed"
header "Installing utils..."
make install

Add --disable-nls to configure line:

./configure --prefix=/usr **--disable-nls** || die "$UTILS configure failed"

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1514

***************************************************************************

***************************************************************************

  • Alsa packages sucessfully installed - reboot your system now

Thank you so so much for your help! I really appreciate it. Now my sound works like charm!

Take care!

#976

Thanks a lot soundcheck! I now have HDMI audio on my M3N78-VM on an otherwise standard install of Lucid... That's been irritating me for ages.

#977

Im using Lucid on a brand new CompaqCQ42 Latop. The six months out of date ALSA does not work.

I have 2 options :

1) Butcher my system using this script. (sound does work then)

or

2) Install packages via synaptic/apt/dpkg etc.

Fortunately there are up to date packages available on Launchpad : https://launchpad.net/~ricotz/+archive/unstable

I have tested these packages & they do work. At least mere mortals can then downgrade/uninstall if problems occur.

There is a bug lodged requesting (begging, pleading) back porting of up to date ALSA in Lucid.

I won't hold my breath waiting for it though...

#978

Here is my ALSA info. http://www.alsa-project.org/db/?f=2d1ed23f65c83b3662cfa5fcc453b201fd60d68d

Could someone help me out?

What am i doing wrong here. I followed the following steps;

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.23-2.tar
  4. sudo ./AlsaUpgrade-1.0.23-2.sh -d
  5. sudo ./AlsaUpgrade-1.0.23-2.sh -c -- I get the error below..
  6. sudo ./AlsaUpgrade-1.0.23-2.sh -i
  7. sudo shutdown -r 0
err0r@gr0undzer0:~/Downloads$ sudo ./AlsaUpgrade-1.0.23-2.sh -c


**072310-19.10****Alsa-Upgrade-Script-1.0.23-2 *********************
*
* You'll be upgraded from Alsa 1.0.21. to 1.0.23
*
* Run -h option for further help and to look up the workflows
*
* Note1: Alsa won't be upgraded before you run the
*        installation option -i!! 
*        The upgrade procedure shouldn't have any effect on Alsa 
*        until then. However - see Note2
*
* Note2: Do not delete the Alsa Source Directory under /usr/src!
*        When starting the script the 2nd time with -d,
*        the Alsa source dir will be deleted automatically!
*        You won't have sound until you're done with that installation
* 
* DISCLAIMER: Use this script at your own risk. I do not take any 
*             responsibility for any problems caused by running 
*             this script. Before running this script I strongly 
*             advise you to make a backup of your system.
*             You might enter problems restoring the system to its
*             original status when running the restore function 
*             supplied by the script.  
*                            
*  
***************************************************************************


Continue to configure and compile 1.0.23 [y/n]: y


***************************************************************************
*  Alsa packages(drivers/lib/util/firmware/oss) will be compiled
***************************************************************************

***************************************************************************
*  Prepare for compilation and installation...
***************************************************************************

***************************************************************************
*  Compiling drivers...
***************************************************************************
rm -f .depend *.o snd.map*
rm -f modules/*.o modules/*.ko
make: *** include: No such file or directory.  Stop.
make: *** [clean] Error 1
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."

***************************************************************************
*  alsa-driver-1.0.23 configure failed
***************************************************************************

I tried following this guide http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel

still i have no luck on making it work. ubuntu 10.04 doesn't have /etc/modules.conf nor /etc/conf.modules

anyone help :(

#979

Hello, I am using the dreaded G210 trying to get HDMI audio out. So far I have run the script according to this thread, searched and tried every fix I can find, but still no luck. Most recently I have been trying to install 1.0.23 driver but it does not seem to stick.

After compiling the snapshot I run the install and after awile I get the message saying that install was complete and i need to reboot. After reboot my driver is still 1.0.22.1 and my .log file is not in the tmp folder. Any advice?


**** List of PLAYBACK Hardware Devices ****
card 2: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

That is the on-board sound. So its not even recognizing the Nvidia GPU as a sound card. (I have disabled the on-board with no positive effect.)

>more /etc/modprobe.d/alsa-base.conf
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2

That the last few lines of my alsa-base.conf I also made the file /etc/modprobe.d/sound.conf and added the same lines. I am not sure if that file is not depreciated, but i made it regardless.

Any help would be much apreciated!

p.s I have the option of returning this card and getting something like an ati 4350 if that will work easier.:p

#980

@syntax-error: are you sure you ran the script with -d option first? (with synaptic and/or other package managers closed)

@NWK: it sounds like you have alsa-backports-modules package installed. Remove that and run the script again. Also see: http://wiki.xbmc.org/?title=HOW-TO_set_up_HDMI_audio_on_nVidia_GeForce_G210%2C_GT220%2C_or_GT240

#981

@NWK: it sounds like you have alsa-backports-modules package installed. Remove that and run the script again. Also see: http://wiki.xbmc.org/?title=HOW-TO_set_up_HDMI_audio_on_nVidia_GeForce_G210%2C_GT220%2C_or_GT240

Thanks for the quick reply. I keep assuming the same about the backports, but when try to remove i get this:

@homeserver:~$ sudo apt-get remove linux-backports-modules-asla-'uname -r'    Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-backports-modules-asla-uname -r

I am not sure if I am suppose to use the apt-get remove command to remove that package. Thanks again

#982

Use synaptic, or spell it right if using in a command (alsa != asla)

#983

I am on Ubuntu lucid server, so no synaptic. Also I hand typed that was a typo by me in the forum. It was spelled correct in the command line.

#984

You're using apostrophes when you should use backticks (shift + ~) e.g. - uname -r

#985

Instead of all this time consuming geeking around, have you tried just installing the pre-compiled packages available here :

=====>>> https://launchpad.net/~ricotz/+archive/unstable <<<=====

#986

cg0191 said: Instead of all this time consuming geeking around, have you tried just installing the pre-compiled packages available here :

=====>>> https://launchpad.net/~ricotz/+archive/unstable <<<=====

Doesn't install the kernel module ;) Edit: to elaborate, I just tried installing and rebooting on a virtual machine and still get:

$ cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.21.
#987

@Temüjin,

I did with the -d option. I still don't have any luck makin it work. :(

is there anyway to make this work?

Do I have to try it again? doing the -d option?

#988

Ok, I have fixed my code using the backticks (that made me feel pretty dumb)It still told me there was no module but then asked me to remove a different module because it wasn't needed anymore. I have ran the snapshot upgrade 3 times, and also tryed the ricotz unstable package. All with no effect. I'm at a loss here. Here is a few print outs.

@homeserver:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
@homeserver:~$
@homeserver:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Jul 23 2010 for kernel 2.6.32-21-server (SMP).
8@homeserver:~$ sudo apt-get remove linux-backports-modules-alsa-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-backports-modules-alsa-2.6.32-21-server is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

The card I am using is a Galaxy G210 512mb. nothing shows up when I aplay -l but in the alsamixer it shows HDA Nvida but says there are no controls for it.

I just did a full fresh install of ubuntu lucid serve so I could start from scratch. I have installed current nvidia drivers, alsa, xbmc. still when I run aplay -l I does not list anything.

#989

Update: I have not gotten the pc to recognize the HDMI

@homeserver:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
  Subdevices: 1/1

only problem now is that what ever i did to make this work broke my x11. I now get x11 <defunct> as a zombie process

#990

everything seemed to work until I see this message after I started to install... should I just install said package above by cg0191?

*  alsa-utils-1.0.23 configure failed

nevermind

the whole process works and I restart my computer and still no sound... maybe there is another problem I guess

#991

I did this and it fixed my no-sound problem. However, only one application can play sound at a time. Any way to remedy this?

#992

The Switch Blade said: I did this and it fixed my no-sound problem. However, only one application can play sound at a time. Any way to remedy this?

Are you using pulseaudio?

#993

I'm re-running the script again Temüjin

#994

I was able to upgrade my ALSA to the latest version, still I don't have any sound. I'm actually lost. This is my 1st time having troubles with sound when using ubuntu.

Here's my alsa info generated from alsa-info.sh

!!################################
!!ALSA Information Script v 0.4.59
!!################################

!!Script ran on: Mon Jul 26 07:05:05 UTC 2010


!!Linux Distribution
!!------------------

Ubuntu 10.04 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name


!!Kernel Information
!!------------------

Kernel release:    2.6.32-23-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.23
Library version:    1.0.23
Utilities version:  1.0.23


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfbffc000 irq 28


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 01)
	Subsystem: 1043:82ea


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-hda-intel: index=2 model=ref


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 1,1,1,1,1,1,1,1
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1
	model : ref,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0
	single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: VIA VT1708B 8-Ch
Address: 0
Function Id: 0x1
Vendor Id: 0x1106e721
Subsystem Id: 0x104382ea
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Audio Output] wcaps 0x411: Stereo
  Device: name="VT1708B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x11 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="VT1708B Digital", type="SPDIF", device=1
  Converter: stream=8, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  PCM:
    rates [0x1e0]: 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x13 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="VT1708B Analog", type="Audio", device=0
  Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1
  Amp-In vals:  [0x14 0x14]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x17
Node 0x14 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1
  Amp-In vals:  [0x14 0x14]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x1e
Node 0x15 [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x1f0]: 32000 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x21
Node 0x16 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Control: name="Master Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Master Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Front Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Front Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="CD Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="CD Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x18, stepsize=0x06, mute=1
  Amp-In vals:  [0x18 0x18] [0x18 0x18] [0x98 0x98] [0x98 0x98] [0x98 0x98] [0x80 0x80]
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 6
     0x10 0x1f 0x1a 0x1b 0x1e 0x25
Node 0x17 [Audio Selector] wcaps 0x300501: Stereo
  Control: name="Input Source", index=0, device=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 5
     0x16 0x1f 0x1a 0x1b* 0x1e
Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x11
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x18
Node 0x1a [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Smart 5.1", index=0, device=0
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x01a19036: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x6
  Pin-ctls: 0x41: OUT VREF_50
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x26
Node 0x1b [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Independent HP", index=0, device=0
  Control: name="Smart 5.1", index=0, device=0
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x0181303e: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x3, Sequence = 0xe
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x18
Node 0x1c [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x16
Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Independent HP", index=0, device=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=05, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 2
     0x16 0x25*
Node 0x1e [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Smart 5.1", index=0, device=0
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x02a19038: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x8
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x27
Node 0x1f [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x90370137: [Fixed] CD at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x7
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x20 [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x074311f0: [Jack] SPDIF Out at Ext Rear Panel
    Conn = ATAPI, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x21 [Pin Complex] wcaps 0x400601: Stereo Digital
  Pincap 0x00010030: IN OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x47c421f0: [N/A] SPDIF In at Ext Rear Panel
    Conn = RCA, Color = Grey
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x22 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x26
Node 0x23 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x27
Node 0x24 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x25 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x26 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x24
Node 0x27 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x25
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----  1 root audio 116,  0 Jul 26 14:39 /dev/snd/controlC0
crw-rw----  1 root audio 116,  4 Jul 26 14:39 /dev/snd/hwC0D0
crw-rw----  1 root audio 116, 24 Jul 26 14:44 /dev/snd/pcmC0D0c
crw-rw----  1 root audio 116, 16 Jul 26 15:00 /dev/snd/pcmC0D0p
crw-rw----  1 root audio 116, 17 Jul 26 14:44 /dev/snd/pcmC0D1p
crw-rw----  1 root audio 116,  1 Jul 26 14:39 /dev/snd/seq
crw-rw----  1 root audio 116, 33 Jul 26 14:39 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Jul 26 14:39 .
drwxr-xr-x 3 root root 200 Jul 26 14:39 ..
lrwxrwxrwx 1 root root  12 Jul 26 14:39 pci-0000:00:1b.0 -> ../controlC0


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1708B Digital [VT1708B Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xfbffc000 irq 28'
  Mixer name	: 'VIA VT1708B 8-Ch'
  Components	: 'HDA:1106e721,104382ea,00100100'
  Controls      : 35
  Simple ctrls  : 19
Simple mixer control 'Master Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [on]
  Front Right: Playback 24 [100%] [1.75dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [off]
  Front Right: Playback 24 [100%] [1.75dB] [off]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 27
  Mono: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 27
  Mono: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [off]
  Front Right: Playback 24 [100%] [1.75dB] [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [on]
  Front Right: Playback 24 [100%] [1.75dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [off]
  Front Right: Playback 24 [100%] [1.75dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 20
  Front Left: Capture 20 [100%] [35.00dB] [on]
  Front Right: Capture 20 [100%] [35.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 20
  Front Left: Capture 20 [100%] [35.00dB] [on]
  Front Right: Capture 20 [100%] [35.00dB] [on]
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'OFF' 'ON'
  Item0: 'ON'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Stereo Mixer' 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Line'
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!-------------

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 24'
		comment.dbmin -4025
		comment.dbmax 175
		iface MIXER
		name 'Master Front Playback Volume'
		value.0 24
		value.1 24
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Master Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 27'
		comment.dbmin -4725
		comment.dbmax 0
		iface MIXER
		name 'Front Playback Volume'
		value.0 27
		value.1 27
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 27'
		comment.dbmin -4725
		comment.dbmax 0
		iface MIXER
		name 'Surround Playback Volume'
		value.0 27
		value.1 27
	}
	control.6 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
	}
	control.7 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 27'
		comment.dbmin -4725
		comment.dbmax 0
		iface MIXER
		name 'Center Playback Volume'
		value 27
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 27'
		comment.dbmin -4725
		comment.dbmax 0
		iface MIXER
		name 'LFE Playback Volume'
		value 27
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Center Playback Switch'
		value true
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'LFE Playback Switch'
		value true
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 27'
		comment.dbmin -4725
		comment.dbmax 0
		iface MIXER
		name 'Side Playback Volume'
		value.0 27
		value.1 27
	}
	control.12 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
	}
	control.13 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 27'
		comment.dbmin -4725
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 27
		value.1 27
	}
	control.14 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.15 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 24'
		comment.dbmin -4025
		comment.dbmax 175
		iface MIXER
		name 'Mic Playback Volume'
		value.0 24
		value.1 24
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 24'
		comment.dbmin -4025
		comment.dbmax 175
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 24
		value.1 24
	}
	control.18 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 false
		value.1 false
	}
	control.19 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 24'
		comment.dbmin -4025
		comment.dbmax 175
		iface MIXER
		name 'Line Playback Volume'
		value.0 24
		value.1 24
	}
	control.20 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
	}
	control.21 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 24'
		comment.dbmin -4025
		comment.dbmax 175
		iface MIXER
		name 'CD Playback Volume'
		value.0 24
		value.1 24
	}
	control.22 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'CD Playback Switch'
		value.0 true
		value.1 true
	}
	control.23 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 OFF
		comment.item.1 ON
		iface MIXER
		name 'Independent HP'
		value ON
	}
	control.24 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Smart 5.1'
		value true
	}
	control.25 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 20'
		comment.dbmin 0
		comment.dbmax 3500
		iface MIXER
		name 'Capture Volume'
		value.0 20
		value.1 20
	}
	control.26 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.27 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 20'
		comment.dbmin 0
		comment.dbmax 3500
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 20
		value.1 20
	}
	control.28 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 true
		value.1 true
	}
	control.29 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Stereo Mixer'
		comment.item.1 Mic
		comment.item.2 'Front Mic'
		comment.item.3 Line
		comment.item.4 CD
		iface MIXER
		name 'Input Source'
		value Line
	}
	control.30 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.31 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.32 {
		comment.access 'read write locked'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0482000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.33 {
		comment.access 'read write locked'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.34 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.35 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
nls_iso8859_1
nls_cp437
vfat
fat
usb_storage
binfmt_misc
vboxnetadp
vboxnetflt
vboxdrv
snd_hda_codec_via
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
asus_atk0110
psmouse
serio_raw
nvidia
intel_agp
agpgart
snd_seq_device
fbcon
tileblit
font
bitblit
softcursor
vga16fb
vgastate
snd
ppdev
soundcore
snd_page_alloc
parport_pc
lp
parport
r8169
mii


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x19 0x01011012
0x1a 0x01a19036
0x1b 0x0181303e
0x1c 0x01014010
0x1d 0x0221401f
0x1e 0x02a19038
0x1f 0x90370137
0x20 0x074311f0
0x21 0x47c421f0
0x22 0x01016011
0x23 0x01012014

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:


!!ALSA/HDA dmesg
!!------------------

[    5.959087] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
[    6.729094] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    6.729134]   alloc irq_desc for 28 on node -1
[    6.729136]   alloc kstat_irqs on node -1
[    6.729147] HDA Intel 0000:00:1b.0: irq 28 for MSI/MSI-X
[    6.729171] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    8.105496] EXT4-fs (sda1): mounted filesystem with ordered data mode


If you need anything about the information about my box please let me know, I need to make the audio work from both host and guest OS. I have windows xp as the guest OS, and Ubuntu 10.04 as host.

#995

Temüjin said: Are you using pulseaudio?

I believe so.

#996

Temüjin said: Doesn't install the kernel module ;)

Edit: to elaborate, I just tried installing and rebooting on a virtual machine and still get:

$ cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.21.

Intersting, on a clean install of of Lucid after installing the updated .deb packages via Synaptic from the above repo i get :

Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jul  6 2010 for kernel 2.6.32-24-generic-pae (SMP).

One assumes you are using the correct kernel? Cant speak for problems under a VM...

#997

The Switch Blade said: I believe so.

@SwitchBlade: see http://ubuntuforums.org/showthread.php?t=1455816

@cg0191: I'm using the stock kernel, may investigate more when I have time/inclination

@syntax-error: I don't see anything obviously wrong with your alsa-info (but I'm not an expert). Try the snapshot (-s) build to see if the issue has been resolved upstream, and if that doesn't help, you probably should post to the alsa-dev list as the OP suggests

#998

Worked like a charm :) got my built in mic on my toshiba satellite to work!

#999

One quick update.

I reinstalled everything from scratch (ubuntu 10.04) guess what! I have sound! but, after i restart it goes away. Well after 3 installations I ended up not restarting nor installing anything and started to give you this update.

root@gr0undzer0:~# uname -a

Linux gr0undzer0 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

root@gr0undzer0:~# aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 1/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1708B Digital [VT1708B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@gr0undzer0:~# dpkg -l | grep "alsa"

ii  alsa-base                            1.0.22.1+dfsg-0ubuntu3                          ALSA driver configuration files
ii  alsa-utils                           1.0.22-0ubuntu5                                 ALSA utilities
ii  bluez-alsa                           4.60-0ubuntu8                                   Bluetooth audio support
ii  gstreamer0.10-alsa                   0.10.28-1                                       GStreamer plugin for ALSA

root@gr0undzer0:~# head -n 1 /proc/asound/card*/codec#*

Codec: VIA VT1708B 8-Ch

Here is the alsa info of my box http://www.alsa-project.org/db/?f=8b8e2d4ae073c3ae7c66ab23108ddde580846ac5

Could somebody help? I mean how come the sound goes away after I restart? Well I thought that the nvidia driver was causing it but then it should not affect the audio right. audio -- graphics two different things.

During the installation by the way, Audio is also ok, I mean if you do a backspace on an empty textbox during the phase where you are suppose to enter your username I hear a sound.

#1000

Thank you!

Headphones works! Microphone works!

Uraaa!!!

[COLOR="Red"]# Asus Eee PC 1015PE[/COLOR]

#1001

Thanks soundcheck! I joined this forum just so I could download your script, although I will stick around for other things.

It worked great after I changed the script so it downloaded the ALSA sources from a mirror rather than the official site (ftp://ftp.alsa-project.org was unavailable for some reason, but http://alsa.cybermirror.org/ worked fine. More mirrors here if others have the same problem.)

#1002

Anyone? :(

Its the same with ubuntu 9.10!

Fresh install has audio, after you restart it goes away for no apparent reason.

#1003

Oh you are great man :D Love you!! I didn't have to edit the sudo gedit /etc/modprobe.d/alsa-base.conf , it worked right after I rebooted. And guess what? the plugged in mic never used to work, it works now.

Users like you make ubuntu awesome.

God bless you :D I will spread the word about this post.

btw, I had some problem downloading the ftp files at different times. at one time, i received even an EOF error. I am sorry for not keeping the log ^_^!

But if possible, please include the option of skipping the files already downloaded via ftp / downloading the files manually and then pasting them in required folder.

Again, thanks :D

Edit: My hardware configurations are:

[FONT=inherit] command1:[/FONT] [FONT=inherit]cat /proc/asound/version [/FONT] [FONT=inherit] [/FONT] [FONT=inherit]output: [/FONT]> Advanced Linux Sound Architecture Driver Version 1.0.23. Compiled on Jul 29 2010 for kernel 2.6.32-24-generic (SMP). [FONT=inherit] [/FONT] [FONT=inherit]command2:$ aplay -l [/FONT]> [FONT=inherit]** List of PLAYBACK Hardware Devices ** card 0: Intel [HDA Intel], device 0: ALC271X Analog [ALC271X Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC271X Digital [ALC271X Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 7: INTEL HDMI 1 [INTEL HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0[/FONT]

and at the last line of alsa-base.conf, it is options snd-pcsp index=-2

I use acer aspire 4745 (not 4745g)

#1004

Rufus Firefly said: I upgraded my OS to 10.04 on my Latitude 2100. I lost my mouse, keyboard and sound. I fixed the first two and used the script to upgrade the sound. However, the upgrade did not work, I still have no sound.

I solved my problem by installing GRUB2, using a newer kernel and reinstalling ALSA.

Rufus T. Firefly "Hail, hail Freedonia, Land of the free and the brave!"

#1005

Dell Inspiron 11Z, xubuntu lucid. I don't have audio when connecting to hdtv. it worked on karmic - I used to have 'hdmi output' option somewhere in the sound settings.

I upgraded alsa according to the script and it still not working. I was not sure what to do with the config file and the rest of the guide..

here is some info - uname -a

Linux yuka-laptop 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010 i686 GNU/Linux

aplay -l ``` List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0


dpkg -l | grep "alsa"

ii alsa-base 1.0.22.1+dfsg-0ubuntu3 ALSA driver configuration files ii alsa-firmware-loaders 1.0.22-0ubuntu1 ALSA software loaders for specific hardware ii alsa-oss 1.0.17-3 ALSA wrapper for OSS applications ii alsa-source 1.0.22.1+dfsg-0ubuntu3 ALSA driver sources ii alsa-tools 1.0.22-0ubuntu1 Console based ALSA utilities for specific hardware ii alsa-tools-gui 1.0.22-0ubuntu1 GUI based ALSA utilities for specific hardware ii alsa-utils 1.0.22-0ubuntu5 ALSA utilities ii bluez-alsa 4.60-0ubuntu8 Bluetooth audio support ii gstreamer0.10-alsa 0.10.28-1 GStreamer plugin for ALSA ii libsdl1.2debian-alsa 1.2.14-4ubuntu1.1 Simple DirectMedia Layer (with X11 and ALSA options) ii libsox-fmt-alsa 14.3.0-1.1build1 SoX alsa format I/O library


head -n 1 /proc/asound/card*/codec#*

==> /proc/asound/card0/codec#0 <== Codec: Realtek ALC272

==> /proc/asound/card0/codec#2 <== Codec: Intel G45 DEVCTG


thanks!
#1006

^Your alsa still shows 1.0.22, so the script didn't work. Make sure you don't have alsa backports installed, and make sure synaptic or other package managers aren't open when you run the script.

Start again from the beginning (-d, -c, -i)

#1007

Temüjin said: ^Your alsa still shows 1.0.22, so the script didn't work. Make sure you don't have alsa backports installed, and make sure synaptic or other package managers aren't open when you run the script.

Start again from the beginning (-d, -c, -i)

are you sure? cat /proc/asound/version showing this:

Advanced Linux Sound Architecture Driver Version 1.0.23.                                     
Compiled on Jul 31 2010 for kernel 2.6.32-24-generic (SMP). 

should I try purging alsa and run the 3 steps again?

#1008

Oh, sorry. Those are the package versions. EDIT: Can you play audio directly to the HDMI device using aplay?

#1009

Ran the script and now there is no /proc/asound directory. aplay -l gives

aplay: device_list:223: no soundcards found...

alsa-info.txt file is attached.

When I open my sound settings, no hardware or outputs are shown.

Running Ubuntu 10.4 (64 bit).

Before running the scripts the sound worked pretty well.

The log file is too large to attach.

dpkg -l | grep "alsa" ii alsa-base 1.0.22.1+dfsg-0ubuntu3 ALSA driver configuration files ii alsa-firmware-loaders 1.0.22-0ubuntu1 ALSA software loaders for specific hardware ii alsa-oss 1.0.17-3 ALSA wrapper for OSS applications ii alsa-source 1.0.22.1+dfsg-0ubuntu3 ALSA driver sources ii alsa-tools 1.0.22-0ubuntu1 Console based ALSA utilities for specific ha ii alsa-tools-gui 1.0.22-0ubuntu1 GUI based ALSA utilities for specific hardwa ii alsa-utils 1.0.22-0ubuntu5 ALSA utilities ii alsamixergui 0.9.0rc2-1-9 graphical soundcard mixer for ALSA soundcard ii alsaplayer-alsa 0.99.80-5 PCM player designed for ALSA (ALSA output mo ii alsaplayer-common 0.99.80-5 PCM player designed for ALSA (common files) ii alsaplayer-gtk 0.99.80-5 PCM player designed for ALSA (GTK+ version) ii bluez-alsa 4.60-0ubuntu8 Bluetooth audio support ii gstreamer0.10-alsa 0.10.28-1 GStreamer plugin for ALSA ii libesd-alsa0 0.2.41-6ubuntu1 Enlightened Sound Daemon (ALSA) - transition rc libsdl1.2debian-alsa 1.2.13-4ubuntu4 Simple DirectMedia Layer (with X11 and ALSA ii libsox-fmt-alsa 14.3.0-1.1build1 SoX alsa format I/O library

Gave up and used the -r option to restore. Still don't know what happened.

#1010

Temüjin said: Oh, sorry. Those are the package versions.

EDIT: Can you play audio directly to the HDMI device using aplay?

I can hear it, but it's coming from my laptop, not the TV. (which was the case even before installing the recent alsa)

aplay /usr/share/skype/sounds/CallConnecting.wav

Playing WAVE '/usr/share/skype/sounds/CallConnecting.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono

i tried -D=hdmi but it didn't work. not sure if this is the correct approach.

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC272 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC272 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC272 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC272 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC272 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC272 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC272 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
    HDA Intel, INTEL HDMI 0
    HDMI Audio Output
#1011

i tried -D=hdmi but it didn't work.

Elaborate. Terminal output?

#1012

Temüjin said: Elaborate. Terminal output?

aplay -D=hdmi /usr/share/skype/sounds/CallConnecting.wav

ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM =hdmi
aplay: main:654: audio open error: No such file or directory
#1013

Here I go again, well someone might bump in and help.. I'm really lost. I badly need audio to work.

Fresh install -- I have audio. after the First reboot, audio goes away. Literally none.

Let me know if you wanna see anything else from the configs that could help.

:(

root@gr0undz3r0:~# aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1708B Digital [VT1708B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@gr0undz3r0:~# aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, VT1708B Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, VT1708B Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, VT1708B Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, VT1708B Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, VT1708B Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, VT1708B Analog
    5.1 Surround output to Front, Center, Rear and Suroot@gr0undz3r0:~# tail -5 /etc/modprobe.d/alsa-base.conf 
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
options snd-hda-intel model=auto
bwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, VT1708B Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, VT1708B Digital
    IEC958 (S/PDIF) Digital Audio Output

root@gr0undz3r0:~# head -n 1 /proc/asound/card*/codec#*

Codec: VIA VT1708B 8-Ch

root@gr0undz3r0:~# tail -5 /etc/modprobe.d/alsa-base.conf

# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
options snd-hda-intel model=auto

Alsa info output. http://www.alsa-project.org/db/?f=5a91ee0191d3fef0675b35df2b56fc2b3d965ca4

!!################################
!!ALSA Information Script v 0.4.59
!!################################

!!Script ran on: Tue Aug  3 09:16:40 UTC 2010


!!Linux Distribution
!!------------------

Ubuntu 10.04.1 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name


!!Kernel Information
!!------------------

Kernel release:    2.6.32-24-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.22.1
Library version:    1.0.23
Utilities version:  1.0.23


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfbffc000 irq 28


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
#1014
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Aug  2 2010 for kernel 2.6.31-22-generic-pae (SMP).

aplay: version 1.0.23 by Jaroslav Kysela <perex@perex.cz>

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 7: INTEL HDMI 1 [INTEL HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

HDA Intel, ALC892 Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, ALC892 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, ALC892 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, ALC892 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, ALC892 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, ALC892 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0 HDA Intel, ALC892 Digital IEC958 (S/PDIF) Digital Audio Output hdmi:CARD=Intel,DEV=0 HDA Intel, INTEL HDMI 0 HDMI Audio Output

Codec: Intel G45 DEVIBX
Address: 3
Function Id: 0x1
Vendor Id: 0x80862804
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:      
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Device: name="INTEL HDMI 0", type="HDMI", device=3
  Converter: stream=8, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Device: name="INTEL HDMI 1", type="HDMI", device=7
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3
  Power: setting=D0, actual=D0

When I went into the .conf file I noticed that...

options snd-hda-intel index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2

I tried leaving out the model and trying it with the new "options snd-hda-intel index=-2" line but then I got an "Audio Failed to Initialize" error (it at least worked for stereo before).

Also, after adding "options snd-hda-intel index=-2" I got this error when typing aplay.

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_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:4154:(_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:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hdmi
aplay: main:654: audio open error: No such file or directory

Also, ever since adding the "options snd-hda-intel index=-2" line and removing it I get an...

aplay: main:654: audio open error: Device or resource busy

Any suggestions on any of the above?

#1015

Hi

After upgrading to version 1.0.23. on my laptop all was well until I plugged my logitech USB headphones/mic in. The computer froze instantly, nothing worked, so I had to turn it off by force :( not a nice procedure when running a linux filesystem as you know. I booted with a live CD and then everything worked fine, I've also tried headphones in the normal headphone jack and that has no concequenses. This problem did not excist before the upgrade so I was wandering if anyone else has had the same problem. I've tried googling but found nothing. All help is very much apreciated :D

#1016

bjarkih said: Hi

After upgrading to version 1.0.23. on my laptop all was well until I plugged my logitech USB headphones/mic in. The computer froze instantly, nothing worked, so I had to turn it off by force :( not a nice procedure when running a linux filesystem as you know. I booted with a live CD and then everything worked fine, I've also tried headphones in the normal headphone jack and that has no concequenses. This problem did not excist before the upgrade so I was wandering if anyone else has had the same problem. I've tried googling but found nothing. All help is very much apreciated :D

Well, I don't know the solution to your problem, but please take into account that *USB headphones/mic* is actually a USB sound card with headphones/mic attached to it. It is by no means the same thing as *headphones in the normal headphone jack*.

If you were able to use the USB headphones with the ALSA drivers in the standard ubuntu package, maybe you didn't include support for tha particular sound card when you configured the script (although, IIRC, the default setting in the script is to include support for all known cards).

What I'd try to do in your place is:

  • uninstall the upgrade (restore the original alsa and kernel packages).
  • reboot (to enable the original drivers)
  • plug in the USB headphones and verify that they work OK
  • with the USB headphones plugged in, check which sound card it uses. In a terminal type:
cat /proc/asound/cards

The last entry is probably your USB sound card.

  • re-run the ALSA upgrade script with the USB headphones plugged-in all them time.

If this doesn't work, posting here which sound card is in the USB headphones, may help other people help you.

Regards.

#1017

I resolved the audio issues.

Resolution, removed ALSA and pulseaudio. I installed OSS4 instead.

#1018

Thank you so much!!!

I was going nuts around my Compaq Mini Netbook

You're a life saver

:)

#1019

el_baby said: Well, I don't know the solution to your problem, but please take into account that *USB headphones/mic* is actually a USB sound card with headphones/mic attached to it. It is by no means the same thing as *headphones in the normal headphone jack*.

If you were able to use the USB headphones with the ALSA drivers in the standard ubuntu package, maybe you didn't include support for tha particular sound card when you configured the script (although, IIRC, the default setting in the script is to include support for all known cards).

What I'd try to do in your place is:

  • uninstall the upgrade (restore the original alsa and kernel packages).
  • reboot (to enable the original drivers)
  • plug in the USB headphones and verify that they work OK
  • with the USB headphones plugged in, check which sound card it uses. In a terminal type:
cat /proc/asound/cards

  • re-run the ALSA upgrade script with the USB headphones plugged-in all them time.

If this doesn't work, posting here which sound card is in the USB headphones, may help other people help you.

Regards.

Could you please tell me what packages to reinstall? When I reinstall those that I can think of I still get version 1.0.23. when I run 1.0.23.

#1020

Thank you so much for doing the script. My sound is working again after I lost it somehow this morning(probably as a result of various attempts of troubleshooting my strange mic output)

#1021

hello, I'm using backtrack Linux bt 2.6.30.9 my sound did not work on my 17' MacBook Pro (4,1) after install, so i found your update and tried it.. I got to the -c part and got an error... any ideas? thanks! I typed... root@bt:~# ./AlsaUpgrade-1.0.23-2.sh -c 080510-20.24Alsa-Upgrade-Script-1.0.23-2 ******************* * * You'll be upgraded from Alsa 1.0.20. to 1.0.23 * * Run -h option for further help and to look up the workflows * * Note1: Alsa won't be upgraded before you run the * installation option -i!! * The upgrade procedure shouldn't have any effect on Alsa * until then. However - see Note2 * * Note2: Do not delete the Alsa Source Directory under /usr/src! * When starting the script the 2nd time with -d, * the Alsa source dir will be deleted automatically! * You won't have sound until you're done with that installation * * DISCLAIMER: Use this script at your own risk. I do not take any * responsibility for any problems caused by running * this script. Before running this script I strongly * advise you to make a backup of your system. * You might enter problems restoring the system to its * original status when running the restore function * supplied by the script. * * ************************************************************************* Continue to configure and compile 1.0.23 [y/n]: y ************************************************************************* * Alsa packages(drivers/lib/util/firmware/oss) will be compiled ************************************************************************* ************************************************************************* * Prepare for compilation and installation... ************************************************************************* ************************************************************************* * Compiling drivers... *************************************************************************** rm -f .depend *.o snd.map* rm -f modules/*.o modules/*.ko make[1]: Entering directory /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include' Makefile:6: ../Makefile.conf: No such file or directory make[1]: * No rule to make target ../Makefile.conf'. Stop. make[1]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include' make: * [clean] Error 1 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/src/Alsa-1.0.23/alsa-driver-1.0.23 checking cross compile... checking for directory with ALSA kernel sources... ../alsa-kmirror checking for directory with kernel source... Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.30.9/build). *************************************************************************** * alsa-driver-1.0.23 configure failed

#1022

Acer Aspire 4745 snd-hda-intel

well, i upgraded to ubuntu kerner 2.6.32-24 generic today. And guess what? It switched to Dummy Output after I rebooted.

When I used aplay -l , it gave me a no sound card error. Again, when i tried to use the alsamixer command, it showed error as well.

thanks to your awesome script, I simply used the sudo ./AlsaUpgrade-1.0.23-2.sh -i

Command, rebooted and the sound was back on line :D

In case anyone needs, aplay-l gives :

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC271X Analog [ALC271X Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC271X Digital [ALC271X Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 7: INTEL HDMI 1 [INTEL HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L gives

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC271X Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC271X Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC271X Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC271X Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC271X Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC271X Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC271X Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC271X Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
    HDA Intel, INTEL HDMI 0
    HDMI Audio Output

Once again, thanks for this script :)

#1023

Question: Do we have to recompile/reinstall everytime a new kernel is installed?

PS: Thanks for the great script, really saves time.

#1024

I am still having issues with ALC882, Pulseaudio and Lucid in this thread if anyone can help shine any light on it please - http://ubuntuforums.org/showthread.php?p=9698935#post9698935

#1025

I am in serious trouble.

The sound suddenly switched to dummy output again. When I tried

aplay -l it said aplay: device_list:235: no soundcards found..

So.. i tried using the AlsaupgradeScript.sh using the -c switch, which gave me a rm -f .depend *.o snd.map* rm -f modules/*.o modules/*.ko make: * include: No such file or directory. Stop. make: * [clean] Error 1 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."

So, I went through the helps available in internet, when i used this:

cat /proc/asound/version cat: /proc/asound/version: No such file or directory

I realized that I don't have any asound folder inside /proc

I am using acer aspire 4745

here is my Alsa Information Script Link

http://www.alsa-project.org/db/?f=3c3d09baabe60fdabb93caea99f5651508a88975

Can someone please help?

#1026

Alright. I am confused.

The sound is back. But i am not sure what made it come back. I did 3 things.

  1. I edited /etc/modprobe.d/alsa-base.conf and added options snd-hda-intel model=auto
  2. I reverted the latest Alsa Installation, using sudo ./AlsaUpgrade-1.0.23-2.sh -r
  3. I rebooted plugging out the headphone from the headphone-in port.

Now I can only listen to sounds using the internal speakers. And when I plugin the headphone, it neither speaker nor headphone works.

BTW, now the aplay -l gives


aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC259 Digital [ALC259 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 7: INTEL HDMI 1 [INTEL HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Aug 10 2010 for kernel 2.6.32-24-generic (SMP).

I tried to reinstall the latest Alsa Files again.... I simply invoked the sudo ./AlsaUpgrade-1.0.23-2.sh -c and it said

rm -f .depend *.o snd.map* rm -f modules/*.o modules/*.ko make: * include: No such file or directory. Stop. make: * [clean] Error 1 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib configure: error: cannot find install-sh or install.sh in "." "./.." "./../.." Oh well... guess I have to remove the directory and then download everything again. >.<

#1027

I am a little bit confused.

After trying for a couple of times, I gave up and reinstalled ubuntu. Formatting the partition at first.

Then, when I checked aplay -l , it showed i was using alc269 . Then, after I used the upgrade script, it showed me that I was using alc271X .

before alsa-info output:



upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.58
!!################################

!!Script ran on: Wed Aug 11 10:47:12 UTC 2010


!!Linux Distribution
!!------------------

Ubuntu 10.04 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"


!!DMI Information
!!---------------

Manufacturer:      Acer
Product Name:      Aspire 4745


!!Kernel Information
!!------------------

Kernel release:    2.6.32-21-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.21
Library version:    1.0.22
Utilities version:  1.0.22


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x94400000 irq 22


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:3b56 (rev 05)
    Subsystem: 1025:0357


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
    bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    enable_msi : 0
    id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
    patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
    position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    power_save : 0
    power_save_controller : Y
    probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    probe_only : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
    single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC269
Address: 0
Function Id: 0x1
Vendor Id: 0x10ec0269
Subsystem Id: 0x10250357
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x1f 0x1f]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x8b 0x8b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x9f 0x9f]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Connection: 2
     0x02 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x03 0x03]
  Pincap 0x00000020: IN
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x03a19840: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x0d
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000003c: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000034: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
    Conn = Analog, Color = Pink
    DefAssociation = 0x2, Sequence = 0xd
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=25
  Processing Coefficient: 0x80
  Coefficient Index: 0x06
Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=04, enabled=1
  Connection: 2
     0x0c 0x0d*
Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Connection: 7
     0x18* 0x19 0x1a 0x1b 0x1d 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel G45 DEVIBX
Address: 3
Function Id: 0x1
Vendor Id: 0x80862804
Subsystem Id: 0x10250356
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power: setting=D0, actual=D0
Node 0x04 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x09000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=08, enabled=1
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HDMI
  Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HDMI
  Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116, 10 Aug 11 16:46 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  9 Aug 11 16:46 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  8 Aug 11 16:46 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  7 Aug 11 16:46 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  6 Aug 11 16:46 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Aug 11 16:46 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  4 Aug 11 16:46 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  3 Aug 11 16:46 /dev/snd/seq
crw-rw----+ 1 root audio 116,  2 Aug 11 16:46 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Aug 11 16:46 .
drwxr-xr-x 3 root root 240 Aug 11 16:46 ..
lrwxrwxrwx 1 root root  12 Aug 11 16:46 pci-0000:00:1b.0 -> ../controlC0


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC269 Digital [ALC269 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0x94400000 irq 22'
  Mixer name    : 'Intel G45 DEVIBX'
  Components    : 'HDA:10ec0269,10250357,00100100 HDA:80862804,10250356,00100000'
  Controls      : 20
  Simple ctrls  : 10
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [30.00dB] [on]
  Front Right: Capture 31 [100%] [30.00dB] [on]


!!Alsactl output
!!-------------

--startcollapse--
state.Intel {
    control.1 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 87'
        comment.dbmin -6525
        comment.dbmax 0
        iface MIXER
        name 'Speaker Playback Volume'
        value.0 87
        value.1 87
    }
    control.2 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Speaker Playback Switch'
        value.0 true
        value.1 true
    }
    control.3 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3600
        iface MIXER
        name 'Mic Boost'
        value.0 3
        value.1 3
    }
    control.4 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3600
        iface MIXER
        name 'Front Mic Boost'
        value.0 3
        value.1 3
    }
    control.5 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        value.0 true
        value.1 true
    }
    control.6 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -1650
        comment.dbmax 3000
        iface MIXER
        name 'Capture Volume'
        value.0 31
        value.1 31
    }
    control.7 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Con Mask'
        value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.8 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Pro Mask'
        value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.9 {
        comment.access 'read write'
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Default'
        value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.10 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Switch'
        value false
    }
    control.11 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Default PCM Playback Switch'
        value true
    }
    control.12 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Beep Playback Volume'
        value.0 31
        value.1 31
    }
    control.13 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Beep Playback Switch'
        value.0 false
        value.1 false
    }
    control.14 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 87'
        comment.dbmin -6525
        comment.dbmax 0
        iface MIXER
        name 'Master Playback Volume'
        value 87
    }
    control.15 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Master Playback Switch'
        value true
    }
    control.16 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Con Mask'
        index 1
        value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.17 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Pro Mask'
        index 1
        value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.18 {
        comment.access 'read write'
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Default'
        index 1
        value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.19 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Switch'
        index 1
        value true
    }
    control.20 {
        comment.access 'read write user'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 255'
        comment.tlv '0000000100000008ffffec1400000014'
        comment.dbmin -5100
        comment.dbmax 0
        iface MIXER
        name 'PCM Playback Volume'
        value.0 255
        value.1 255
    }
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
binfmt_misc
ppdev
rndis_wlan
joydev
snd_hda_codec_intelhdmi
snd_hda_codec_realtek
cdc_phonet
rndis_host
fbcon
tileblit
font
bitblit
softcursor
vga16fb
vgastate
cdc_ether
arc4
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
snd_seq_oss
ath9k
phonet
cdc_acm
snd_seq_midi
mac80211
usbnet
uvcvideo
i915
drm_kms_helper
mii
snd_rawmidi
ath
acer_wmi
videodev
v4l1_compat
drm
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
snd
psmouse
serio_raw
intel_agp
cfg80211
led_class
agpgart
i2c_algo_bit
video
output
soundcore
snd_page_alloc
lp
parport
ahci


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x99a30930
0x14 0x99130110
0x17 0x411111f0
0x18 0x03a19840
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4017992d
0x1e 0x03451120
0x21 0x0321101f

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D3/init_pin_configs:
0x04 0x18560010
0x05 0x58560020
0x06 0x58560030

/sys/class/sound/hwC0D3/driver_pin_configs:

/sys/class/sound/hwC0D3/user_pin_configs:

/sys/class/sound/hwC0D3/init_verbs:


!!ALSA/HDA dmesg
!!------------------

[   19.075292] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[   19.075344] HDA Intel 0000:00:1b.0: enabling device (0000 -> 0002)
[   19.075354]   alloc irq_desc for 22 on node -1
[   19.075356]   alloc kstat_irqs on node -1
[   19.075364] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   19.075398] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   19.077791] vga16fb: initializing
--
[   19.124217] usbcore: registered new interface driver cdc_phonet
[   19.187491] hda_codec: ALC269: BIOS auto-probing.
[   19.187721] hda_codec: connection list not available for 0x24
[   19.188029] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8
[   19.201957] Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04731/0xa44000


upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.58
!!################################

!!Script ran on: Wed Aug 11 13:13:02 UTC 2010


!!Linux Distribution
!!------------------

Ubuntu 10.04.1 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"


!!DMI Information
!!---------------

Manufacturer:      Acer
Product Name:      Aspire 4745


!!Kernel Information
!!------------------

Kernel release:    2.6.32-24-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.23
Library version:    1.0.23
Utilities version:  1.0.23


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x94400000 irq 33


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:3b56 (rev 05)
    Subsystem: 1025:0357


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
    bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
    beep_mode : 1,1,1,1,1,1,1,1
    enable : Y,Y,Y,Y,Y,Y,Y,Y
    enable_msi : -1
    id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
    index : -1,-1,-1,-1,-1,-1,-1,-1
    model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
    patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
    position_fix : 0,0,0,0,0,0,0,0
    power_save : 0
    power_save_controller : Y
    probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
    probe_only : 0,0,0,0,0,0,0,0
    single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC271X
Address: 0
Function Id: 0x1
Vendor Id: 0x10ec0269
Subsystem Id: 0x10250357
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC271X Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC271X Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x8b 0x8b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC271X Analog", type="Audio", device=0
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x9f 0x9f]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x00]
  Connection: 2
     0x02 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Control: name="Front Mic Boost", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x03 0x03]
  Pincap 0x00000020: IN
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x03a19840: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x0d
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000003c: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000034: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
    Conn = Analog, Color = Pink
    DefAssociation = 0x2, Sequence = 0xd
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=25
Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=04, enabled=1
  Connection: 2
     0x0c 0x0d*
Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Connection: 7
     0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel G45 DEVIBX
Address: 3
Function Id: 0x1
Vendor Id: 0x80862804
Subsystem Id: 0x10250356
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Device: name="INTEL HDMI 0", type="HDMI", device=3
  Converter: stream=8, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Device: name="INTEL HDMI 1", type="HDMI", device=7
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3
  Power: setting=D0, actual=D0
Node 0x04 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=06, enabled=1
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  0 Aug 11 19:08 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  4 Aug 11 19:08 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  7 Aug 11 19:08 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116, 24 Aug 11 19:10 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 16 Aug 11 19:08 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 17 Aug 11 19:08 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 19 Aug 11 19:08 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 23 Aug 11 19:08 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116,  1 Aug 11 19:08 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Aug 11 19:08 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Aug 11 19:08 .
drwxr-xr-x 3 root root 260 Aug 11 19:08 ..
lrwxrwxrwx 1 root root  12 Aug 11 19:08 pci-0000:00:1b.0 -> ../controlC0


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC271X Analog [ALC271X Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC271X Digital [ALC271X Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 7: INTEL HDMI 1 [INTEL HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC271X Analog [ALC271X Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0x94400000 irq 33'
  Mixer name    : 'Intel G45 DEVIBX'
  Components    : 'HDA:10ec0269,10250357,00100100 HDA:80862804,10250356,00100000'
  Controls      : 26
  Simple ctrls  : 12
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 30 [97%] [28.50dB] [on]
  Front Right: Capture 30 [97%] [28.50dB] [on]


!!Alsactl output
!!-------------

--startcollapse--
state.Intel {
    control.1 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 87'
        comment.dbmin -6525
        comment.dbmax 0
        iface MIXER
        name 'Speaker Playback Volume'
        value.0 87
        value.1 87
    }
    control.2 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Speaker Playback Switch'
        value.0 true
        value.1 true
    }
    control.3 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 87'
        comment.dbmin -6525
        comment.dbmax 0
        iface MIXER
        name 'Headphone Playback Volume'
        value.0 87
        value.1 87
    }
    control.4 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Headphone Playback Switch'
        value.0 true
        value.1 true
    }
    control.5 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3600
        iface MIXER
        name 'Mic Boost'
        value.0 3
        value.1 3
    }
    control.6 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3600
        iface MIXER
        name 'Front Mic Boost'
        value.0 3
        value.1 3
    }
    control.7 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        value.0 true
        value.1 true
    }
    control.8 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -1650
        comment.dbmax 3000
        iface MIXER
        name 'Capture Volume'
        value.0 30
        value.1 30
    }
    control.9 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Con Mask'
        value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.10 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Pro Mask'
        value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.11 {
        comment.access 'read write'
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Default'
        value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.12 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Switch'
        value false
    }
    control.13 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Default PCM Playback Switch'
        value true
    }
    control.14 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Beep Playback Volume'
        value.0 31
        value.1 31
    }
    control.15 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Beep Playback Switch'
        value.0 false
        value.1 false
    }
    control.16 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 87'
        comment.dbmin -6525
        comment.dbmax 0
        iface MIXER
        name 'Master Playback Volume'
        value 87
    }
    control.17 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Master Playback Switch'
        value true
    }
    control.18 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Con Mask'
        index 1
        value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.19 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Pro Mask'
        index 1
        value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.20 {
        comment.access 'read write'
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Default'
        index 1
        value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.21 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Switch'
        index 1
        value true
    }
    control.22 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Con Mask'
        index 2
        value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.23 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Pro Mask'
        index 2
        value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.24 {
        comment.access 'read write'
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Default'
        index 2
        value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.25 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Switch'
        index 2
        value true
    }
    control.26 {
        comment.access 'read write user'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 255'
        comment.tlv '0000000100000008ffffec1400000014'
        comment.dbmin -5100
        comment.dbmax 0
        iface MIXER
        name 'PCM Playback Volume'
        value.0 255
        value.1 255
    }
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
ppp_deflate
zlib_deflate
bsd_comp
ppp_async
crc_ccitt
binfmt_misc
rfcomm
sco
ppdev
bridge
stp
bnep
l2cap
snd_hda_codec_intelhdmi
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
fbcon
tileblit
font
bitblit
softcursor
snd_seq_oss
vga16fb
snd_seq_midi
snd_rawmidi
vgastate
arc4
snd_seq_midi_event
snd_seq
i915
drm_kms_helper
snd_timer
snd_seq_device
joydev
ath9k
drm
snd
soundcore
i2c_algo_bit
mac80211
uvcvideo
ath
snd_page_alloc
intel_agp
video
psmouse
acer_wmi
videodev
cfg80211
btusb
agpgart
serio_raw
output
v4l1_compat
led_class
bluetooth
lp
parport
ahci


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x99a30930
0x14 0x99130110
0x17 0x411111f0
0x18 0x03a19840
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4017992d
0x1e 0x03451120
0x21 0x0321101f

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D3/init_pin_configs:
0x04 0x18560010
0x05 0x58560020
0x06 0x58560030

/sys/class/sound/hwC0D3/driver_pin_configs:

/sys/class/sound/hwC0D3/user_pin_configs:

/sys/class/sound/hwC0D3/init_verbs:


!!ALSA/HDA dmesg
!!------------------

[   14.656526] Console: switching to colour frame buffer device 170x48
[   15.664337] HDA Intel 0000:00:1b.0: enabling device (0000 -> 0002)
[   15.664346]   alloc irq_desc for 22 on node -1
[   15.664348]   alloc kstat_irqs on node -1
[   15.664354] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   15.664407]   alloc irq_desc for 33 on node -1
[   15.664409]   alloc kstat_irqs on node -1
[   15.664420] HDA Intel 0000:00:1b.0: irq 33 for MSI/MSI-X
[   15.664452] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   16.813475] hda_codec: ALC271X: BIOS auto-probing.
[   16.813828] ALSA hda_codec.c:337: hda_codec: connection list not available for 0x24
[   16.814748] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
[   19.670763] type=1505 audit(1281532090.463:5):  operation="profile_load" pid=1039 name="/usr/share/gdm/guest-session/Xsession"

That happened to last time as well. But suddenly my whole sound system stopped working, showing me "dummy-output" instead of any sound card. I am not sure what triggered it.

when I checked, asound folder disappeared from the /proc directory.

Anyway, I do hope using this alsa-info output, someone will be benefited in future.

just wish me luck.. so that i don't have to experience the dummy output thing again :(

#1028

I asked this a few posts above but no one replied. I got audio, but not when connecting HDMI cable.

any ideas?

aplay -D=hdmi /usr/share/skype/sounds/CallConnecting.wav

ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM =hdmi
aplay: main:654: audio open error: No such file or directory
#1029

Breaks saa7134_alsa :(

#1030

so... The server is down.... "Awesome"

#1031

Thank's! My Asus Xonar Essence ST works now! :-)

#1032

You are a Diamond!!! Thank you, it works!! :D

Sony Vaio VPCEB1E0E / Intel G45 DEVIBX

#1033

My Soundcard works now, but I cannot enable the visual effects. I've a Nvidia GeForce 9800 GT chip in my grafic card. Has anyone an idea?

#1034

Upgraded ALSA drivers are now available in pre-packaged form, too. The package you want is linux-backports-modules-alsa-XXX, where XXX depends on what kernel you're running.

#1035

KLuwak said: Upgraded ALSA drivers are now available in pre-packaged form, too. The package you want is linux-backports-modules-alsa-XXX, where XXX depends on what kernel you're running.

Is that message for me? If yes: what should I do, to use the updated ALSA driver »and« desktop effects?

#1036

This is just what I was looking for!!! Outstanding. Now my ASUS 1015PE Netbook works perfectly. Thanks!

#1037

I performed the upgrade script but I still have no sound.

Could someone help?

#1038

Hi, it seems to me that the chipset ALC1200 isnt supported. May you can reply to me and tell me if it is supported or not. Thanks in front!

#1039

After a kernel upgrade

sudo ./AlsaUpgrade-1.0.23-2.sh -i

was the key to get sound again. But the desktop-effects are still not usable. They worked before the Alsa upgrade. Anyway: for games my playstation 3 is way better then windows 7 and I've a reason to wait for 10.10. :D

#1040

Not one to use forums much, but I wanted to tell you that YOU ARE MY HERO!

My Xonar Essence ST is once again working!

#1041

thanks, worked for me too, but NOT before i reinstalled alsa-base:

last four steps as given:

  1. sudo ./AlsaUpgrade-1.0.23-2.sh -d
  2. sudo ./AlsaUpgrade-1.0.23-2.sh -c
  3. sudo ./AlsaUpgrade-1.0.23-2.sh -i
  4. sudo shutdown -r 0

then re-install alsa, and reboot again:

  1. sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils
  2. sudo apt-get install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop
  3. sudo shutdown -r 0

would be nice to understand why...

i did this twice, giving me back sound. in the second instance, after the last kernel upgrade (to 2.6.32-24 of 10.04 64-bit), no sound cards were being recognised at all, which seems worth reporting.

sony vaio, intel hda sound

#1042

I don't understand, why ubuntu is updating the kernel, when I use the hold-option for

linux-headers-2.6.32-24

linux-headers-2.6.32-24-generic

in synaptic.

#1043

^Those are just the headers, you need to hold the actual linux-image too. As to why the script "broke" your desktop effects... no idea. Might have been a side effect of updating your packages.

#1044

Thank you for the script. My wife's laptop has sound again :)

#1045

This script appears to have trashed my sound system, which surprises me because I used it without problems when I was running Jaunty. Currently running Lucid with the stock kernel on a Lenovo Y550 with Realtek ALC272 sound.

After upgrading using the script there was still sound from the laptop speakers however I no longer can use the hardware volume buttons and when I try to open Preferences>Sound I get a message saying "Waiting for sound system to respond". I tried several hda-intel models to no avail.

So after giving up and running the restore option I am back to running ALSA 1.0.22, but I still have the same problems! Can't open Preferences>Sound at all, no hardware volume buttons, no headphone output (which is why I tried the upgrade in the first place).

This is a bummer, especially because sound worked out of the box with Karmic. Any advice would be greatly appreciated. :)

#1046

Rebooted and now I have no sound at all, and even my hardware brightness keys have stopped working. :(

Help please!

#1047

Just wanted to say a very enthusiastic thank you for the script. It worked beautifully.

#1048

OK, I ran the install script again and added a new hda-intel model option which has got me laptop speaker sound again. However, I still can't open Preferences>Sound and my volume and brightness buttons are still out of commission. Would updating my kernel possibly solve at least the hardware button problem?

#1049

@treesurf, your issue sounds like pulseaudio is borked. Try removing the user files it creates to generate fresh ones:

cd ~/
rm -rf .pulse*

Then log out and back in.

#1050

Temujin, you rock, thank you!

Sound>Preferences now comes back up again, my headphone jack works finally, and the volume buttons are functional again.

However, the brightness keys are still not working. And sadly, the ALSA update did not enable the subwoofer on the laptop as I had hoped, but that's not the fault of the script of course.

#1051

@treesurf, you might want to try enabling lfe-remixing by editing /etc/pulse/daemon.conf

gksu gedit /etc/pulse/daemon.conf
resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = no

--->

resample-method = speex-float-1
; enable-remixing = yes
enable-lfe-remixing = yes

Brightness keys = make another thread

#1052

Thanks for the suggestion Temujin. I tried editing that Pulse Audio file, but the result was that none of my media players would play any music. Nor were there any new options appearing in alsamixer or Preferences>Sound, so I changed it back.

I'll start another thread about the brightness keys. It does seem odd that upgrading the ALSA would have that effect though...

#1053

Hello,

Great job which made configuring audio on dell-vostro 1710 a breeze, From no or weired sound to fully functional sound on linux which I never had in past. In my setup I have on board sound card and I have attached Logitech C500 Webcam with built in mic.

In audiocity and Skype there is facility to select Microphone which I used and made them functional No problems at all for arecord i tested with


$arecord -Dplughw:1,0 test.wav

$aplay test.wav

which reproduced correctly. Now I need to do a final and finer tweak i.e. setting default capture device to C500's mic and [COLOR="Blue"][B]make "$arecord test.wav" to record from webcams mic rather then from builtin cards plugged in mic which at present is also working fine.[/B] [/COLOR] Help in this regard will be greatly appreciated.

Thanks and regards

Raja

#1054

OK, have now noticed a new sound problem. After resuming from suspend media players will no longer play audio files and I must logout/login to get it working again. I'm assuming this is related to PulseAudio, although I remember having this same problem back in the Edgy/Feisty days. Any suggestions?

#1055

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.23-2.tar
  4. sudo ./AlsaUpgrade-1.0.23-2.sh -d
  5. sudo ./AlsaUpgrade-1.0.23-2.sh -c
  6. sudo ./AlsaUpgrade-1.0.23-2.sh -i
  7. sudo shutdown -r 0

hey I am new to linux and this problem. I downloaded the script but have no idea what to do with instruction #2. I put in "cd <your-download-dir>" and "cd <james-download-dir>" what am I doing wrong here? thank you for your time!:(

#1056

The proper syntax would depend on where you downloaded the file. For example if you downloaded it to your desktop the code would be:

cd ~/Desktop/

or if you downloaded it to your Downloads folder it would be:

cd ~/Downloads/

And if you downloaded it to a folder inside that folder it would be:

cd ~/Downloads/examplefolder/

or if you downloaded it to your home directory then you don't need to do anything at all. :)

#1057

The desktop-effects wasn't working after running this script. And every kernel-update was letting me run that script again. So I was looking for a better way. After the re-installation of 10.04 I've installed only the package linux-backports-modules-alsa-lucid-generic from the ubuntu standard-repos and my ASUS Xonar Essence ST works with "all it's extra-options". And I don't need ALSA 10.23: http://yfrog.com/3tarbeitsflche1017p (screenshot).

This info I have from the commercial support from canonical, which I'm recommending to every ubuntu user. [IMG]http://yfrog.com/3tarbeitsflche1017p[/IMG]

#1058

After running the script for my HP pavilion dv7, it fixed it.

However, now there's 2 annoying minor issues:

  1. The physical volume control on my laptop can't change the volume anymore. When I use the physical control on my laptop, the little gray rectangular speaker popup shows up and it changes but the actual volume does not change.
  1. The speaker icon does not appear on the taskbar anymore.

Any help would be appreciated. Thanks.

#1059

GlideKensington said: After running the script for my HP pavilion dv7, it fixed it.

However, now there's 2 annoying minor issues:

  1. The physical volume control on my laptop can't change the volume anymore. When I use the physical control on my laptop, the little gray rectangular speaker popup shows up and it changes but the actual volume does not change.
  1. The speaker icon does not appear on the taskbar anymore.

Any help would be appreciated. Thanks.

for issue #2 just right lick on the panel-> Add to panel... then add the indicator applet your speaker icon should be back in your taskbar

#1060

OK, I give up. This script seems to have totally borked sound on my system, primarily PulseAudio. I have tried uninstalling and reinstalling pulseaudio to no avail. Sometimes sound works, sometimes it doesn't. If I use one sound application, then no other application can access sound. Sometimes logging out and logging back in fixes it, sometimes it doesn't. Very frustrating.

The ironic thing is that when I can get it to actually play music it now sounds much better. If someone can tell me how to fix Pulse Audio I'd really appreciate it. Otherwise it's time to give up and start over with a fresh install.

#1061

treesurf said: OK, I give up. This script seems to have totally borked sound on my system, primarily PulseAudio. I have tried uninstalling and reinstalling pulseaudio to no avail. Sometimes sound works, sometimes it doesn't. If I use one sound application, then no other application can access sound. Sometimes logging out and logging back in fixes it, sometimes it doesn't. Very frustrating.

The ironic thing is that when I can get it to actually play music it now sounds much better. If someone can tell me how to fix Pulse Audio I'd really appreciate it. Otherwise it's time to give up and start over with a fresh install. Route your ALSA apps through pulseaudio so everything mixes properly (this link should really be in the first post): http://ubuntuforums.org/showthread.php?t=1455816

#1062

Thanks for all your help Temujin, I do appreciate it. I already did have applications displaying correctly in the Sound preferences, but I went ahead and followed your instructions in that link, restarted, and for the moment everything seems to be working properly. Hopefully it stays that way!

#1063

Perhaps this sounds obvious, but I'll throw it out for anyone dual-booting Windows (I use WinXP, might just be isolated to WinXP SP3) and Ubuntu. Muting your speakers in Windows will (generally) render you unable to play sound in Ubuntu. After spending almost an hour and a half trying to fix ALSA after the new kernel update, the simple act of unmuting my Windows Speakers did the job after reinstalling the script. Last time I will mute my speakers in WinXP Thank you for the script by the way. :)

Edit: Throwing out some details of my computer:

  • Asus 1000HE Netbook
  • Windows XP SP3/Ubuntu 10.04 Kernel *.34
#1064

CURRENT PROBLEM: AFTER running the ALSA Upgrade Script as per instructions in this thread in my laptop (Compaq Presario CQ62) the sound is completely broke... no sound from built-in speakers and/or headphones.

I am getting the following:

pkr@pkr-laptop:~$ cat /proc/asound/version cat: /proc/asound/version: No such file or directory pkr@pkr-laptop:~$ aplay -l aplay: device_list:223: no soundcards found... pkr@pkr-laptop:~$

Also, if I do System > Preferences > Sound then Sound Preferences shows no hardware under the Hardware tab, and under the Output Tab, it shows "Dummy Output Stereo".

BACKGROUND (before running ALSA Upgrade Script):

Running Ubuntu Linux, the Ubuntu 10.04 (lucid) release. GNOME: 2.30.2 (Ubuntu 2010-06-25) Kernel version: 2.6.32-24-generic (#41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010) GCC: 4.4.3 (i486-linux-gnu) Xorg: unknown (21 July 2010 12:47:34PM) (21 July 2010 12:47:34PM)

Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05) Subsystem: Hewlett-Packard Company Device 1425 Flags: bus master, fast devsel, latency 0, IRQ 22 Memory at 94400000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel

This is in a brand new Compaq Presario CQ62 laptop, with a fresh install of Lucid. Everything was working fine except that there was NO SOUND from the built-in speakers but, SOUND WAS OK in headphones. I followed the advice from lidex (post #9 and post #16) in this link http://ubuntuforums.org/showthread.php?t=1478602 and was led to the current thread (ALSA Upgrade script).

I have tried the ALSA upgrade script procedure 3-4 times and also with lidex's advice in post #13 of this thread http://ubuntuforums.org/showthread.php?t=1531672&highlight=no+sound+from+speakers+but+headphones+work&page=2

The latest log files are attached.

I shall greatly appreciate any help!

Thanks in advance.

#1065

Can't download alsa-driver-1.0.23.tar.bz2 from ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2 while running the script. What should I do?

#1066

I have the same problems. When running sudo ./AlsaUpgrade-1.0.23-2.sh -c nothing happens...with the message alsa-driver-1.0.23 not found.

Have no idea what to do now...please help !!!

Continue to configure and compile 1.0.23 [y/n]: y

***************************************************************************

***************************************************************************

  • Alsa packages(drivers/lib/util/firmware/oss) will be compiled

***************************************************************************

***************************************************************************

  • Prepare for compilation and installation...

***************************************************************************

*************************************************************************** root@XBMCLive:/home/xbmc#

  • alsa-driver-1.0.23 not found
#1067

mainak_sen said: CURRENT PROBLEM: AFTER running the ALSA Upgrade Script as per instructions in this thread in my laptop (Compaq Presario CQ62) the sound is completely broke... no sound from built-in speakers and/or headphones.

I am getting the following:

pkr@pkr-laptop:~$ cat /proc/asound/version cat: /proc/asound/version: No such file or directory pkr@pkr-laptop:~$ aplay -l aplay: device_list:223: no soundcards found... pkr@pkr-laptop:~$

Also, if I do System > Preferences > Sound then Sound Preferences shows no hardware under the Hardware tab, and under the Output Tab, it shows "Dummy Output Stereo".

BACKGROUND (before running ALSA Upgrade Script):

Running Ubuntu Linux, the Ubuntu 10.04 (lucid) release. GNOME: 2.30.2 (Ubuntu 2010-06-25) Kernel version: 2.6.32-24-generic (#41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010) GCC: 4.4.3 (i486-linux-gnu) Xorg: unknown (21 July 2010 12:47:34PM) (21 July 2010 12:47:34PM)

Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05) Subsystem: Hewlett-Packard Company Device 1425 Flags: bus master, fast devsel, latency 0, IRQ 22 Memory at 94400000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel

This is in a brand new Compaq Presario CQ62 laptop, with a fresh install of Lucid. Everything was working fine except that there was NO SOUND from the built-in speakers but, SOUND WAS OK in headphones. I followed the advice from lidex (post #9 and post #16) in this link http://ubuntuforums.org/showthread.php?t=1478602 and was led to the current thread (ALSA Upgrade script).

I have tried the ALSA upgrade script procedure 3-4 times and also with lidex's advice in post #13 of this thread http://ubuntuforums.org/showthread.php?t=1531672&highlight=no+sound+from+speakers+but+headphones+work&page=2

The latest log files are attached.

I shall greatly appreciate any help!

Thanks in advance. Follow the Fix your sound! link in my signature.

#1068

how do i download alsa?

#1069

To download ALSA using the package manager, type this in:

sudo apt-get install alsa-base alsa-utils

To download ALSA using the script, follow the instructions on the front page.

#1070

I posted a problem with my logitech usb headphones some weeks ago. I re-installed lucid-lynx and they worked fine, when I upgraded Alsa it all went to hell again, if I plug them in the computer freezez so I have to turn it off, if they're plugged in at boot up I only get a black screen and have to turn it of to be able to restart.

I'm using a Compaq pressario CQ61

edit: tried another type of usb headphoens and same problem so it's not the type of USB headphone but a USB headphone problem.

#1071

Hi All

I am a linux n00b, but really passionate about linux & just upgraded from ubuntu 10.04.1 lts to 10.10 beta(maverick) <you may say i am a maverick, but i am not the only one :D >

My sound stopped working after the upgrade & i followed the AlsaUpgrade script instructions here to a T & still have not been able to get sound to work.

My computer is a dell inspiron 1318 & the output of my ``` uname -a

[Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux]
The AlsaUpgrade script revision i used is :1.0.23.
While looking for solutions on [https://help.ubuntu.com/community/SoundTroubleshooting](https://help.ubuntu.com/community/SoundTroubleshooting) ,i found a command ```
wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh

my audio config is at this webpage http://www.alsa-project.org/db/?f=82b1ee683ac46a6c4ca77c5f2d9e7be46ddcd79e

I really dont know how to proceed further.

Please help me.

A big thank you to all the devs for making linux & ubuntu gr8.

Thanks augustya

p.s. One suggestion/query to the AlsaUpgrade script authors/maintainers/OP of this thread : I created the log files in /tmp as suggested in the original post, & after restart they were there, but after trying some other things & restarting a few more times, i cant find the log files in /tmp file anymore. Maybe the log file should be saved in the user's ~ directory & not /tmp.

#1072

^Maverick already has the latest ALSA. I suggest running the restore option of this script.

#1073

Last week I solved, an unusually long problem of not having sounds in a UbuntuStudio 10.04 installation (mobo Intel D946GZIS with a Core(TM)2 CPU 4300 @ 1.80GHz, RAM 2GB). It was thanks to this forum (soundcheck (#1)) and to 'peefonic (#1057)'. At first I followed the excellent article of 'soundcheck (#1)', at the begining of this forum, but I was unable to get past instruction '5. sudo ./AlsaUpgrade-1.0.23-2.sh -c', because the compilation could not find some kernel files, and so did I. So I started browsing from the last page of this forum and found 'peefonic (#1057)'. I tryed to install 'linux-backports-modules-alsa-lucid-generic' using Synaptic, and saw that it was going to download and instal a generic kernel, but I use a -preempt kernel, so I stoped it and searched Synaptic more and found 'linux-backports-modules-alsa-lucid-preempt. That's it. Now I have sound and even Midi using Qsynth and Rosegarden, but I can not use Jack, but I will keep trying. I have been trying to have Midi since UbuntuStudio 8.04, so many thanks to you two 'soundcheck (#1) and peefonic (#1057)'

#1074

Hello, my sound appears to be completely broken. I started a new thread, but as this thread seems very active with new people reporting problems and asking questions, I am also posting here. Here is link to my thread:

http://guide.ubuntuforums.org/showthread.php?p=9806687#post9806687

Thanks for any help anyone can offer!

#1075

This was a permissions problem solved by adding the user to the audio group. Please ignore this post.

Hi,

I have a fresh base install of 10.04.1 from the minimal cd install which is being used as a headless MPD server i.e. no X or GUI. Im having trouble getting Alsa 1.0.23 to recognise my EMU 0404 USB. I have an old cyrix iii cpu (i686), but it has worked fine with alsa in the past and does with 1.0.21.

I first installed 1.0.23 from the PPA. When I checked the version number it was still showing as 1.0.21. I got the correct version number to be listed by installing linux-alsa-driver-modules-2.6.32-24-generic from the ubuntu audio dev ppa. However 'aplay -l' states 'aplay: device_list:235: no soundcards found...'

I set the usb-snd-audio module to 'index=0', but this did not help. Next I used the the upgrade script in this thread to install 1.0.23, but I am still having the same problems.

The weird thing is that on running the alsa-info script, the card is recognised. When I try aplay manually it still does not recognise the card. http://www.alsa-project.org/db/?f=34e946d7de464d3eabb116613767cb1334557c0a

Can anyone see what is happening here?

Thanks,

Ross

#1076

Thank you so much! Just bought a new asus laptop, was ready to throw it out the window. Then u came and saved the day!

Again, thank you so much.

#1077

So... Interestingly enough I found out my sound works again, However I'm not sure if i worked before or after fiddling with the Alsa script etc..

The problem now however is that every time I log on to Ubuntu the default sound settings are always muted. But even when I un-mute it I have to select the Hardware tab in sound preferences, then de-select "Analog Stereo Duplex" and re-select it. Only then sound starts to work again.

Any way to set it up so that I dont have to do that everytime I boot up?

Thanks for all your helps.

#1078

What is the command for restoring?

I'm thinking about installing this, but i want to be safe.

#1079

To prevent your ALSA Mixer settings from being reset back to mute/zero volume each time you reboot:

sude gedit /etc/pulse/default.pa

Then comment this line:

load-module module-device-restore

with # symbol, so it looks like this:

#load-module module-device-restore

The above is one solutin that worked for me, among several suggestions I found here: http://ubuntuforums.org/showpost.php?p=9640688&postcount=6

#1080

Thanks so much. Upgrading ALSA as you suggested got the microphone port on my Acer Aspire TimelineX working correctly.

#1081

Argh, after upgrading kernel to version 2.6.32-24 sound stopped working. I ran Alsa upgrade script 1.0.23-2 with -r option and rebooted, and then tried to run the update again. Now I have run the script numerous times, tried snapshot and everything but it just doesn't upgrade alsa anymore. I'm stuck with version 1.0.22.1 and aplay -l doesn't even show my Intel HDA Audio that I use for HDMI :(


# cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Sep  7 2010 for kernel 2.6.32-24-generic (SMP).

Edit: Yay got it upgraded! Didn't realize I have to remove some of the Alsa packages manually first.

#1082

Had no sound after moving to 2.6.32-24-generic and eventually ran this script...

All I can say is "back of the net!"

#1083

Thanks for the script! worked wonders until i updated to 2.6.32-24 so after running it again i now have sound back

nice one

#1084

Kranix said: What is the command for restoring?

I'm thinking about installing this, but i want to be safe.

Hello?

#1085

Kranix said: Hello?

It is with the -r option.

#1086

nolodude said: Argh, after upgrading kernel to version 2.6.32-24 sound stopped working. I ran Alsa upgrade script 1.0.23-2 with -r option and rebooted, and then tried to run the update again. Now I have run the script numerous times, tried snapshot and everything but it just doesn't upgrade alsa anymore. I'm stuck with version 1.0.22.1 and aplay -l doesn't even show my Intel HDA Audio that I use for HDMI :(


# cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Sep  7 2010 for kernel 2.6.32-24-generic (SMP).

Edit: Yay got it upgraded! Didn't realize I have to remove some of the Alsa packages manually first.

Do you remember which ones? I'm stuck where you were.

Thanks, Tavis

#1087

Tavis said: Do you remember which ones? I'm stuck where you were.

Thanks, Tavis alsa-base and alsa-utils

#1088

lkjoel said: alsa-base and alsa-utils

That didn't do it for me. I purged them, ran the script successfully, and /proc/asound/version still shows me the version that was on there before.

#1089

Tavis said: That didn't do it for me. I purged them, ran the script successfully, and /proc/asound/version still shows me the version that was on there before.

Do you have any alsa-backports?

#1090

lkjoel said: It is with the -r option.

Just -r, or with something else?

#1091

[B]Thanks a lot! script fix problem with internal MIC on my ThinkPad Edge 13 (NUE2QRT)

10.04.1

marys@pdp7:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.23. Compiled on Sep 12 2010 for kernel 2.6.32-24-generic (SMP).

marys@pdp7:~$ aplay -l ** List of PLAYBACK Hardware Devices ** card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: Conexant Digital [Conexant Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0

):P [/B]

#1092

Hi folks.

I've been away for a while. ( There is a reason behind it: I am running a Squeezebox network now, which finally relieves me from all this Alsa hazzle)

Just scanned the least 20 pages or so. I am surprised that the script still worked out quite good for many of you.

With Maverick Ubuntu will catch up. The kernel 2.6.25 brings Alsa 1.0.23.

However. My EMU 0404 USB is still not working properly. And my RME mixer toolset is dated "last update 2003" -- the supposedly best supported card under Linux. Folks - that's really frustrating.

I am using W7 since a while on those cards without having any issues. I can do my recordings and playback at whatever samplerate.

Pulseaudio still makes live not easier. I still think it is a major mistake to push Pulseaudio that deep into the system. Who actually needs Pulseaudio???? Pleazze - just take Pulseaudio out Ubuntu.

Jack works with much less hazzle and can be removed with one command.

The Ubuntu folks IMO put priorities on the wrong things. This way they'll never make it.

Shuttleworth claimed to be able to catch up with W7 now. NO WAY!!!!! Since I am back on W7 for serious audio and video work, I had to realize that both systems are light-years apart. The devil lies in the details!

It really frustrates me to realize that the "Ubuntu folks" won't get the base right first. Instead they run after more and more flashy features. I am wondering if they ever used their Linux system by themselves for serious work or if they run secret OSX/W7 machines in the back-office.

Let see if we'll see any progress any time. Thx God that we have that Dual-Boot option.

Sorry - for being that destructive. But M. Shuttleworth set high exceptions with his earlier made statements. I can't see how he wants to fulfill his promises.

Enjoy

#1093

Temüjin said: Do you have any alsa-backports?

Nope. It was uninstalling linux-headers-alsa-driver and linux-alsa-driver modules that got the install to work correctly for me.

#1094

nolodude said: Argh, after upgrading kernel to version 2.6.32-24 sound stopped working. I ran Alsa upgrade script 1.0.23-2 with -r option and rebooted, and then tried to run the update again. Now I have run the script numerous times, tried snapshot and everything but it just doesn't upgrade alsa anymore. I'm stuck with version 1.0.22.1 and aplay -l doesn't even show my Intel HDA Audio that I use for HDMI :(


# cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Sep  7 2010 for kernel 2.6.32-24-generic (SMP).

sir, i have followed the Instruction on the first page and after i reboot, I still got the old version.

Advanced Linux Sound Architecture Driver Version 1.0.22.1. Compiled on Sep 17 2010 for kernel 2.6.32-24-generic (SMP).

what exactly Alsa packages did you manually remove?? could you please help me.?? thank you..

#1095

I have spent 36 hours of fumbling around Google following similar threads with no joy. Finally today it is fixed! I think the last update had an ALSA fix and that's why I am up and running with Sound Capture of all types. Audacity works like a charm. Thanks everyone who helped correct the problem.

#1096

buster_oz said: sir, i have followed the Instruction on the first page and after i reboot, I still got the old version.

Advanced Linux Sound Architecture Driver Version 1.0.22.1. Compiled on Sep 17 2010 for kernel 2.6.32-24-generic (SMP).

what exactly Alsa packages did you manually remove?? could you please help me.?? thank you.. alsa-base and alsa-utils, I think.

#1097

soundcheck said:

... Pulseaudio still makes live not easier. I still think it is a major mistake to push Pulseaudio that deep into the system. Who actually needs Pulseaudio???? Pleazze - just take Pulseaudio out Ubuntu.

...

The Ubuntu folks IMO put priorities on the wrong things. This way they'll never make it.

... I highly agree with you. Maybe someone should contact an Ubuntu Member about this.

#1098

@soundcheck: Thanks so much for the script on page 1. Worked perfectly for me. Sound thru my earbuds now! Yay!

I'd give you a medal if I had one. (Makes me wonder what's wrong with Canonical these days.)

#1099

lkjoel said: alsa-base and alsa-utils, I think.

before i installed the script from page 1, i have my sound works fine only not the updated version of ALSA.. as i run the script, i still got the older version when i run cap /proc/asound/version.....

but i still got my sound working.. :) i guess ill just stick to it for now.. thank for your help joel..

#1100

Kranix said: Just -r, or with something else?

?

#1101

Kranix said: ?

Just -r I think.

#1102

After using this script, sound is still on, but i can't change the volume.

What to do?

EDIT: Nevermind, i had picked my HDMI instead of my internal audio for output.

#1103

Hi,

I am on ASUS K52F and I initially fixed the "speakers do not mute when headphones are plugged in" problem by simply following the solution published here, but after installing the latest Ubuntu updates (which didn't even change the kernel, it's still 2.6.32-24) the sound was gone - from both speakers and headphones.

Found this thread, ran the script, sound appeared again, but now the headphone jack doesn't seem to work at all. I have searched everywhere, nothing helps.

Does anyone have any idea why there's still no headphone sound even after running the OP's script?

BTW I also checked alsamixer, and there are only two sliders available to me - Master and PCM. There is no slider for SPDIF and hence no option to control it.

#1104

gelatinous_cube said: Hi,

I am on ASUS K52F and I initially fixed the "speakers do not mute when headphones are plugged in" problem by simply following the solution published here, but after installing the latest Ubuntu updates (which didn't even change the kernel, it's still 2.6.32-24) the sound was gone - from both speakers and headphones.

Found this thread, ran the script, sound appeared again, but now the headphone jack doesn't seem to work at all. I have searched everywhere, nothing helps.

Does anyone have any idea why there's still no headphone sound even after running the OP's script?

BTW I also checked alsamixer, and there are only two sliders available to me - Master and PCM. There is no slider for SPDIF and hence no option to control it. Try Fix your sound! in my signature.

#1105

lkjoel said: Try Fix your sound! in my signature.

Remove ALSA and install OSS, although ALSA used to work perfectly for me? That suspiciously sounds like something that will take a lot of time, won't work and leave me with some half-assed unfinished installations etc, because that's what usually happens to me.

If my sound works all right with ALSA except the headphones jack, I reckon some minor fix is needed, I will try to discover one before I mess everything up irreparably

#1106

gelatinous_cube said: Remove ALSA and install OSS, although ALSA used to work perfectly for me? That suspiciously sounds like something that will take a lot of time, won't work and leave me with some half-assed unfinished installations etc, because that's what usually happens to me.

If my sound works all right with ALSA except the headphones jack, I reckon some minor fix is needed, I will try to discover one before I mess everything up irreparably Sorry, I misread the question. I will read better next time.

#1107

Worked great on my Asus AT3IonT-I Deluxe and Ubuntu Lucid

#1108

Hi@all << my first post ... :) This script solve all my problems with my soundcard i had on Lucid x64 for over 6 month. Now my ASUS M2N-Sli Deluxe onboard sound works fine :D -- BIG Thanks!

#1109

I notic when it was working ubuntus standard sound control said it was dummy device being used.

After I rebooted it's back to the standard again

http://varazir.pastebin.com/iePLv44p

#1110

gelatinous_cube said: Hi,

I am on ASUS K52F and I initially fixed the "speakers do not mute when headphones are plugged in" problem by simply following the solution published here, but after installing the latest Ubuntu updates (which didn't even change the kernel, it's still 2.6.32-24) the sound was gone - from both speakers and headphones.

Found this thread, ran the script, sound appeared again, but now the headphone jack doesn't seem to work at all. I have searched everywhere, nothing helps.

Does anyone have any idea why there's still no headphone sound even after running the OP's script?

BTW I also checked alsamixer, and there are only two sliders available to me - Master and PCM. There is no slider for SPDIF and hence no option to control it.

I've had the same problem on Toshiba L650. First headphones didn't mute the speakers, then I've downloaded and installed this script, now speakers are working but there's no sound on headphones.

Some help would be more than welcome

#1111

hi, i'm using BlankOn ombilin (it think this is same with ubuntu) in hp presario Cq42. everything is ok but only sound is not ok (there's no sound). i've already upgrade my alsa with 1.0.23 but still not working....please help me.

#1112

I've finally got it to work! The problem was, as I described 2 posts above, about Conexant CX20585 sound adapter, on Toshiba laptop.

Fixed it by updating Alsa drivers, following instructions on this site, and rebooting afterwards.

Now both the speakers, and the headphones are working, and the mute problem is gone too.

#1113

I just can't believe that with every new Ubuntu release I'm getting thrown back to fixing utterly basic features.

It's the 4th release for me by now and every time sound is making trouble. A task as basic as handling 2 different audio devices is simply too much for Ubuntu. Great. I'll give OSS another try, which was my saviour some time ago already, but things are starting to feel uncomfortable. I used Mint, which worked much better in this respect, but it doesn't look to be the safest distro - got hacked. Possibly due to bad standard samba configs. I wonder how this is better in the 'original' Ubuntu.

Maybe this is the time to switch to Sid, Arch or Gentoo...

perixx

#1114

perixx said: I just can't believe that with every new Ubuntu release I'm getting thrown back to fixing utterly basic features.

It's the 4th release for me by now and every time sound is making trouble. A task as basic as handling 2 different audio devices is simply too much for Ubuntu. Great. I'll give OSS another try, which was my saviour some time ago already, but things are starting to feel uncomfortable. I used Mint, which worked much better in this respect, but it doesn't look to be the safest distro - got hacked. Possibly due to bad standard samba configs. I wonder how this is better in the 'original' Ubuntu.

Maybe this is the time to switch to Sid, Arch or Gentoo...

perixxI have to agree with you. As I see it all the Linux 'Distro's" are little fiefdoms of knowledge with each reinventing the wheel over & over. It's about bloody time basic functionality like this was sorted out. I'm tired of excuses & them concentrating on rearranging icons & eye candy nonsense .

#1115

Thank you, thank you and once again...THANK YOU! For those having ALSA problems, I highly recommend following these instructions.

Thanks again

soundcheck said: Latest post update 05/10/2010

Latest Alsa-Upgrade-Script update 05/11/2010 Rev. 1.0.23-2.sh Latest alsa-info.sh update 05/10/2010 (1.0.23) Latest Alsa-Package update: 05/10/2010 (1.0.23)

_BACKGROUND:_

The audio functionality of any computer system belongs to the very basic functions of a PC and OS. No sound, poor sound, limited functionality - No use for such a system!

The main idea behind upgrading ALSA with attached script is to make Linux available to a slightly wider community.

The script bridges the huge delay (up to a year) of Alsa updates supplied through the official channels. By running the upgrade you'll have a much bigger chance to get your soundcard working or problems resolved.

The script installs the latest official stable ALSA release. (optional the even more up 2 date driver snapshot will be installed)

_Upgraded packages_

Alsa 1.0.23 (stabil)

See: Changelog Alsa 1.0.23

DRIVER=alsa-driver-1.0.23 FIRMWARE=alsa-firmware-1.0.23 LIB=alsa-lib-1.0.23 PLUGINS=alsa-plugins-1.0.23 UTILS=alsa-utils-1.0.23 TOOLS=alsa-tools-1.0.23 OSS=alsa-oss-1.0.17

Supported kernels: 2.6.24/26/27/28/29/30/31/32 family (including rt-kernel & NON-Ubuntu ZEN-rt-kernel)

Note: The restore currently does not not work on custom kernels!

_UPGRADE:_

The script is not in line with Debian/Ubuntu rules for package handling. It just overwrites existing files. You won't see any changes on the ALSA package-ids within Synaptic!

The script recognizes severe problems during the installation and will stop automatically. It shouldn't mess up your setup. If the script stops with an error-message nothing should have been touched!

In the worst case scenario the -r restore option restores your old system status as good as possible. It'll reinstall kernel, kernel-headers and Alsa related packages.

Ubuntu upgrades/updates might overwrite your Alsa installation once in a while (e.g. Major upgrades, kernel-upgrades or ALSA-package upgrades). You just need to rerun the upgrade-script using the -i option in this case (if you still have the compiled sources on the disk).

Disclaimer: I won't take any responsibility for mess-ups caused by using the script! -- Of course - I do my best to avoid these and support you as much as I can. ;)

As usual - Make a backup first! - A restore will just take 5 minutes with rsync. That might save you hours of troubleshooting and frustration ;) .

Please consider that I rely on your support to improve the script and really appreciate your involvement.

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.23-2.tar
  4. sudo ./AlsaUpgrade-1.0.23-2.sh -d
  5. sudo ./AlsaUpgrade-1.0.23-2.sh -c
  6. sudo ./AlsaUpgrade-1.0.23-2.sh -i
  7. sudo shutdown -r 0

Logging: I recommend to log all the upgrade steps, e.g.

script -a -c "./AlsaUpgrade-1.0.23-2.sh -d" /tmp/Alsa_1.0.23-2_upgrade_download.log

You'll find a log file /tmp/Alsa_1.0.23-2_upgrade_download.log as soon as the script is finished. You need to run this procedure for every single step. Choose whatever logfile names.

_Test and Troubleshooting_

After reboot you can type:

cat /proc/asound/version

This will let you know if you're running the new version.

The easiest and most reliable test to verify if Alsa is working is "aplay" - the Alsa player application. If aplay won't work -- nothing else will work.

Make sure that all your channels are unmuted and volume is up!

Type in a terminal: $ aplay -l (This won't work on e.g. webcams with a microphone only. Here you need to do a $cat /proc/asound/cards to see if it is there"

If you see your soundcards, you're almost there.

To test your first (default-index 0 X=0) soundcard, type e.g.: $ aplay -Dplughw:X,0 -fcd /<your-music-directory>/<replace-this-with-your-soundfile>.wav or e.g. $ speaker-test -Dplughw:X,0 -c2 replace the X with the index of your soundcard index , which you find out by typing "aplay -l" - look for "card X"

Multichannel you can test the following way:

Note: If the channel mapping should be wrong you need to adjust it in .asoundrc

  1. Type $aplay -L to find out about your pcm device . e.g "surround51"
  2. Type $speaker-test -D surround51 -c6

Before reporting "NO SOUND" problems - check if your alsamixer-channels are activated and unmuted (gnome-mixer/volume-control/preferences)!! Very often there are headphone-jack, Toslink, SPDIF or microphone issues reported. Usually this has something to do with wrong alsamixer settings or more seldom with a wrong model-id assigned to your sound-driver in /etc/modprobe.d/alsa-base.conf . If you're lacking certain controls in alsamixer or your driver is not even being loaded, you should check-out your model-id in attached HD-Audio-Models.txt. I strongly recommend to try similar model-id's matching your codec to checkout if your faulty function gets working. I'd guess 80% of the reported problems (group: other than alsamixer issues) over here are related to the model setting in alsa-base.

Howto:

  1. sudo gedit /etc/modprobe.d/alsa-base.conf

options snd-hda-intel index=-2

options snd-hda-intel index=-2 model=XXXXX

  1. Look for:
  2. Lookup your model in HD-Audio-Models.txt and change entry accordingly:
  3. Save & Exit & Reboot

Please also have a look at these sides for further help:

http://ubuntuforums.org/showthread.php?t=843012 https://help.ubuntu.com/community/SoundTroubleshooting

To avoid spaming the ALSA mailing list with problems, I strongly recommend to install the very latest driver snapshots taken from the source tree. There'll be a slight chance that issues might be resolved already.

Use the -s option of the upgrade script to get the latest driver snapshot installed.

(NOTE: The snapshot is neither an official driver release nor an official pre-release or release-candidate - however, it reflects an "approved" status by the Alsa main developers. Therefore you don't risk much to install it.)

Alsa provides alsa-info.sh. It is a shell script collecting all kind of data related to the audio environment. The Alsa designers will ask for the log in case we encounter rather severe problems. However before sending the stuff to Alsa the upgrade script should have been run with the -s function. The problem you're running into might be already resolved in the latest drivers snapshot.

Download alsa-info.tar first

$ tar xvvf alsa-info.tar $ sudo alsa-info.sh --no-upload

You can attach the log-file here or you send the output to the ALSA mailing list. This way you also actively contribute to ALSA quality improvements.

To make troubleshooting over here a bit more efficient, report:

  1. Name your Ubuntu revision
  2. Kernel revision
  3. Alsa revision
  4. Upgrade script revision
  5. A bit of background what you've done resp. done before
  6. Attach the relevant logs

A bit of statistics since mid of October 2008: 30750 downloads

#1116

alexmusbar said: hi,

i'm using BlankOn ombilin (it think this is same with ubuntu) in hp presario Cq42. everything is ok but only sound is not ok (there's no sound). i've already upgrade my alsa with 1.0.23 but still not working....please help me. I have a Compaq CQ42 here also. Yes sound is borked on Ubuntu but Wifi works without intervention. Opensuse 11.3 sound works flawlessly but Wifi is impossible to get working. I'm fed up with distro's not all working together to share knowledge & improve Linux.

#1117

Beware, that the script will overwrite your /usr/share/alsa/alsa.conf and it won't include your pulseaudio configuration anymore. Applications using ALSA (like chrome or flash plugin) will block your soundcard.

The solution is to include "/usr/share/alsa/pulse-alsa.conf" into the @hooks ... files section of /usr/share/alsa/alsa.conf, so that the section reads:


@hooks [
        {
                func load
                files [
                        **"/usr/share/alsa/pulse-alsa.conf"**
                        "/etc/asound.conf"
                        "~/.asoundrc"
                ]
                errors false
        }
]
#1118
  • alsa-driver-1.0.23 make failed

Trying to install ALSA 1.0.23 - on Ubuntu 10.10 fails.

#1119

thinktyler said: Trying to install ALSA 1.0.23 - on Ubuntu 10.10 fails.

log?

#1120

cg0191 said: I have to agree with you. As I see it all the Linux 'Distro's" are little fiefdoms of knowledge with each reinventing the wheel over & over.

It's about bloody time basic functionality like this was sorted out. I'm tired of excuses & them concentrating on rearranging icons & eye candy nonsense .The funny part in this: there seems to be no distro out there, that in every respect 'just works'(TM), but almost all I tried can handle sound properly - except Ubuntu!

So, dito: before introducing new 'fancy' stuff like file sharing apps (which tend to weaken security) and polished looks, Ubuntu has to get fit in basic disciplines. I'm glad about reliable open source 2D-accelleration for my Ati card now, but it's amazing like ever since the Network Manager was introduced I always had to fall back to 'pppeoconf' to finally get a connection (luckily, now I have a router). Or like I had to go through the 'Comprehensive Sound Problem Solutions Guide' with every new release - now, even this won't work - so I'm left to running somebody's homegrown script in the end?

Sorry, no offense, but no!

#1121

/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined

./include/generated/autoconf.h:2099: note: this is the location of the previous definition CC [M] /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/sgbuf.o In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/alsa-autoconf.h:4, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/sgbuf.c:1: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2099: note: this is the location of the previous definition CC [M] /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm.o In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm.c:1: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2099: note: this is the location of the previous definition In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm.c:1: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2099: note: this is the location of the previous definition CC [M] /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25, from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:2: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2099: note: this is the location of the previous definition /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function &#8216;snd_pcm_hw_params&#8217;: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function &#8216;pm_qos_remove_requirement&#8217; /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function &#8216;pm_qos_add_requirement&#8217; make[3]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic' make: * [compile] Error 2

Works with older Kernel, but not this one, so I think the script needs to be updated, or ALSA to support the kernel released in 10.10

#1122

I'm a little confused.Do you need to run commands 4. 5. and 6. or will any one of the three work?

Short Alsa-Upgrade script install instructions:

  1. download the script and save it somewhere
  2. cd <your-download-dir>
  3. tar xvf AlsaUpgrade-1.0.23-2.tar
  4. sudo ./AlsaUpgrade-1.0.23-2.sh -d
  5. sudo ./AlsaUpgrade-1.0.23-2.sh -c
  6. sudo ./AlsaUpgrade-1.0.23-2.sh -i
  7. sudo shutdown -r 0

Edit: the script prompted me with the answer to this post

#1123

I'm a little confused.Do you need to run commands 4. 5. and 6. or will any one of the three work?

You need to run 4. 5 and 6. ! 4. to download, 5. to compile and 6. to install ;)

#1124

thinktyler said: Works with older Kernel, but not this one, so I think the script needs to be updated, or ALSA to support the kernel released in 10.10

Ubuntu 10.10 already has the latest ALSA release (1.0.23)

#1125

Temüjin said:

Ubuntu 10.10 already has the latest ALSA release (1.0.23)

Interesting, upgrading breaks my sound, and doesn't detect my soundcard. Thanks for that bit of information. I'm going to do a fresh install and see if that solves the problem.

Ya, dumb error on my part, my AUX cable came lose, so all sound is fixed in 10.10. Cheers.

#1126

I need to compile mine own ALSA 1.0.23 with patch, but i can't do this in Ubuntu 10.10 with new 2.6.35 kernel.

If there is any way to do this ? Send me PM if you know how to

This script only works for 32 and older kernels...

#1127

Ranger21 said: I need to compile mine own ALSA 1.0.23 with patch, but i can't do this in Ubuntu 10.10 with new 2.6.35 kernel.

If there is any way to do this ? Send me PM if you know how to

This script only works for 32 and older kernels... What is the issue/error message?

#1128

/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2232: note: this is the location of the previous definition /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1 make[2]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2 make[1]: * [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2 make[1]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/src/linux-headers-2.6.35-22-generic-pae' make: * [compile] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2

***************************************************************************

  • alsa-driver-1.0.23 make failed

Supported kernels: 2.6.24/26/27/28/29/30/31/32 family (including rt-kernel & NON-Ubuntu ZEN-rt-kernel)

Is there any way to compile alsa for .35 ?

#1129

Ranger21 said: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined

./include/generated/autoconf.h:2232: note: this is the location of the previous definition /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1 make[2]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2 make[1]: * [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2 make[1]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/src/linux-headers-2.6.35-22-generic-pae' make: * [compile] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2

***************************************************************************

  • alsa-driver-1.0.23 make failed

Supported kernels: 2.6.24/26/27/28/29/30/31/32 family (including rt-kernel & NON-Ubuntu ZEN-rt-kernel)

Is there any way to compile alsa for .35 ?

Same problem here. Hope there is a solution.

#1130

I managed to get it to compile by issuing "-s" instead of "-d" to download an SVN version instead of the stable version. It then compiled and installed normally.

It didn't fix my sound problems but I think those run deeper. I still get "implicit declaration of function" errors when I try to install the Linuxant driver.

#1131

CarpKing said: I managed to get it to compile by issuing "-s" instead of "-d" to download an SVN version instead of the stable version. It then compiled and installed normally.

It didn't fix my sound problems but I think those run deeper. I still get "implicit declaration of function" errors when I try to install the Linuxant driver.

Thank you. I did also work for me.

But after rebooting my PC (acer 4745g ubuntu 10.10) it does not open gnome. :mad: all it does is opening the terminal. It says something like: tty1 "username" login. After typing in username and password, i am still just in the terminal. startx does not bring me anywere!

Can someone please help? I really need it! TNX!

Sorry for the bad english!

#1132

I did tha same thing adding -s to compile on .35 (Ubuntu 10.10) and it went fine, but after reboot nothing works, and it seems that there is no alsa-driver at all. I downloaded the latest nonstable alsa-driver-1.0.23.83.gd4453.781.g24330, compiled and installed it manually - but same picture after reboot. thats what i get: cat: /proc/asound/version: no such file i also got this in the ind of a script:

chmod: cant get acces to `/dev/dsp': no such file or catalogue

chmod: cant get acces to /dev/mixer': no such file or catalogue chmod: cant get acces to/dev/sequencer':no such file or catalogue chmod: cant get acces to /dev/midi':no such file or catalogue chmod: cant get acces to /dev/snd/*': no such file or catalogue

***************************************************************************

***************************************************************************

  • Alsa packages sucessfully installed - reboot your system now

Can anyone help with that problem?

#1133

Yay, upgrade of alsa (even from last snapshot) brokes all Sound in Ubuntu 10.10, so only if you reinstall system there will be a sound.

:( Bad, bad...

Guess i should stick to 10.04 of Ubuntu, it's still LTS

#1134

Returning to Xubuntu after a year of Slackware... I have to say. You are a GOD. I have ALWAYS had problems with ca0106 and Xubuntu and spent HOURS trying to figure it out, sometimes I get it, sometimes no. This worked for me after the first try.

A really big thank you. Seriously. :guitar:

#1135

I, too, am getting the implicit declaration errors. Here is the relevant section:

/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:
/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’
/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’
make[3]: *** [/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
make[2]: *** [/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/home/adam/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [compile] Error 2

Anyone have an idea how to get this to compile?

#1136

AppleBonker said: I, too, am getting the implicit declaration errors. Here is the relevant section:

/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:
/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’
/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’
make[3]: *** [/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
make[2]: *** [/home/*/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/home/adam/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [compile] Error 2

Anyone have an idea how to get this to compile? You have to use the script's -s option to get a very recent ALSA which supports the 2.6.35 kernel that Maverick/10.10 uses.

#1137

Temüjin said: You have to use the script's -s option to get a very recent ALSA which supports the 2.6.35 kernel that Maverick/10.10 uses.

Sorry, I should've specified this on my previous post, but I submitted quickly out of frustration. I am actually not using the upgrade script (I only posted here because there seems to be traffic and all you folks appear to know what you're talking about). This is the driver provided by the manufacturer (Realtek). So would I then be correct in assuming that I need to wait for them to upgrade their driver package to support the latest kernel in use on Maverick?

#1138

Ran the script hoping to get 5 channel audio. Now when I boot the machine I get audio and can see my card in gnome-volume-control for about 5 minutes then audio stops and when I go back into gnome-volume-control the hardware is no longer listed.

Any thoughts? going to run the script again with -r and hope for the best.

Running Ubuntu 10.04, 2.6.32-24-generic-pae Alsa 1.0.23 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf9f78000 irq 20 Alsa Log: [URL="http://pastebin.com/jn19xyB1"]http://pastebin.com/jn19xyB1 [/URL]

#1139

Also, I should add that if I run the script, I can get digital audio out. But I need to get digital and analog simultaneously, which I believe requires the driver I've downloaded directly from realtek. I've tried messing with the script to have it install the realtek driver rather than the default alsa driver in the script, but it doesn't appear to want to compile and install correctly. I've also tried installing the driver manually (which appears to be successful) and then commenting out the driver compile/install portion of the script, but that again doesn't show my hardware. I've noticed that the final portion of the script (copying modules) does not run appropriately with the realtek driver even when the script is set to extract the driver to the appropriate ${ALSASRCDIR}/${DRIVER}/ directory. Any ideas on how I might be able to get this functional?

#1140

Wow, I feel slow. It was trying to copy modules that were not extracted during the install of the driver since it was searching the script's install directory and not the directory where the driver was located. Once I adjusted that portion of the script, the install worked flawlessly.

Anyway, thanks for the script as it appears everything was compiled and installed correctly. Unfortunately, I still only have audio out of the digital output and not analog. I'm not sure what I'm missing, but I have the latest alsa version and the proper driver installed. I guess there is some configuration setting somewhere I'm overlooking. If anyone is familiar with the Asus A8N-SLI Deluxe mobo and has gotten sound out of it I will gladly take some suggestions!

#1141

xoom said: Ran the script hoping to get 5 channel audio. Now when I boot the machine I get audio and can see my card in gnome-volume-control for about 5 minutes then audio stops and when I go back into gnome-volume-control the hardware is no longer listed.

Any thoughts? going to run the script again with -r and hope for the best.

Running Ubuntu 10.04, 2.6.32-24-generic-pae Alsa 1.0.23 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf9f78000 irq 20 Alsa Log: [URL="http://pastebin.com/jn19xyB1"]http://pastebin.com/jn19xyB1 [/URL]

Have you tried using the -s option?

#1142

AppleBonker said: This is the driver provided by the manufacturer (Realtek). So would I then be correct in assuming that I need to wait for them to upgrade their driver package to support the latest kernel in use on Maverick?

You may be in the same boat as I am. I am trying to install the Linuxant driver for my Conexant card. I can only compile successfully with this script using -s, otherwise I get the same error I get with the .deb of the Linuxant driver. The driver also comes as a patch, but it only applies successfully to the stable version of ALSA.

The patch seems to claim that it is GPL; I wonder why it isn't in ALSA by default.

#1143

CarpKing said: You may be in the same boat as I am. I am trying to install the Linuxant driver for my Conexant card. I can only compile successfully with this script using -s, otherwise I get the same error I get with the .deb of the Linuxant driver. The driver also comes as a patch, but it only applies successfully to the stable version of ALSA.

The patch seems to claim that it is GPL; I wonder why it isn't in ALSA by default.

I don't think it's a driver issue on my end anymore. I can get some audio out of the analog ports on my card with the realtek driver as well as the standard alsa driver (unfortunately it is at a terribly low volume and distorted). I can't even compile the driver (not using this script) in Maverick. But, it compiles fine in Lucid. Both installs yield the same buggy analog results though.

#1144

Hi all,

Am having a problem with alsa on 2.6.32-25-generic kernel. started wit yavdr 0.3 and did a dist upgrade and got the new kernel.

So after a few hours of removing alsa-dkms and backports. I used the script provide here with the -s option to install the alsa driver.

the card is seen and the module is loaded but the aplay say no card available alsa info locate here http://www.alsa-project.org/db/?f=7a0fcd97e3304a46e0557c5b91296882b148e23c

anyone any ideas.

Chris

#1145

This upgrade failed for me.

See here:

/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2222: note: this is the location of the previous definition
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’
make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [compile] Error 2

***************************************************************************
*  alsa-driver-1.0.23 make failed
***************************************************************************

The compilation step would not proceed and now the ALSA info script output is:

ALSA Information Script v 0.4.59
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See 'alsa-info.sh --help' for command line options.

cat: /proc/asound/version: No such file or directory
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
cat: /proc/asound/modules: No such file or directory
ls: cannot access /dev/snd/*: No such file or directory
grep: /proc/asound/cards: No such file or directory
/sbin/alsactl: save_state:1504: No soundcards found...
cat: /tmp/alsa-info.iWezHwJd8O/alsactl.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ...  Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=9fbbe4189007e384ac6d9a5abdff51cac0e51797
#1146

The script does not work on Maverick unless you use the -s option to grab a snapshot. Maverick already has the latest ALSA release anyway..

#1147

Any suggestions on how to recover from this?

#1148

Paulgirardin said: Any suggestions on how to recover from this?

Use the -r or the -s option.

#1149

Hmm... I know this is somewhat tangential to this thread, but I wonder if I could apply the Linuxant patch to the source code of Ubuntu's default ALSA. I have the alsa-source package installed, but I'm not sure how to patch or compile it, as it doesn't seem to have the same directories as the source code downloaded by this script.

#1150

And so, in the end, my problem was fixed by other means.

I added ``` options snd-hda-intel model=ideapad

to /etc/modprobe.d/alsa-base.conf and installed updated ALSA modules as per [this page.](https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules)

The latter is probably what fixed my problem, but I'm not completely confident in my restarting of ALSA/pulseaudio while fiddling with the alsa-base.conf options (I did not reboot until the module upgrade).  

Sorry for the noise, but hopefully this helps someone.
#1151

I think the problem lies in the include file pm_qos_params.h

I added 2 lines to it:-

int pm_qos_add_requirement(int qos, char *name, s32 value); void pm_qos_remove_requirement(int qos, char *name);

I was then able to compile alsa (in maverick) with loopback.

#1152

hg21 said: I think the problem lies in the include file

pm_qos_params.h

I added 2 lines to it:-

int pm_qos_add_requirement(int qos, char *name, s32 value); void pm_qos_remove_requirement(int qos, char *name);

I was then able to compile alsa (in maverick) with loopback.

Me too, i've got same error with "snd_pcm_hw_params".

Would you tell where to put that 2 lines? It's my first time using the Alsa Upgrade script. Thanks

#1153

Hi! I'm running the latest Mythbuntu 10.10 and your script fails to compile with 2 errors. :(

My Kernel is 2.6.35-22-generic

Here's the end of my log file.

./include/generated/autoconf.h:2099: note: this is the location of the previous$ In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:$ from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h$ from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm.c:1: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG$ ./include/generated/autoconf.h:2099: note: this is the location of the previous$ CC [M] /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:$ from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h$ from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.$ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG$ ./include/generated/autoconf.h:2099: note: this is the location of the previous$ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pc$ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit$ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit$ make[3]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error$ make[2]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic' make: * [compile] Error 2

***************************************************************************

***************************************************************************

  • alsa-driver-1.0.23 make failed
#1154

rhartman said: Hi! I'm running the latest Mythbuntu 10.10 and your script fails to compile with 2 errors.

The reasons and workarounds for this error are covered in the recent posts to this thread.

#1155

This upgrade script took care of my Macbook Pro 6,2 onboard sound problem. Previously, I had sound, but it would only work through external speakers or headphones. After running this awesomely detailed ALSA upgrade script, my internal and external speakers work flawlessly. Many thanks Lidex! \\:D/

#1156

I'm trying to use this guide to get NVIDIA HDMI audio out working on my Zotac ZBOX. They have a guide here (http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBMQFjAA&url=http%3A%2F%2Fwww.zotac.com%2Findex.php%3Foption%3Dcom_myblog%26show%3Dhow-to-enable-hdmi-audio-in-xbmc-livecd-with-zbox.html%26Itemid%3D100013%26lang%3Den&ei=Af3ITID7K4OqsAPspqntDg&usg=AFQjCNEgpQsmHSzuSr2e_4UHdw86HJin3w) that basically just references this guide, with a few minor tweaks. However, one of the tweaks is to apply the patch here http://forum.xbmc.org/showpost.php?p=502799&postcount=13, but I've noticed that the patch affects /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/sound/pci/hda/patch_nvhdmi.c which doesn't exist in my alsa source folder? Am I missing something? Is that patch no longer needed? I omitted that step and did everything else, but I still can't get audio out. Alsamixer shows the HDA NVidia HDMI as a sound card, but only lists one S/PDIF output and won't let me change volume on it?

#1157

Awesome,

thank you

this worked for my alienware m11x with ubuntu 10.04 and realtek id 665 soundcard

Thanx

#1158

I am already on 10.10 and, from reading the reason for the errors on 2.6.35-22-generic, I already have the newwest Alsa version.

Sadly, I have an issue with Razer Megalodon headset. If I connect them before I boot my computer, the sound card in it is recognise (7.1, 5.1 and 4.1) but, if I hotplug in the USB port after booting, only the Mic is seen, I have to type:

sudo alsa force-reload

and they will work properly. Is there anything in this procedure that would help or any ideas of what I could try out ?

I have been contacted by someone who has the same headset and no issues neither on 10.04 and 10.10.

#1159

Thanks a lot for this topic , now i am using ubuntu 10.10 and my problem is when boot with headphone plug in .They can give the sound at the same time ,so i must re-plug in or after log in system . So i do compile sources code with latest version 1.0.23 and read some pages before ,and get same result like #1153 . Can you give some tips ?

regards.

#1160

fowie said: I'm trying to use this guide to get NVIDIA HDMI audio out working on my Zotac ZBOX. They have a guide here (http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBMQFjAA&url=http%3A%2F%2Fwww.zotac.com%2Findex.php%3Foption%3Dcom_myblog%26show%3Dhow-to-enable-hdmi-audio-in-xbmc-livecd-with-zbox.html%26Itemid%3D100013%26lang%3Den&ei=Af3ITID7K4OqsAPspqntDg&usg=AFQjCNEgpQsmHSzuSr2e_4UHdw86HJin3w) that basically just references this guide, with a few minor tweaks. However, one of the tweaks is to apply the patch here http://forum.xbmc.org/showpost.php?p=502799&postcount=13, but I've noticed that the patch affects /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/sound/pci/hda/patch_nvhdmi.c which doesn't exist in my alsa source folder? Am I missing something? Is that patch no longer needed? I omitted that step and did everything else, but I still can't get audio out. Alsamixer shows the HDA NVidia HDMI as a sound card, but only lists one S/PDIF output and won't let me change volume on it?

Having the same problem, anyone able to give any insight into this?

#1161

Can anyone explain how the firmware in the ALSA Upgrade Script is applied to the system? For instance, does it install itself into the computer's hardware permanently, or does it just reside on the Linux operating system? Would removing/reinstalling the operating system effectively remove the firmware?

#1162

Hello, thank you for your work. I've got a X-FI Xtreme audio PCI-E and with the last snapshot it finally works. I installed lask week and almost everything is ok. In fact, until then I used OSS with 2.1, today I can enjoy five sound channels :D

However, I have no sound with flash. And I can't understand why. I have post here: http://ubuntuforums.org/showthread.php?p=10042590

Anyone can help me? Thanks in advance.

#1163

I also have a x-fi. Also have the same problem. Hoewever, the settings seem to have 5.1 but they are not very bright from the speakers. My question is, is there a stable version out with 5.1?

#1164

I tried the script, but I kept getting "make failed" on the first compilation. Does anyone know why, and how to fix it?

#1165

lkjoel said: I tried the script, but I kept getting "make failed" on the first compilation.

Does anyone know why, and how to fix it?

Same here.. would be nice if this is sorted soon.

#1166

Got this as an error...

*  alsa-driver-1.0.23 make failed

I was on the second step, the compiling one I think.

#1167

ubudog said: Got this as an error...

*  alsa-driver-1.0.23 make failed

I was on the second step, the compiling one I think. That was the same one I was on. I tried doing it manually to no luck.

#1168

lkjoel said: That was the same one I was on.

I tried doing it manually to no luck.

Manual doesn't work for me either, gonna do a reinstall now....

#1169

[SIZE=2]I have read and tried lots of suggestions in order to fix sound on a Vaio laptop. Yours was the only one worked for me. :)

Great job, thanks a lot! [/SIZE]

#1170

script is erroring....

--2010-11-08 16:15:46-- ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2

(try:16) => `alsa-driver-1.0.23.tar.bz2' Connecting to ftp.alsa-project.org|212.20.107.51|:21... connected. Logging in as anonymous ... Error in server response, closing control connection. Retrying.

Is that happening to anyone else or is the server it is going to just down for a bit?

#1171

This script works perfectly, many thanks for putting this up! I recently patched and broke the sound on this Macbook Pro again, I then ran the script to "fix it back". It worked yet again without a hitch! :)

#1172

I finally reinstalled, should have never messed with ALSA, it's mean. Everything works now....:)

#1173

Error compiling under Maverick with 2.6.35-22 ]kernel . Here is my log, si it something bad in my system or in the script?

Thank you very much

#1174

Toshiba NB 255 netbook with Ubuntu 10.04 = no headphone functionality. Installing ALSA upgrade Script resolved issue. Kudos and thanks much! dok124 :)

#1175

I'm also getting the same compilation error as all the other people using Maverick.

Please help? This is my last chance to get my X-Fi Xtreme Audio PCI-E CA0110-IBG to work.

Thanks!

#1176

OK, to be totally honest with you guys I'm a little confused.

I read this entire thread and see some people saying 10.10 comes with the latest ALSA version (1.0.23), while other are trying to install this upgrade script.

The upgrade script is 1.0.23-2. Is that version different from the one that comes with Maverick 10.10?

Mine says that the ALSA version is 1.0.23 yet my X-Fi Extrene Audio PCI-E card is detected but does not produce any sound what so ever over the optical OUT connection.

What am I missing?

#1177

bludy, I've got that card, and I had to install the snapshot driver to make it work. Try it.

#1178

I'm trying to use this for my M-Audio 1010lt, in ubuntu 10.10. Options -d -c -i failed building at the -c stage. Options -d -s -c -i caused my computer to stop recognising the sound card altogether, and -r won't bring it back.

I had only just reinstalled ubuntu today, so I'm not too bothered about having to do it again. But any suggestions for getting some sound after I've done that?

#1179

BenSwire said: I'm trying to use this for my M-Audio 1010lt, in ubuntu 10.10.

Options -d -c -i failed building at the -c stage. Options -d -s -c -i caused my computer to stop recognising the sound card altogether, and -r won't bring it back.

I had only just reinstalled ubuntu today, so I'm not too bothered about having to do it again. But any suggestions for getting some sound after I've done that? Don't upgrade ALSA on Ubuntu 10.10 It already has the latest version.

#1180

kenpuu said: bludy, I've got that card, and I had to install the snapshot driver to make it work. Try it.

Kenpuu,

You won't believe this but you're the first person to give me a "simple" answer :)

Could you please point me to where I should go or what I should do to install the snapshot driver?

Is that what is referred to here as using the -s option to get the latest code from SVN?

Thanks!

...I feel like I'm close now....

#1181

lkjoel said: Don't upgrade ALSA on Ubuntu 10.10

It already has the latest version.

OK I can't help but respond to this. When you say 10.10 has the latest ALSA version does that mean it is what kenpuu is referring to as the "snapshot" version?

I don't think so right?

If they're not the same then I think we're saying that "some" people "should" upgrade their ALSA version even if they're on 10.10.

#1182

bludy said: OK I can't help but respond to this. When you say 10.10 has the latest ALSA version does that mean it is what kenpuu is referring to as the "snapshot" version?

I don't think so right?

If they're not the same then I think we're saying that "some" people "should" upgrade their ALSA version even if they're on 10.10.

I don't think 10.10 has the snapshot version. And yes, it worked for me writing -s. It would be:

./AlsaUpgrade-1.0.23-2.sh -d; 
./AlsaUpgrade-1.0.23-2.sh -s; 
./AlsaUpgrade-1.0.23-2.sh -c; 
./AlsaUpgrade-1.0.23-2.sh -i

I did that and it worked. However, I had a problem with sound in flash. It's solved here:

http://ubuntuforums.org/showthread.php?p=10042590#post10042590

This comment: http://ubuntuforums.org/showpost.php?p=10087073&postcount=7

#1183

bludy said: OK I can't help but respond to this. When you say 10.10 has the latest ALSA version does that mean it is what kenpuu is referring to as the "snapshot" version?

I don't think so right?

If they're not the same then I think we're saying that "some" people "should" upgrade their ALSA version even if they're on 10.10. Yes, Ubuntu 10.10 does not have the snapshot.

#1184

Another thanks to add to the big list. I've been trying to get an Asus UL20FT work with Ubuntu - well any distro by now! - and had to stick with 10.04 for decent graphic card support - but then I found out the soundcard wouldn't switch to the headphones. This script was the only thing that actually got alsa working correctly for me. Thanks!!

#1185

I'm trying to get audio to work through my G45 supplied HDMI interface.

I ran the script because some random other thread told me everything worked for him after that.

script hasn't done any harm and the "speaker-test -Dplughw:0,3 -c8" command that these instructions lead me to shows my front channels running through the HDMI but I can't find how to tell all other apps to use the HDMI they keep using the analogue.

aplay -l gives:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC887 Digital [ALC887 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 7: INTEL HDMI 1 [INTEL HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

speaker-test -Dplughw:0,7 -c4 either of the following two commands gives me sound through HDMI:

speaker-test -Dplughw:0,3 -c4
speaker-test -Dplughw:0,7 -c4

and putting 0 or 1 after the comma sound through the analogue ports.

Where should I be looking to get the sound to default to the HDMI?

Also any hints on why I'm only get sound through the front channels and not the rear channels with the above test sound command?

#1186

Hi AppleBonker, I am having the same issue with the RealTek driver install script that you described below.

Could you please detail which part of which script you changed? I'm going a bit nuts trying to figure out how to modify the script.

Thanks in advance! Brian.

AppleBonker said: Wow, I feel slow. It was trying to copy modules that were not extracted during the install of the driver since it was searching the script's install directory and not the directory where the driver was located. Once I adjusted that portion of the script, the install worked flawlessly.

Anyway, thanks for the script as it appears everything was compiled and installed correctly. Unfortunately, I still only have audio out of the digital output and not analog. I'm not sure what I'm missing, but I have the latest alsa version and the proper driver installed. I guess there is some configuration setting somewhere I'm overlooking. If anyone is familiar with the Asus A8N-SLI Deluxe mobo and has gotten sound out of it I will gladly take some suggestions!

#1187

Thanks for the script. Worked perfectly on my Alienware m11x R2. 2.6.31-11-rt #154-Ubuntu SMP PREEMPT RT Wed Jun 9 13:40:34 UTC 2010 x86_64 GNU/Linux

#1188

As a newbie to ubuntu (linux) intent on creating for myself a Micro$oft free environment and desperately trying to follow this thread, can anyone please explain:

  • what the preceding pages of hieroglyphics actually mean?
  • what anyone is meant to do with them?
  • why everything is written in such geek terminology?
  • and is this all designed to be a 'barrier to entry'?
#1189

Hans Upp said: As a newbie to ubuntu (linux) intent on creating for myself a Micro$oft free environment and desperately trying to follow this thread, can anyone please explain:

These are just outputs of commands written to a Terminal.

  • what the preceding pages of hieroglyphics actually mean?
  • what anyone is meant to do with them?
  • why everything is written in such geek terminology?
  • and is this all designed to be a 'barrier to entry'?
#1190

Thanks for the script. Worked perfectly on my Dell Vostro 1014 2.6.32-26-generic #47-Ubuntu SMP Wed Nov 17 15:59:05 UTC 2010 i686 GNU/Linux Ubuntu 10.04.1 LTS

I have the dreaded plug in headphones and computer speaker won't shut off. I think the dell-vostro model was added to alsa in 1.0.22.1 (I has 1.0.21 with Ubuntu 10.04.1 install).

I also edited the /etc/modprobe.d/alsa-base.conf and added options snd-hda-intel index=-2 model=dell-vostro

#1191

soundcheck said: Latest post update 05/10/2010

Alsa 1.0.23 (stabil)

...

Supported kernels: 2.6.24/26/27/28/29/30/31/32 family (including rt-kernel & NON-Ubuntu ZEN-rt-kernel)

Thank you soundcheck! You are my local hero. :D This script works fine on

  • Ubuntu 10.04
  • Kernel *Linux version 2.6.32-26-generic*
  • ASUS M4A78-HTPC

Now, I also have SPDIF output, at least optical ;)

This upgrade package was so easily to install, great! Anyway, it would be interesting to find out if Ubuntu 10.10 could even work without your script.

#1192

Thanks! You saved my life! :p

#1193

Fails on compiling upgrade script with the newest snapshot. I have a dell xps-16 and added options model=dell-m6 to the alsa-base.conf file. The hdmi output still doesn't work so I thought I'd give the newest snapshot a go.

It fails to make properly when I downloaded the newest snapshot. I'm not entirely sure last time it ran make properly either because I put all the commands in at once. After running the install script even with the improper make with the newest snapshot, it says:

Alsa packages sucessfully installed - reboot your system now

This is a couple lines before the make error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -I/usr/local/include "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF .deps/pcm_a52.Tpo -c pcm_a52.c -fPIC -DPIC -o .libs/pcm_a52.o /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -module -avoid-version -export-dynamic -no-undefined -o libasound_module_pcm_a52.la -rpath /usr/lib/alsa-lib pcm_a52.lo -lasound -pthread -L/usr/local/lib -lavcodec -ldl -lX11 -lXext -lXfixes -lasound -lxvidcore -lx264 -lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -lz -lavcore -lavutil -lasound gcc -shared .libs/pcm_a52.o -L/usr/local/lib -lavcodec -ldl -lX11 -lXext -lXfixes -lxvidcore -lx264 /usr/lib/libvorbisenc.so -L/usr/lib /usr/lib/libvorbis.so /usr/lib/libtheoraenc.so /usr/lib/libtheoradec.so -logg -lopencore-amrwb -lopencore-amrnb /usr/local/lib/libmp3lame.a /usr/lib/libfaac.so -lm -lz -lavcore -lavutil /usr/lib/libasound.so -pthread -Wl,-soname -Wl,libasound_module_pcm_a52.so -o .libs/libasound_module_pcm_a52.so /usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against a64multi_encoder' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: * [libasound_module_pcm_a52.la] Error 1 make[2]: Leaving directory /usr/src/Alsa-1.0.23/alsa-plugins-1.0.23/a52' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/Alsa-1.0.23/alsa-plugins-1.0.23' make: *** [all] Error 2

***************************************************************************

  • alsa-plugins-1.0.23 make failed

I think it is an error with libavcodec.a but where to I add in to run this compile with -fPic. Somewhere within the upgrade script file or is this done externally when I compiled it.

#1194

I think the issue is it's trying to use the libavcodec.a I compiled for use with ffmpeg and x264. Is there anyway around this or should I uninstall ffmpeg and x264 possibly to get back the original??

#1195

Anyone has this issue of failed compiling because using the wrong libavcodec.a file. Please add the below to use the system default /usr/lib instead of /usr/local/lib. This was caused on my install because of the installation of ffmpeg and x264 from source.

Add two lines below at the top after all the comments.


PACKAGE=1.0.23

# Make the script look for libav* in /usr/lib first:
PKG_CONFIG_PATH=/usr/lib/pkgconfig
export PKG_CONFIG_PATH

This could probably be permanently added in the code where the compilation that uses libavcodec.a happens because anyone that compiles ffmpeg from source will have this issue but soundcheck can add or knows better.

Cheers

#1196

This thread is the bomb. I have been searching on how to get my zotac ion to have flash sound for days. Edit /etc/modprobe.d/alsa-base.conf add this to the bottom. options snd-hda-intel model=ALC888

Glorious Glorious sound with flash, boxee, mythtv, you name it. :) :)

#1197

Hi,

I have a AUS eee 1001PX, Ubuntu lucid 10.04 I have sound but internal microphone does not work

Everything is unmuted in alsamixer I am only using one channel (for example, right to 100%, left muted). I tried also removing pulseaudio but this didn't work either.

I already had the microphone working for a month, after doing this, but yesterday I lost sound, and after I reinstalled the microphone still does not work.

Should I update something or write some line to etc/modprobe.d/alsa-base.conf ?

Any help would be greatly appreciated!

The content of my alsa-base.conf is this:

autoloader aliases

install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7

Cause optional modules to be loaded above generic modules

install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } #

Workaround at bug #499695 (reverted in Ubuntu see LP #319505)

install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; } install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; } # install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }

Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; } install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }

Prevent abnormal drivers from grabbing index 0

options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 options snd-usb-caiaq index=-2

Ubuntu #62691, enable MPU for snd-cmipci

options snd-cmipci mpu_port=0x330 fm_port=0x388

Keep snd-pcsp from being loaded as first soundcard

options snd-pcsp index=-2

#1198

TY, this script ****ed up my sound, how the hell can i revert this process back to original state?

#1199

Thanks from Russia!!!!!!!!:popcorn:

#1200

I've run this script on a clean Linux Mint 10 64bit install and it fails on the compilation step:

make -C /usr/src/linux-headers-2.6.35-24-generic SUBDIRS=/usr/src/Alsa-1.0.23/alsa-driver-1.0.23  CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-24-generic'
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/hrtimer.o
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/hrtimer.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/hwdep.o
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/hwdep.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/hwdep.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/memory_wrapper.o
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/alsa-autoconf.h:4,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/memory_wrapper.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/memalloc.o
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/alsa-autoconf.h:4,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/memalloc.inc:1,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/memalloc.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/alsa-autoconf.h:4,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/memalloc.inc:1,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/memalloc.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/sgbuf.o
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/alsa-autoconf.h:4,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/sgbuf.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm.o
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm.c:1:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
  CC [M]  /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o
In file included from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config.h:6,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/adriver.h:25,
                 from /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:2:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2099: note: this is the location of the previous definition
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’
make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-24-generic'
make: *** [compile] Error 2

***************************************************************************
*  alsa-driver-1.0.23 make failed
***************************************************************************

Any help?

#1201

exactly the same problem as wingnux - no sound since installed 10.10 - really frustrating...

here are the last few lines: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2099: note: this is the location of the previous definition /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-24-generic' make: * [compile] Error 2

***************************************************************************

  • alsa-driver-1.0.23 make failed
#1202

I am using Kubuntu 10.10 The make file failed and now i have lost sound... How can i revert back???

#1203

I have a xs35gt and ran the alsa upgrade script with -s to get the latest copy as im running ubuntu 10.10.

after a reboot i have no sound and aplay -l displays no sound cards.. any ideas?? aplay -l displayed sound card before i ran the script..

ubuntu 10.10 system: xs35gt Linux XS35GT 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux

ideas?

lsmod before



Module                  Size  Used by
joydev                 11395  0 
usbhid                 42062  0 
hid                    84710  1 usbhid
binfmt_misc             7984  1 
parport_pc             30086  0 
ppdev                   6804  0 
nvidia              10221046  41 
snd_hda_codec_nvhdmi    15451  4 
snd_hda_codec_idt      64667  1 
snd_hda_intel          26019  0 
snd_hda_codec         100919  3 snd_hda_codec_nvhdmi,snd_hda_codec_idt,snd_hda_intel
snd_seq_midi            5932  0 
snd_rawmidi            22207  1 snd_seq_midi
snd_hwdep               6660  1 snd_hda_codec
snd_pcm                89104  2 snd_hda_intel,snd_hda_codec
snd_seq_midi_event      7291  1 snd_seq_midi
snd_seq                57512  2 snd_seq_midi,snd_seq_midi_event
snd_timer              23850  2 snd_pcm,snd_seq
r8192se_pci           512896  0 
video                  22176  0 
snd_seq_device          6912  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    64181  9 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_rawmidi,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
output                  2527  1 video
cfg80211              170293  1 r8192se_pci
soundcore               1240  1 snd
psmouse                62080  0 
snd_page_alloc          8588  2 snd_hda_intel,snd_pcm
intel_agp              32462  0 
serio_raw               4910  0 
sparse_keymap           3837  0 
jmb38x_ms               8667  0 
memstick               10185  1 jmb38x_ms
lp                     10201  0 
parport                37032  3 parport_pc,ppdev,lp
ahci                   22210  2 
sdhci_pci               7765  0 
libahci                26052  1 ahci
sdhci                  18400  1 sdhci_pci
jme                    33058  0 
mii                     5261  1 jme
led_class               3393  1 sdhci

lsmod after


binfmt_misc             7984  1 
parport_pc             30086  0 
ppdev                   6804  0 
nvidia              10221046  41 
r8192se_pci           512896  0 
sparse_keymap           3837  0 
jmb38x_ms               8667  0 
cfg80211              170293  1 r8192se_pci
psmouse                62080  0 
soundcore               1240  0 
snd_page_alloc          8716  0 
video                  22176  0 
serio_raw               4910  0 
memstick               10185  1 jmb38x_ms
output                  2527  1 video
intel_agp              32462  0 
lp                     10201  0 
parport                37032  3 parport_pc,ppdev,lp
ahci                   22210  2 
libahci                26052  1 ahci
jme                    33058  0 
sdhci_pci               7765  0 
sdhci                  18400  1 sdhci_pci
mii                     5261  1 jme
led_class               3393  1 sdhci
#1204

UPDATE: Found it was an issue with OSS https://bugs.launchpad.net/ubuntu/+source/linux/+bug/579300

I changed the AlsaUpgrade script to do --with-oss=no and the kernel modules have now loaded but i still cannot hear sound..

My receiver usually shows the PCM icon but its showing nothing at the moment.. hmmm..

even with aplay -D plughw:1,7 /usr/share/sounds/alsa/Front_Right.wav

#1205

ashzoomerintrack said: I am using Kubuntu 10.10

The make file failed and now i have lost sound... How can i revert back???

Normally, you can run the script with -r, but the build fails there, too. This has been an utter disaster here.

#1206

correct me if I'm wrong but isn't the version in the repositories 1.0.23 anyway?

#1207

Hi, Looking for some direction.

I am running ubuntu (duh) 10.04 Kernel 2.6.32-24

In my alsa-base I see the below -------------------

Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }

Prevent abnormal drivers from grabbing index 0

options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 options snd-usb-caiaq index=-2

Ubuntu #62691, enable MPU for snd-cmipci

options snd-cmipci mpu_port=0x330 fm_port=0x388

Keep snd-pcsp from being loaded as first soundcard

options snd-pcsp index=-2 --------------------------------------------

I do not see the snd-hda-intel anywhere. I did not find my model in the HD-audio....txt file but willing to take some guesses.

My problem / issue is that I just inherited a Dell Studio 1745 from my wife and the sound works OK on the speakers, but not on the headphone jacks (yes there are two headphone jacks). Likely to use the machine with the HDMI output later on so I need to understand this all much more.

Cheers

#1208

Hi,

After running Alsa upgrade script with -d -s -c -i i see no sound devices.

any idea?

#1209
  1. Ubuntu 10.10

4. sudo ./AlsaUpgrade-1.0.23-2.sh -c

Fails, attached log file.

#1210

I have a SB Audigy SE. I can get 2-channel stereo sound fine. I can get 5.1 sound but from the right speaker and subwoofer there's almost a "ping" sound that emits with the test sound when I do the test from the Sound Preferences window. When I try to play music I get no sound whatsoever. I edited the Daemon.conf file, uncommenting the "default-sample-channels = 2" and changing the 2 to 6, still the same behaviour exists.

I did the scripting instructions at the beginning of this thread and I get an " alsa-driver-1.0.23 make failed". Is this because I'm running 2.6.35-24?

#1211

Hi I'm trying to get sound running on my ALC880 Realtek intergrated chip and I get this during the -c part of the upgrade script

Excerpt from the last few lines

/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2222: note: this is the location of the previous definition /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’ /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-25-generic' make: * [compile] Error 2

***************************************************************************

***************************************************************************

  • alsa-driver-1.0.23 make failed

I've been looking every where and something is saying about missing Linux kernel headers? but... Kernel headers for this particular version of the kernel is listed in Synaptic Package manager as already installed! Could you clear this up for a newbie, (And where I might find these missing headers?, This deafining silence is very annoying, and I cannot run anything else until basic drivers are installed) Thanks.

#1212

its work, perfect!!!! I'm have a sony vaio VPCEB13EB with ubuntu 9.10 kernel 2.6.32-27

#1213

Never mind I found out on the Realtek ALC880 That you needn't panic just use the default drivers and only the back panel of jacks :lolflag: If THAT doesn't work just use sudo apt-get *alsa* or whatever it is.

#1214

d_darlac said: exactly the same problem as wingnux - no sound since installed 10.10 - really frustrating...

here are the last few lines: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/include/config1.h:175: warning: "CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined ./include/generated/autoconf.h:2099: note: this is the location of the previous definition /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c: In function &#8216;snd_pcm_hw_params&#8217;: /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function &#8216;pm_qos_remove_requirement&#8217; /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function &#8216;pm_qos_add_requirement&#8217; make[3]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error 1 make[2]: * [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2 make[1]: * [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-24-generic' make: * [compile] Error 2

***************************************************************************

  • alsa-driver-1.0.23 make failed

Try fetching down the latest alsa driver snapshot, and untar it, rename and replace the one downloaded by the script

http://www.alsa-project.org/snapshot/files/alsa-driver-1.0.23.119.g05994.1429.g4c406.tar.bz2

#1215

Jose Catre-Vandis said: Try fetching down the latest alsa driver snapshot, and untar it, rename and replace the one downloaded by the script

http://www.alsa-project.org/snapshot/files/alsa-driver-1.0.23.119.g05994.1429.g4c406.tar.bz2

Hi,

sorry i'm a newbie to linux, could you please kindly show me step by step of how to update alsa driver?

Thanks in advance!!!

#1216

solo16 said: Hi,

sorry i'm a newbie to linux, could you please kindly show me step by step of how to update alsa driver?

Thanks in advance!!!

See post number 1 of this thread!

Download the script and have a read through.

However, unless you have a really good reason for doing it, and your sound is working OK, it's not work the aggravation of running the script and then finding it has broken your sound! :)

#1217

Jose Catre-Vandis said: See post number 1 of this thread!

Download the script and have a read through.

However, unless you have a really good reason for doing it, and your sound is working OK, it's not work the aggravation of running the script and then finding it has broken your sound! :)

Ok thanks!!! It seems that the new alsa driver for my soundcard has little changes which i assume it is good for the sound quality.

Thanks!

#1218

I've updated the script and made a new thread because the OP is no longer active on this forum. http://ubuntuforums.org/showthread.php?t=1681577

#1219

Hello, please help me! my sounds are aweful! I get this error when compiling:

/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’
/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’
make[3]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
make[2]: *** [/usr/src/Alsa-1.0.23/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/usr/src/Alsa-1.0.23/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [compile] Error 2

***************************************************************************
*  alsa-driver-1.0.23 make failed

I was following this guide: http://ubuntuforums.org/showthread.php?t=1682650

Thank you so so much if you could help! :D

#1220

I am in the midst of a psychotic breakdown due to family issues. Sorry,,

#1221

Temüjin said: I am in the midst of a psychotic breakdown due to family issues. Sorry,,

umm, no problem, hope things work out for you.

#1222

Hi! Can you help me with my problem ?? My notebook is Acer Aspire 7520G with Linux Kubuntu 10.04 & ALSA Drivers. My note have a subwoofer but it dosnt work :( I had used a google and russian ubuntu forum but i didnt find solution(( I read that in Kmix(alsamixer) must be a Side scrollbar but it dosnt have it :(( Then I find this topic and I decided to ask you: can your script help me , and how i can download it(i didnt see a link)?? Sorry my english is too bad i'm from Ukraine;)

A lot of thx!!!

#1223

also my lspci

00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)

00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2) 00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2) 00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2) 00:01.3 Co-processor: nVidia Corporation MCP67 Co-processor (rev a2) 00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2) 00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2) 00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2) 00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2) 00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1) 00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1) 00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2) 00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2) 00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2) 00:0b.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2) 00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2) 00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:04.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) 01:04.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) 01:04.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12) 01:04.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12) 02:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400M G] (rev a1) 05:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

#1224
#1225

thx for a lin

my alsa-info> upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.58 !!################################

!!Script ran on: Tue Mar 1 23:24:56 UTC 2011

!!Linux Distribution !!------------------

Ubuntu 10.04.2 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"

!!DMI Information !!---------------

Manufacturer: Acer Product Name: Aspire 7520

!!Kernel Information !!------------------

Kernel release: 2.6.32-28-generic Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes

!!ALSA Version !!------------

Driver version: 1.0.22 Library version: 1.0.22 Utilities version: 1.0.22

!!Loaded ALSA modules !!-------------------

snd_hda_intel

!!Sound Servers on this system !!----------------------------

No sound servers found.

!!Soundcards recognised by ALSA !!-----------------------------

0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf0880000 irq 28

!!PCI Soundcards installed in the system !!--------------------------------------

00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's !!--------------------------------------------------------

00:07.0 0403: 10de:055c (rev a1) Subsystem: 1025:0126

!!Modprobe options (Sound related) !!--------------------------------

snd-atiixp-modem: index=-2 snd-intel8x0m: index=-2 snd-via82xx-modem: index=-2 snd-via82xx-modem: index=-2 snd-usb-audio: index=-2 snd-usb-caiaq: index=-2 snd-usb-ua101: index=-2 snd-usb-us122l: index=-2 snd-usb-usx2y: index=-2 snd-pcsp: index=-2 snd-usb-audio: index=-2 snd-hda-intel: model=acer

!!Loaded sound module options !!--------------------------

!!Module: snd_hda_intel bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1 beep_mode : 1,1,1,1,1,1,1,1 enable : Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> index : -1,-1,-1,-1,-1,-1,-1,-1 model : acer,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> position_fix : 0,0,0,0,0,0,0,0 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1 probe_only : N,N,N,N,N,N,N,N single_cmd : N

!!HDA-Intel Codec information !!--------------------------- --startcollapse--

Codec: Realtek ALC268 Address: 0 Function Id: 0x1 Vendor Id: 0x10ec0268 Subsystem Id: 0x10250126 Revision Id: 0x100003 No Modem Function Group found Default PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A GPIO: io=4, o=0, i=0, unsolicited=1, wake=0 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out Device: name="ALC268 Analog", type="Audio", device=0 Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x25 0x25] Converter: stream=0, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x25 0x25] Converter: stream=0, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0x1e]: 16 20 24 32 formats [0x1]: PCM Node 0x07 [Audio Input] wcaps 0x100111: Stereo Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x160]: 44100 48000 96000 bits [0x6]: 16 20 formats [0x1]: PCM Connection: 1 0x24 Node 0x08 [Audio Input] wcaps 0x100111: Stereo Control: name="Input Source", index=0, device=0 Device: name="ALC268 Analog", type="Audio", device=0 Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x160]: 44100 48000 96000 bits [0x6]: 16 20 formats [0x1]: PCM Connection: 1 0x23 Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00] Connection: 1 0x02 Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x02 0x1d Node 0x10 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] Connection: 3 0x03 0x1d 0x02 Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x12 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x13 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Master Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x0221101f: [Jack] HP Out at Ext Front Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=04, enabled=1 Connection: 1 0x0f Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI Conn = ATAPI, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x10 Node 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80] Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x0e Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Mic Boost", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003734: IN OUT Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x02a19840: [Jack] Mic at Ext Front Conn = 1/8, Color = Pink DefAssociation = 0x4, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Connection: 1 0x02 Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In Control: name="Internal Mic Boost", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0 Amp-In vals: [0x00 0x00] Pincap 0x00003724: IN Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x99a30941: [Fixed] Mic at Int ATAPI Conn = ATAPI, Color = Unknown DefAssociation = 0x4, Sequence = 0x1 Misc = NO_PRESENCE Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Line In Boost", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003734: IN OUT Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x0281304e: [Jack] Line In at Ext Front Conn = 1/8, Color = Blue DefAssociation = 0x4, Sequence = 0xe Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Connection: 1 0x02 Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1c [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1d [Pin Complex] wcaps 0x400000: Mono Control: name="Beep Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Pincap 0x00000020: IN Pin Default 0x4017952d: [N/A] Speaker at Ext N/A Conn = Analog, Color = Pink DefAssociation = 0x2, Sequence = 0xd Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1e [Pin Complex] wcaps 0x400380: Mono Digital Pincap 0x00000010: OUT Pin Default 0x02451130: [Jack] SPDIF Out at Ext Front Conn = Optical, Color = Black DefAssociation = 0x3, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x06 Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: benign=0, ncoeff=10 Processing Coefficient: 0x8ea0 Coefficient Index: 0x03 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x23 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Input Source", index=0, device=0 Amp-Out caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x1b 0x1b] Connection: 7 0x18* 0x19 0x1a 0x1c 0x14 0x15 0x12 Node 0x24 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Input Source", index=0, device=0 Amp-Out caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x00 0x00] Connection: 7 0x18* 0x19 0x1a 0x1c 0x14 0x15 0x13 Codec: Conexant ID 2c06 Address: 1 Function Id: 0x2 Vendor Id: 0x14f12c06 Subsystem Id: 0x10250126 Revision Id: 0x100000 Modem Function Group: 0x2 --endcollapse--

!!Alsactl output !!-------------

--startcollapse-- state.NVidia { control.1 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 64' comment.dbmin -6400 comment.dbmax 0 iface MIXER name 'Master Playback Volume' value.0 37 value.1 37 } control.2 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Master Playback Switch' value.0 true value.1 true } control.3 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 2' comment.dbmin 0 comment.dbmax 4000 iface MIXER name 'Mic Boost' value.0 0 value.1 0 } control.4 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 2' comment.dbmin 0 comment.dbmax 4000 iface MIXER name 'Internal Mic Boost' value.0 0 value.1 0 } control.5 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 2' comment.dbmin 0 comment.dbmax 4000 iface MIXER name 'Line In Boost' value.0 0 value.1 0 } control.6 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -1650 comment.dbmax 3000 iface MIXER name 'Capture Volume' value.0 27 value.1 27 } control.7 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 true value.1 true } control.8 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic comment.item.1 'Internal Mic' comment.item.2 Line iface MIXER name 'Input Source' value Mic } control.9 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 12' comment.dbmin -2400 comment.dbmax 0 iface MIXER name 'Beep Playback Volume' value.0 0 value.1 0 } control.10 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Beep Playback Switch' value.0 false value.1 false } control.11 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 255' comment.tlv '0000000100000008ffffec1400000014' comment.dbmin -5100 comment.dbmax 0 iface MIXER name 'PCM Playback Volume' value.0 255 value.1 255 } control.12 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 120' comment.tlv '0000000100000008fffff44800000032' comment.dbmin -3000 comment.dbmax 3000 iface MIXER name 'Digital Capture Volume' value.0 0 value.1 0 } } --endcollapse--

Plz guys i dont wont to working on windows for a good sound :(( save my mind))

My problem waiting for solution ....

#1226

This thread is dead. Make your own thread.

#1227

But, Where is the script? Sorry I,m full ubuntu beginner and i have the same mic problem with ubuntu netbook. Could you help me?

soundcheck said: 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

#1228

Huh? I wanted to download your script right now, and try to modify it. Bad move removing them.

I uploaded the last script I had on my PC in case someone like me needs it.

soundcheck said: 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

#1229
#1230

My Alsa Info

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Tue Jun 28 03:24:05 UTC 2011


!!Linux Distribution
!!------------------

Ubuntu 11.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 11.04"


!!DMI Information
!!---------------

Manufacturer:      System manufacturer
Product Name:      System Product Name
Product Version:   System Version


!!Kernel Information
!!------------------

Kernel release:    2.6.38-8-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         i686
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.24
Library version:    1.0.24.1
Utilities version:  1.0.24.2


!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_usb_audio


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfea78000 irq 44
 1 [TigerJet       ]: USB-Audio - USB Internet Phone by TigerJet
                      TigerJet Network, Inc. USB Internet Phone by TigerJet at usb-0000:00:1d.0-2, fu


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 01)
	Subsystem: 1043:82ea


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-caiaq: index=-2
snd-usb-ua101: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-usb-audio: index=-2


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N

!!Module: snd_usb_audio
	async_unlink : Y
	device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	ignore_ctl_error : N
	index : -2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	nrpacks : 8
	pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: VIA VT1708B 8-Ch
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1106e721
Subsystem Id: 0x104382ea
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Audio Output] wcaps 0x411: Stereo
  Device: name="VT1708B Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x11 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="VT1708B Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x1e0]: 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x13 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="VT1708B Analog", type="Audio", device=0
  Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1
  Amp-In vals:  [0x04 0x04]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x17
Node 0x14 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1
  Amp-In vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x1e
Node 0x15 [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x1f0]: 32000 44100 48000 88200 96000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x21
Node 0x16 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Control: name="Master Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Master Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Rear Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Front Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Front Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="CD Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="CD Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x18, stepsize=0x06, mute=1
  Amp-In vals:  [0x17 0x17] [0x18 0x18] [0x18 0x18] [0x18 0x18] [0x18 0x18] [0x80 0x80]
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 6
     0x10 0x1f 0x1a 0x1b 0x1e 0x25
Node 0x17 [Audio Selector] wcaps 0x300501: Stereo
  Control: name="Input Source", index=0, device=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 5
     0x16* 0x1f 0x1a 0x1b 0x1e
Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x11
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x01011012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x18
Node 0x1a [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Smart 5.1", index=0, device=0
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x01a19036: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x6
  Pin-ctls: 0x41: OUT VREF_50
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x26
Node 0x1b [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Independent HP", index=0, device=0
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x0181303e: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x3, Sequence = 0xe
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x18
Node 0x1c [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x16
Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Independent HP", index=0, device=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=05, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 2
     0x16* 0x25
Node 0x1e [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x02a19038: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x8
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x27
Node 0x1f [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x90370137: [Fixed] CD at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x7
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x20 [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x074311f0: [Jack] SPDIF Out at Ext Rear Panel
    Conn = ATAPI, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x21 [Pin Complex] wcaps 0x400601: Stereo Digital
  Pincap 0x00010030: IN OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x47c421f0: [N/A] SPDIF In at Ext Rear Panel
    Conn = RCA, Color = Grey
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x22 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01016011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x26
Node 0x23 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01012014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x27
Node 0x24 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x25 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x26 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x27 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1
  Amp-Out vals:  [0x1b 0x1b]
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x25
--endcollapse--


!!USB Mixer information
!!---------------------------
--startcollapse--

USB Mixer: usb_id=0x06e6c200, ctrlif=1, ctlerr=0
Card: TigerJet Network, Inc. USB Internet Phone by TigerJet at usb-0000:00:1d.0-2, fu
  Unit: 5
    Control: name="Headset Capture Volume", index=0
    Info: id=5, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=0, max=3840, dBmin=0, dBmax=1500
  Unit: 5
    Control: name="Headset Capture Switch", index=0
    Info: id=5, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 6
    Control: name="PCM Playback Volume", index=0
    Info: id=6, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=0, max=3840, dBmin=0, dBmax=1500
  Unit: 6
    Control: name="PCM Playback Switch", index=0
    Info: id=6, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  9 Jun 28 02:16 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  4 Jun 28 02:16 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  8 Jun 28 02:16 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  7 Jun 28 10:20 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  6 Jun 28 10:20 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Jun 28 10:20 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  3 Jun 28 10:20 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116,  2 Jun 28 10:22 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116,  1 Jun 28 02:16 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jun 28 02:16 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root  60 Jun 28 02:16 .
drwxr-xr-x 4 root root 280 Jun 28 02:16 ..
lrwxrwxrwx 1 root root  12 Jun 28 02:16 usb-TigerJet_Network__Inc._USB_Internet_Phone_by_TigerJet_A921050108E1D2-01 -> ../controlC1

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jun 28 02:16 .
drwxr-xr-x 4 root root 280 Jun 28 02:16 ..
lrwxrwxrwx 1 root root  12 Jun 28 02:16 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jun 28 02:16 pci-0000:00:1d.0-usb-0:2:1.1 -> ../controlC1


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1708B Digital [VT1708B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: TigerJet [USB Internet Phone by TigerJet], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 1: TigerJet [USB Internet Phone by TigerJet], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xfea78000 irq 44'
  Mixer name	: 'VIA VT1708B 8-Ch'
  Components	: 'HDA:1106e721,104382ea,00100100'
  Controls      : 35
  Simple ctrls  : 19
Simple mixer control 'Master Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 23 [96%] [0.00dB] [on]
  Front Right: Playback 23 [96%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [on]
  Front Right: Playback 24 [100%] [1.75dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 27
  Mono: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 27
  Mono: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 27 [100%] [0.00dB] [on]
  Front Right: Playback 27 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [on]
  Front Right: Playback 24 [100%] [1.75dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [on]
  Front Right: Playback 24 [100%] [1.75dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 20
  Front Left: Capture 4 [20%] [7.00dB] [on]
  Front Right: Capture 4 [20%] [7.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 20
  Front Left: Capture 0 [0%] [0.00dB] [on]
  Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'OFF' 'ON'
  Item0: 'OFF'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Stereo Mixer' 'Rear Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Stereo Mixer'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 24
  Mono:
  Front Left: Playback 24 [100%] [1.75dB] [on]
  Front Right: Playback 24 [100%] [1.75dB] [on]
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

!!-------Mixer controls for card 1 [TigerJet]

Card hw:1 'TigerJet'/'TigerJet Network, Inc. USB Internet Phone by TigerJet at usb-0000:00:1d.0-2, fu'
  Mixer name	: 'USB Mixer'
  Components	: 'USB06e6:c200'
  Controls      : 4
  Simple ctrls  : 2
Simple mixer control 'PCM',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 15 [100%] [15.00dB] [on]
Simple mixer control 'Headset',0
  Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
  Capture channels: Mono
  Limits: Capture 0 - 15
  Mono: Capture 8 [53%] [8.00dB] [on]


!!Alsactl output
!!-------------

--startcollapse--
state.Intel {
	control.1 {
		iface MIXER
		name 'Master Front Playback Volume'
		value.0 23
		value.1 23
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 24'
			dbmin -4025
			dbmax 175
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Master Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.6 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Volume'
		value 27
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 0
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Volume'
		value 27
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 0
		}
	}
	control.9 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 27
		value.1 27
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 27'
			dbmin -4725
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.14 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Rear Mic Playback Volume'
		value.0 24
		value.1 24
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 24'
			dbmin -4025
			dbmax 175
			dbvalue.0 175
			dbvalue.1 175
		}
	}
	control.16 {
		iface MIXER
		name 'Rear Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 24
		value.1 24
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 24'
			dbmin -4025
			dbmax 175
			dbvalue.0 175
			dbvalue.1 175
		}
	}
	control.18 {
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.19 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 24
		value.1 24
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 24'
			dbmin -4025
			dbmax 175
			dbvalue.0 175
			dbvalue.1 175
		}
	}
	control.20 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.21 {
		iface MIXER
		name 'CD Playback Volume'
		value.0 24
		value.1 24
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 24'
			dbmin -4025
			dbmax 175
			dbvalue.0 175
			dbvalue.1 175
		}
	}
	control.22 {
		iface MIXER
		name 'CD Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.23 {
		iface MIXER
		name 'Independent HP'
		value OFF
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 OFF
			item.1 ON
		}
	}
	control.24 {
		iface MIXER
		name 'Smart 5.1'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'Capture Volume'
		value.0 4
		value.1 4
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 20'
			dbmin 0
			dbmax 3500
			dbvalue.0 700
			dbvalue.1 700
		}
	}
	control.26 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.27 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 20'
			dbmin 0
			dbmax 3500
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.28 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.29 {
		iface MIXER
		name 'Input Source'
		value 'Stereo Mixer'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Stereo Mixer'
			item.1 'Rear Mic'
			item.2 'Front Mic'
			item.3 Line
			item.4 CD
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.33 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
state.TigerJet {
	control.1 {
		iface MIXER
		name 'PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'PCM Playback Volume'
		value 15
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 15'
			dbmin 0
			dbmax 1500
			dbvalue.0 1500
		}
	}
	control.3 {
		iface MIXER
		name 'Headset Capture Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'Headset Capture Volume'
		value 8
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 15'
			dbmin 0
			dbmax 1500
			dbvalue.0 800
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
nls_utf8
isofs
nls_iso8859_1
nls_cp437
vfat
fat
binfmt_misc
snd_hda_codec_via
snd_hda_intel
snd_usb_audio
snd_hda_codec
snd_hwdep
snd_usbmidi_lib
snd_pcm
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
ppdev
i915
usbhid
usb_storage
uas
hid
psmouse
parport_pc
asus_atk0110
snd
serio_raw
drm_kms_helper
soundcore
snd_page_alloc
drm
i2c_algo_bit
video
lp
parport
r8169


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x19 0x01011012
0x1a 0x01a19036
0x1b 0x0181303e
0x1c 0x01014010
0x1d 0x0221401f
0x1e 0x02a19038
0x1f 0x90370137
0x20 0x074311f0
0x21 0x47c421f0
0x22 0x01016011
0x23 0x01012014

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:


!!ALSA/HDA dmesg
!!------------------

[   15.083020] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.243577] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   15.243635] HDA Intel 0000:00:1b.0: irq 44 for MSI/MSI-X
[   15.243662] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   15.288722] usbcore: registered new interface driver snd-usb-audio

#1231

hey all, You can download ALSA Upgrade Script & instructions in new thread: http://ubuntuforums.org/showthread.php?t=1681577

#1232

helooo.. am not able to get any sounds from my sony vaio laptop.. not even a single sound.. and laptop mouse isn't working too in ubuntu os.. give me some suggesions what to do.. plzz...

#1233

himanishkp said: helooo.. am not able to get any sounds from my sony vaio laptop.. not even a single sound.. and laptop mouse isn't working too in ubuntu os.. give me some suggesions what to do.. plzz...

My only suggestion at this point, is that you give a lot more info. What is the exact model number of your laptop? What sound chipset is it using? What OS version are you using? Have you ever had a Linux version work on your laptop? Did you have sound and mouse when you booted from the LiveCD? Have you tried other LiveCDs?

#1234

Hallo, i have no sound on Medion MD96218 notebook, my alsa info,

@ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.23.

@aplay -l kaart 0: SB [HDA ATI SB], apparaat 0: STAC92xx Analog [STAC92xx Analog] Sub-apparaten: 1/1 Sub-apparaat #0: subdevice #0

@alsamixer Card: HDA ATI SB F1: Help &#9474; &#9474; Chip: SigmaTel STAC9200 F2: System information &#9474; &#9474; View: F3: Playback F4: Capture F5:[All] F6: Select sound card &#9474; &#9474; Item: Capture [dB gain: 22,50, 22,50] Esc: Exit &#9474; &#9474; &#9474; &#9474; &#9484;&#9472;&#9472;&#9488; &#9484;&#9472;&#9472;&#9488; &#9484;&#9472;&#9472;&#9488; &#9484;&#9472;&#9472;&#9488; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474;&#9618;&#9618;&#9474; &#9474; &#9474; &#9474; &#9474; &#9500;&#9472;&#9472;&#9508; &#9492;&#9472;&#9472;&#9496; &#9492;&#9472;&#9472;&#9496; &#9492;&#9472;&#9472;&#9496; &#9474; &#9474; &#9474;OO&#9474; &#9474; &#9474; &#9492;&#9472;&#9472;&#9496; L R &#9474; &#9474; CAPTURE &#9474; &#9474; 100<>100 100<>100 100<>100 0<>0 &#9474; &#9474; Master PCM <Capture > Mux @lsmod | grep snd

** Lijst van PLAYBACK hardware-apparaten ** kaart 0: SB [HDA ATI SB], apparaat 0: STAC92xx Analog [STAC92xx Analog] Sub-apparaten: 1/1 Sub-apparaat #0: subdevice #0 jan@medion:~$ alsamixer jan@medion:~$ alsamixer jan@medion:~$ lsmod | grep snd snd_hda_codec_idt 54887 1 snd_hda_intel 22107 2 snd_hda_codec 87552 2 snd_hda_codec_idt,snd_hda_intel snd_hwdep 5040 1 snd_hda_codec snd_pcm 71475 2 snd_hda_intel,snd_hda_codec snd_seq_midi 4588 0 snd_rawmidi 17783 1 snd_seq_midi snd_seq_midi_event 6047 1 snd_seq_midi snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event snd_timer 19067 2 snd_pcm,snd_seq snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq snd 49006 13 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 880 1 snd snd_page_alloc 7120 2 snd_hda_intel,snd_pcm

Module Size Used by binfmt_misc 6599 1 sha256_generic 11267 2 aes_i586 7280 174 aes_generic 26875 1 aes_i586 parport_pc 26058 0 joydev 8735 0 ppdev 5556 0 dm_crypt 11385 1 snd_hda_codec_idt 54887 1 arc4 1165 2 snd_hda_intel 22107 2 snd_hda_codec 87552 2 snd_hda_codec_idt,snd_hda_intel snd_hwdep 5040 1 snd_hda_codec snd_pcm 71475 2 snd_hda_intel,snd_hda_codec snd_seq_midi 4588 0 snd_rawmidi 17783 1 snd_seq_midi snd_seq_midi_event 6047 1 snd_seq_midi snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event snd_timer 19067 2 snd_pcm,snd_seq snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq rtl8180 27401 0 mac80211 231541 1 rtl8180 eeprom_93cx6 1345 1 rtl8180 snd 49006 13 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device psmouse 59033 0 cfg80211 144470 2 rtl8180,mac80211 serio_raw 4022 0 soundcore 880 1 snd shpchp 29886 0 i2c_piix4 8635 0 snd_page_alloc 7120 2 snd_hda_intel,snd_pcm lp 7342 0 parport 31492 3 parport_pc,ppdev,lp radeon 825934 3 ttm 56633 1 radeon usbhid 36882 0 drm_kms_helper 30200 1 radeon video 18712 0 hid 67742 1 usbhid drm 168054 5 radeon,ttm,drm_kms_helper output 1883 1 video sky2 45127 0 ati_agp 5202 0 pata_atiixp 3288 3 agpgart 32011 3 ttm,drm,ati_agp i2c_algo_bit 5168 1 radeon

jan@medion:~$ lspci 00:00.0 Host bridge: ATI Technologies Inc Device 5a31 (rev 01) 00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge 00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge 00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge 00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80) 00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 83) 00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80) 00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01) 00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80) 00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80) 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller (rev 14) 08:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller (rev 20)

Please how can i resolve this problem?

#1235

I hve the amd64 processor with gigabyte mb and snd-via82xx as a sound driver. I had much tried to install the sound driver through ALSA. but every time it failed with following error while running sudo make all command

make[1]: Entering directory /usr/src/modules/alsa-driver/include' make[1]: Nothing to be done for modules_install'. make[1]: Leaving directory /usr/src/modules/alsa-driver/include' make[1]: Entering directory /usr/src/modules/alsa-driver/acore' mkdir -p /lib/modules/2.6.32-38-generic/kernel/sound/acore cp snd-hrtimer.ko snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/2.6.32-38-generic/kernel/sound/acore cp: cannot stat snd-hrtimer.ko': No such file or directory cp: cannot stat snd-hwdep.ko': No such file or directory cp: cannot stat snd-page-alloc.ko': No such file or directory cp: cannot stat snd-pcm.ko': No such file or directory cp: cannot stat snd-rawmidi.ko': No such file or directory cp: cannot stat snd-timer.ko': No such file or directory cp: cannot stat snd.ko': No such file or directory make[1]: * [modules_install] Error 1 make[1]: Leaving directory /usr/src/modules/alsa-driver/acore' make: * [install-modules] Error 1

#1236

Thank you very much for your update........