LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problem with sound (https://www.linuxquestions.org/questions/linux-hardware-18/problem-with-sound-927454/)

Gins 02-03-2012 01:54 PM

Problem with sound
 
Hello

I have installed Mandriva 2010 on a desktop computer. The sound is not there. I just hear a hum. I played some music from YouTube. No sound comes from the speaker; only a hum.
I just see a man is singing on the screen. Sound doesn't come

Where do I find the sound drivers? I don't know the folder where you could look for the sound drivers. I firmly believe the problem is that there are no sound drivers installed.

Please tell me the way to check the sound drivers.
.................................................................................................... .......................................
However I have found the following when I try to configure it.
Here you can select an alternative driver (either OSS or ALSA) for your sound card (VIA Technologies, Inc.|VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller)).

Your card currently use the ALSA "snd_hda_intel" driver (default driver for your card is "snd_hda_intel")

tommcd 02-03-2012 04:16 PM

For starters, have you run alsamixer and made sure nothing is muted and the sound levels are turned all the way up?
The humming may be due to a microphone input. Try muting the mic in alsamixer and see if the hum goes away. I had to do this on my computer.

If alsamixer does not help, post the output of your sound hardware that Mandriva sees from the terminal:
Code:

lspci | grep -i audio
And post the output of the audio drivers that are loaded:
Code:

lsmod | grep -i snd*
This should help to diagnose the problem

XavierP 02-04-2012 05:45 AM

Moved: This thread is more suitable in Linux-Hardware and has been moved accordingly to help your thread/question get the exposure it deserves.

Gins 02-04-2012 10:16 AM

Xavier
You have moved to another forum
That is your prerogative as the moderator

I thank tommcd for excellent comments.
I badly need your help.
.................................................................................................... ......................

[root@localhost nissanka]# lspci | grep -i audio
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)
[root@localhost nissanka]#

.................................................................................................... .......................

[root@localhost nissanka]# lsmod | grep -i snd*
nf_nat_snmp_basic 8711 0
nf_conntrack 82261 31 xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_na t_irc,nrack_amanda,nf_conntrack_sane,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_c onntrack_pptp,nf_conntrack_proto_gre,nf_conntraack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper, xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
snd_hda_codec_realtek 301964 1
snd_hda_intel 25542 2
snd_hda_codec 91243 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 7002 1 snd_hda_codec
snd_mpu401 5874 0
snd_mpu401_uart 7113 1 snd_mpu401
snd_rawmidi 23968 1 snd_mpu401_uart
snd_seq_dummy 1814 0
snd_seq_oss 34477 0
snd_seq_midi_event 7267 1 snd_seq_oss
snd_seq 60757 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 7144 4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 46937 0
snd_pcm 92626 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 23190 2 snd_seq,snd_pcm
snd_page_alloc 8628 2 snd_hda_intel,snd_pcm
snd_mixer_oss 16474 1 snd_pcm_oss
snd 73103 19 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_mpu401,snd_mpu401_uart,snd_rawmidi,s nd_seq__pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 7995 1 snd
dm_snapshot 31176 0
dm_mod 74014 11 dm_snapshot,dm_zero,dm_mirror,dm_log
[root@localhost nissanka]#
....................................................................................................

[root@localhost nissanka]# lspcidrake -v | fgrep -i AUDIO
snd_hda_intel : VIA Technologies, Inc.|VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (vendor:1106 device:3288 subv:1849 subd:0888) (rev: 10)
[root@localhost nissanka]#
.................................................................................................... ..................

[root@localhost nissanka]# grep sound-slot /etc/modprobe.conf
alias sound-slot-0 snd_hda_intel
[root@localhost nissanka]#
..................................................................................................
I am eagerly waiting to hear from you again.


Gins 02-04-2012 10:58 AM

Yes, the command 'alsamixer' works fine.
There is nothing I could do with it. Probably I don't know much about meddling with it.

repo 02-04-2012 11:04 AM

http://linux.die.net/man/1/alsamixer

Kind regards

Gins 02-04-2012 04:07 PM

Thanks repo for the reply.

The 'M' is not under the bars. It is 'O' under the bars.

Still no sound comes from the speakers. Just the hum comes from the speakers.

tommcd 02-05-2012 11:16 AM

Quote:

Originally Posted by Gins (Post 4593691)
I thank tommcd for excellent comments.
I badly need your help.

[root@localhost nissanka]# lspci | grep -i audio
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)
[root@localhost nissanka]#

[root@localhost nissanka]# lsmod | grep -i snd*
...
snd_hda_codec_realtek 301964 1
snd_hda_intel 25542 2
snd_hda_codec 91243 2 snd_hda_codec_realtek,snd_hda_intel
.........
I am eagerly waiting to hear from you again.

(I really hope that my comments are excellent!! Time will tell how excellent they prove to be!!! ...)

It seems that your computer uses the VIA Technologies, Inc. VT1708/A [Azalia HDAC] audio chip; and Mandriva is using the snd_hda_intel audio codecs for it.
A quick search found this bug on the Mageia site. Mageia is based on Mandriva. It is therefore possible that this bug may exist in Mandriva as well:
https://bugs.mageia.org/show_bug.cgi?id=1651
Quote:

I have found that the problem is the way the newer Linux kernels use ACPI to
enumerate all the PCI host bridges, and part of the host bridge description is
the “_CRS” (current resource settings) property, which lists the address space
used by the bridge.

I found this information here:
http://article.gmane.org/gmane.linux.kernel/947909

I have added 'pci=use_csr' as a kernel boot parameter on my system and this has
resolved the issue. I now have sound. ...
This is a typo: (I have added 'pci=use_csr' as a kernel boot parameter)
It should be 'pci=use_crs'
So try adding pci=use_crs to your kernel boot parameter(s) in grub and see if this gets you sound.
You can add pci=use_crs to your grub boot parameter on the fly as the computer is booting by hitting the "e" key over the kernel line (the vmlinuz line in grub legacy) as the computer boots and add pci=use_crs to the end of the vmlinuz line (i.e., the kernel line). Then hit Esc to exit, and "b" to boot. This will not make any permanent changes to your system. This will function as a test howver to see if adding pci=use_crs to your boot parameters gets you sound.

It is my understanding that Mandriva 2010 still uses grub legacy. It has been a while since I have worked with grub legacy. For further info see:
https://wiki.archlinux.org/index.php..._the_boot_menu

Mandriva 2010 is a bit old these days.
You may want to consider trying a more recent distro and see if you get sound.
Try running a Ubuntu 11.10 live CD and see if you get sound.
If you are using an older computer that has older hardware and limited resources, then try using a Lubuntu 11.10 live CD. Lubuntu is very fast and light and works well on older computers. It uses the same 3.0 kernel as Ubuntu 11.10. The newer kernel in Ubuntu may give you sound. Ubuntu 11.10 also uses grub2, which works differently than grub legacy.
Write back if you need more help.

Gins 02-05-2012 11:19 AM

I have tried in vain to solve the problem today.
I badly need your support.

By the way, I had a similar problem with the screen resolution. The browser didn't cover the entire screen. I have played with the command 'xrandr' for about 2 hours. Now it works better than before. It is not 100% correct. I accept the current setup.

tommcd 02-05-2012 11:30 AM

Quote:

Originally Posted by Gins (Post 4594430)
I have trie[I]d in vain to solve the problem today.
I badly need your support.

I was still editing my last post when you posted this.
Please read my last post above this and see if any of that helps.

Gins 02-05-2012 11:33 AM

Thanks tommcd for taking time to reply me again. I was waiting for your input all this time.

The following is my 'menu.lst' file
---------------------------------------------------------------------------

root@localhost grub]# cat menu.lst
timeout 15
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=80896d65-2ed4-485f-aff6-50a8687ef0a1 resume=/dev/VolGroup/lv_swap splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=80896d65-2ed4-485f-aff6-50a8687ef0a1 resume=/dev/VolGroup/lv_swap
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=80896d65-2ed4-485f-aff6-50a8687ef0a1 failsafe
initrd (hd0,0)/boot/initrd.img
[root@localhost grub]#
----------------------------------------------------------------------------------

Where do I ring the changes on the 'menu.lst' file?

onebuck 02-05-2012 11:34 AM

Member response
 
Hi,

Quote:

Originally Posted by Gins (Post 4593912)
Thanks repo for the reply.

The 'M' is not under the bars. It is 'O' under the bars.

Still no sound comes from the speakers. Just the hum comes from the speakers.

When in 'alsamixer' increase the level for each of the device object levels, move between each with 'arrow-keys'. Then press 'Esc' & do 'alsactl store'. After which you should see the control levels changed in whatever 'X' mixer you choose.

onebuck 02-05-2012 11:41 AM

Moderator response
 
Hi,

Quote:

Originally Posted by Gins (Post 4593691)
Xavier
You have moved to another forum
That is your prerogative as the moderator
<snip>

Please re-read the LQ Rules;
Quote:

Your thread may be moved to a more appropriate forum at a moderator's discretion.
This action is done to provide a thread with the best possible result or assistance from forum specific members. Not everyone lurks or participates in all forums here at LQ.

Gins 02-05-2012 11:53 AM

Hi
I did the following as you suggested:
press 'Esc' & do 'alsactl store

I rebooted the computer and tried in vain to play a song from the YouTube. I see a singing man. However, no sound.

onebuck 02-05-2012 05:00 PM

Member response
 
Hi,

Which distro & DE/WM?
What do you see when a mixer is opened for DE?

You can adjust the mixer setting on the desktop?
What about going to system settings and try testing the snd-intel device?


All times are GMT -5. The time now is 04:50 PM.