Yet another hda-intel post...

  • angelsguitar
Posted: Tue, 08/19/2008 - 13:13
Well, I guess this is one of the most talked problems in the audio realm, but here it goes... I have a Toshiba Laptop with an integrated hda-intel chipset (SB450 HDA Audio rev 01). Somehow, it is detected an everything seems to be OK (I even open mp3's and wav's on totem, and they seem to be playing), but I get no sound from the speakers. Tried alsaconf and adding options snd-hda-intel model=auto to the alsa-base file, but nothing. If I connect my Audigy 2 ZS card to the slot, it works without problems. I know that the intel soundcard is not a good option for audio work, and for that I use the Audigy. But it is convenient sometimes to have the intel sound card working, so I don't have to carry around my Audigy just to hear some files. Any suggestions?

No Problem

  • skullnotions
  • 09/29/07
  • Thu, 08/28/2008 - 11:15
It's amazing when you think about a livecd running an OS. I have been booting new and "old" livecd's for a few days now. All the wallpapers, icons, dot files for Emacs nano and vim etc.,. I've made a cd of all of my favourite bits. Learning about the sound is still happening but I have found pic's and things from the past. DeMuDi had a great fluxbox theme/style and nice wallpaper, so I have got them on usb too. Good to know you "sort" of got sorted, keep trying you will learn loads. The intel pc sound is working ok here, even with jack?. The Studio-to-Go livecd is close to 64studio and might work! nice too! Try booting with : acpi=off pci=noacpi noapic . It might help with auto configuring the livecd's sound. Good Luck, dave

HI. Sorry I've been away for

  • angelsguitar
  • 12/22/07
  • Wed, 08/27/2008 - 10:50
HI. Sorry I've been away for a while. Since I really needed the sound working in this computer, I installed OpenSuse 11 on one of the two Linux Partitions I have on this laptop (the other one has 64Studio installed, but with the original ALSA drivers that come with it). Sound works well on OpenSuse 11, but, of course, I'm not going to do any serious audio/MIDI work on that. For that purpose, I still keep the other 64Studio partition, although I can only use my Audigy 2 card (which is not bad at all, but would be great to have the laptop's card working too) Another fact that I didn't mention is that this is an ATI chipset, thus the audio card is ATI too (with an Intel chip). So far, I've tested the following distros: Ubuntu 8.04, Puppy 4, Mandriva 2008.1, OpenSuse 11, Fedora 9, 64Studio, Knoppix 5.1.1, Mepis 7. The only ones I could get sound right after booting are Ubuntu, OpenSuse and Knopix; in the rest, there was simply no sound or erratic sound (in Fedora, the sound would simply get stuck, like frozen in the same sample) I'll give a try to your instructions; I'd like to get some sound from the 64Studio partition (with the factory ALSA drivers) I'm keeping on my laptop. So I'll post later the output of the files.

knoppix-511-notes

  • skullnotions
  • 09/29/07
  • Tue, 08/26/2008 - 12:48
Spent some time playing with the knoppix livecd. You will need to copy more files/folders than this guide. Kde desktop: Open konsole: refer to knop511-sound.txt knoppix@Knoppix:~$ kwrite kno-511-notes.txt knoppix@Knoppix:~$ mkdir knop511-files knoppix@Knoppix:~$ sudo passwd root knoppix@Knoppix:~$ su root@Knoppix:# find / -name "*alsa" >>kno-511-alsa root@Knoppix:# find / -name "*alsa-base" >>kno-511-alsa-base root@Knoppix:# find / -name "*snd-intel" >>kno-511-snd-intel * Change ownership of files created as root to knoppix.(user). root@Knoppix:# chown -R knoppix kno-511-alsa root@Knoppix:# chgrp -Rv knoppix kno-511-alsa root@Knoppix:# ls -l drwxr-xr-x 2 knoppix knoppix 260 2008-08-25 11:23 Desktop -rw-r--r-- 1 knoppix knoppix 1334 2008-08-25 11:42 kno-511-alsa -rw-r--r-- 1 knoppix knoppix 650 2008-08-25 11:40 kno-511-alsa-base -rw-r--r-- 1 knoppix knoppix 25561 2008-08-25 12:17 kno-511-notes.txt -rw-r--r-- 1 knoppix knoppix 2603 2008-08-25 11:37 kno-511-snd-intel drwxr-xr-x 2 knoppix knoppix 120 2008-08-25 12:15 knop511-files * Copy knoppix system/sound files into folder. (knop511-files). e.g. root@Knoppix:# cp /KNOPPIX/etc/discover.d/alsa-base knop511-files/etc-discov-alsa-base.txt root@Knoppix:# cp /KNOPPIX/etc/hotplug/blacklist.d/alsa-base knop511-files/etc-hotp-blac-alsa-base.txt root@Knoppix:# cp /KNOPPIX/etc/modprobe.d/alsa-base knop511-files/modp-d-alsa-base.txt root@Knoppix:# cp /KNOPPIX/etc/modutils/alsa-base knop511-files/etc-modut-alsa-base.txt root@Knoppix:# ls -a knop511-files/ . .. etc-discov-alsa-base.txt etc-hotp-blac-alsa-base.txt etc-modut-alsa-base.txt modp-d-alsa-base.txt root@Knoppix:# exit knoppix@Knoppix:~$ su root@Knoppix:# cp /root/.bash_history kno-511-bash-history root@Knoppix:# exit knoppix@Knoppix:~$ kwrite kno-511-notes.txt * Insert USB Stick copy files/folders to USB. * unmount USB and any other partitions you have mounted. Shut down livecd. Cheers, dave

knoppix_5.1.1-livecd-sound.txt

  • skullnotions
  • 09/29/07
  • Mon, 08/25/2008 - 08:57
Had to change things a bit to get the livecd to create the file. Once the file was done I copied it to usb stick. konsole: sudo passwd root su # uname -r >knop511-sound.txt # lspci >>knop511-sound.txt # lspci -vv>>knop511-sound.txt # find / -name "*alsa" >>knop511-sound.txt # find / -name "*alsa-base" >>knop511-sound.txt # find / -name "*intel" >>knop511-sound.txt # find / -name "*snd" >>knop511-sound.txt # modinfo soundcore >>knop511-sound.txt # dmesg | egrep -i '(audio|sound|snd|linux|alsa)' >>knop511-sound.txt # cat /proc/asound/cards >>knop511-sound.txt # cat /proc/asound/modules >>knop511-sound.txt # cat /proc/asound/devices >>knop511-sound.txt # lspci | grep -i audio >>knop511-sound.txt # lsmod | grep snd >>knop511-sound.txt # cat /proc/interrupts >>knop511-sound.txt # kwrite knop511-sound.txt # cd /root/ # cat .bash_history >>knop511-sound.txt knoppix_5.1.1 sound info: 2.6.19 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) Subsystem: GVC/BCM Advanced Research Unknown device 2181 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-

hda-intel.txt & livecd-hda-intel.txt

  • skullnotions
  • 09/29/07
  • Sun, 08/24/2008 - 07:53
Hi, If you run these commands you will create the file hda-intel.txt in your home directory. The file will contain all the info you gather in one file. You need to run them on 64studio & the livecd that has sound. Then we can compare the differences in the file/structures. The second part is the same as Post 4 (sound info), but now we are creating a file. With the livecd save the info to usb or another media. e.g. >64s-hda-intel.txt & livecd-hda-intel.txt Copy the list below into a text file so you can create/build on it yourself. left click to "select" text from the forum page, and middle click straight into a teminal. You don't have to copy/paste just select the text and drop it in, one after the other. $ uname -r >hda-intel.txt $ lspci >>hda-intel.txt $ lspci -vv>>hda-intel.txt $ sudo find / -name "*alsa" >>hda-intel.txt $ sudo find / -name "*alsa-base" >>hda-intel.txt $ sudo find / -name "*intel" >>hda-intel.txt $ sudo find / -name "*snd" >>hda-intel.txt $ sudo modinfo soundcore >>hda-intel.txt $ dmesg | egrep -i '(audio|sound|snd|linux|alsa)' >>hda-intel.txt $ cat /proc/asound/cards >>hda-intel.txt $ cat /proc/asound/modules >>hda-intel.txt $ cat /proc/asound/devices >>hda-intel.txt $ lspci | grep -i audio >>hda-intel.txt $ lsmod | grep snd >>hda-intel.txt $ cat /proc/interrupts >>hda-intel.txt $ gedit hda-intel.txt On this computer 64studio_2.1 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) 0 snd_intel8x0 Find .wav files and test with aplay. $ sudo find / -name "*.wav" > 64studio-wav $ gedit 64studio-wav $ aplay -vv /usr/share/sounds/alsa/Front_Center.wav Is working ok. By the time we are finished we will both know a lot more about GNU/Linux/sound/alsa/ PS: How is the Audigy 2 ZS card, with the latest alsa? Good Luck, dave.

more suggestions

  • skullnotions
  • 09/29/07
  • Thu, 08/21/2008 - 13:43
Hi, Qjackctl runs. You have probably checked these, but just in case. Check: $ id 29(audio) Check: $ edit /etc/security/limits.conf @audio - rtprio 99 #@audio - memlock 250000 @audio - nice -10 Try: options snd-hda-intel model=toshiba googled: Toshiba laptops alsa-firmware I keep seeing references to some Toshiba laptops needing alsa-firmware & libasound2 This demo livecd is based on etch, and creates all sound config files including .asoundrc If it works you could copy configs/files to usb and try them with 64studio. http://linux.softpedia.com/progDownload/Studio-to-Go-Download-30144.html Cheers, dave.

Well, checked all the above

  • angelsguitar
  • 12/22/07
  • Sun, 08/24/2008 - 02:42
Well, checked all the above (audio group membership, limits.conf, options snd-hda-intel model=toshiba, and the Studio-to-go LiveCD) but still no sound. Thanks anyway for the suggestions. I tested an old Knoppix 5.1.1 LiveCD on the laptop, and, guess what? The sound worked. I know the ALSA drivers on that Knoppix version are older, but if somehow I could transfer those settings to 64Studio, maybe I could make it work. Any new ideas?

Toshiba Satellite A105-S2011

  • skullnotions
  • 09/29/07
  • Wed, 08/20/2008 - 17:51
Hi, ?> Will qjackctl run using snd-hda-intel? if not what messages does it give. Does the sound work with a livecd? angelsguitar> Tried alsaconf and adding options snd-hda-intel model=auto to the alsa-base file. If you have tried this one: edit/etc/modprobe.d/alsa-base What about this one: edit /etc/modprobe.d/hda-intel options snd-hda-intel position_fix=1 or this: options snd-hda-intel position_fix=1 option snd-hda-intel model=auto or even this #options snd-hda-intel position_fix=1 option snd-hda-intel model=auto Edit: Could be worth trying. The .asoundrc file http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel#The_.asoundrc_file Cheers, dave

Qjackctl runs, although with

  • angelsguitar
  • 12/22/07
  • Thu, 08/21/2008 - 12:26
Qjackctl runs, although with an horrible latency (well, it is an hda-intel, so that was expected) Don't have the liveCD, so can't tell if it has sound with it. Tried all the suggestions you made on the /etc/modprobe.d/hda-intel file, but still no sound. Tried the .asoundrc file to, but without success. I'll keep looking around to see what can I find. Thanks for the help so far. Any other suggestions are welcome.

Right now I tried compiling

  • angelsguitar
  • 12/22/07
  • Thu, 08/21/2008 - 13:12
Right now I tried compiling and installing the latest ALSA drivers (the 1.0.17 driver, utils and lib) but still no sound. I don't know if I should compile the rest of the ALSA packages too. Might try. I followed these instructions (they are for Ubuntu, but seemed to work): https://help.ubuntu.com/community/HdaIntelSoundHowto Still without sound, though...

sound info

  • skullnotions
  • 09/29/07
  • Wed, 08/20/2008 - 11:41
Hi, What model is the Toshiba Laptop? Can you hear any sound if you use headphones? Check your volume mute/unmute switches. http://en.wikipedia.org/wiki/Alsamixer $ alsamixer post back what is returned when you run these in a terminal: $ sudo modinfo soundcore $ dmesg | egrep -i '(audio|sound|snd|linux|alsa)' $ cat /proc/asound/cards $ cat /proc/asound/modules $ cat /proc/asound/devices $ lspci | grep -i audio $ lsmod | grep snd $ cat /proc/interrupts Googled: linux sound http://linuxaudio.org/mailarchive/ Cheers! dave

My laptop is a Toshiba

  • angelsguitar
  • 12/22/07
  • Wed, 08/20/2008 - 12:52
My laptop is a Toshiba Satellite A105-S2011. No sound from headphones either. All outputs are unmuted; double checked. sudo modinfo soundcore gives this: filename: /lib/modules/2.6.21-1-multimedia-486/kernel/sound/soundcore.ko description: Core sound module author: Alan Cox license: GPL alias: char-major-14-* vermagic: 2.6.21-1-multimedia-486 SMP preempt mod_unload 486 REGPARM depends: dmesg | egrep -i '(audio|sound|snd|linux|alsa)' gives this: Linux version 2.6.21-1-multimedia-486 (Debian 2.6.21-2) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP PREEMPT RT Fri Jun 22 19:13:23 UTC 2007 SELinux: Disabled at boot. Linux Plug and Play Support v0.97 (c) Adam Belay Linux agpgart interface v0.102 (c) Dave Jones pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details. cat /proc/asound/cards gives this: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xc0000000 irq 18 cat /proc/asound/modules gives this: 0 snd_hda_intel cat /proc/asound/devices gives this: 0: [ 0] : control 1: : sequencer 4: [ 0- 0]: hardware dependent 7: [ 0- 3]: hardware dependent 16: [ 0- 0]: digital audio playback 22: [ 0- 6]: digital audio playback 24: [ 0- 0]: digital audio capture 30: [ 0- 6]: digital audio capture 33: : timer lspci | grep -i audio gives this: 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01) lsmod | grep snd gives this: snd_seq_dummy 4996 0 snd_seq_oss 32768 0 snd_seq_midi 9248 0 snd_rawmidi 23712 1 snd_seq_midi snd_seq_midi_event 8192 2 snd_seq_oss,snd_seq_midi snd_seq 48848 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_seq_device 8972 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd_hda_intel 333720 1 snd_pcm_oss 40096 0 snd_mixer_oss 17280 1 snd_pcm_oss snd_pcm 71428 2 snd_hda_intel,snd_pcm_oss snd_timer 22660 2 snd_seq,snd_pcm snd_page_alloc 11272 2 snd_hda_intel,snd_pcm snd_hwdep 10116 1 snd_hda_intel snd 54436 13 snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep soundcore 9056 1 snd cat /proc/interrupts gives this: CPU0 0: 176279 local-APIC-edge-fasteoi timer 1: 866 IO-APIC-edge i8042 8: 1 IO-APIC-edge rtc 12: 850 IO-APIC-edge i8042 15: 8490 IO-APIC-edge ide1 16: 1 IO-APIC-fasteoi yenta 17: 33980 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3 18: 1038 IO-APIC-fasteoi HDA Intel 19: 89376 IO-APIC-fasteoi wifi0, eth0 20: 12165 IO-APIC-fasteoi libata 21: 21 IO-APIC-fasteoi acpi NMI: 0 LOC: 213077 ERR: 0 MIS: 0

mute

  • Quentin Harley
  • 05/24/07
  • Tue, 08/19/2008 - 14:50
Sometimes the HDA function has to be unmuted in windows.... nice.

Ok, I booted my Windows

  • angelsguitar
  • 12/22/07
  • Tue, 08/19/2008 - 20:27
Ok, I booted my Windows partition (if that's what you meant) and checked the mute/unmute switches. Everything is Ok; all is unmuted. I even toggled all the switches again, just to make sure. Still no sound. I noticed that there's a new ALSA version available (1.0.17). Should I try installing the new version? I've never compiled AlSA from the source; might be a good time to learn, though...if it solves my sound problem. Thanks Harley, for your reply. Any other suggestions, anyone?