2012-7-27 ??4:40 ? "Florian Reitmeir" <florian at reitmeir.org> ?? > > i own an HP Z400 Workstation, and audio is not working as expected. > > The Problem: > > - if i mute the internal speaker, the sound for line out is also muted > http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01716874&lang=en&cc=us&taskId=101&prodSeriesId=3718663&prodTypeId=12454 The internal speaker will be disabled if multi-streaming audio is enabled. Refer to alc262 specification Two stereo DACs support 16/20/24-bit PCM format for stereo audio playback on the rear panel, plus 2 channels of independent stereo sound output (multiple streaming) through the Front-Out-Left and Front-Out-Right channels Supports MONO line output with independent volume control > - pulse audio, detects the internal speaker as master, so if if use the volume control in gnome 3, line-out gets muted, and the internal speaker is used the auto parser of hda codec does not differentitate those internal chassis mono speaker of the desktop (cfg->mono_out_pin) from those speaker of laptop (cfg->speaker_outs) this also cause some lenovo workstation with ad1988 codec fail as the driver try to assign the fifth dac to the mono speaker instead of the headphone. > > - to hear something on line-out i use alsamixer, and control the volume of the "speaker" output to 0 > > - but even if i set the output of speaker to 0, i can hear the music very very silent.. > > - and last .. the control of "line" does nothing, mute/volume does not affect the output a possible way is use node 0x02 for line out and mono speaker , node 0x03 for the headphone. front playback volume use node 0x0c 's amp-out headphone playback volume use node 0x0d 's amp-out mono speaker volume use node 0x0e 's amp-out the mono speaker playback switch cannot be the slave of virtual master. the mono speaker should be muted when either line out or headphone is plugged. > > Here some hardware info, if you need more, please tell me. > > > cat /proc/asound/card0/codec\#0 > Codec: Realtek ALC262 > Address: 0 > AFG Function Id: 0x1 (unsol 1) > Vendor Id: 0x10ec0262 > Subsystem Id: 0x103c1309 > Revision Id: 0x100202 > No Modem Function Group found > Default PCM: > rates [0x560]: 44100 48000 96000 192000 > bits [0xe]: 16 20 24 > formats [0x1]: PCM > Default Amp-In caps: N/A > Default Amp-Out caps: N/A > GPIO: io=4, o=0, i=0, unsolicited=1, wake=0 > IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 > IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 > IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 > IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 > Node 0x02 [Audio Output] wcaps 0x11: Stereo > 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 0x11: Stereo > Device: name="ALC262 Analog", type="Audio", device=0 > Converter: stream=8, channel=0 > PCM: > rates [0x560]: 44100 48000 96000 192000 > bits [0xe]: 16 20 24 > formats [0x1]: PCM > Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out > Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > Amp-In vals: [0x00 0x00] [0x80 0x80] > Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 > Amp-Out vals: [0x01 0x01] > Connection: 2 > 0x02 0x0b > Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out > Control: name="PCM Playback Volume", index=0, device=0 > ControlAmp: chs=3, dir=Out, idx=0, ofs=0 > Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > Amp-In vals: [0x00 0x00] [0x00 0x00] > Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 > Amp-Out vals: [0x1d 0x1d] > Connection: 2 > 0x03 0x0b > Node 0x0e [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out > Control: name="Speaker Playback Volume", index=0, device=0 > ControlAmp: chs=1, dir=Out, idx=0, ofs=0 > Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > Amp-In vals: [0x00] [0x00] > Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 > Amp-Out vals: [0x00] > Connection: 2 > 0x02 0x0b > Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In 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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 > Amp-In vals: [0x00 0x00] > Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > Amp-Out vals: [0x80 0x80] > Pincap 0x0000003e: IN OUT HP Detect Trigger > Pin Default 0x01014c10: [Jack] Line Out at Ext Rear > Conn = 1/8, Color = Green > DefAssociation = 0x1, Sequence = 0x0 > Pin-ctls: 0x40: OUT > Unsolicited: tag=02, enabled=1 > Connection: 2 > 0x0c 0x0d* > Node 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out > Control: name="Speaker Playback Switch", index=0, device=0 > ControlAmp: chs=1, dir=Out, idx=0, ofs=0 > Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > Amp-Out vals: [0x80] > Pincap 0x00000010: OUT > Pin Default 0x99030120: [Fixed] Line Out at Int ATAPI > Conn = ATAPI, Color = Unknown > DefAssociation = 0x2, Sequence = 0x0 > Misc = NO_PRESENCE > Pin-ctls: 0x40: OUT > Connection: 1 > 0x0e > Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In 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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 > Amp-In vals: [0x00 0x00] > Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > Amp-Out vals: [0x80 0x80] > Pincap 0x0000173e: IN OUT HP Detect Trigger > Vref caps: HIZ 50 GRD 80 > Pin Default 0x02211c40: [Jack] HP Out at Ext Front > Conn = 1/8, Color = Black > DefAssociation = 0x4, Sequence = 0x0 > Pin-ctls: 0xc0: OUT HP VREF_HIZ > Unsolicited: tag=01, enabled=1 > Connection: 2 > 0x0c 0x0d* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20120729/fbc845ce/attachment-0001.html>