Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Headset microphone doesn't work when connected in green jack
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
platyhelminth
n00b
n00b


Joined: 26 Oct 2016
Posts: 15
Location: France

PostPosted: Fri Jun 23, 2017 4:42 pm    Post subject: Headset microphone doesn't work when connected in green jack Reply with quote

Hi,

In gentoo, my headset's microphone doesn't work when connected to the green jack (but headphones/speakers work). it works perfectly in ubuntu and windows (in other computers).
Also, in gentoo, when connected to the pink jack the headset's microphone works (but not the headphones/speakers).

I have pulseaudio and pavucontrol intalled. The pavucontrol says me in the "Input Devices" tab that when the headset is connected in the green jack then all ports are shown " (unplugged) " .
My (old) sound card is a Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) with a Realtek ALC888 chipset.
Back to top
View user's profile Send private message
platyhelminth
n00b
n00b


Joined: 26 Oct 2016
Posts: 15
Location: France

PostPosted: Fri Jun 23, 2017 6:40 pm    Post subject: Reply with quote

Ok, as I said this headset works easily in ubuntu and windows in other computers. So to check if it was distro-dependent or hardware-dependent I tested fedora in my gentoo computer: the headset didn't have the microphone working with fedora.
So I guess the soundcard " Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) " doesn't support headsets (with both headphones and microphone). The pink jack only supports microphone, the green jack only supports headphone/speakers.

I also tested fedora on my other computer with a sound card " Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) " . Here the headset fully works in the green jack.
Nearly the same card but the (rev 03) works and not the (rev 02)
It seems to be a hardware problem (may be it is a pulseaudio problem but i don't want to try removing pulseaudio now and recompile all the packages without pulseaudio use flag, may be later. Or its related to ALSA).
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54243
Location: 56N 3W

PostPosted: Fri Jun 23, 2017 7:53 pm    Post subject: Reply with quote

platyhelminth,

Tell us more about your headset.

Typically, the green jack is front stereo out and the pink jack is front stereo in.
To make this work, analogue headsets have two jacks, green and pink.

Some strange headsets have a single 4 pole jack instead of two 3 pole jacks. If you have a matching strange system, typically a laptop, that's fine.

These 4 pole setups are not always auto detected and the sound card driver needs a module parameter and module load time.

What sound card do you have - it will be listed in lspci?
What codec do you have, it will be in the top left of alsamixer?

-- edit --

That sound card is snd-hda-intel.
We need the codec now.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
platyhelminth
n00b
n00b


Joined: 26 Oct 2016
Posts: 15
Location: France

PostPosted: Fri Jun 23, 2017 8:18 pm    Post subject: Reply with quote

Quote:
Tell us more about your headset.


it's a JVC HA-SR625

Quote:
To make this work, analogue headsets have two jacks, green and pink.

Some strange headsets have a single 4 pole jack instead of two 3 pole jacks. If you have a matching strange system, typically a laptop, that's fine.


It's a single pole jack and yes it works with a laptop with " Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) " sound card. it seems to be a 4 poles jack 3.5mm.

Quote:
What sound card do you have - it will be listed in lspci?

As I said the sound card is " Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) " according to lspci.

top left of " alsamixer -c 0 " gives :
Code:
Card: HDA Intel
Chip: Realtek ALC888
View: F3:[Playback] F4: Capture  F5: All
Item: Master [dB gain: 0.00]

If its the chip you seek I said it in my first post. F2: System information in " alsamixer -c 0 " gives:
Code:
Advanced Linux Sound Architecture Driver Version k4.9.16-gentoo.


--edit--

I guess I need an adaptater like this:
http://www.digitaldjtips.com/wp-content/uploads/2014/05/headset-adapter.jpg
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54243
Location: 56N 3W

PostPosted: Fri Jun 23, 2017 9:08 pm    Post subject: Reply with quote

platyhelminth,

Time to play with loading snd-hda-intel with module parameters.

First, snd-hda-intel needs to be a module, rather than built in. You can pass parameters to builtins but its a reboot.
Check lsmod for snd_hda_intel.

Read /usr/src/linux/Documentation/sound/hd-audio/models.rst to discover values for the models parameter for your ALC888

The routine is
Code:
modprobe -r snd-hda-intel
modprobe  snd-hda-intel model=<model>

test.
Try again.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
platyhelminth
n00b
n00b


Joined: 26 Oct 2016
Posts: 15
Location: France

PostPosted: Sat Jun 24, 2017 1:54 am    Post subject: Reply with quote

I have modularized snd-hda-intel (it was originaly built in). Rebooted and it works, at last the headphone not the microphone in the green jack.

HUM, /usr/src/linux/Documentation/sound/hd-audio/models.rst doesn't exist. And also:
Code:
ls: cannot access '/usr/src/linux/Documentation/sound/hd-audio/': No such file or directory

But there is a /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt file. Which might be the one you seek. This doc file is on line : http://elixir.free-electrons.com/linux/v4.1/source/Documentation/sound/alsa/HD-Audio-Models.txt

For the codecs I have snd-hda-codec-generic , snd-hda-codec-realtek , snd_hda_codec_hdmi and snd-hda-codec as loaded modules (I did put them in /etc/conf.d/modules for boot load)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54243
Location: 56N 3W

PostPosted: Sat Jun 24, 2017 8:12 am    Post subject: Reply with quote

platyhelminth,

It looks like the kernel Documentation directory is being restructured.
I've noticed a few changes over the last few kernel releases. The oldest kernel I have to hand is 4.10.1 and that has the .rst file
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum