Sound broken (first couple of seconds play looping) on Sony Vaio VPX11S1E (HDA, ALC262)
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0 /usr/share/sounds/alsa/Front_Left.wav
once, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Regards,
Hans
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.1
!!################################
!!Script ran on: Sat Sep 10 19:35:19 UTC 2022
!!Linux Distribution
!!------------------
Debian GNU/Linux bookworm/sid \n \l PRETTY_NAME="Debian GNU/Linux bookworm/sid" NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
!!DMI Information
!!---------------
Manufacturer: Sony Corporation Product Name: VPCX11S1E Product Version: J003ZJ9Y Firmware Version: R0084U4 System SKU: N/A Board Vendor: Sony Corporation Board Name: VAIO
!!ACPI Device Status Information
!!---------------
/sys/bus/acpi/devices/PNP0103:00/status 15
/sys/bus/acpi/devices/PNP0C0A:00/status 31
/sys/bus/acpi/devices/PNP0C0F:00/status 9
/sys/bus/acpi/devices/PNP0C0F:01/status 9
/sys/bus/acpi/devices/PNP0C0F:02/status 9
/sys/bus/acpi/devices/PNP0C0F:03/status 9
/sys/bus/acpi/devices/PNP0C0F:04/status 9
/sys/bus/acpi/devices/PNP0C0F:05/status 9
/sys/bus/acpi/devices/PNP0C0F:06/status 9
/sys/bus/acpi/devices/PNP0C0F:07/status 9
/sys/bus/acpi/devices/SNY6001:00/status 13
!!Kernel Information
!!------------------
Kernel release: 6.0.0-rc4-32+ Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: k6.0.0-rc4-32+ Library version: 1.2.7.2 Utilities version: 1.2.7
!!Loaded ALSA modules
!!-------------------
snd_hda_intel (card 0)
!!Sound Servers on this system
!!----------------------------
PipeWire:
Installed - Yes (/usr/bin/pipewire)
Running - No
Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)
Running - Yes
!!Soundcards recognised by ALSA
!!-----------------------------
0 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0x942c0000 irq 19
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device [0403]: Intel Corporation US15W/US15X/US15L/UL11L SCH [Poulsbo] HD Audio Controller [8086:811b] (rev 06)
Subsystem: Sony Corporation US15W/US15X/US15L/UL11L SCH [Poulsbo] HD Audio Controller [104d:905f]
!!Modprobe options (Sound related)
!!--------------------------------
snd_pcsp: index=-2snd_atiixp_modem: index=-2snd_intel8x0m: index=-2snd_via82xx_modem: index=-2
!!Loaded sound module options
!!---------------------------
!!Module: snd_hda_intel
align_buffer_size : -1 bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 beep_mode : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y dmic_detect : Y enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) pm_blacklist : Y position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 power_save : 1 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 single_cmd : -1 snoop : -1
!!Sysfs card info
!!---------------
!!Card: /sys/class/sound/card0
Driver: /sys/bus/pci/drivers/snd_hda_intel
Tree:
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Realtek ALC262
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0262
Subsystem Id: 0x104d3c00
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCMDefault Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3 CLKSTOP
Power: setting=D0, actual=D0
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 0x411: Stereo
Converter: stream=3, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x411: Stereo
Device: name="ALC262 Analog", type="Audio", device=0
Converter: stream=3, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x88 0x88]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x24Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x88 0x88]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Control: name="Capture Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Capture Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Device: name="ALC262 Analog", type="Audio", device=0
Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x19 0x19]
Converter: stream=1, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x22Node 0x0a [Audio Input] wcaps 0x100791: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Headphone Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=7, ofs=0
Control: name="Headphone Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=7, ofs=0
Control: name="Beep Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=5, ofs=0
Control: name="Beep Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=5, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 8
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15Node 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=0x1e, nsteps=0x1e, 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="Headphone 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] [0x80 0x80]
Amp-Out caps: ofs=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
Amp-Out vals: [0x00 0x00]
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] [0x80]
Amp-Out caps: ofs=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
Amp-Out vals: [0x1a]
Connection: 2
0x02 0x0bNode 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400780: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
Pincap 0x00000020: IN
Pin Default 0x90a60120: [Fixed] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0x2, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
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 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c* 0x0d
Node 0x15 [Pin Complex] wcaps 0x40058f: 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="Headphone Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=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 0x0321101f: [Jack] HP Out at Ext Left
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=01, enabled=1
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c 0x0d*
Node 0x16 [Pin Complex] wcaps 0x40050c: 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: [0x00]
Pincap 0x00000010: OUT
Pin Default 0x90170110: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x0eNode 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
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 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
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 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
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 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
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 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c* 0x0d
Node 0x1c [Pin Complex] wcaps 0x400401: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400780: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x06
Node 0x1f [Pin Complex] wcaps 0x400680: Mono Digital
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=17
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
Volume-Knob: delta=0, steps=32, direct=0, val=0
Unsolicited: tag=00, enabled=0
Connection: 0
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b 0x12*
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 9
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 9
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw----+ 1 root audio 116, 5 Sep 10 21:29 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 4 Sep 10 21:29 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 3 Sep 10 21:29 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 2 Sep 10 21:29 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 1 Sep 10 21:29 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Sep 10 21:29 /dev/snd/timer
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Sep 10 21:29 .
drwxr-xr-x 3 root root 180 Sep 10 21:29 ..
lrwxrwxrwx 1 root root 12 Sep 10 21:29 pci-0000:00:1b.0 -> ../controlC0
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC262 Analog [ALC262 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC262 Analog [ALC262 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card MID
Card sysdefault:0 'MID'/'HDA Intel MID at 0x942c0000 irq 19'
Mixer name : 'Realtek ALC262'
Components : 'HDA:10ec0262,104d3c00,00100302'
Controls : 22
Simple ctrls : 11
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 30
Mono: Playback 26 [87%] [-6.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 30
Mono:
Front Left: Playback 0 [0%] [-45.00dB] [off]
Front Right: Playback 0 [0%] [-45.00dB] [off]
Simple mixer control 'Headphone Mic',0
Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 31
Mono: Capture [off]
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Headphone Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 30
Mono: Playback 30 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 25 [81%] [25.50dB] [on]
Front Right: Capture 25 [81%] [25.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Internal Mic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
!!Alsactl output
!!--------------
--startcollapse--
state.MID {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 30'
dbmin -4500
dbmax 0
dbvalue.0 -4500
dbvalue.1 -4500
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Speaker Playback Volume'
value 30
comment {
access 'read write'
type INTEGER
count 1
range '0 - 30'
dbmin -4500
dbmax 0
dbvalue.0 0
}
}
control.4 {
iface MIXER
name 'Speaker Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.5 {
iface MIXER
name 'Loopback Mixing'
value Disabled
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Disabled
item.1 Enabled
}
}
control.6 {
iface MIXER
name 'Headphone Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.7 {
iface MIXER
name 'Headphone Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.8 {
iface MIXER
name 'Auto-Mute Mode'
value Disabled
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Disabled
item.1 Enabled
}
}
control.9 {
iface MIXER
name 'Capture Source'
value 'Internal Mic'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Internal Mic'
item.1 'Headphone Mic'
}
}
control.10 {
iface MIXER
name 'Capture Volume'
value.0 25
value.1 25
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -1200
dbmax 3450
dbvalue.0 2550
dbvalue.1 2550
}
}
control.11 {
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.12 {
iface MIXER
name 'Headphone Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
control.13 {
iface MIXER
name 'Beep Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.14 {
iface MIXER
name 'Beep Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.15 {
iface MIXER
name 'Master Playback Volume'
value 26
comment {
access 'read write'
type INTEGER
count 1
range '0 - 30'
dbmin -4500
dbmax 0
dbvalue.0 -600
}
}
control.16 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.17 {
iface CARD
name 'Internal Mic Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.18 {
iface CARD
name 'Headphone Mic Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.19 {
iface CARD
name 'Speaker Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.20 {
iface PCM
name 'Playback Channel Map'
value.0 3
value.1 4
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.21 {
iface PCM
name 'Capture Channel Map'
value.0 3
value.1 4
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.22 {
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 255'
tlv '0000000100000008ffffec1400000014'
dbmin -5100
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
}--endcollapse--
!!All Loaded Modules
!!------------------
acacpi_cpufreqansi_cprngasync_memcpyasync_pqasync_raid6_recovasync_txasync_xorata_generic
ath
ath9kath9k_commonath9k_hw
autofs4
batteryblake2b_generic
bluetooth
bnep
btbcm
btintel
btmtk
btrfs
btrtl
btusb
button
ccm
cfg80211
configfs
coretemp
crc16crc32c_generic
crc64crc64_rocksoftcrc64_rocksoft_genericcrc_t10difcrct10dif_commoncrct10dif_generic
ctr
drbg
drmdrm_kms_helper
eccecdh_genericehci_hcdehci_pci
evdev
ext4fb_sys_fops
fusegma500_gfxi2c_algo_biti2c_ischip_tables
irqbypass
jbd2jitterentropy_rng
joydev
kvmkvm_intelledtrig_audio
libarc4
libata
libcrc32c
linear
lplpc_sch
mac80211
mbcache
mcmd_mod
msr
multipath
parportparport_pcpata_sch
pcspkr
ppdev
psmouse
qcserial
qrtr
raid0
raid1
raid10
raid456raid6_pq
rfcomm
rfkillscsi_commonscsi_modsd_modserio_raw
sgsha512_generic
sky2
sndsnd_hda_codecsnd_hda_codec_genericsnd_hda_codec_realteksnd_hda_coresnd_hda_intelsnd_hwdepsnd_intel_dspcfgsnd_intel_sdw_acpisnd_pcmsnd_timersony_laptop
soundcore
syscopyarea
sysfillrect
sysimgbltt10_piuhci_hcdusb_commonusb_wwan
usbcore
usbserial
uvcvideo
videovideobuf2_commonvideobuf2_memopsvideobuf2_v4l2videobuf2_vmalloc
videodev
wmix_tables
xorzstd_compress
!!Sysfs Files
!!-----------
/sys/class/sound/hwC0D0/init_pin_configs:0x11 0x411111f00x12 0x90a601200x14 0x411111f00x15 0x0321101f0x16 0x901701100x18 0x411111f00x19 0x411111f00x1a 0x411111f00x1b 0x411111f00x1c 0x411111f00x1d 0x411111f00x1e 0x411111f00x1f 0x411111f0
/sys/class/sound/hwC0D0/driver_pin_configs:
/sys/class/sound/hwC0D0/user_pin_configs:
/sys/class/sound/hwC0D0/init_verbs:
/sys/class/sound/hwC0D0/hints:
!!ALSA/HDA dmesg
!!--------------
[ 0.519705] ACPI: Added _OSI(Linux-Dell-Video) [ 0.519705] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.519705] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) -- [ 25.318161] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 25.469763] snd_hda_codec_realtek hdaudioC0D0: ALC262: SKU not ready 0x411111f0 [ 25.470190] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC262: line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:speaker [ 25.470275] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 25.470288] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 25.470300] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 25.470308] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 25.470318] snd_hda_codec_realtek hdaudioC0D0: Mic=0x12 [ 25.515219] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 25.519738] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9 [ 25.520143] input: HDA Intel MID Headphone Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 25.542404] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid -- [ 259.241575] rfkill: input handler enabled [ 263.284660] snd_hda_intel 0000:00:1b.0: Invalid position buffer, using LPIB read method instead. [ 263.284826] snd_hda_intel 0000:00:1b.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj. [ 288.223033] rfkill: input handler disabled
!!Packages installed
!!--------------------
ii alsa-topology-conf 1.2.5.1-2 all ALSA topology configuration files ii alsa-ucm-conf 1.2.7.2-1 all ALSA Use Case Manager configuration files ii alsa-utils 1.2.7-1 i386 Utilities for configuring and using ALSA
Quoted 18 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wav
Quoted 8 lines
once, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
thanks,
Takashi
Quoted 25 lines · Takashi Iwai
Quoted 22 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wavonce, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
Quoted 8 lines
Quoted 4 lines
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
And if this doesn't change the behavior, try snoop=0 option for snd-hda-intel module.
Takashi
Hi,
Quoted 32 lines · Takashi Iwai
Quoted 30 lines · Takashi Iwai
Quoted 26 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wavonce, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Quoted 6 lines
Quoted 3 lines
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
And if this doesn't change the behavior, try snoop=0 option for snd-hda-intel module.
Thanks, I've just tried with 6.0-rc6 both with and without snoop=0 and neither helps I'm afraid.
Regards,
Hans
Quoted 40 lines · Hans de Goede
Hi,
Quoted 36 lines · Takashi Iwai
Quoted 33 lines · Takashi Iwai
Quoted 18 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wavQuoted 8 lines
once, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
Quoted 5 lines
Quoted 2 lines
And if this doesn't change the behavior, try snoop=0 option for snd-hda-intel module.
Thanks, I've just tried with 6.0-rc6 both with and without snoop=0 and neither helps I'm afraid.
Then one another thing could be position_fix option of snd-hda-intel. Otherwise we need bisection -- supposing it worked well in the past. But as it's a so old laptop, maybe not worth...
thanks,
Takashi
Hi,
Quoted 42 lines · Takashi Iwai
Quoted 40 lines · Hans de Goede
Hi,
Quoted 36 lines · Takashi Iwai
Quoted 33 lines · Takashi Iwai
Quoted 18 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wavQuoted 8 lines
once, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
And if this doesn't change the behavior, try snoop=0 option for snd-hda-intel module.
Thanks, I've just tried with 6.0-rc6 both with and without snoop=0 and neither helps I'm afraid.
Then one another thing could be
position_fixoption of snd-hda-intel. Otherwise we need bisection -- supposing it worked well in the past.
Thanks, position_fix=1 does the trick (I did not try any of the other possible values).
I see there is a snd_pci_quirk position_fix_list, so I guess I should prepare a patch adding a quirk for this?
Or are some other position_fix values preferred and should I try those first?
Quoted 1 line
But as it's a so old laptop, maybe not worth...
Agreed, but it looks like a bisect won't be necessary :)
Regards,
Hans
Quoted 52 lines · Hans de Goede
Hi,
Quoted 48 lines · Takashi Iwai
Quoted 45 lines · Hans de Goede
Hi,
Quoted 32 lines · Takashi Iwai
Quoted 30 lines · Takashi Iwai
Quoted 26 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wavonce, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Quoted 6 lines
Quoted 3 lines
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
And if this doesn't change the behavior, try snoop=0 option for snd-hda-intel module.
Thanks, I've just tried with 6.0-rc6 both with and without snoop=0 and neither helps I'm afraid.
Quoted 8 lines
Quoted 2 lines
Then one another thing could be
position_fixoption of snd-hda-intel. Otherwise we need bisection -- supposing it worked well in the past.Thanks, position_fix=1 does the trick (I did not try any of the other possible values).
I see there is a
snd_pci_quirkposition_fix_list, so I guess I should prepare a patch adding a quirk for this?
I guess this is rather controller issue, so I'd patch for Poulsbo like below. Let me know if it works, then I'll cook a proper patch.
Quoted 2 lines
Or are some other
position_fixvalues preferred and should I try those first?
LPIB should suffice, so no further test about the option needed.
thanks,
Takashi
-- 8< --
sound/pci/hda/hda_intel.c +2 -1
@@ -2547,7 +2547,8 @@ static const struct pci_device_id azx_ids[] = { .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_NOPM },/* Poulsbo */ { PCI_DEVICE(0x8086, 0x811b), - .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE }, + .driver_data =AZX_DRIVER_SCH |AZX_DCAPS_INTEL_PCH_BASE | + AZX_DCAPS_POSFIX_LPIB }, /* Oaktrail */ { PCI_DEVICE(0x8086, 0x080a), .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE },
Hi,
Quoted 81 lines · Takashi Iwai
Quoted 52 lines · Hans de Goede
Hi,
Quoted 48 lines · Takashi Iwai
Quoted 45 lines · Hans de Goede
Hi,
Quoted 32 lines · Takashi Iwai
Quoted 30 lines · Takashi Iwai
Quoted 26 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wavonce, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Quoted 6 lines
Quoted 3 lines
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
And if this doesn't change the behavior, try snoop=0 option for snd-hda-intel module.
Thanks, I've just tried with 6.0-rc6 both with and without snoop=0 and neither helps I'm afraid.
Quoted 8 lines
Quoted 2 lines
Then one another thing could be
position_fixoption of snd-hda-intel. Otherwise we need bisection -- supposing it worked well in the past.Thanks, position_fix=1 does the trick (I did not try any of the other possible values).
I see there is a
snd_pci_quirkposition_fix_list, so I guess I should prepare a patch adding a quirk for this?I guess this is rather controller issue, so I'd patch for Poulsbo like below. Let me know if it works, then I'll cook a proper patch.
Quoted 2 lines
Or are some other
position_fixvalues preferred and should I try those first?LPIB should suffice, so no further test about the option needed.
thanks,
Takashi
-- 8< --
sound/pci/hda/hda_intel.c static const struct pci_device_id azx_ids[] = { · line 2554
Quoted 9 lines
sound/pci/hda/hda_intel.c +2
-1@@ -2547,7 +2547,8 @@ static const struct pci_device_id azx_ids[] = { .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_NOPM },/* Poulsbo */ { PCI_DEVICE(0x8086, 0x811b), - .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE }, + .driver_data =AZX_DRIVER_SCH |AZX_DCAPS_INTEL_PCH_BASE | + AZX_DCAPS_POSFIX_LPIB }, /* Oaktrail */ { PCI_DEVICE(0x8086, 0x080a), .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE },
I can confirm that this does the trick, thanks:
Regards,
Hans
Quoted 98 lines · Hans de Goede
Hi,
Quoted 81 lines · Takashi Iwai
Quoted 52 lines · Hans de Goede
Hi,
Quoted 48 lines · Takashi Iwai
Quoted 45 lines · Hans de Goede
Hi,
Quoted 32 lines · Takashi Iwai
Quoted 30 lines · Takashi Iwai
Quoted 26 lines · Hans de Goede
Hi All,
To test some kernel work (backlight refactor) which I have been doing I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E (which is ancient).
I noticed that when tab-completing something in a terminal the terminal bell sound would keep repeating and playing another longer sound sample gets stuck with the first couple of seconds of that sample looping.
This is under GNOME3 with pulseaudio as sound server.
I accidentally found an interesting workaround if I run:
aplay -Dplughw:CARD=MID,DEV=0
/usr/share/sounds/alsa/Front_Left.wavonce, then that works properly and after that the problem is gone...
Note that this laptop does have only 1 speaker AFAICT.
alsa-info output below.
I would be happy to test any patches / module-options which might fix this.
Quoted 6 lines
Quoted 3 lines
Could you check the very latest Linus tree (6.0-rc5)? There has been a regression fix for HD-audio, and possibly this might be your case.
And if this doesn't change the behavior, try snoop=0 option for snd-hda-intel module.
Thanks, I've just tried with 6.0-rc6 both with and without snoop=0 and neither helps I'm afraid.
Quoted 8 lines
Quoted 2 lines
Then one another thing could be
position_fixoption of snd-hda-intel. Otherwise we need bisection -- supposing it worked well in the past.Thanks, position_fix=1 does the trick (I did not try any of the other possible values).
I see there is a
snd_pci_quirkposition_fix_list, so I guess I should prepare a patch adding a quirk for this?I guess this is rather controller issue, so I'd patch for Poulsbo like below. Let me know if it works, then I'll cook a proper patch.
Quoted 2 lines
Or are some other
position_fixvalues preferred and should I try those first?LPIB should suffice, so no further test about the option needed.
thanks,
Takashi
-- 8< --
sound/pci/hda/hda_intel.c static const struct pci_device_id azx_ids[] = { · line 2554
Quoted 9 lines
sound/pci/hda/hda_intel.c +2
-1@@ -2547,7 +2547,8 @@ static const struct pci_device_id azx_ids[] = { .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_NOPM },/* Poulsbo */ { PCI_DEVICE(0x8086, 0x811b), - .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE }, + .driver_data =AZX_DRIVER_SCH |AZX_DCAPS_INTEL_PCH_BASE | + AZX_DCAPS_POSFIX_LPIB }, /* Oaktrail */ { PCI_DEVICE(0x8086, 0x080a), .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_INTEL_PCH_BASE },I can confirm that this does the trick, thanks:
Quoted 1 line
Reported-and-tested-by Hans de Goede <[email protected]>
Thanks. I'll submit and merge the proper patch now.
Takashi