Re: mic2 is unplugged whatever the physical status is

2010-12-26 Thread Дмитрий Царьков
On Tue, Dec 14, 2010 at 4:55 PM, Jacob Meuser jake...@sdf.lonestar.org
wrote:
On Tue, Dec 14, 2010 at 03:39:23PM +0100, Dmitrij D. Czarkoff wrote:
 I have found my external microphone (mic2) not working under OpenBSD
-current of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense
answering outputs.mic2_sense=unplugged regardless of whether it is plugged
or not.
 At the same time outputs.hp_sense is reported correctly. Is there anything
I can do to enable mic2?

 the last commits to azalia were in early eptember ... did it used to
 change? B does the mic not work at all or is just plug sense not working?

The mic works OK, I only noticed the problem when I was trying to find
out why GStreamer doesn't pick it up as input.
I never noticed that before, so I can't say what it used to report
throughout it's life.

 it's possible the plug sense circuitry isn't really there, or has gone
 bad ...

I'll try to investigate this issue by trying some Linux livecds...

Anyway, is there anything I can do to alter the outputs.mic2_sense?

 P.S.: I have Realtek ALC272 wia Intel 82801GB HD Audio.

 P.P.S.: mixerctl:
 inputs.dac-0:1=123,123
 inputs.dac-4:5=123,123
 inputs.dac-2:3=126,126
 record.adc-2:3_mute=off
 record.adc-2:3=248,248
 record.adc-0:1_mute=off
 record.adc-0:1=248,248
 inputs.mix_source=mic2
 inputs.mix_mic2=120,120
 inputs.mix2_source=dac-0:1,mix
 inputs.mix3_source=dac-4:5,mix
 inputs.mix4_source=dac-2:3,mix
 outputs.spkr_source=mix3
 outputs.spkr_mute=on
 outputs.spkr_dir=output
 outputs.spkr_boost=off
 outputs.spkr_eapd=on
 outputs.mic2_source=mix4
 outputs.mic2_mute=off
 inputs.mic2=255,255
 outputs.mic2_dir=input-vr80
 outputs.hp_source=mix2
 outputs.hp_mute=off
 outputs.hp_boost=off
 record.adc-0:1_source=mic2,mix
 record.adc-2:3_source=mic2,mix
 outputs.mic2_sense=unplugged
 outputs.hp_sense=plugged
 outputs.spkr_muters=mic2,hp
 outputs.master=125,125
 outputs.master.mute=off
 outputs.master.slaves=dac-0:1,dac-4:5,spkr,hp
 record.volume=255,255
 record.volume.mute=off
 record.volume.slaves=adc-2:3,adc-0:1

--
Dmitrij D. Czarkoff



Re: mic2 is unplugged whatever the physical status is

2010-12-26 Thread Jacob Meuser
On Sun, Dec 26, 2010 at 12:46:14PM +0100, ??? ??? wrote:
 On Tue, Dec 14, 2010 at 4:55 PM, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
 On Tue, Dec 14, 2010 at 03:39:23PM +0100, Dmitrij D. Czarkoff wrote:
  I have found my external microphone (mic2) not working under OpenBSD
 -current of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense
 answering outputs.mic2_sense=unplugged regardless of whether it is plugged
 or not.
  At the same time outputs.hp_sense is reported correctly. Is there anything
 I can do to enable mic2?
 
  the last commits to azalia were in early eptember ... did it used to
  change? B does the mic not work at all or is just plug sense not working?
 
 The mic works OK, I only noticed the problem when I was trying to find
 out why GStreamer doesn't pick it up as input.
 I never noticed that before, so I can't say what it used to report
 throughout it's life.
 
  it's possible the plug sense circuitry isn't really there, or has gone
  bad ...
 
 I'll try to investigate this issue by trying some Linux livecds...
 
 Anyway, is there anything I can do to alter the outputs.mic2_sense?

unlikely.

  P.S.: I have Realtek ALC272 wia Intel 82801GB HD Audio.
 
  P.P.S.: mixerctl:
  inputs.dac-0:1=123,123
  inputs.dac-4:5=123,123
  inputs.dac-2:3=126,126
  record.adc-2:3_mute=off
  record.adc-2:3=248,248
  record.adc-0:1_mute=off
  record.adc-0:1=248,248
  inputs.mix_source=mic2
  inputs.mix_mic2=120,120
  inputs.mix2_source=dac-0:1,mix
  inputs.mix3_source=dac-4:5,mix
  inputs.mix4_source=dac-2:3,mix
  outputs.spkr_source=mix3
  outputs.spkr_mute=on
  outputs.spkr_dir=output
  outputs.spkr_boost=off
  outputs.spkr_eapd=on
  outputs.mic2_source=mix4
  outputs.mic2_mute=off
  inputs.mic2=255,255
  outputs.mic2_dir=input-vr80
  outputs.hp_source=mix2
  outputs.hp_mute=off
  outputs.hp_boost=off
  record.adc-0:1_source=mic2,mix
  record.adc-2:3_source=mic2,mix
  outputs.mic2_sense=unplugged
  outputs.hp_sense=plugged
  outputs.spkr_muters=mic2,hp
  outputs.master=125,125
  outputs.master.mute=off
  outputs.master.slaves=dac-0:1,dac-4:5,spkr,hp
  record.volume=255,255
  record.volume.mute=off
  record.volume.slaves=adc-2:3,adc-0:1
 
 --
 Dmitrij D. Czarkoff

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: mic2 is unplugged whatever the physical status is

2010-12-26 Thread Alexey Suslikov
Jacob Meuser wrote:

 On Sun, Dec 26, 2010 at 12:46:14PM +0100, ??? ??? wrote:
  On Tue, Dec 14, 2010 at 4:55 PM, Jacob Meuser jake...@sdf.lonestar.org
  wrote:
  On Tue, Dec 14, 2010 at 03:39:23PM +0100, Dmitrij D. Czarkoff wrote:
   I have found my external microphone (mic2) not working under OpenBSD
  -current of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense
  answering outputs.mic2_sense=unplugged regardless of whether it is plugged
  or not.
   At the same time outputs.hp_sense is reported correctly. Is there 
   anything
  I can do to enable mic2?
  
   the last commits to azalia were in early eptember ... did it used to
   change? B does the mic not work at all or is just plug sense not working?
 
  The mic works OK, I only noticed the problem when I was trying to find
  out why GStreamer doesn't pick it up as input.
  I never noticed that before, so I can't say what it used to report
  throughout it's life.
 
   it's possible the plug sense circuitry isn't really there, or has gone
   bad ...

Codec can be programmed to use non-standard numbers while generating
unsol events, isn't it?

 
  I'll try to investigate this issue by trying some Linux livecds...
 
  Anyway, is there anything I can do to alter the outputs.mic2_sense?

 unlikely.

Maybe sprinkle some debug across unsol events handling code path to
see do we get any messages during plug/unplug or not?

Alexey



Re: mic2 is unplugged whatever the physical status is

2010-12-26 Thread Jacob Meuser
On Sun, Dec 26, 2010 at 09:36:08PM +0200, Alexey Suslikov wrote:
 Jacob Meuser wrote:
 
  On Sun, Dec 26, 2010 at 12:46:14PM +0100, ??? ??? wrote:
   On Tue, Dec 14, 2010 at 4:55 PM, Jacob Meuser jake...@sdf.lonestar.org
   wrote:
   On Tue, Dec 14, 2010 at 03:39:23PM +0100, Dmitrij D. Czarkoff wrote:
I have found my external microphone (mic2) not working under OpenBSD
   -current of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense
   answering outputs.mic2_sense=unplugged regardless of whether it is 
   plugged
   or not.
At the same time outputs.hp_sense is reported correctly. Is there 
anything
   I can do to enable mic2?
   
the last commits to azalia were in early eptember ... did it used to
change? B does the mic not work at all or is just plug sense not 
working?
  
   The mic works OK, I only noticed the problem when I was trying to find
   out why GStreamer doesn't pick it up as input.
   I never noticed that before, so I can't say what it used to report
   throughout it's life.
  
it's possible the plug sense circuitry isn't really there, or has gone
bad ...
 
 Codec can be programmed to use non-standard numbers while generating
 unsol events, isn't it?
 
  
   I'll try to investigate this issue by trying some Linux livecds...
  
   Anyway, is there anything I can do to alter the outputs.mic2_sense?
 
  unlikely.
 
 Maybe sprinkle some debug across unsol events handling code path to
 see do we get any messages during plug/unplug or not?
 
 Alexey

this isn't an unsolicited event.  the state is read by the mixer ioctl.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



mic2 is unplugged whatever the physical status is

2010-12-14 Thread Dmitrij D. Czarkoff
Hello!

I have found my external microphone (mic2) not working under OpenBSD -current 
of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense answering 
outputs.mic2_sense=unplugged regardless of whether it is plugged or not. At 
the same time outputs.hp_sense is reported correctly. Is there anything I can 
do to enable mic2?

Thanks in advance.

--
Dmitrij D. Czarkoff

P.S.: I have Realtek ALC272 wia Intel 82801GB HD Audio.

P.P.S.: mixerctl:
inputs.dac-0:1=123,123
inputs.dac-4:5=123,123
inputs.dac-2:3=126,126
record.adc-2:3_mute=off
record.adc-2:3=248,248
record.adc-0:1_mute=off
record.adc-0:1=248,248
inputs.mix_source=mic2
inputs.mix_mic2=120,120
inputs.mix2_source=dac-0:1,mix
inputs.mix3_source=dac-4:5,mix
inputs.mix4_source=dac-2:3,mix
outputs.spkr_source=mix3
outputs.spkr_mute=on
outputs.spkr_dir=output
outputs.spkr_boost=off
outputs.spkr_eapd=on
outputs.mic2_source=mix4
outputs.mic2_mute=off
inputs.mic2=255,255
outputs.mic2_dir=input-vr80
outputs.hp_source=mix2
outputs.hp_mute=off
outputs.hp_boost=off
record.adc-0:1_source=mic2,mix
record.adc-2:3_source=mic2,mix
outputs.mic2_sense=unplugged
outputs.hp_sense=plugged
outputs.spkr_muters=mic2,hp
outputs.master=125,125
outputs.master.mute=off
outputs.master.slaves=dac-0:1,dac-4:5,spkr,hp
record.volume=255,255
record.volume.mute=off
record.volume.slaves=adc-2:3,adc-0:1



Re: mic2 is unplugged whatever the physical status is

2010-12-14 Thread Jacob Meuser
On Tue, Dec 14, 2010 at 03:39:23PM +0100, Dmitrij D. Czarkoff wrote:
 Hello!
 
 I have found my external microphone (mic2) not working under OpenBSD -current 
 of Nov 20. Whatever I do, I get mixerctl outputs.mic2_sense answering 
 outputs.mic2_sense=unplugged regardless of whether it is plugged or not. At 
 the same time outputs.hp_sense is reported correctly. Is there anything I 
 can do to enable mic2?

the last commits to azalia were in early eptember ... did it used to
change?  does the mic not work at all or is just plug sense not working?
it's possible the plug sense circuitry isn't really there, or has gone
bad ...

 Thanks in advance.
 
 --
 Dmitrij D. Czarkoff
 
 P.S.: I have Realtek ALC272 wia Intel 82801GB HD Audio.
 
 P.P.S.: mixerctl:
 inputs.dac-0:1=123,123
 inputs.dac-4:5=123,123
 inputs.dac-2:3=126,126
 record.adc-2:3_mute=off
 record.adc-2:3=248,248
 record.adc-0:1_mute=off
 record.adc-0:1=248,248
 inputs.mix_source=mic2
 inputs.mix_mic2=120,120
 inputs.mix2_source=dac-0:1,mix
 inputs.mix3_source=dac-4:5,mix
 inputs.mix4_source=dac-2:3,mix
 outputs.spkr_source=mix3
 outputs.spkr_mute=on
 outputs.spkr_dir=output
 outputs.spkr_boost=off
 outputs.spkr_eapd=on
 outputs.mic2_source=mix4
 outputs.mic2_mute=off
 inputs.mic2=255,255
 outputs.mic2_dir=input-vr80
 outputs.hp_source=mix2
 outputs.hp_mute=off
 outputs.hp_boost=off
 record.adc-0:1_source=mic2,mix
 record.adc-2:3_source=mic2,mix
 outputs.mic2_sense=unplugged
 outputs.hp_sense=plugged
 outputs.spkr_muters=mic2,hp
 outputs.master=125,125
 outputs.master.mute=off
 outputs.master.slaves=dac-0:1,dac-4:5,spkr,hp
 record.volume=255,255
 record.volume.mute=off
 record.volume.slaves=adc-2:3,adc-0:1

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org