I have OpenSUSE 13.1. I a trying to get the sound working on my computer. I have an 3.5mm audio jack connected to the motherboard with a Realtek ALC272.
I am pretty new to Linux so please bare with me. I have done “lsmod” to see what modules I have and I was expecting to see a snd device of some sort.
You should (normally) have snd modules listed if ALSA is installed.
If not, the modules are not running; most likely then due to ALSA having been de-selected for the install?
Further to F_Sauce’s post, in order to minimize the output, only post lines with ‘snd’ in the line. You can do that by sending the following command in a konsole/xterm:
lsmod | grep snd
or alternatively, if you would like a detailed look to assess why your sound may not be working, run the following diagnostic script and share the output. You can do that by sending the following command (as a regular user) in a konsole/xterm with PC connected to the internet, select the SHARE/UPLOAD option and then run script to completion. When it is complete look in konsole/xterm, and it will have provided you a web/address URL that you are to share. Post that address here.
Ok, the sound module (driver) is loaded. Your mixer appears configured ok, as you have all volumes set to maximum (100% which is a bit loud … so be prepared to immediately back off in the volume to 80% or 90% as soon as sound starts to work).
You could try disabling themixer control ‘auto mute’ , but in all due honesty, I can’t see that being the problem. Here is what you currently have set for the automute:
As a basic test, to prove your sound functions, try sending these commands in a konsole/xterm as (1) regular user, and (2) with root permissions IF regular user does not work.
aplay -vv /usr/share/sounds/alsa/test.wav
That completely bipasses pulse audio.
if that fails, try to specifically address the hardware sound device with:
and if that fails try something less complex such as:
speaker-test -c2 -l5 -twav
Do any of those give sound ?
Also, you noted you don’t get sound from your 3.5mm audio jack (connected to the motherboard). Are you certain that is a sound out and not a mic in jack ? Do you get sound elsewhere on this PC via another output ?
.
I am not totally familiar as to what a 32-bit openSUSE-13.1 should look like. Please confirm that is not some custom kernel you have installed ? (that could complicate this if you did).
Please also confirm you did not go to the realtec site and install the realtec audio driver ? (that could break your sound if you did, as typically new users fail totally when trying to install the realtek audio driver from the realtec site).
Thanks for the reply. I can confirm I have sound outputting from the port.
Last year I was able to use the same port as a Stereo input, by configuring it in the settings. I no longer seem to be able to do this.
The kernel is not a custom kernel I used
zypper ar http://download.opensuse.org/repositories/Kernel:/stable/standard/ Kernel-Stable
To get the latest Kernel.
I agree in looks a bit suspect the ALSA version looking the same as the kernel. I have no idea why this is. I did a fresh system install of my system yesterday and updated the kernel. That was all.
OK, so from that I deduce that you obtained sound with your headphones using the aplay commands that I provided ?? < not sure if you did succeed with those comamnds > Knowing this specifically is important to me, as it helps me better assess just where the audio problem is located.
I assume that was a different openSUSE version. … ie different kernel version, different alsa version, different pulse audio version, and different multimedia versions.
I confess I do not know the status of kernels in that repository. I nominally never use that kernel repository myself. If I had to guess , I would guess that kernel made your audio configuration more difficult, but that guess of mine could be wrong.
Did you install pavucontrol like I suggested and try to tune pulse audio?
The sound I hear through my headphone are:
a. In audio and video settings - kde control module, i press front left and front right and i hear the lady speaking. “Front Left” “Front Right”
aplay -vv /usr/share/sounds/alsa/test.wav
Normal user - I hear music playing
Root User -I hear music playing
Normal User
aplay -D=hw:0,0 -vv /usr/share/sounds/alsa/test.wav
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM =hw:0,0
aplay: main:722: audio open error: No such file or directory
Root User
aplay -D=hw:0,0 -vv /usr/share/sounds/alsa/test.wav
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM =hw:0,0
aplay: main:722: audio open error: No such file or directory
Normal User - Says front left front right 5 times
speaker-test -c2 -l5 -twav
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 3.089783
0 - Front Left
1 - Front Right
Time per period = 3.102429
0 - Front Left
1 - Front Right
Time per period = 3.105482
0 - Front Left
1 - Front Right
Time per period = 3.102996
0 - Front Left
1 - Front Right
Time per period = 3.106035
Root userSays front left front right 5 times
speaker-test -c2 -l5 -twav
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 3.089783
0 - Front Left
1 - Front Right
Time per period = 3.102429
0 - Front Left
1 - Front Right
Time per period = 3.105482
0 - Front Left
1 - Front Right
Time per period = 3.102996
0 - Front Left
1 - Front Right
Time per period = 3.106035
The board only has one audio port, there are no other sound cards. Everything is just on one mother board
That reads to be bad syntax on my part that I passed to you.
The other tests indicate your sound is working.
This looks more and more likel a pulse audio misconfiguration. Did you install pavucontrol like I suggested (by following the link I provided) and try to tune pulse audio (for the link see post#4 above) ?
.
I installed pulse audio as you suggested I have sound output, thanks for helping on that. what I am really interested in is sound input. Are you able to help on this?
As an update to this on the same machine, I booted into SLAX from a usb just to take a look at inside “audio video settings” I see the audio hardware listed correctly as ALC272 just like in kinfo.
This is leading me to the conclusion yast is not correctly identifying the sound card as yast is showing the sound card as being SBx00 Azalia (Intel HDA) which is not the sound card I have.
The sound card I have is a realtek ALC272.
The obvious question is why not change this from the list…Realtek does not appear as a vendor in this list.
So my question is how can I go about adding it to this list? (I will create another forum with this question also)
Yes - possibly I can help. I did not know you were trying to get the mic (?) (ie sound input) working. I completely missed that in your above posts.
From the earlier alsa script outut, your mixer in openSUSE is configured wrong. Please look at the script output:
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [SB]
Card hw:0 'SB'/'HDA ATI SB at 0xf0240000 irq 16'
Mixer name : 'Realtek ALC272'
Components : 'HDA:10ec0272,10ec0272,00100001'
Controls : 28
Simple ctrls : 13
**Simple mixer control 'Mic',0**
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0** [0%]** -34.50dB]** [off]**
Front Right: Playback 0 **[0%]** -34.50dB]** [off]**
**Simple mixer control 'Mic Boost',0**
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 2 [67%] [20.00dB]
Front Right: 2 [67%] [20.00dB]
**Simple mixer control 'Capture',0**
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [30.00dB] [on]
Front Right: Capture 31 [100%] [30.00dB] [on]
**Simple mixer control 'Capture',1**
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0** [0%] **-16.50dB] **[off]**
Front Right: Capture 0 **[0%]** -16.50dB] **[off]**
**Simple mixer control 'Input Source',0**
Capabilities: cenum
Items: 'Mic' 'Line'
Item0: 'Mic'
**Simple mixer control 'Input Source',1**
Capabilities: cenum
Items: 'Mic' 'Line'
Item0: 'Mic'
Your PC has two input sources for a Mic. Source-0 (which corresponds to capture-0) and Source-1 (which corresponds to capture-1).
Your PC has the input mixer mic totally muted making any capture impossible. You need to unmute that.
Further, even if that was unmuted, if you are using the Capture-1 (and not the Capture-0) your PC has capture-1 muted.
You have both Input-source-0 and input-source-1 set to Mic, so I do not know which input source is which, nor do I know which you are trying to use. But its very clear from the above that your openSUSE mixer has not been configured for recording sound.
.
In the Audio and Video Setting I have:
Sound Card = Built-in-audio
Profile = Analog Stereo Input
Sound Device = Recording (Built in Audio analog stereo)
Connector = Line in
Open the kmixer icon ( the speaker at the bottom right ) select mixer adjust the channels there. Note you may have to have a program that actively looks for input running like Skype.
Or you can use pavolcontrol. same applies you need to have a program requesting audio input running
Really appreciate the help. Feel we where getting some where saying I had 2 mic sources, on my mother board there is only 1 3.5mm jack, and in the kmixer setting there is only one mic source, so how do I access the second, is the second perhaps my ALC272?
You need to figure out, whether source-0 or source-1 is tied to your hardware. Only you can do that. Possibly I can give you some test commands to try, but first before trying that you need to unmute source-0 and source-1 in your PCs mixer, and you have not done so.
Note : Line In is disabled, with playback at 0% (ie no feedback) and OFF:
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] -34.50dB] [off]
Front Right: Playback 0 [0%] -34.50dB] [off]
Note: Line boost at 0%
Simple mixer control 'Line Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Note Mic for source-0 (capture-0) is muted (OFF) and play back at 0%. That mic input can clearly no longer work:
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] -34.50dB] [off]
Front Right: Playback 0 [0%] -34.50dB] [off]
Note capture-1 for source-1 is also muted as capture is at 0% and it is OFF:
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] -16.50dB] [off]
Front Right: Capture 0 [0%] -16.50dB] [off]
Clearly the mixer is still misconfigured. Neither source-0 nor source-1 will work. Its not possible (from what I can see) for your mic to work , nor any input to work, with the PCs mixer as you have it configured.
You may be better off trying alsamixer application (simply type in a konsole ‘alsamixer’ with no quotes) and use that to tune , as you are failing to tune this with kmix.
.
Here you can see that I have everything set to max. When I opened alsamixer it was clear the mic was on 0.
I have now changed it so that everything is on max (just to make sure I dont miss anything)
In alsamixer if I press select sounf card (F6) I have 2 sound cards default which is linked to pulseaudio and another which is my ALC272. I am confused why I have 2 when this is the audio on the motherboard.
If this “default” sound card the one I am seeing in Kmixer and pavucontrol?
I am not able to change the sound card here.
How can I set my ALC272 to be the default…
I am using audio-recorder to try and capture my audio.