Hi, before 3.0.0-rc1, when I plugged anything into headphone output of my laptop, speakers were disabled and the sound has been routed to the headphone output. This doesn't seem to work anymore starting with 3.0.0-rc1. Speakers stay on even if I plug something to the headphone output. Is this a bug or a new behavior that userspace has to cope with?
I am sorry for the lack of information but I have no idea what to provide. Let's add dmesg and config at least. Btw. I have noticed the following message which might be related:
input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
I do not see anything like this in .39 kernel.
I am using Intel HDA integrated soundcard: $ lspci -vv [...] 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02) Subsystem: Fujitsu Limited. Device 1397 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 42 Region 0: Memory at f0640000 (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 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee0300c Data: 4189 Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us ExtTag- RBE- FLReset- DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us ClockPM- Surprise- LLActRep- BwNot- LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- VC1: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=1 ArbSelect=Fixed TC/VC=80 Status: NegoPending- InProgress- Capabilities: [130 v1] Root Complex Link Desc: PortNumber=0f ComponentID=02 EltType=Config Link0: Desc: TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+ Addr: 00000000fed1c000 Kernel driver in use: HDA Intel [...]
$ lsmod | grep snd snd_hda_codec_realtek 236509 1 snd_hda_intel 23614 1 snd_hda_codec 66591 2 snd_hda_codec_realtek,snd_hda_intel snd_pcm_oss 36561 0 snd_mixer_oss 17908 1 snd_pcm_oss snd_pcm 64165 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_seq_oss 29025 0 snd_seq_midi_event 14076 1 snd_seq_oss snd_seq 42319 4 snd_seq_oss,snd_seq_midi_event snd_timer 23709 2 snd_pcm,snd_seq snd_seq_device 13797 2 snd_seq_oss,snd_seq snd 49969 12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device snd_page_alloc 13709 2 snd_hda_intel,snd_pcm
$ grep -I . /sys/devices/pci0000:00/0000:00:1b.0/* /sys/devices/pci0000:00/0000:00:1b.0/broken_parity_status:0 /sys/devices/pci0000:00/0000:00:1b.0/class:0x040300 /sys/devices/pci0000:00/0000:00:1b.0/consistent_dma_mask_bits:64 /sys/devices/pci0000:00/0000:00:1b.0/device:0x27d8 /sys/devices/pci0000:00/0000:00:1b.0/dma_mask_bits:64 /sys/devices/pci0000:00/0000:00:1b.0/enable:1 /sys/devices/pci0000:00/0000:00:1b.0/irq:42 /sys/devices/pci0000:00/0000:00:1b.0/local_cpulist:0-7 /sys/devices/pci0000:00/0000:00:1b.0/local_cpus:ff /sys/devices/pci0000:00/0000:00:1b.0/modalias:pci:v00008086d000027D8sv000010CFsd00001397bc04sc03i00 /sys/devices/pci0000:00/0000:00:1b.0/resource:0x00000000f0640000 0x00000000f0643fff 0x0000000000140204 /sys/devices/pci0000:00/0000:00:1b.0/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/devices/pci0000:00/0000:00:1b.0/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/devices/pci0000:00/0000:00:1b.0/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/devices/pci0000:00/0000:00:1b.0/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/devices/pci0000:00/0000:00:1b.0/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/devices/pci0000:00/0000:00:1b.0/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/devices/pci0000:00/0000:00:1b.0/subsystem_device:0x1397 /sys/devices/pci0000:00/0000:00:1b.0/subsystem_vendor:0x10cf /sys/devices/pci0000:00/0000:00:1b.0/uevent:DRIVER=HDA Intel /sys/devices/pci0000:00/0000:00:1b.0/uevent:PCI_CLASS=40300 /sys/devices/pci0000:00/0000:00:1b.0/uevent:PCI_ID=8086:27D8 /sys/devices/pci0000:00/0000:00:1b.0/uevent:PCI_SUBSYS_ID=10CF:1397 /sys/devices/pci0000:00/0000:00:1b.0/uevent:PCI_SLOT_NAME=0000:00:1b.0 /sys/devices/pci0000:00/0000:00:1b.0/uevent:MODALIAS=pci:v00008086d000027D8sv000010CFsd00001397bc04sc03i00 /sys/devices/pci0000:00/0000:00:1b.0/vendor:0x8086
Let me know if you need any further information.
-- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic