Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-12-2019, 11:04 AM
|
#1
|
LQ Newbie
Registered: Oct 2019
Location: Kurunegala, Sri Lanka
Distribution: Fedora
Posts: 7
Rep: 
|
How to get combo headphone/microphone port to act as line in?
My laptop has a 'HDA Intel PCH' soundcard with a 'Realtek ALC255' chip. There are no separate audio out, mic or line in ports; only a single headphone/microphone combo port.
In Windows 10, when I plug my guitar cable into the combo port, a popup appears and I can select which method to use ('Line in', 'Headphone', 'Headset', 'Mic' and 'Speaker out').
But in Linux, I can't seem to find a way to use the port as line in. When the guitar cable is plugged in, Gnome only shows two options: 'Headphone' and 'Headset'. No line in. What should I do to make the combo port act as line in?
|
|
|
10-13-2019, 07:10 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,009
|
Last edited by ferrari; 10-13-2019 at 07:20 PM.
|
|
|
10-14-2019, 11:35 AM
|
#3
|
LQ Newbie
Registered: Oct 2019
Location: Kurunegala, Sri Lanka
Distribution: Fedora
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
|
Thanks for the links. I tried using hda-jack-retask but apparently it didn't work. Pavucontrol still displayed Headphone as output and Headphone Mic as input. No mention of Line-in anywhere. There should be right?
Nonetheless, I couldn't capture my guitar's signal in any programme. Is hda-jack-retask the only way to do this?
|
|
|
10-14-2019, 02:52 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,009
|
As far as I know it is a jack restasking issue, and will ultimately also come down to the support offered by the Linux driver for your hardware. The 'alsa-info.sh' script can be used to gain indepth information about your audio hardware and configuration, so that is a good place to start...
https://www.alsa-project.org/wiki/Help_To_Debug
https://wiki.ubuntu.com/Audio/AlsaInfo
Most distros include it as part of alsa-utils or similar.
It may be that a bug report is required to help progress this.
|
|
|
10-14-2019, 03:47 PM
|
#5
|
Member
Registered: Apr 2015
Distribution: Debian
Posts: 272
Rep: 
|
I had a similar issue and ended up getting a USB sound card (external) for not much money - works a treat.
|
|
|
10-15-2019, 01:40 AM
|
#6
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
I'm not sure, but jackaudio might be helpful, esp. combined with a graphical connection manager like qjackctl.
It is also unclear - do you want to
a) plug the line in into that special combo port
b) separate out the mic and use it as line in, while still being able to use the headphones?
If a), you are using a plug that is not necessarily compatible with that jack, no?
|
|
|
10-15-2019, 11:07 AM
|
#7
|
LQ Newbie
Registered: Oct 2019
Location: Kurunegala, Sri Lanka
Distribution: Fedora
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
As far as I know it is a jack restasking issue, and will ultimately also come down to the support offered by the Linux driver for your hardware. The 'alsa-info.sh' script can be used to gain indepth information about your audio hardware and configuration, so that is a good place to start...
https://www.alsa-project.org/wiki/Help_To_Debug
https://wiki.ubuntu.com/Audio/AlsaInfo
Most distros include it as part of alsa-utils or similar.
It may be that a bug report is required to help progress this.
|
Thanks for the valuable information. I'll try submitting a bug report as soon as I get more free time (It's finals week  ).
Quote:
Originally Posted by Samsonite2010
I had a similar issue and ended up getting a USB sound card (external) for not much money - works a treat.
|
Actually I'm going to buy one tomorrow. Seems to be the best solution. I just hope it'll have low latency.
|
|
|
10-15-2019, 11:26 AM
|
#8
|
LQ Newbie
Registered: Oct 2019
Location: Kurunegala, Sri Lanka
Distribution: Fedora
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by ondoho
I'm not sure, but jackaudio might be helpful, esp. combined with a graphical connection manager like qjackctl.
|
I have both jack and qjackctl installed. But I don't know how to use them for this.
Quote:
It is also unclear - do you want to
a) plug the line in into that special combo port
b) separate out the mic and use it as line in, while still being able to use the headphones?
|
I want to do a)
Quote:
If a), you are using a plug that is not necessarily compatible with that jack, no?
|
I don't think so. It works perfectly in Windows. I just have to select 'Line-in' from the popup that the Realtek software display when I plug my guitar in. I think that port is meant to be used that way. Why would it even have a 'Line-in' option if it's not compatible?
|
|
|
10-17-2019, 01:10 AM
|
#9
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by SandaruLJ
I have both jack and qjackctl installed. But I don't know how to use them for this.
|
jackaudio is more than just an application and you'll need to set it up properly, and probably remove or disable pulseaudio.
|
|
|
10-19-2019, 01:03 AM
|
#10
|
LQ Newbie
Registered: Oct 2019
Location: Kurunegala, Sri Lanka
Distribution: Fedora
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by ondoho
jackaudio is more than just an application and you'll need to set it up properly, and probably remove or disable pulseaudio.
|
I got jack to work side-by-side with pulseaudio and now it's working fine with reaper and some other audio applications. But I don't think jack can do anything about the combo port. Now, buying an external sound card could solve my problem, but the original issue here is not solved. And like ferrari said, I think it's best to figure this out with alsa devs. I was wondering if I should mark the thread as SOLVED or not...
|
|
|
10-19-2019, 02:14 AM
|
#11
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,009
|
Yes, if hda-Jack-retask can’t do the job it’s time to file a bug report I think. The alsa-info.sh script will provide verbose output, including the pin mapping for the combo port exposed by the driver. If ‘line in’ is not present then that would indicate a possible issue that requires addressing with the driver (or firmware) itself IMHO.
|
|
|
All times are GMT -5. The time now is 06:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|