LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-14-2021, 09:26 AM   #1
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
setting up Microphone on opensuse 15.2


My requirement is to be able to use a mic on desktop running opensuse 15.2 for google meet/Teams call etc.

There are literally tons of tutorials out there for ubuntu and a vast majority of them are using gui tools. But opensuse's kde "sound" and ubuntu's gnome tool "sound" are different. I have already tried this with a JBL quantum headphone (mic+headphone combo port, used splitter to connect to mic & line out ports), a generic(read chinese) 3.5mm mic and a JBL CSLM20. I still cant use arecord to at least verify that my mics work with my desktop !

Currently I have reverted my changes and considering Opensuse's relevant wiki page as a starting point.

Here's my soundcard info along with the device which can play a test sound via my speakers (connected to line out).

Code:
ab-suse:~> aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=6
    HDA NVidia, HDMI 6
    HDMI Audio Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC887-VD Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Front speakers
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Can someone please help ? I'll try to put more information as they are needed.
 
Old 06-14-2021, 09:29 AM   #2
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
alsa O/P

https://file.io/heRHo94ZQpYt

^^ Alsa output^^
Attached Files
File Type: txt alsa-info.txt (67.0 KB, 17 views)
 
Old 06-14-2021, 02:08 PM   #3
Sauerland
Member
 
Registered: Jul 2017
Distribution: openSUSE Leap
Posts: 195

Rep: Reputation: Disabled
Install pavucontrol and start it as User.
 
Old 06-15-2021, 09:29 AM   #4
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Thanks for your attention, Saurland!

I do have pavucontrol installed. However, with any of the MICs connected to the MIC port (rear of CPU cabinet),I can only see a "HD-Audio-Generic" device under "input devices" with no option to configure/test it. (attached)

Please also see the output from Alsamixer. It does see a "capture" device. But nothing works with arecord.

Here's my attempt to record my voice while speaking directly into the Mic (turned on, obviously). No sound was heard during the playback -

Code:
ab-suse:~> arecord -d 5 -f U8 test.mp3
Recording WAVE 'test.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
ab-suse:~> aplay test.mp3 
Playing WAVE 'test.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
ab-suse:~>
However, if I test my speaker, it is working as expected -

Code:
ab-suse:~> speaker-test front:CARD=Generic,DEV=0 -c2 -l5 -twav

speaker-test 1.1.5

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
^C
Attached Thumbnails
Click image for larger version

Name:	pavucontrol.jpg
Views:	40
Size:	58.9 KB
ID:	36628   Click image for larger version

Name:	alsamixer.jpg
Views:	52
Size:	56.6 KB
ID:	36630  
 
Old 06-15-2021, 09:58 AM   #5
Sauerland
Member
 
Registered: Jul 2017
Distribution: openSUSE Leap
Posts: 195

Rep: Reputation: Disabled
What is enabled in the Configuration Tab in pavucontrol?

You need something as input+output (duplex) for your internal Card.

Last edited by Sauerland; 06-15-2021 at 10:00 AM.
 
Old 06-15-2021, 10:16 AM   #6
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
I see duplex enabled.
Attached Thumbnails
Click image for larger version

Name:	pavucontrol_config.jpg
Views:	65
Size:	62.3 KB
ID:	36631  
 
Old 06-15-2021, 10:25 AM   #7
Sauerland
Member
 
Registered: Jul 2017
Distribution: openSUSE Leap
Posts: 195

Rep: Reputation: Disabled
Start a recording app (audacity or something else) and see in the Recording-Tab of pavucontrol which micro is using.
 
Old 06-15-2021, 10:42 AM   #8
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420

Original Poster
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
with audacity "recording", I looked at pavucontrol and saw no application being listed.
Attached Thumbnails
Click image for larger version

Name:	audacity_no_pavucontrol.jpg
Views:	58
Size:	136.9 KB
ID:	36632  
 
Old 11-28-2023, 09:56 AM   #9
Whylma5S
LQ Newbie
 
Registered: Apr 2023
Posts: 4

Rep: Reputation: 10
Even though the post is from a while back, audio issues can sometimes be a puzzle regardless of the time. The suggestions still stand—checking connections, ensuring settings aren't muted, and trying specific commands like arecord -D hw:0,0 -d 5 -f cd test.wav might help. And hey, for those exploring ASMR microphones, considering specific setups and configurations might bring better results.
 
  


Reply

Tags
microphone, opensuse152



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
[SOLVED] Neither internal nor external microphone functioning. Not even USB Microphone (Debian Jessie) achim_59 Linux - Hardware 3 08-14-2016 10:48 AM
Can't capture with microphone in OpenSuse 11.4 branisd SUSE / openSUSE 1 07-19-2011 12:16 AM
virtual microphone: FILE ---> MICROPHONE ---> APPLICATION jamal_mohammadi Linux - Hardware 1 02-13-2011 03:10 PM
Toshiba A100 microphone not working under OpenSuse 10.2 mawkernewek Linux - Hardware 0 11-17-2007 02:53 PM
Microphone not working on OpenSuse 10.1 WiseCookie Linux - Hardware 9 06-14-2006 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:43 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