btmgmt --index broken in Mantic

Bug #2041496 reported by Juerg Haefliger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bluez Utilities
Fix Released
Unknown
bluez (Ubuntu)
Fix Released
Undecided
Juerg Haefliger

Bug Description

On Mantic:

$ btmgmt --index 1 info
Unable to open 1: No such file or directory (2)
Index list with 1 item
hci0: Primary controller
 addr B8:27:EB:CB:F8:8D version 9 manufacturer 305 class 0x6c0000
 supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr le advertising secure-conn debug-keys privacy configuration static-addr phy-configuration
 current settings: powered ssp br/edr le secure-conn
 name rpi-5b-rev1d0-f88b
 short name
hci0: Configuration options
 supported options: public-address
 missing options:

Note the error 'Unable to open...' above.

The machine has only a single hci so index 1 is invalid. The correct result should be:

$ btmgmt --index 1 info
Reading hci1 info failed with status 0x11 (Invalid Index)

Revision history for this message
Juerg Haefliger (juergh) wrote (last edit ):
description: updated
description: updated
tags: added: mantic
Changed in bluez (Ubuntu):
assignee: nobody → Juerg Haefliger (juergh)
status: New → In Progress
Revision history for this message
Juerg Haefliger (juergh) wrote :
tags: added: fixed-in-bluez-5.71 fixed-upstream
Changed in bluez (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bluez - 5.70-0ubuntu2

---------------
bluez (5.70-0ubuntu2) noble; urgency=medium

  * Fix btmgmt --index option (thanks to Juerg Haefliger) (LP: #2041496)

 -- Dimitri John Ledkov <email address hidden> Tue, 21 Nov 2023 11:08:37 +0000

Changed in bluez (Ubuntu):
status: Fix Committed → Fix Released
Changed in bluez:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.