Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Single jack slot for multiple purposes
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
akeliukas
n00b
n00b


Joined: 27 Aug 2009
Posts: 26
Location: Lithuania

PostPosted: Tue May 07, 2013 11:33 am    Post subject: Single jack slot for multiple purposes Reply with quote

Hi everyone, I have this ASUS eee PC and it has only one jack slot. The idea is that the slot should be shared between headphones and microphone - system should either autodetect the device plugged in or let the user decide. My friend has the same model running windows 7 and everytime something is plugged in, there is a dialog box asking whether it's a microphone or headphones or whatever. My Gentoo linux always uses the slot for headphones, nomatter what I tried I wasn't able to record anything with any sort of device plugged in. So that's basically the problem.
Technical details:
Sound is working fine, there is an integrated microphone, which also works fine, but that's not exactly what I want
Soundcard - HDA Intel
Chip - Realtek ALC269VB
Kernel has the right sound [/u]drivers compiled into it - kinda weird, should I recompile them as modules?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Tue May 07, 2013 6:41 pm    Post subject: Reply with quote

I know you're looking for an answer, which this is not (sorry), but that sounds like a really bad design. Inputs and outputs should always be separate connections.

Actually, I can directly answer your question: it doesn't matter whether you use in-kernel or modules. Per function, the result will be the same. However, I always encourage people to compile sound and video drivers as modules. This makes it easier to troubleshoot by providing the ability to load or unload modules without having to reboot.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue May 07, 2013 7:26 pm    Post subject: Reply with quote

Have you checked in alsamixer for a switch to toggle it between input/output?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Wed May 08, 2013 1:20 pm    Post subject: Reply with quote

Ant P. wrote:
Have you checked in alsamixer for a switch to toggle it between input/output?


ALSA can do that?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
akeliukas
n00b
n00b


Joined: 27 Aug 2009
Posts: 26
Location: Lithuania

PostPosted: Thu May 16, 2013 7:12 am    Post subject: Reply with quote

I've checked for such a thing in alsamixer, there wasn't. Any other ideas?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri May 17, 2013 3:02 am    Post subject: Reply with quote

audiodef wrote:
ALSA can do that?

It has a pretty weird range of software-controlled stuff and usually nowhere else to put it. I've got an old Vortex II that stuffs an entire graphic EQ (and its level monitors) into volume controls.

akeliukas wrote:
Any other ideas?

You'll probably get a better answer faster on the ALSA mailing lists. It's possible they just don't know about this hardware yet.
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