[Bug 1251127] Re: [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear] Pulseaudio fails to detect card

2018-07-31 Thread Bug Watch Updater
** Changed in: pulseaudio
   Status: Confirmed => Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251127

Title:
  [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear]
  Pulseaudio fails to detect card

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1251127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1251127] Re: [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear] Pulseaudio fails to detect card

2013-11-14 Thread Bug Watch Updater
Launchpad has imported 12 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=70865.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2013-10-25T14:45:24+00:00 tormen wrote:

HP desktop pc with audio line-out / headphone jack in front and rear AND
a built-in mono speaker.

Hardware: 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family)
HD Audio Controller (rev 02)

Debian wheezy stable system with pulseaudio 2.0-6.1

With alsa there is a ""Simple mixer control 'Independent HP'" if set to
  * "Enable", sound is /only/ audible through the built-in speaker
  * "Disable", sound is /only/ audible through the connected headphone/line-out

With pulseaudio (thanks a lot to poljar #pulseaudio IRC !):
 (1.) If I unplug any line-out audio cable aka headphone cables, then
  * pactl set-sink-port 0 analog-output-headphones
Makes sound only be audible through the built-in internal mono speaker
  * pactl set-sink-port 0 analog-output-speaker
Makes no sound audible (which seems to be exactly how it should be :)

 (2.) If I plug an headphone cable either rear or front, then:
  * pactl set-sink-port 0 analog-output-headphones
Makes sound /only/ be audible through the plugged headphone/line-out
BUT:
  * pactl set-sink-port 0 analog-output-speaker
Makes sound /only/ be audible through the plugged headphone/line-out TOO

 statement: that sounds wrong, analog-output-speaker should
either tagged as not available if the hardware prevents it to output to
the speaker while something is connected or it should work, so feel free
to report a bug

I created for both cases (1.) and (2.) the pulseaudio-output and the
client-output. I hope you find them useful. Please let me know if you
need anything else.

The system is a headless server system.
pulseaudio is running as user pulse

To get the pulseaudio-output it ran like this (debian default with
changed --log-target and added -vv):

/usr/bin/pulseaudio -vv --system --disallow-exit --daemonize --log-
target=file:/tmp/pulseaudio.log --high-priority --disallow-module-
loading=1

So unter pulse I did not find any way yet to use the built-in speaker for 
sound-output when I have a headphone/line-out plugged.
Even though under alsa I am able to toggle the output to come through the 
built-in speaker and with or without a headphone/line-out plugged!

This is bugging me, because I have my stereo plugged all the time to the
system, but it ONLY gets turned on, when I need it. So important system
notifications should be played through speaker.

Please help :)

Thanks a lot in advance !

Tormen.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/comments/0


On 2013-10-25T14:50:10+00:00 tormen wrote:

Created attachment 88110
(2.) Test with headphone/lineout plugged (in front) -- client-side + pulseaudio 
output

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/comments/1


On 2013-10-25T14:50:54+00:00 tormen wrote:

Created attachment 88111
(1.) Test with no audio cables plugged -- client-side + pulseaudio output

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/comments/2


On 2013-10-26T01:33:11+00:00 Raymond wrote:

post the output of alsa-info.sh

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/comments/3


On 2013-10-26T09:59:00+00:00 tormen wrote:

alsa-info.sh (without pulseaudio running):

http://www.alsa-
project.org/db/?f=2511d529b16298e39ca4d5e5db2daf94bba8a794

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/comments/4


On 2013-10-27T03:49:08+00:00 Raymond wrote:


this seem to be Front Playback Volume and Switch instead of PCM Playback Volume 
and Switch


Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="PCM Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001f: OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D3
  Power: setting=D0, actual=D0
  Connection:

[Bug 1251127] Re: [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear] Pulseaudio fails to detect card

2013-11-14 Thread Raymond
** Bug watch added: freedesktop.org Bugzilla #70865
   https://bugs.freedesktop.org/show_bug.cgi?id=70865

** Also affects: pulseaudio via
   https://bugs.freedesktop.org/show_bug.cgi?id=70865
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251127

Title:
  [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear]
  Pulseaudio fails to detect card

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1251127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1251127] Re: [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear] Pulseaudio fails to detect card

2013-11-13 Thread Raymond
Multi-streaming capable (standard)

http://www.intel.com/support/motherboards/desktop/sb/CS-034206.htm

Multistreaming lets you listen to two different audio sources on two
different speaker sets. For example, you can listen to one audio source
through the back panel speakers and a second audio source through front
panel headphones or speakers.

This mean front panel and rear panel should use different audio output
0x02 and 0x03

i.e. Line Out and Headphone should connect to different audio output

Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="PCM Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x01014020: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=02, enabled=1
  Connection: 2
 0x0c 0x0d*

Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0221102f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 2
 0x0c 0x0d*

Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x32 0x32]
  Converter: stream=8, channel=0
  PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="PCM Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ID 221 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x3b 0x3b]
  Converter: stream=8, channel=0
  PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251127

Title:
  [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear]
  Pulseaudio fails to detect card

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1251127] Re: [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear] Pulseaudio fails to detect card

2013-11-13 Thread Raymond
remove model=generic from /etc/modprobe.d/alsa-base.conf

!!Modprobe options (Sound related)
!!

snd_hda_intel: model=generic


High Definition Audio with Realtek ALC221 codec (all ports are stereo)
Microphone/Headphone front ports (standard)
Line-out and Line-In rear ports (standard)
Multi-streaming capable (standard) <-- add hint  indep_hp =true
Internal Speaker (standard)
HP Thin USB Powered Speakers (optional)

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/plain/Documentation/sound/alsa
/HD-Audio.txt


autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
   speaker_outs=1 (0x17/0x0/0x0/0x0/0x0)
   hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
   mono: mono_out=0x0
   inputs:
 Mic=0x1a
 Line=0x19

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251127

Title:
  [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear]
  Pulseaudio fails to detect card

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1251127] Re: [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear] Pulseaudio fails to detect card

2013-11-13 Thread Raymond
does switch-on-port-available switch to auto-null when both mic and line
in jacks are not plugged


control.17 {
iface CARD
name 'Mic Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.18 {
iface CARD
name 'Line Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}


control.19 {
iface CARD
name 'Line Out Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.20 {
iface CARD
name 'Front Headphone Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.21 {
iface CARD
name 'Speaker Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251127

Title:
  [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear]
  Pulseaudio fails to detect card

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1251127] Re: [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear] Pulseaudio fails to detect card

2013-11-13 Thread Raymond
https://wiki.ubuntu.com/PulseAudio/Log

** Changed in: pulseaudio (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251127

Title:
  [HP Compaq Pro 4300 SFF PC, Realtek ID 221, Green Line Out, Rear]
  Pulseaudio fails to detect card

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1251127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs