openSUSE Forums > Hardware > Laptop » Strange problem with sound

Go Back   openSUSE Forums > Hardware > Laptop
Forums FAQ Members List Search Today's Posts Mark Forums Read


Laptop Questions about laptop hardware and laptop specific software (power management )

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Aug-2008, 07:13
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 4
seiyar81 hasn't been rated much yet
Default Strange problem with sound

Hello everyone,

Fisrt, I'm sorry to post another thread for sound but my problem is different of all I have read on the forum.

I explain myself : I installed OpenSuse 11.0 few days ago but when lauching Gnome desktop, no sound :s
I tried then all methods I could find on the web but none worked.
I read SDB:AudioTroubleshooting and since I applied the tutorial I can see that I have sound with the sound meter and sound volume is set to maximum in gamix but, no sound out of my speakers...

Here is the result of few commands :


Code:
wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' :
http://nopaste.com/p/aweb6LAhf
Code:
rpm -qa | grep alsa

alsa-tools-1.0.16-47.1
alsa-utils-1.0.16-35.1
alsamixergui-0.9.0rc1-705.1
alsa-1.0.16-39.1
alsa-driver-kmp-pae-1.0.16.20080806_2.6.25.5_1.1-1.1
FA_clalsadrv-1.2.2-0.pm.3
alsa-firmware-1.0.16-24.1


rpm -qa | grep pulse

pulseaudio-module-zeroconf-0.9.10-26.3
pulseaudio-module-lirc-0.9.10-26.3
gstreamer-0_10-pulse-0.9.7-42.pm.1
libpulse0-0.9.10-26.3
libpulse-browse0-0.9.10-26.3
libpulse-mainloop-glib0-0.9.10-26.3
pulseaudio-module-x11-0.9.10-26.3
pulseaudio-module-bluetooth-0.9.10-26.3
pulseaudio-0.9.10-26.3
pulseaudio-module-gconf-0.9.10-26.3
pulseaudio-utils-0.9.10-26.3
libpulsecore4-0.9.10-26.3
pulseaudio-esound-compat-0.9.10-26.3


rpm -q libasound2

libasound2-1.0.16-39.1


uname -a

Linux linux-maav 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686 i686 i386 GNU/Linux


cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel
# u1Nb.WwbOITG9v9B:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
I haven't seen this problem anywhere else.
Thanks in advance

PS : sorry for my poor english but I'm french
My laptop is a Medion MD96367.
Reply With Quote
  #2 (permalink)  
Old 06-Aug-2008, 14:26
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Strange problem with sound

Quote:
Originally Posted by seiyar81 View Post
OpenSuse 11.0 few days ago but when lauching Gnome desktop, no sound : .......
Code:
wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' :
http://nopaste.com/p/aweb6LAhf
Quote:
rpm -qa | grep alsa

alsa-tools-1.0.16-47.1
alsa-utils-1.0.16-35.1
alsamixergui-0.9.0rc1-705.1
alsa-1.0.16-39.1
alsa-driver-kmp-pae-1.0.16.20080806_2.6.25.5_1.1-1.1
FA_clalsadrv-1.2.2-0.pm.3
alsa-firmware-1.0.16-24.1 .....
My laptop is a Medion MD96367.
Thankyou ... I note from tsalsa
Code:
Alsa cards:         
        --- no soundcards ---        
Codec:         
Lsof output:         
cardcnt:         
raw amixer output:
i.e. you sound card is not recognized at all. Please ensure sound is switched ON in your laptop's BIOS (if there is such a switch, there may not be).

I also note:
Code:
Alsa driver: 1.0.17        
Alsa lib: 1.0.16        
Alsa utils: 1.0.16
which is a mix of versions. I also note your alsa-driver-kmp is not consistent with the rest of your alsa apps.

That might explain the problem. ie. you were not able to follow the alsa update page completely: Alsa-update - openSUSE

Please send (copy and paste) the following 6 commands into a gnome-terminal after first typing "su" to get root permissions (enter root password when prompted). Execute them sequentially. Note your PC must be connected to the internet and you must send these commands in sequence. Its possible when you send the 5th command you will find the rpm is already installed. If so, please send the 6th command anyway.
Code:
zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
Code:
zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
Code:
zypper rr multimedia
Code:
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/ multimedia
Code:
zypper install alsa-driver-kmp-pae
Code:
zypper rr multimedia
and restart your PC after, and check your sound.

If sound does not work, please run the diagnostic script again:
Code:
wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa'
as hopefully it will give more information.

Also immediately after rebooting, please run the following command in a gnome-terminal:
dmesg > dmesg.txt
and open dmesg.txt with a text editor and paste it to general pastebin - simplified internet collaboration, submit the post, and post the URL provided by pastebin here.
Reply With Quote
  #3 (permalink)  
Old 06-Aug-2008, 16:53
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 4
seiyar81 hasn't been rated much yet
Default Re: Strange problem with sound

Thanks for your help

Here is the talsa result : tsalsa.txt - nopaste.com (beta)
and the dmesg result : general pastebin - Something - post number 1094134

I still have no sound But the card is detected by alsa now

I noticed that package alsa-driver-kmp-pae is still in version 1.0.16 whereas the other alsa packages are in version 1.0.17.
I removed and reinstall the package but it's still in version 1.0.16.
Reply With Quote
  #4 (permalink)  
Old 06-Aug-2008, 18:01
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Strange problem with sound

Quote:
Originally Posted by seiyar81 View Post
Thanks for your help

Here is the talsa result : tsalsa.txt - nopaste.com (beta)
and the dmesg result : general pastebin - Something - post number 1094134

I still have no sound But the card is detected by alsa now .
I note you have an ALC883 from the script.

I also note from the script:
Code:
snd_hda_intel/parameters/model:mitac,<NULL>,<NULL>,
but your /etc/modprobe.d/sound file has:
Code:
options snd slots=snd-hda-intel
# u1Nb.WwbOITG9v9B:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
... so I am wondering, ... did you insert an option that states "model=mitac" somewhere, or did alsa do that automatically?

The ALSA-Configuration.txt options for ALC883 are:
Code:
	ALC883/888
	  3stack-dig	3-jack with SPDIF I/O
	  6stack-dig	6-jack digital with SPDIF I/O
	  3stack-6ch    3-jack 6-channel
	  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
	  6stack-dig-demo  6-jack digital for Intel demo board
	  acer		Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
	  acer-aspire	Acer Aspire 9810
	  medion	Medion Laptops
	  medion-md2	Medion MD2
	  targa-dig	Targa/MSI
	  targa-2ch-dig	Targs/MSI with 2-channel
	  laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
	  lenovo-101e	Lenovo 101E
	  lenovo-nb0763	Lenovo NB0763
	  lenovo-ms7195-dig Lenovo MS7195
	  haier-w66	Haier W66
	  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
	  6stack-dell	Dell machines with 6stack (Inspiron 530)
	  mitac		Mitac 8252D
	  clevo-m720	Clevo M720 laptop series
	  fujitsu-pi2515 Fujitsu AMILO Pi2515
	  auto		auto-config reading BIOS (default)
of which one option is "mitac". But it seems to me it would be more appropriate to try "medion" or "medion-md2", or one of the many other options.

Also, the dmesg has some strange errors. It notes the application of model mitac, but then it identifies an ALC268 (as opposed to your ALC883).
Code:
# ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:2334: hda_codec: model 'mitac' is selected
# hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
# ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3030: autoconfig: line_outs=0 (0x0/0x0/0x0/0x0/0x0)
# ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3034:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
# ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3038:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
# ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3039:    mono: mono_out=0x0
# ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3047:    inputs: mic=0x0, fmic=0x0, line=0x0, fline=0x0, cd=0x0, aux=0x0
# hda_codec: Cannot set up configuration from BIOS.  Using base mode...
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Front Playback Volume:0 is already present
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Front Playback Switch:0 is already present
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Headphone Playback Switch:0 is already present
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Mic Boost:0 is already present
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Front Mic Boost:0 is already present
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Capture Volume:0 is already present
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Capture Switch:0 is already present
# ALSA /usr/src/packages/BUILD/alsa-driver/acore/control.c:332: control 2:0:0:Input Source:0 is already present
I can't help but think you have made other audio/attempted changes, that you have not told me about?

The dmesg also makes reference to some boot codes you could try.

I assume you tried booting with fail safe settings, and get no sound from that also?
Reply With Quote
  #5 (permalink)  
Old 06-Aug-2008, 19:09
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 4
seiyar81 hasn't been rated much yet
Default Re: Strange problem with sound

I solved the issue with mitac : I put (certainly few days ago because I can't remember) a new configuration in the file /etc/modprobe.d/alsa-base which was :
Code:
options snd-hda-intel model=mitac position_fix=0
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
May be a copy and paste without thinking, so i changed mitac for medion but still no changes.

Is the problem coming from this file ?

I tried to boot with fail safe settings but no sound either.

I also notice this with lspci -v command :
Code:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
	Subsystem: Mitac Device 8227
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at fc200000 (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 Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [130] Root Complex Link <?>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
I still have the strage errors from dmesg...

Sorry
Reply With Quote
  #6 (permalink)  
Old 07-Aug-2008, 00:34
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Strange problem with sound

Quote:
Originally Posted by seiyar81 View Post
I solved the issue with mitac :
What do you mean by "solved the issue"? Do you mean you have properly functioning sound now? If so, then your problem is solved, and igore the rest of my post.

If you still have sound problems, then read on ......
Quote:
Originally Posted by seiyar81 View Post
I put (certainly few days ago because I can't remember) a new configuration in the file /etc/modprobe.d/alsa-base which was :
Code:
options snd-hda-intel model=mitac position_fix=0
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alsa-base is what Ubuntu uses. openSUSE does not do that. I recommend you rename that file (so that it is not seen any more), and try again.

The place to make such changes such as "options snd-hda-intel model=mitac position_fix=0" is in the openSUSE /etc/modprobe.d/sound file.

Quote:
Originally Posted by seiyar81 View Post
Is the problem coming from this file ?
As a minimum, I think my difficult in getting a grasp on what is taking place with your error messages, and your dmesg are coming from there. That Ubuntu approach, which was not modified for openSUSE, could explain the problem with the sound test.

Quote:
Originally Posted by seiyar81 View Post
I also notice this with lspci -v command :
Code:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
	Subsystem: Mitac Device 8227
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at fc200000 (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 Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [130] Root Complex Link <?>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
Interesting that it is IRQ22.

Anyway, I recommend you remove any sound/audio configurations you did that were associated with OTHER Linux distributions, such that you have a clean configuration that can be used to configure to the openSUSE way of doing things.
Reply With Quote
  #7 (permalink)  
Old 07-Aug-2008, 03:03
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Strange problem with sound

Quote:
Originally Posted by oldcpu View Post
That Ubuntu approach, which was not modified for openSUSE, could explain the problem with the sound test.
Please ignore that comment. I'm getting my support threads mixed up.
Reply With Quote
  #8 (permalink)  
Old 07-Aug-2008, 03:43
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 1
makro_69 hasn't been rated much yet
Default Re: Strange problem with sound

Hi guys, im a new user on linux, suse, i installed suse 10.2 on my laptop and it didnt pick up my sound drivers, i would like to know if anyone can help me how to install this driver... plz... someone told me to type in lsmod but i dont understand whats going on there hehe
Reply With Quote
  #9 (permalink)  
Old 07-Aug-2008, 05:17
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 4
seiyar81 hasn't been rated much yet
Default Re: Strange problem with sound

Quote:
What do you mean by "solved the issue"? Do you mean you have properly functioning sound now?
Sorry I meant I found why there was mitac in the script.

I renamed alsa-base file and I noticed this :
Code:
 head -n 1 /proc/asound/card0/codec* :

==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC883

==> /proc/asound/card0/codec#2 <==
Codec: Realtek ALC268
My /etc/modprobe.d/sound file is :
Code:
options snd-hda-intel model=medion enable=1 index=0
# u1Nb.jN8_s9AC_37:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
What is strange (for me but may be it's normal) it's that the command "speaker-test -Dplug:front -c2 -l5 -twav" run normally :
Code:
speaker-test 1.0.17

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
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
 1 - Front Right
Time per period = 2,731148
 0 - Front Left
 1 - Front Right
Time per period = 2,986534
 0 - Front Left
 1 - Front Right
Time per period = 2,986728
 0 - Front Left
 1 - Front Right
Time per period = 3,157065
 0 - Front Left
 1 - Front Right
Time per period = 2,901502
Reply With Quote
  #10 (permalink)  
Old 07-Aug-2008, 12:16
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Strange problem with sound

Quote:
Originally Posted by seiyar81 View Post
I renamed alsa-base file and I noticed this :
Code:
 head -n 1 /proc/asound/card0/codec* :

==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC883

==> /proc/asound/card0/codec#2 <==
Codec: Realtek ALC268
Its puzzling that an attempt has been made during boot to setup two separate sound cards. I assume this laptop, to your knowledge, has only one sound device.

Quote:
Originally Posted by seiyar81 View Post
My /etc/modprobe.d/sound file is :
Code:
options snd-hda-intel model=medion enable=1 index=0
# u1Nb.jN8_s9AC_37:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
OK, .... this is not the way I would have edited this file for openSUSE-11.0 (but it is how I would have done it for 10.x). ...
Instead for openSUSE-11.0, I would have tried:
Code:
options snd slots=snd-hda-intel
options snd-hda-intel model=medion
# u1Nb.WwbOITG9v9B:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
Quote:
Originally Posted by seiyar81 View Post
What is strange (for me but may be it's normal) it's that the command "speaker-test -Dplug:front -c2 -l5 -twav" run normally
Are you hearing a female voice saying "front left" / "front right" at the same time as you see it typed on the screen? That is what you are supposed to get.
Reply With Quote
Reply

Bookmarks

Tags
laptop, problem, sound


Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2