Skip to contentSkip to conversation

: Simultaneous sound from speakers and headphone

ALSA - driver 0001572 [email protected] 1 participant 1 message Jan 25, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1572>
======================================================================

Reported By:                mjsb
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1572
Category:                   PCI - hda-intel
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Gentoo Linux
Kernel Version:             2.1.13-gentoo-r3
======================================================================
Date Submitted:             11-17-2005 16:31 CET
Last Modified:              01-25-2006 11:56 CET

======================================================================
Summary: Simultaneous sound from speakers and headphone
Description:
I cannot ear headphones without having sound from front speakers simultaneously.
Volume of headphones is adjusted by front speakers and when muting front speakers also mutes headphones.
(in MS Windows, inserting headphones automatically disables sound from front speakers)

======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0001663 LW20 bugs with headphone input, realtek...
======================================================================

----------------------------------------------------------------------
mjsb - 01-21-06 03:30
----------------------------------------------------------------------
I have just recompiled the alsa-kernel driver with ./cofigure --with-debug=full and discovered using 'option model=test' that it is possible to have all four combinations:
1) speakers off and HP off
2) speakers off and HP on
3) speakers on and HP off
4) speakers on and HP on
I have tried all models available in the patch_realtek.c but could only have it working with the 'test' model. None of the other models allowed me to have 2) working.

The 'In-4 Pin Mode' mutes/unmutes HP,
and 'Front Pin Mode' mutes/unmutes internal speakers.

Doing a 'cat /proc/asound/card0/codec#0' in the combinations above I only get differences in two places. Namely in sections 'Node 0x14' and 'Node 0x1b' for speakers and HP, respectively.
Differences are on a line containing:
Pin-ctls: 0x00: --> when muted (applies to both sections
0x14 and 1x1b)
Pin-ctls: 0xc0: OUT HP --> when unmuted (applies to both sections
0x14 and 1x1b)

I'm uploading two outputs of 'cat /proc/asound/card0/codec#0', one with sound from speakers and the other with sound from HeadPhones, where you can verify this.

If more information is needed, just ask ;)

----------------------------------------------------------------------
blackr2d - 01-25-06 11:56
----------------------------------------------------------------------
Similar problems here, mixer controls not picked up correctly for ALC880:

Laptop: Medion WD2040 (MD96500)

lspci -vv:
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: Wistron Corp. Unknown device 201a
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 169
Region 0: Memory at c0000000 (64-bit, non-prefetchable)
[size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express Unknown type IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0,
ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal-
Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed unknown, Width x0, ASPM unknown,
Port 0
Link: Latency L0s <64ns, L1 <1us
Link: ASPM Disabled CommClk- ExtSynch-
Link: Speed unknown, Width x0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)

lspci -nvv:
00:1b.0 0403: 8086:2668 (rev 03)
Subsystem: 17c0:201a
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 169
Region 0: Memory at c0000000 (64-bit, non-prefetchable)
[size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express Unknown type IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0,
ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal-
Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed unknown, Width x0, ASPM unknown,
Port 0
Link: Latency L0s <64ns, L1 <1us
Link: ASPM Disabled CommClk- ExtSynch-
Link: Speed unknown, Width x0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)

I've tried different models from realtek patch, but to no avail. All I could get is either sound only from headphones, or only from speakers.

Since it's 10 years last time I coded anything - could somebody point me in the right direction, I would be more than happy to help.

Issue History
Date Modified Username Field Change
======================================================================

11-17-05 16:31 mjsb           New Issue                                    
11-17-05 16:31 mjsb           Distribution              => Gentoo Linux    
11-17-05 16:31 mjsb           Kernel Version            => 2.1.13-gentoo-r3
11-17-05 16:33 mjsb           Issue Monitored: mjsb                        
12-08-05 21:23 mjsb           Note Added: 0006962                          
01-16-06 11:19 mjsb           Note Added: 0007685                          
01-19-06 18:27 rlrevell       Relationship added       has duplicate 0001663
01-21-06 03:24 mjsb           Note Added: 0007730                          
01-21-06 03:25 mjsb           File Added: HPoff-speakeron                    
01-21-06 03:25 mjsb           File Added: HPon-speakeroff                    
01-21-06 03:30 mjsb           Note Edited: 0007730                         
01-25-06 11:47 blackr2d       Issue Monitored: blackr2d                    
01-25-06 11:56 blackr2d       Note Added: 0007778                          

======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642