Hi there,

Very similar case on my side, I also have:
- this beep when I launched some music/sound or a pause ~10s/restart some sound
- a Bose QuietConfort 35 II connected in BT to my workstation

If it can help on this 2nd case, here the same commands provided by
jimav

Ubuntu    25.04
Kernel    6.14.0-15-generic
bluez     5.79-2ubuntu1
alsa-base 1.0.25+dfsg-0ubuntu8

# sudo service bluetooth status
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; 
preset: enabled)
     Active: active (running) since Sun 2025-05-11 01:27:26 CEST; 15h ago
 Invocation: 06bb3583515f465cb18b439d69e5492f
       Docs: man:bluetoothd(8)
   Main PID: 1314 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 70599)
     Memory: 3.5M (peak: 4M)
        CPU: 675ms
     CGroup: /system.slice/bluetooth.service
             └─1314 /usr/libexec/bluetooth/bluetoothd

May 11 01:35:17 meth-mini-01 bluetoothd[1314]: Endpoint registered: 
sender=:1.316 path=/MediaEndpoint/A2DPSource/aptx_ll_dupl>
May 11 01:35:18 meth-mini-01 bluetoothd[1314]: Endpoint registered: 
sender=:1.316 path=/MediaEndpoint/A2DPSource/faststream
May 11 01:35:18 meth-mini-01 bluetoothd[1314]: Endpoint registered: 
sender=:1.316 path=/MediaEndpoint/A2DPSource/faststream_d>
May 11 01:35:18 meth-mini-01 bluetoothd[1314]: Endpoint registered: 
sender=:1.316 path=/MediaEndpoint/A2DPSink/opus_05
May 11 01:35:18 meth-mini-01 bluetoothd[1314]: Endpoint registered: 
sender=:1.316 path=/MediaEndpoint/A2DPSource/opus_05
May 11 01:35:18 meth-mini-01 bluetoothd[1314]: Endpoint registered: 
sender=:1.316 path=/MediaEndpoint/A2DPSink/opus_05_duplex
May 11 01:35:18 meth-mini-01 bluetoothd[1314]: Endpoint registered: 
sender=:1.316 path=/MediaEndpoint/A2DPSource/opus_05_dupl>
May 11 01:35:43 meth-mini-01 bluetoothd[1314]: Player registered: sender=:1.32 
path=/_1_125
May 11 05:33:00 meth-mini-01 bluetoothd[1314]: 
src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice>
May 11 05:35:36 meth-mini-01 bluetoothd[1314]: 
src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice>

# echo "show" | bluetoothctl
Controller DC:97:BA:40:9A:4C (public)
        Manufacturer: 0x0002 (2)
        Version: 0x0c (12)
        Name: meth-mini-01
        Alias: meth-mini-01
        Class: 0x006c0104 (7078148)
        Powered: yes
        PowerState: on
        Discoverable: no
        DiscoverableTimeout: 0x000000b4 (180)
        Pairable: no
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: SIM Access                (0000112d-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-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: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (03b80e5a-ede8-4b33-a751-6ce34ec4c700)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d054F
        Discovering: no
        Roles: central
        Roles: peripheral
Advertising Features:
        ActiveInstances: 0x00 (0)
        SupportedInstances: 0x0c (12)
        SupportedIncludes: tx-power
        SupportedIncludes: appearance
        SupportedIncludes: local-name
        SupportedSecondaryChannels: 1M
        SupportedSecondaryChannels: 2M
        SupportedSecondaryChannels: Coded
        SupportedCapabilities.MinTxPower: 0xffffffde (-34)
        SupportedCapabilities.MaxTxPower: 0x0007 (7)
        SupportedCapabilities.MaxAdvLen: 0xfb (251)
        SupportedCapabilities.MaxScnRspLen: 0xfb (251)
        SupportedFeatures: CanSetTxPower
        SupportedFeatures: HardwareOffload

# hciconfig -a
hci0:   Type: Primary  Bus: USB
        BD Address: DC:97:BA:40:9A:4C  ACL MTU: 1021:4  SCO MTU: 96:6
        UP RUNNING 
        RX bytes:129832258 acl:1713 sco:2059754 events:3328 errors:0
        TX bytes:129694147 acl:2783 sco:2057256 commands:304 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: 'meth-mini-01'
        Class: 0x6c0104
        Service Classes: Rendering, Capturing, Audio, Telephony
        Device Class: Computer, Desktop workstation
        HCI Version: 5.3 (0xc)  Revision: 0x37c8
        LMP Version: 5.3 (0xc)  Subversion: 0x37c8
        Manufacturer: Intel Corp. (2)

# cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xdc5c8000 irq 133
 2 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xdc5c0000 irq 134

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k6.14.0-15-generic.

# lspci -v | grep -i -A7 "audio"
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not 
permitted
c5:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon 
High Definition Audio Controller
        Subsystem: Device 1f4c:b016
        Flags: bus master, fast devsel, latency 0, IRQ 133, IOMMU group 20
        Memory at dc5c8000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

--
c5:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] 
ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
        Subsystem: Device 1f4c:b016
        Flags: bus master, fast devsel, latency 0, IRQ 132, IOMMU group 24
        Memory at dc580000 (32-bit, non-prefetchable) [size=256K]
        Memory at 7c10000000 (64-bit, prefetchable) [size=8M]
        Capabilities: <access denied>
        Kernel driver in use: snd_pci_ps
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, 
snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, 
snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63, snd_sof_amd_acp70
--
c5:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD 
Audio Controller
        DeviceName: Realtek ALC256
        Subsystem: Device 1f4c:b016
        Flags: bus master, fast devsel, latency 0, IRQ 134, IOMMU group 25
        Memory at dc5c0000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [C32HG7x]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC269VC Analog [ALC269VC 
Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to