← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2109389] Re: Loud beep in BT headset when connecting and often when sound restarts

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: alsa-driver (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/2109389

Title:
  Loud beep in BT headset when connecting and often when sound restarts

Status in alsa-driver package in Ubuntu:
  Confirmed

Bug description:
  A very loud beep occurs on Bluetooth headsets (at least my Bose
  Quietcomfort 35) when initially connecting, and often when sound
  starts playing, for example when resuming audio media after stopping
  or pausing, or when starting a Youtube video It is so loud as to be
  painful and makes using a BT headset uncomfortable.

  The beep does not occur when stopping and immediately restarting.  (so related to some kind of background or sleep state?)
   
  Hard-wired headsets (connected to my mobo sound Line Output) do not get any beeps.  So it seems specific to bluetooth or the various audio plumbing parts used when bluetooth is active.

  I tried toggling /sys/module/snd_hda_intel/parameters/power_save
  between 1 and 0 (1 is it's normal state), thinking that it might be a
  low-level sound driver issue.  But setting power_save = 0 does not
  make the beeps go away.

  STEPS TO REPRODUCE:

  1. echo "1" | sudo tee /sys/module/snd_hda_intel/parameters/power_save  # in case it matters (it doesn't)
  2. Connect a Bluetooth headset (mine is a Bose Quietcomfort 35)
  3. Play any audio, e.g. something on youtube.
       stop playing and start playing several times, pausing 5-10 seconds in the "stopped" state.
       It might make a difference by switching tabs in Firefox and then back (possibly triggering some kind of sleep status for the process playing sound) [not confirmed]

  RESULTS: Loud beep is heard on headset when playing restarts.

  
  Ubuntu 24.04.2 LTS
  Kernel 6.11.0-24-generic
  bluez 5.72-0ubuntu5.1

  I don't know what information might be helpful, but here are some
  guesses:

  $ sudo service bluetooth status
   bluetooth.service - Bluetooth service
       Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
       Active: active (running) since Wed 2025-04-23 12:58:34 PDT; 2 days ago
         Docs: man:bluetoothd(8)
     Main PID: 1457 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 18610)
       Memory: 3.2M (peak: 3.8M)
          CPU: 169ms
       CGroup: /system.slice/bluetooth.service
               └─1457 /usr/libexec/bluetooth/bluetoothd

  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/faststream
  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/faststream_duplex
  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSink/opus_05
  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/opus_05
  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSink/opus_05_duplex
  Apr 25 21:28:06 lxjima bluetoothd[1457]: Endpoint registered: sender=:1.55 path=/MediaEndpoint/A2DPSource/opus_05_duplex
  Apr 25 21:58:16 lxjima bluetoothd[1457]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
  Apr 25 22:00:24 lxjima bluetoothd[1457]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)

  $ echo "show" | bluetoothctl
  hci0 new_settings: powered bondable ssp br/edr le secure-conn Bose QC35
  [jim's Bose QC35]# show
  Controller 48:89:E7:CF:4F:FD (public)
  	Manufacturer: 0x0002 (2)
  	Version: 0x0a (10)
  	Name: lxjima
  	Alias: lxjima
  	Class: 0x006c0104 (7078148)
  	Powered: yes
  	Discoverable: no
  	DiscoverableTimeout: 0x000000b4 (180)
  	Pairable: no
  	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
  	UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
  	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
  	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
  	UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
  	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
  	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
  	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
  	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
  	UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
  	Modalias: usb:v1D6Bp0246d0548
  	Discovering: no
  	Roles: central
  	Roles: peripheral
  Advertising Features:
  	ActiveInstances: 0x00 (0)
  	SupportedInstances: 0x06 (6)
  	SupportedIncludes: tx-power
  	SupportedIncludes: appearance
  	SupportedIncludes: local-name
  	SupportedSecondaryChannels: 1M
  	SupportedSecondaryChannels: 2M

  $ hciconfig -a
  hci0:	Type: Primary  Bus: USB
  	BD Address: 48:89:E7:CF:4F:FD  ACL MTU: 1021:4  SCO MTU: 96:6
  	UP RUNNING 
  	RX bytes:1806650 acl:493 sco:28190 events:3444 errors:1
  	TX bytes:2348628 acl:462 sco:26128 commands:2866 errors:0
  	Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
  	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
  	Link policy: RSWITCH SNIFF 
  	Link mode: PERIPHERAL ACCEPT 
  	Name: 'lxjima'
  	Class: 0x6c0104
  	Service Classes: Rendering, Capturing, Audio, Telephony
  	Device Class: Computer, Desktop workstation
  	HCI Version: 5.1 (0xa)  Revision: 0x100
  	LMP Version: 5.1 (0xa)  Subversion: 0x100
  	Manufacturer: Intel Corp. (2)

  
  $cat /proc/asound/cards
   0 [S24c           ]: USB-Audio - Studio 24c
                        PreSonus Studio 24c at usb-0000:04:00.0-1, high speed
   1 [Webcam         ]: USB-Audio - T2S Webcam
                        NOVATEK T2S Webcam at usb-0000:00:14.0-5, high speed
   2 [PCH            ]: HDA-Intel - HDA Intel PCH
                        HDA Intel PCH at 0x2ffff20000 irq 169
  (#2 is presumably the relevant one)

  $ cat /proc/asound/version
  Advanced Linux Sound Architecture Driver Version k6.11.0-24-generic.

  $ lspci -v | grep -i -A7 "audio"
  00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
  	Subsystem: ASUSTeK Computer Inc. 200 Series PCH HD Audio
  	Flags: bus master, fast devsel, latency 32, IRQ 139, IOMMU group 10
  	Memory at 2ffff20000 (64-bit, non-prefetchable) [size=16K]
  	Memory at 2ffff00000 (64-bit, non-prefetchable) [size=64K]
  	Capabilities: <access denied>
  	Kernel driver in use: snd_hda_intel
  	Kernel modules: snd_hda_intel, snd_soc_avs

  $ aplay --list-devices
  **** List of PLAYBACK Hardware Devices ****
  card 0: S24c [Studio 24c], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 2: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 2: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 2: PCH [HDA Intel PCH], device 3: HDMI 0 [PHL 328E1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 2: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 2: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu7
  ProcVersionSignature: Ubuntu 6.11.0-24.24~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-24-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  jima       2434 F.... wireplumber
   /dev/snd/controlC0:  jima       2434 F.... wireplumber
   /dev/snd/controlC1:  jima       2434 F.... wireplumber
   /dev/snd/seq:        jima       2430 F.... pipewire
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr 25 21:46:58 2025
  MachineType: System manufacturer System Product Name
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  SourcePackage: alsa-driver
  Symptom: audio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/01/2017
  dmi.bios.release: 5.12
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0605
  dmi.board.asset.tag: Default string
  dmi.board.name: PRIME Z370-A
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0605:bd12/01/2017:br5.12:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEZ370-A:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.sku: SKU
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2109389/+subscriptions