You are not logged in.

#1 2011-08-28 17:31:04

mkd
Member
Registered: 2011-08-18
Posts: 5

Picked out headphones jack

I've picked out my headphones jack. Can i change my microphone jack to headphones jack only by soundsystem configuration? My soundcard is Intel82801I (ICH9 Family) HD.

Offline

#2 2011-08-28 17:46:19

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Picked out headphones jack

If you are using ALSA, and the mixer doesn't give you a switch to toggle this, you can use hda-verb, instead.  You may need to use ALSA's [HDA Analyzer] to determine which switches you need to change.

As an example, here is the configuration I use for the Realtek ALC268 on one of my machines:

# Unmute the mic pin.
hda-verb /dev/snd/hwC0D0 0x18 0x390 0x00
hda-verb /dev/snd/hwC0D0 0x18 0x3a0 0x00
# Set the mic pin from input to output.
hda-verb /dev/snd/hwC0D0 0x18 SET_PIN_WIDGET_CONTROL 0x44
# Enable internal amplifier in both output jacks.
hda-verb /dev/snd/hwC0D0 0x10 SET_AMP_GAIN_MUTE 0x7200
# Mute internal speaker.
hda-verb /dev/snd/hwC0D0 0x14 0x390 0x01
hda-verb /dev/snd/hwC0D0 0x14 0x3a0 0x01

If you are using OSS, you can simply toggle the microphone jack as an output in the mixer.

Last edited by Wintervenom (2011-08-28 17:52:45)

Offline

#3 2011-08-28 18:52:44

mkd
Member
Registered: 2011-08-18
Posts: 5

Re: Picked out headphones jack

Wintervenom wrote:

If you are using OSS, you can simply toggle the microphone jack as an output in the mixer.

I've set all jacks to front mode and i still don't hear any sound in headphones plugged to microphone jack, only from internal speakers. What do I do wrong?

Offline

#4 2011-09-03 23:25:23

ahgblopes
Member
Registered: 2011-09-03
Posts: 2

Re: Picked out headphones jack

Wintervenom wrote:

If you are using ALSA, and the mixer doesn't give you a switch to toggle this, you can use hda-verb, instead.  You may need to use ALSA's [HDA Analyzer] to determine which switches you need to change.

As an example, here is the configuration I use for the Realtek ALC268 on one of my machines:

# Unmute the mic pin.
hda-verb /dev/snd/hwC0D0 0x18 0x390 0x00
hda-verb /dev/snd/hwC0D0 0x18 0x3a0 0x00
# Set the mic pin from input to output.
hda-verb /dev/snd/hwC0D0 0x18 SET_PIN_WIDGET_CONTROL 0x44
# Enable internal amplifier in both output jacks.
hda-verb /dev/snd/hwC0D0 0x10 SET_AMP_GAIN_MUTE 0x7200
# Mute internal speaker.
hda-verb /dev/snd/hwC0D0 0x14 0x390 0x01
hda-verb /dev/snd/hwC0D0 0x14 0x3a0 0x01

If you are using OSS, you can simply toggle the microphone jack as an output in the mixer.


THANK YOU VERY MUCH!! It works for me on gentoo and ALC662 (i just ctrl c + ctrl v).

Offline

#5 2012-01-28 01:48:17

ahgblopes
Member
Registered: 2011-09-03
Posts: 2

Re: Picked out headphones jack

But now i got another problem.... If i want to use the notebook internal mic, it  doesn't work if the heaphone jack is pluged in the external mic input (that the code changed to headphone output). Is there some code to make my internal mic to work with the headphone jack pluged ?

Offline

Board footer

Powered by FluxBB