Fedora Linux Support Community & Resources Center
  #1  
Old 16th June 2009, 03:11 PM
spacie Offline
Registered User
 
Join Date: Jun 2009
Posts: 2
Pulseaudio or alsa problem. Sound works but no sound output

I recently installed Fedora 11 on my notebook with litte problems. I managed to solve most! But i still have no sound!

I checked "alsamixer -c0" and all sliders are up. The sound seems to work but i just do not hear anything.

I am suspecting that my sound is routed to the HDMI output instead to my speakers.

Here is the ALSA info file from my notebook. Can somebody help me?

- http://www.alsa-project.org/db/?f=b3...4965164a52fe17

My notebook is an HP Pavillion dv6-1020es the soundcard is a "Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)"


Thanks in advanced and hoping for a solution.

Last edited by spacie; 16th June 2009 at 05:33 PM. Reason: Typos
Reply With Quote
  #2  
Old 16th June 2009, 08:18 PM
andy11261 Offline
Registered User
 
Join Date: Aug 2007
Posts: 9
Similar Problem

Quote:
Originally Posted by spacie View Post
I recently installed Fedora 11 on my notebook with litte problems. I managed to solve most! But i still have no sound!

I checked "alsamixer -c0" and all sliders are up. The sound seems to work but i just do not hear anything.

I am suspecting that my sound is routed to the HDMI output instead to my speakers.

Here is the ALSA info file from my notebook. Can somebody help me?

- http://www.alsa-project.org/db/?f=b3...4965164a52fe17

My notebook is an HP Pavillion dv6-1020es the soundcard is a "Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)"


Thanks in advanced and hoping for a solution.
I also recently installed F11 on a HP-Pavilion dv3000 laptop with the same sound card. Even with all alsamixer levels set to 100%, I do not get any sound output via the built-in laptop speakers. If I plug in an analog set of head phones to the headphone jacks, I do get sound that way. Also, if I plug in a USB headset, I can get sound output to the headset.

I double checked that the the "front" output channel via "alsamixer -c0" was not muted. TheHardware is working, since I just had F10 running on the same machine just yesterday.

I have also attached the alsa-info to this reply. Any pointers in the right direction would be appreciated.

Last edited by andy11261; 16th June 2009 at 08:21 PM. Reason: Tried to add attachment
Reply With Quote
  #3  
Old 16th June 2009, 08:59 PM
Phantom_Lord Offline
Registered User
 
Join Date: Dec 2007
Location: Sofia, Bulgaria
Posts: 49
Ok, guys - welcome to the club!

Did you checked that: http://forums.fedoraforum.org/showthread.php?t=223365 ? You can try some of the presented ways to solve the issue.
I personally tried everything that I found as a possible way to fix it (see post No. 10) and the result is - headphones on my head when I need sound. Yes, I also use an hp pavilion as you, but the model is dv5-1270.
Please let me know if you find a decision of the problem. I'll make the same if I succeed to fix it somehow.

Good luck!

Regards,
P.L.
Reply With Quote
  #4  
Old 16th June 2009, 10:06 PM
andy11261 Offline
Registered User
 
Join Date: Aug 2007
Posts: 9
Smile Found the Fix!

Quote:
Originally Posted by Phantom_Lord View Post
Ok, guys - welcome to the club!

Did you checked that: http://forums.fedoraforum.org/showthread.php?t=223365 ? You can try some of the presented ways to solve the issue.
I personally tried everything that I found as a possible way to fix it (see post No. 10) and the result is - headphones on my head when I need sound. Yes, I also use an hp pavilion as you, but the model is dv5-1270.
Please let me know if you find a decision of the problem. I'll make the same if I succeed to fix it somehow.

Good luck!

Regards,
P.L.
Phantom-Lord -

Thanks for the cross posting. The thread helped a lot. I did a little more research and I think I have a solution. You need to create a file in:

/etc/modprobe.d/alsa.conf

This file just needs the following line:

options snd-hda-intel model=hp-dv5

This model supports the HP DV laptop series. The background information for the ALSA driver options was found here. The list of available supported models for the different sound cards is listed here.

The above fix worked for me. I now have sound via headphones and laptop speakers! Let me know how it works for both of you.

Last edited by andy11261; 16th June 2009 at 10:27 PM. Reason: Grammar
Reply With Quote
  #5  
Old 16th June 2009, 11:14 PM
Phantom_Lord Offline
Registered User
 
Join Date: Dec 2007
Location: Sofia, Bulgaria
Posts: 49
Congratulations andy1126 - you did it!

Ok, as usual - great things are simple - I just changed the options in /etc/modprobe.d/alsa.conf from "options snd-hda-intel index=0 model=hp-m5 position_fix=1" to "options snd-hda-intel model=hp-dv5", removed some of the snd modules from the blacklist.conf and voila - I have sound from speakers!

Thank you very much andy!

I'll post your fix in some related threads, if don't mind.

Regards,
P.L.
Reply With Quote
  #6  
Old 17th June 2009, 02:59 AM
andy11261 Offline
Registered User
 
Join Date: Aug 2007
Posts: 9
Great to hear it worked for you Phantom.
Reply With Quote
  #7  
Old 22nd June 2009, 03:20 AM
tinak Offline
Registered User
 
Join Date: Dec 2006
Location: Sebastopl, Ca
Age: 31
Posts: 32
Hello guys,

My sound seems to work OK when using my built-in laptop speakers, but when I plug in an external set I get nothing. I had to mess with all the mixers I could find to hear the music from my laptop speakers, but cant seem to find anything to get external speakers working. I created the alsa.conf file and added "options snd-hda-intel model=g50v" to it. I found the model in the list provided by the link in a previous post. I have an ASUS G50v running F11. Sound worked great in F10, but I know how it goes with Fedora Here is my alsa-info if anyone is able to help: http://www.alsa-project.org/db/?f=56...95cb55bf87e630

Thanks!
Reply With Quote
  #8  
Old 22nd June 2009, 03:19 PM
spacie Offline
Registered User
 
Join Date: Jun 2009
Posts: 2
What to hell did the fedora people do? I also have sound on my internal speakers and nothing on the Headphone jack after creating alsa.conf. (at least i got sound now) On F10 everything fine!

It would be nice if somebody could post alsa.conf or alsa configuration from a f10.

ahh.. and thanks andy for make me hear something! ;-)
Reply With Quote
  #9  
Old 22nd June 2009, 04:29 PM
prasadrvln Offline
Registered User
 
Join Date: Jun 2009
Location: Australia
Posts: 5
I have installed 32-bit Fedora 11 last week and since then have been struggling to get my sound working. HP Pavillion PC (M9370E), with NVidia GeForce 7100 / nForce 630i card. The system says MCP73 audio controller. Below are the outputs of lspci, lsusb, aplay -l, arecord -l, cat /proc/asound/cards and cat /proc/asound/modules. All channels in alsamixer are unmuted.

lspci

00:00.0 Host bridge: nVidia Corporation MCP73 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation nForce 630i memory controller (rev a2)
00:01.0 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.1 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.2 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.3 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.4 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.5 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:01.6 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:02.0 RAM memory: nVidia Corporation nForce 630i memory controller (rev a1)
00:03.0 ISA bridge: nVidia Corporation MCP73 LPC Bridge (rev a2)
00:03.1 SMBus: nVidia Corporation MCP73 SMBus (rev a1)
00:03.2 RAM memory: nVidia Corporation MCP73 Memory Controller (rev a1)
00:03.4 RAM memory: nVidia Corporation MCP73 Memory Controller (rev a1)
00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i (rev a1)
00:04.1 USB Controller: nVidia Corporation MCP73 [nForce 630i] USB 2.0 Controller (EHCI) (rev a1)
00:08.0 IDE interface: nVidia Corporation MCP73 IDE (rev a1)
00:09.0 Audio device: nVidia Corporation MCP73 High Definition Audio (rev a1)
00:0a.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0b.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0c.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0d.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP73 IDE (rev a2)
00:0f.0 Ethernet controller: nVidia Corporation MCP73 Ethernet (rev a2)
01:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)
02:00.0 VGA compatible controller: nVidia Corporation Device 06e0 (rev a1)
04:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 02)






lsusb

Bus 001 Device 007: ID 04eb:e004 Northstar Systems, Inc.
Bus 001 Device 006: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 001 Device 005: ID 15a9:0004
Bus 001 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 03f0:0f0c Hewlett-Packard Wireless Keyboard and Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub





/proc/asound/cards

0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xefff4000 irq 23




/proc/asound/modules

0 snd_hda_intel





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




arecord -l

**** List of CAPTURE 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 2: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Output of alsa-info.sh is at
http://www.alsa-project.org/db/?f=88...0470bc989f36aa

In addition I have installed the latest NVidia drivers (185.15).

Don't know where I am making a mistake. Please can somebody help me. I think I need spoonfeeding.

Thanks a lot in advnace.
Reply With Quote
  #10  
Old 23rd June 2009, 03:26 AM
prasadrvln Offline
Registered User
 
Join Date: Jun 2009
Location: Australia
Posts: 5
My apologies for a big mail above. But I wanted to give as much info as possible as a description of my problem. After many trials, I don’t get any sound from my PC. Further to the info as in my previous message, the following is some additional info that might help getting to the problem.

1. Tried “aplay –D hw,…. file.wav” with 0,0 and 0,1 as parameters following hw:. These commands give errors. Similarly “aplay –D plughw:….. file.wave” also shows errors. But these errors are different from those obtained with the first command. But Plain “aplay file.wave” gives no errors. Says “Playing ….”. It doesn’t give any sound either.
2. It’s just a desktop computer and the connection between the CPU and monitor is with a HDMI cable. Works find under vista. But aplay –l doesn’t show any HDMI device.
3. Installed padevchooser, pavucontrol, pavumeter etc. When a file is played, pavumeter shows blue bars going forward and back indicating that sound is being pumped. But no noise comes out.
4. dmesg output shows some 40 lines of “too big adjustment”.

Please could somebody help? I need to play and record with the available devices.

Thanks a lot in advance for any help.
Reply With Quote
  #11  
Old 24th June 2009, 02:26 PM
prasadrvln Offline
Registered User
 
Join Date: Jun 2009
Location: Australia
Posts: 5
Come on guys. Please help. Please see the above two posts.

I have just checked Vista and tried to figure out how it was able to output sound. Through Realtek HD Audio port, the computer gives no sound, even in Vista. But in Vista, I can see the HDMI output and it is through that that the computer is able to send sound. The problem now appears to be how do I make Fedora 11 recognise the HDMI output?

Thanks for any help.
Reply With Quote
  #12  
Old 25th June 2009, 11:31 AM
Phantom_Lord Offline
Registered User
 
Join Date: Dec 2007
Location: Sofia, Bulgaria
Posts: 49
Hi prasadrvln.

I think that you should specify correctly the model of your pavilion. As this is not the needed information:
Quote:
HP Pavillion PC (M9370E), with NVidia GeForce 7100 / nForce 630i card.
So, according to me, what you have to do is the following:

1. Open a terminal, become root, then execute:
Code:
 touch /etc/modprobe.d/alsa.conf
2. Find your notebook model from this list: http://www.mjmwired.net/kernel/Docum...dio-Models.txt ;
3. In the root terminal execute:
Code:
 echo  "options snd-hda-intel model=YOUR-MODEL" >> /etc/modprobe.d/alsa.conf
but first change "YOUR-MODEL" with the option from the list.

For example, I have a pavilion dv5 and the command looks that way:
Code:
 echo "options snd-hda-intel model=hp-dv5 >> /etc/modprobe.d/alsa.conf
4. Reboot.

That is - I suppose you'll have sound from the speakers, but I don't know anything about the HDMI, as I don't use it .

Regards,
P.L.
Reply With Quote
  #13  
Old 26th June 2009, 02:50 AM
prasadrvln Offline
Registered User
 
Join Date: Jun 2009
Location: Australia
Posts: 5
Hi Phantom_Lord,

Thank you very much for the response. Will try this tonight and post results.

Regards,
Prasad
Reply With Quote
  #14  
Old 27th June 2009, 01:25 AM
tinak Offline
Registered User
 
Join Date: Dec 2006
Location: Sebastopl, Ca
Age: 31
Posts: 32
Quote:
Originally Posted by tinak View Post
Hello guys,

My sound seems to work OK when using my built-in laptop speakers, but when I plug in an external set I get nothing. I had to mess with all the mixers I could find to hear the music from my laptop speakers, but cant seem to find anything to get external speakers working. I created the alsa.conf file and added "options snd-hda-intel model=g50v" to it. I found the model in the list provided by the link in a previous post. I have an ASUS G50v running F11. Sound worked great in F10, but I know how it goes with Fedora Here is my alsa-info if anyone is able to help: http://www.alsa-project.org/db/?f=56...95cb55bf87e630

Thanks!
I was able to get this working properly I have an ASUS g50vt x5. Having "model=g50v" in the alsa.comf file meant the internal speakers worked fine, but nothing on the headphone jack. Changed that to "model=auto", had no sound from internal speakers and crackly sound from headphone jack. So at that point I just started trying different models from this list, and "model=g71v" works beautifully. Just wanted to post an update here in case anyone was searching the forums with the model name.
Reply With Quote
  #15  
Old 27th June 2009, 04:08 PM
prasadrvln Offline
Registered User
 
Join Date: Jun 2009
Location: Australia
Posts: 5
Success at last. Here's how I did it.

I have tried different models that were provided by Phantom_Lord above (Thanks Phantom_Lord for this). But had no success. With my testing over the last two days, I found the following:

1.nvidia-settings program shows that my graphics processor is “GeForce 9300 GE”, while lspci output shows that it is “GeForce 7100 / nForce 630i”. Checked in Vista. Vista confirms that it is “GeForce 9300 GE”. This has led me to believe that F11 has been making some mistake somewhere.
2.I wasn't getting any sound out of the HDMI port. It was clear that alsa/Fedora 11 wasn't picking up my HDMI port. I tried with a headphone connected to the front of the PC, and I got sound, but only through the left channel.

With the above in view and with my experience over the last month, I have written up a small mini-HOWTO that I hope will be helpful in getting sound output through an nVidia-HDMI port for many computers.

1.Firstly, follow the guidelines given in http://pulseaudio.org/wiki/PerfectSetup.

2.Next check the output of
Quote:
aplay -l
This should show a digital device.

3.If there is a digital device, then skip to step 5. And don't do step 4 (i.e., don't create a file in /etc/modprobe.d folder).

4.If a digital device is not shown, then follow the steps indicated by Phantom_Lord above. A digital device will get shown (hopefully).

5.Type “alsamixer -c0” in the terminal window and check that all channel are unmuted, particularly the IEC958 ones. Increase the master volume to 100.

6.Try to play a .wav file with
Quote:
aplay -D hw:x,y some_file.wav
or with
Quote:
aplay -D plughw:x,y some_file.wav
. Please use only .wav files or .ogg files and not .mp3. x and y above are the card number and device number respectively, as shown on “aplay -l” output. Use the number of digital device shown for y.

7.If the above steps gives you any sound then you are done and you have no use for the rest of the instructions below. Else, either the command will exit with many errors or will say “Playing .....”, but gives out no sound. Following steps then may be helpful.

8.What I understand (don't know if I am right) is that sometimes it is necessary to tell ALSA to send sound out through a specific address on the motherboard or nVidia graphic adapter. There are two ways to find out this address. The first is: Click on “System -> Preferences -> NVIDIA X Server Setting” (I am assuming that you have installed the latest nVidia drivers from nVidia website – currently version no. 185.12). This will open the nvidia-settings window. Click on “GPU 0 – (GeForce xxxx YY)” on the left pane of the window, xxxx and YY being the GeForce card no. identifiers. For example for my system, it is GeForce 9300 GE. Information about the GPU is shown on the right pane. Note down the values indicated for “PCI Vendor ID:” and “PCI Device ID:”. We would tell ALSA to look at this address. For example for my system these values are “0x10de” and “0x06e0” respectively.

9.The second method is through Windows, if your computer is a dual boot machine with Windows. In Windows, go to Device Manager (Right click on the Computer icon on the desktop -> Properties. Select Hardware tab and the Device Manager is there). Select the item called graphic adapter. Select Nvidia and click on the properties. On one of the tabs, you can get this information.

10.Back to Fedora. I had alsa-1.0.20 installed on my computer, along with pulseaudio. But I have downloaded alsa-driver-1.0.20 file again from the ALSA site. Unzipped the tar ball and have gone into alsa-driver-1.0.20/alsa-kernel/pci/hda folder. There is a file called “patch_nvhdmi.c”. We will need to put in the address collected from the above two steps into this file.

11.Open the file “patch_nvhdmi.c”. No need to be root.

12.Look for “static struct hda_codec_preset snd_hda_preset_nvhdmi” (Line no. 160 on my machine. May be close to that on yours). There are several entries under this. The entries look like the following:
Quote:
{ .id = 0x10de0002, .name = "MCP78 HDMI", .patch = patch_nvhdmi },
{ .id = 0x10de0006, .name = "MCP78 HDMI", .patch = patch_nvhdmi },
{ .id = 0x10de0007, .name = "MCP7A HDMI", .patch = patch_nvhdmi },
{ .id = 0x10de0067, .name = "MCP67 HDMI", .patch = patch_nvhdmi },
{ .id = 0x10de8001, .name = "MCP73 HDMI", .patch = patch_nvhdmi },
{} /* terminator */
13.Add a line above the “terminator” line as follows:
Quote:
.id = 0xAAAABBBB, .name = “Something HDMI”, .patch = patch_nvhdmi },
Of the above line “AAAA” are the last four digits (or the alphanumerics) of PCI Vendor ID, and “BBBB” are the last four digits (or alphanumerics) of the PCI Device ID. You can use any name in stead of “Something HDMI” above. Don't forget to put in that comma at the end or the dots in front of id, name and patch.

14.Immediately below the this section of the c program are lines that look this.

Quote:
MODULE_ALIAS("snd-hda-codec-id:10de0002");
MODULE_ALIAS("snd-hda-codec-id:10de0006");
MODULE_ALIAS("snd-hda-codec-id:10de0007");
MODULE_ALIAS("snd-hda-codec-id:10de0067");
MODULE_ALIAS("snd-hda-codec-id:10de8001");
To these add the following line
Quote:
MODULE_ALIAS("snd-hda-codec-id:AAAABBBB");
AAAA and BBBB are same as the above. For example, the two added lines in my file are as follows:
Quote:
{ .id = 0x10de06e0, .name = "My HDMI", .patch = patch_nvhdmi },
MODULE_ALIAS("snd-hda-codec-id:10de06e0");
Save and exit the file.

15.Become root and install this alsa-driver file again, in the usual manner, as if you are installing the ALSA package for the first time. Code for the same:

Quote:
./configure
make
make install
For the ./configure command above, if you want to add additional parameters (such as –with-sequencer, –with-cards, or others as you feel fit), please add. There is no need to reinstall alsa-libs or alsa-utils or any other ALSA packages. I assume these are already there.

16.By doing the above, the patched up patch file with the exact address of the device to be used is installed into the system. Reboot.

17.Once the system reboots, you should get sound. If not go into “alsamixer -c0” again and adjust volume levels, and unmute the others. Try again, as in Step 6 above.

18.Still no sound? Move the file created in Step 4 out of the /etc/modprobe.d folder to some other folder, say your home folder. Reboot and try. Now you should have sound.

There are many people I need to thank for the above. The above is only a compilation of what I have found over the internet during the last month.

Trust the above is helpful.

Regards,
Prasad.
Reply With Quote
Reply

Tags
alsa, f11, pulseaudio, sound

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound output problem Ry J Hardware & Laptops 0 20th February 2009 03:12 AM
Pulseaudio, ALSA and multiple sound card help. kRogue Installation and Live Media 0 29th August 2008 09:10 AM
alsa-lib-1.0.14-1 and alsa-utils-1.0.14-1 / sound problem pepe123 Using Fedora 2 19th August 2007 08:20 PM
Another FC4 Sound Problem Fix: No alsa sound as root JayTee Hardware & Laptops 6 29th August 2005 06:32 PM
Odd sound problem - only mono output possible ghem4 Hardware & Laptops 1 23rd May 2004 11:19 AM


Current GMT-time: 21:31 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat