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: MattKingUSA, khz

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

How to connect the jack sink with headphones ?

Post by nugrohoav »

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
nikgnomicradio
Established Member
Posts: 109
Joined: Wed Feb 07, 2018 9:31 pm
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: How to connect the jack sink with headphones ?

Post by nikgnomicradio »

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
Post Reply