This is still broken on -30, too:

```
shepherd-dev@shepherd-26:~$ uname -a
Linux shepherd-26.04 7.0.0-30-generic #30-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 
18:22:54 UTC 2026 x86_64 GNU/Linux
shepherd-dev@shepherd-26:~$ H=$(ls /sys/class/bluetooth | head -1); sudo btmgmt 
--index $H add-adv -c 1; bluetoothctl advertise peripheral; sudo btmgmt --index 
$H rm-adv 1
Instance added: 1
AdvertisementMonitor path registered
Failed to register advertisement: org.bluez.Error.Failed
Instance removed: 1
```

```
shepherd-dev@shepherd-26:~$ sudo btmon
Bluetooth monitor ver 5.85
btmon[13667]: = Note: Linux version 7.0.0-30-generic (x86_64)                   
                                                             0.806056
btmon[13667]: = Note: Bluetooth subsystem version 2.22                          
                                                             0.806057
= New Index: 8C:68:8B:41:02:DC (Primary,USB,hci2)                               
                                                      [hci2] 0.806058
= Open Index: 8C:68:8B:41:02:DC                                                 
                                                      [hci2] 0.806058
= Index Info: 8C:68:8B:41:02:DC (Realtek Semiconductor Corporation)             
                                                      [hci2] 0.806059
...
bluetoothd[1307]: @ MGMT Command: Add Extended Advertising Data (0x0055) plen 
14                                             {0x0001} [hci2] 4.874699
        Instance: 1
        Advertising data length: 3
        Flags: 0x06
          LE General Discoverable Mode
          BR/EDR Not Supported
        Scan response length: 0
@ MGMT Event: Command Status (0x0002) plen 3                                    
                                             {0x0001} [hci2] 4.874703
      Add Extended Advertising Data (0x0055)
        Status: Invalid Parameters (0x0d)
bluetoothd[1307]: = src/advertising.c:add_client_complete() Failed to add 
advertisement: Invalid Parameters (0x0d)                           4.874758

```

Again, this completely breaks usage of an Ubuntu 26.04 device as a BLE
GATT peripheral.

Is there a plan to fix this in 7.0.0, or have Ubuntu 26.04 use a newer
kernel that is not affected?

My understanding is that the following contains the patch that resolves
the issue: https://lore.kernel.org/linux-
bluetooth/[email protected]/T/#u

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161852

Title:
  linux 7.0.0-28: BLE LE advertising fails — MGMT "Add Extended
  Advertising Data" returns Invalid Parameters (0x0d) [regression from
  7.0.0-27]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2161852/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to