LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-16-2007, 09:42 PM   #1
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Rep: Reputation: 31
no sound after installing Mandriva 2008, problem with ALSA


Hi everyone!

I've just installed Mandriva 2008 on my new Acer TravelMate 6291 laptop, along with Windows XP. Everything works like a charm except for the sound, and it seems pretty obvious that ALSA is the culprit.

First of all, I have no sound issue when I boot Windows.

Second of all, Mandriva has no problem detecting all the hardware, including the sound card, which is an Intel 82801G (ICH7 Family) High Definition Audio Controller; and the driver is present too: snd_hda_intel.

Third, during boot, I press Esc to see the details and I get this:

Code:
Alsa driver (version 1.0.14) is already running. Doing alsactl to mixer Settings :
 Alsactl : get control : 209 : Cannot read control '2,0,0,Mic Boost,0' Invalid argument
Can't open /root/tmp/asound.state_tmp : No such file or directory.
Setting mixer settings alsactl : load-state : 1313 : Cannot open 
/root/tmp/asound.state_tmp : No such file or directory
                                                                            [FAILED]
Indeed, the asound.state file doesn't exist anywhere.
Apparently, the 82801G (ICH7 Family) High Definition Audio Controller sound card has been a pain to many, regardless of the Linux flavor.

Anyone knows what I can do to fix this problem?

Thank you for your time.
 
Old 10-16-2007, 11:40 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Startup the Mandriva Control Centre (MCC), go to Hardware, click Browse and configure hardware, select your soundcard. Now look in the righthand pane. At the bottom where is says Alternative Drivers see what's listed there (if any) and try one of those.
 
Old 10-17-2007, 10:03 AM   #3
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Original Poster
Rep: Reputation: 31
It says:

Alternative drivers : unknown


Also, when I type the command alsactl in the Konsole, I get this:

Code:
alsamixer: function snd_mixer_load failed: Invalid argument
So looking around, I found this place "If alsamixer does not work:" and I suppose that the solution to my problem must be similar to this one. So my guess would be that if I wrote a file like the one being proposed there (but adapted for my hardware, which I don't know how to do that) and that I saved it as /root/tmp/sound.state_tmp then maybe it would work.

Just for fun, I tried it with their file and rebooted. During boot, the message I got now was:

Code:
Alsa driver (version 1.0.14) is already running. Doing alsactl to mixer Settings :
 Alsactl : get control : 209 : Cannot read control '2,0,0,Mic Boost,0' Invalid argument
Setting mixer settings alsactl : no state present for card intel                 [FAILED]
Or maybe an easier solution would be to get version 1.0.15 of alsa driver and install it. I'll do that.
 
Old 10-17-2007, 10:30 AM   #4
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Original Poster
Rep: Reputation: 31
OK so apparently there's nothing to upgrade as practically everything is already at version 1.0.15-0.rc1. Also I forgot to mention it but it's Mandriva X86_64 that I have.
 
Old 10-18-2007, 08:00 PM   #5
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Original Poster
Rep: Reputation: 31
I think a step in the right direction has been taken here.

In /etc/modprobe.conf I added the following line :

Code:
options snd-hda-intel model=3stack

The result now is that I get a normal message at boot time :

Code:
Alsa driver (version 1.0.14) is already running. Doing alsactl to mixer Settings :   [ OK ]
And ALSA commands have become usable. The only problem now is that I still don't have any sound yet. I'm wondering if there is something that is keeping the system mute.


Somebody has an idea?
 
Old 10-20-2007, 09:53 AM   #6
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Original Poster
Rep: Reputation: 31
Case Closed

Ok, apparently, the cause would be that there is a Realtek ALC268 sound chip that ALSA is having trouble with. The solution would be to patch alsa-driver and re-compile it.

I finally lost patience with my Mandriva install after finding other bugs, such a my USB sticks that were not mounted automatically, and decided to go with Fedora 7 instead. The sound problem was still there but I finally managed to solve it thanks to the solution mentioned above, which is posted here: http://paparadit.blogspot.com/2007/0...mate-6291.html

I post the link just in case that solution would work with Mandriva too. Could be useful for somebody.

Last edited by Iltbreg; 10-20-2007 at 09:55 AM.
 
Old 10-21-2007, 11:43 AM   #7
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,040

Rep: Reputation: 35
I was going to say, and I am sure you already tried. but did you try typing alsaconf in Konsole? And when you open "alsamixer", did you check your sliders to see if they were up?

d-1





Quote:
Originally Posted by Iltbreg View Post
Ok, apparently, the cause would be that there is a Realtek ALC268 sound chip that ALSA is having trouble with. The solution would be to patch alsa-driver and re-compile it.

I finally lost patience with my Mandriva install after finding other bugs, such a my USB sticks that were not mounted automatically, and decided to go with Fedora 7 instead. The sound problem was still there but I finally managed to solve it thanks to the solution mentioned above, which is posted here: http://paparadit.blogspot.com/2007/0...mate-6291.html

I post the link just in case that solution would work with Mandriva too. Could be useful for somebody.

Last edited by dolphans1; 10-21-2007 at 11:46 AM.
 
Old 10-21-2007, 08:44 PM   #8
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Original Poster
Rep: Reputation: 31
Indeed dolphans1, I did try those two commands. I didn't know too much what to do with alsaconf but alsamixer was not showing anything wrong; the sliders were up. That's why I was wondering whether there was another way to check if the system was mute.

I believe that the way to solve that bug is to patch alsa-driver and recompile it. That's what made the sound work with Fedora 7, and I believe it shouldn't be much different for Mandriva 2008. The volume control is not perfect though, but I can live with it. I suppose that it's just a matter of waiting for the next update of alsa-driver, or the one after, for that bug to be dealt with once and for all.
 
Old 10-21-2007, 08:51 PM   #9
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,040

Rep: Reputation: 35
Quote:
Originally Posted by Iltbreg View Post
Indeed dolphans1, I did try those two commands. I didn't know too much what to do with alsaconf but alsamixer was not showing anything wrong; the sliders were up. That's why I was wondering whether there was another way to check if the system was mute.

I believe that the way to solve that bug is to patch alsa-driver and recompile it. That's what made the sound work with Fedora 7, and I believe it shouldn't be much different for Mandriva 2008. The volume control is not perfect though, but I can live with it. I suppose that it's just a matter of waiting for the next update of alsa-driver, or the one after, for that bug to be dealt with once and for all.
Well thanks for the reply, I just know it works great here on my end, but then again I have an older box. AMD Athlon 1400 XP.....

d-1
 
Old 10-21-2007, 11:13 PM   #10
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Original Poster
Rep: Reputation: 31
And what sound card do you have?
 
Old 10-22-2007, 05:32 AM   #11
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 788

Rep: Reputation: 40
What worked with 2008 on my laptop with an Intel HD soundcard, an 82801H (ICH8 Family), was adding this to my /etc/modprobe.d/sound file :

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

My laptop is not a Toshiba!

As the first poster said, this soundcard seems to be a PITA for Linux at them moment.

Last edited by DiBosco; 10-22-2007 at 05:35 AM.
 
Old 10-22-2007, 09:44 AM   #12
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,040

Rep: Reputation: 35
It's just the original intergrated VIA Technologies AC97 Multi Media Audo Controller that came with the motherboard.

d-1




Quote:
Originally Posted by Iltbreg View Post
And what sound card do you have?
 
Old 11-19-2007, 03:32 AM   #13
twosheddz
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
I have this problem with every new version - here's my fix

Well, not mine, but I can't remember who to give proper credit to from two or three versions ago.

From your menu, under sound or multi-media, run volume control. (If your distro, like my new Mandriva 2008, doesn't have it it the menu, run gnome-volume-control from the "Run Command" in the start menu.

From here select the switches tab. Unclick the box "Audigy Analog/Digital Output Jack". Sit back and enjoy your tunes. Works every time for me.
 
Old 03-24-2008, 09:58 PM   #14
mr805newbie
Member
 
Registered: Aug 2004
Posts: 78

Rep: Reputation: 15
I'm having sound problems too and I've checked the following information.

Quote:
"/sbin/lsmod" will enable you to check if its module (driver) is loaded or not

[root@localhost anabella]# /sbin/lsmod
Module Size Used by
sg 30584 0
wlan_wep 6816 2
ipt_IFWLOG 3588 2
ipt_psd 44392 1
ip_set_iptree 7016 2
i915 22688 3
drm 72628 4 i915
iptable_raw 2688 0
xt_comment 2336 0
xt_policy 4256 0
xt_multiport 3808 4
ipt_ULOG 7748 0
ipt_TTL 2656 0
ipt_ttl 2336 0
ipt_TOS 2560 0
ipt_tos 2176 0
ipt_set 2752 2
ipt_SAME 2880 0
ipt_REJECT 4288 4
ipt_REDIRECT 2720 0
ipt_recent 8344 0
ipt_owner 2464 0
ipt_NETMAP 2656 0
ipt_MASQUERADE 3872 0
ipt_LOG 6560 10
ipt_iprange 2336 0
ipt_ECN 3200 0
ipt_ecn 2656 0
ipt_CLUSTERIP 7460 0
ipt_ah 2368 0
ipt_addrtype 2336 0
nf_nat_tftp 2208 0
nf_nat_snmp_basic 9732 0
nf_nat_sip 4768 0
nf_nat_pptp 3552 0
nf_nat_proto_gre 3012 1 nf_nat_pptp
nf_nat_irc 2816 0
nf_nat_h323 6720 0
nf_nat_ftp 3424 0
nf_nat_amanda 2560 0
ts_kmp 2592 5
nf_conntrack_amanda 4512 1 nf_nat_amanda
nf_conntrack_tftp 5492 1 nf_nat_tftp
nf_conntrack_sip 8788 1 nf_nat_sip
nf_conntrack_proto_sctp 8520 0
nf_conntrack_pptp 6176 1 nf_nat_pptp
nf_conntrack_proto_gre 5152 1 nf_conntrack_pptp
nf_conntrack_netlink 23904 0
nf_conntrack_netbios_ns 3104 0
nf_conntrack_irc 6104 1 nf_nat_irc
nf_conntrack_h323 48156 1 nf_nat_h323
nf_conntrack_ftp 8800 1 nf_nat_ftp
ip_set_portmap 4800 0
ip_set_macipmap 4708 0
ip_set_ipmap 4704 0
ip_set_iphash 7876 0
ip_set 18332 11 ip_set_iptree,ipt_set,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
xt_tcpmss 2688 0
xt_pkttype 2400 4
xt_physdev 3120 0
xt_NFQUEUE 2496 0
xt_NFLOG 2560 0
xt_MARK 2784 0
xt_mark 2400 0
xt_mac 2400 0
xt_limit 2944 0
xt_length 2464 0
xt_helper 2944 0
xt_hashlimit 8588 0
ip6_tables 12484 1 xt_hashlimit
xt_dccp 3556 0
xt_conntrack 3040 0
xt_CONNMARK 3200 0
xt_connmark 2688 0
xt_CLASSIFY 2368 0
xt_tcpudp 3680 11
xt_state 2752 14
iptable_nat 7396 0
nf_nat 16140 14 ipt_SAME,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre, nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_netlink,iptable_nat
nf_conntrack_ipv4 15148 16 iptable_nat
nf_conntrack 54888 29 ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_ h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_pr oto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_co nntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_sta te,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle 2976 1
nfnetlink 5080 4 nf_conntrack_netlink,nf_nat,nf_conntrack_ipv4,nf_conntrack
iptable_filter 3136 1
ip_tables 11396 4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables 12036 47 ipt_IFWLOG,ipt_psd,xt_comment,xt_policy,xt_multiport,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_TOS,ipt_tos,ipt_se t,ipt_SAME,ipt_REJECT,ipt_REDIRECT,ipt_recent,ipt_owner,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_iprang e,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_tcpmss,xt_pkttype,xt_physdev,xt_NFQUEUE,xt_NF LOG,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_helper,xt_hashlimit,ip6_tables,xt_dccp,xt_conntrack ,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
arc4 2592 2
ecb 3456 2
blkcipher 5860 1 ecb
ieee80211_crypt_wep 4800 1
af_packet 17992 2
snd_seq_dummy 3492 0
snd_seq_oss 29888 0
snd_seq_midi_event 6912 1 snd_seq_oss
snd_seq 46800 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 7276 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 37216 0
snd_mixer_oss 14784 1 snd_pcm_oss
ipv6 250308 11 nf_conntrack_h323
video 15080 0
thermal 11304 0
sbs 16520 0
processor 25928 1 thermal
fan 4260 0
container 4032 0
button 6576 0
dock 7600 0
battery 10344 0
ac 4452 0
binfmt_misc 9416 1
loop 14276 0
nls_cp437 6304 1
vfat 11040 1
fat 45852 1 vfat
nls_utf8 2496 2
ntfs 252840 1
dm_mod 48064 0
usb_storage 90276 0
scsi_mod 125356 2 sg,usb_storage
cpufreq_ondemand 7340 0
cpufreq_conservative 6632 0
cpufreq_powersave 2240 0
speedstep_lib 5028 0
freq_table 4512 1 cpufreq_ondemand
tifm_sd 10376 0
mmc_block 9540 0
mmc_core 23076 2 tifm_sd,mmc_block
tifm_7xx1 6304 0
tifm_core 8004 2 tifm_sd,tifm_7xx1
nvram 8456 0
wlan_scan_sta 12192 1
ath_rate_sample 12064 1
ath_pci 88480 0
wlan 190244 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 190288 3 ath_rate_sample,ath_pci
b44 24304 0
ssb 31364 1 b44
ohci1394 32016 0
pcmcia 33260 1 ssb
yenta_socket 23628 2
mii 5280 1 b44
ieee1394 81080 1 ohci1394
bcm43xx 426016 0
rsrc_nonstatic 11904 1 yenta_socket
pcmcia_core 33108 3 pcmcia,yenta_socket,rsrc_nonstatic
rng_core 4900 1 bcm43xx
ieee80211softmac 26656 1 bcm43xx
ieee80211 31656 2 bcm43xx,ieee80211softmac
ieee80211_crypt 5248 2 ieee80211_crypt_wep,ieee80211
snd_intel8x0 29404 3
snd_intel8x0m 14444 1
snd_ac97_codec 96836 2 snd_intel8x0,snd_intel8x0m
ac97_bus 2752 1 snd_ac97_codec
snd_pcm 69636 5 snd_pcm_oss,snd_intel8x0,snd_intel8x0m,snd_ac97_codec
snd_timer 19652 3 snd_seq,snd_pcm
snd 45092 16 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_intel8x0m,snd_ac97_cod ec,snd_pcm,snd_timer
i2c_i801 8528 0
soundcore 6624 1 snd
snd_page_alloc 8456 3 snd_intel8x0,snd_intel8x0m,snd_pcm
ide_cd 35168 0
i2c_core 20224 1 i2c_i801
shpchp 29812 0
pci_hotplug 27360 1 shpchp
ehci_hcd 30892 0
uhci_hcd 22832 0
usbcore 118984 4 usb_storage,ehci_hcd,uhci_hcd
iTCO_wdt 9632 0
iTCO_vendor_support 3940 1 iTCO_wdt
intel_agp 22132 1
agpgart 27624 3 drm,intel_agp
tsdev 7104 0
evdev 8448 6
joydev 8800 0
ext3 118376 2
jbd 50472 1 ext3
ide_disk 14624 6
piix 9028 0 [permanent]
ide_core 99716 4 usb_storage,ide_cd,ide_disk,piix
[root@localhost anabella]#

"/sbin/chkconfig --list sound" and "/sbin/chkconfig --list alsa" will tell you if sound and alsa services're configured to be run on initlevel 3
Code:
[root@localhost anabella]# /sbin/chkconfig --list sound
sound           0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@localhost anabella]# /sbin/chkconfig --list alsa
alsa            0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@localhost anabella]#


"aumix -q" will tell you if the sound volume is muted or not

[root@localhost anabella]# aumix -q
vol 35, 35, P
pcm 74, 74
line 77, 77, P
mic 0, 0, R
cd 77, 77, P
pcm2 74, 74
igain 80, 80
line1 77, 77, P
dig1 0, 0
phin 77, 77, P
phout 74, 74, P
video 100, 100, P
[root@localhost anabella]#



"/sbin/fuser -v /dev/dsp" will tell which program uses the sound card.

[root@localhost anabella]# /sbin/fuser -v /dev/dsp
[root@localhost anabella]#
 
Old 03-27-2008, 10:10 AM   #15
Iltbreg
Member
 
Registered: Feb 2006
Location: Canada
Distribution: Fedora, Mandriva
Posts: 191

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by mr805newbie View Post
I'm having sound problems too and I've checked the following information.
What kind of laptop do you have? And could you also post the out of lspci -v and what you have in modprobe.conf?

Last edited by Iltbreg; 03-27-2008 at 10:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bizarre sound (gstreamer/alsa) problem with mandriva 2007.0 irkku Linux - Hardware 4 10-26-2007 03:07 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 08:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 10:41 PM
Mandriva 2008 Shutdown problem cbradlea Linux - Desktop 2 10-10-2007 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration