How to connect the jack sink with headphones ?

Post fully complete "how to" guides and tutorials here. This is a great place to get feedback on stuff you might put in the wiki.

Moderators: khz, MattKingUSA

nugrohoav
Posts: 1
Joined: Mon Jan 08, 2018 1:31 pm

How to connect the jack sink with headphones ?

Postby nugrohoav » Mon Jan 08, 2018 1:54 pm

The problem is, when I start the jack and plug the headphone in, the sound from the speakers stops, but there is also no sound in the headphones.

When the jack is stopped
Image

When the jack is started
Image

List of PLAYBACK Hardware Devices

Code: Select all

aplay -l
------------
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


I found a tutorial with the same case at http://tedfelix.com/linux/jack-headphones.html
1. But, I do not know how many channels are on my sound card. How to know the number of my soundcard channels?

2. Although I do not know, I keep trying the tutorial. I got to the stage of typing

Code: Select all

jackd -d alsa --period 32 --device hpfix


Then the error appears

Code: Select all

bash: jackd: command not found


maybe it's because I installed jack2-dbus instead of jack. Then, how to solve it ?

Thank you

User avatar
falkTX
Establlshed Member
Posts: 6645
Joined: Sat Jan 09, 2010 3:04 pm

Re: How to connect the jack sink with headphones ?

Postby falkTX » Mon Jan 08, 2018 3:31 pm

This is something you see in alsamixer.
when jack is running, pulseaudio loses control over the volumes in your system.
Use something like volti or kmix, or perhaps just good-old alsamixer on a terminal.

User avatar
nikgnomicradio
Establlshed Member
Posts: 34
Joined: Wed Feb 07, 2018 9:31 pm
Contact:

Re: How to connect the jack sink with headphones ?

Postby nikgnomicradio » Mon Feb 12, 2018 3:35 am

Check application streams in pavucontrol Playback tab
When JACK is started, anything playing to Built-in Analog Stereo Speakers will stop as device is no longer available
Playback stream needs to be manually re-routed to Pulseaudio Jack Sink


Return to “HOW TOs, Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 7 guests