DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd December 2016
Nureo Nureo is offline
Sam98
 
Join Date: May 2016
Posts: 24
Question Enable microphone with mixerctl

Hi!

My question is: What value/section I need to modify for enable microphone? I need to use an audio recorder, and it does not take any sound

Look here, this is what I have:

Quote:
$ mixerctl
inputs.dac-2:3=126,126
inputs.dac-0:1=126,126
record.adc-0:1_mute=off
record.adc-0:1=124,124
record.adc-4:5_mute=off
record.adc-4:5=124,124
inputs.mix_source=mic2,beep
inputs.mix_mic2=120,120
inputs.mix_beep=120,120
inputs.mix2_source=dac-2:3,mix
inputs.mix3_source=dac-0:1,mix
record.adc-2:3_source=mic
record.adc-2:3_mute=off
record.adc-2:3=124,124
inputs.mic=255,255
outputs.spkr_source=mix2
outputs.spkr_mute=on
outputs.spkr_eapd=on
inputs.mic2=85,85
outputs.mic2_dir=input-vr80
outputs.hp_source=mix3
outputs.hp_mute=off
outputs.hp_boost=off
record.adc-4:5_source=mic2,beep,mix
record.adc-0:1_source=mic2,beep,mix
outputs.mic2_sense=unplugged
outputs.hp_sense=plugged
outputs.spkr_muters=hp
outputs.master=126,126
outputs.master.mute=off
outputs.master.slaves=dac-2:3,dac-0:1,spkr,hp
record.volume=124,124
record.volume.mute=off
record.volume.slaves=adc-0:1,adc-4:5,adc-2:3
Reply With Quote
  #2   (View Single Post)  
Old 22nd December 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,261
Default

Quote:
Originally Posted by Nureo View Post
What value/section I need to modify for enable microphone?
Simply providing mixerctl(1) output doesn't provide much detail about your hardware. Providing complete dmesg(8) output would have been better. Nevertheless, here are a few things you should check:
  • Section 13 of the official FAQ is the information most here would use to help you diagnose your audio woes. Reviewing this yourself should be your first step towards finding a solution.
  • I would suggest that you play with all numerical values, pushing them to their limits at 255. Many values are seen in your mixerctl(1) outputs are set at midway values -- 126.
  • While the following from your mixerctl(1) output specifically references speaker output:
    Code:
    outputs.spkr_mute=on
    You may want to set this to "off" given that the audio chip may be connecting the speakers & microphone together. I cannot give any more of a definitive answer because I don't know anything about your installed audio chip.
These are not guaranteed solutions. Manufacturers of audio chips are known to disable common outputs or connect them together (amidst the manufacture of the same product line...) meaning that you will simply have to play with the values to see if microphone input can be enabled.

Good luck.

Last edited by ocicat; 23rd December 2016 at 12:07 AM. Reason: add clarity
Reply With Quote
  #3   (View Single Post)  
Old 23rd December 2016
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,000
Default

There are several caveats to most sound devices.

1) The pin assignments on a sound chip are either "in" or "out" - not both.

2) On your system OpenBSD is identifying two mic inputs. This commonly occurs with laptops that have both a mic jack and a small builtin mic that is usually next to the webcam on the monitor bezel or with desktops with front panel and rear panel audio jacks.

3) The physical configuration for mic jacks have changed. In older hardware mic and headphone jacks were separated, the headphones would have left/right/common pins and the mic 2 pins. Newer laptops have a single 4 pin jack for headphones/mic combinations. Mismatching the jacks ie plugging 2 pin mic into a 4 pin jack can mute the main speakers and not align the pins correctly to record sound.

Last edited by shep; 23rd December 2016 at 12:21 AM.
Reply With Quote
Reply

Tags
microphone, mixerctl, record, recording

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
enable php in apache2 MatthiasKoch OpenBSD Packages and Ports 2 30th September 2016 11:54 AM
OpenBSD 5.0 - How to enable dfs ? mayuka OpenBSD General 5 13th November 2011 07:09 AM
Can't turn mixerctl all the way down claytonl OpenBSD General 5 17th February 2011 05:01 AM
Enable SNMP? dzudja100 FreeBSD Ports and Packages 1 20th May 2010 05:52 PM


All times are GMT. The time now is 04:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick