[Bug 1921915] Re: Bluetooth controller not detected on CM4

William Wilson 1921915 at bugs.launchpad.net
Tue Apr 27 19:41:47 UTC 2021


** Description changed:

- Under later versions of the Ubuntu kernel (5.8) on the CM4 and
- (possibly?) some models of the Pi 400, the bluetooth controller is not
- activated by the pi-bluetooth package. This appears to be due to two
- issues:
+ [Impact]
+ 
+ Without these patches, Bluetooth is inoperable on the CM4
+ 
+ [Test Case]
+ 
+ * Boot the Ubuntu Desktop for Pi image on a CM4.
+ * Start the Settings application and switch to the Bluetooth tab
+ * Verify that Bluetooth is not enabled and attempting to activate it fails
+ 
+ [Regression Potential]
+ 
+ The main concern would be the backported versions of pi-bluetooth not
+ integrating well with other packages. We are mitigating this concern by
+ also SRUing Bluez and linux-firmware-raspi2 to focal and groovy.
+ 
+ [Original Description]
+ Under later versions of the Ubuntu kernel (5.8) on the CM4 and (possibly?) some models of the Pi 400, the bluetooth controller is not activated by the pi-bluetooth package. This appears to be due to two issues:
  
  * The mmcnr device is mistaken for a bluetooth controller. This in
  itself is harmless, but results in a spurious hci0 device. The existence
  of this device causes the btuart script to skip configuring the "real"
  bluetooth device (as it thinks it is already configured)
  
  * The btuart script also attempts a match against the device-tree's
  model name looking for "Raspberry Pi 4" which doesn't match "Raspberry
  Pi Compute Module 4".
  
  The upstream repository currently has commits for both these fixes but
  no release has been made yet. It is proposed to backport these patches
  into an -ubuntu2 version of the package in the meantime.

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

Title:
  Bluetooth controller not detected on CM4

Status in pi-bluetooth package in Ubuntu:
  Fix Released
Status in pi-bluetooth source package in Focal:
  In Progress
Status in pi-bluetooth source package in Groovy:
  In Progress
Status in pi-bluetooth source package in Hirsute:
  Fix Released

Bug description:
  [Impact]

  Without these patches, Bluetooth is inoperable on the CM4

  [Test Case]

  * Boot the Ubuntu Desktop for Pi image on a CM4.
  * Start the Settings application and switch to the Bluetooth tab
  * Verify that Bluetooth is not enabled and attempting to activate it fails

  [Regression Potential]

  The main concern would be the backported versions of pi-bluetooth not
  integrating well with other packages. We are mitigating this concern
  by also SRUing Bluez and linux-firmware-raspi2 to focal and groovy.

  [Original Description]
  Under later versions of the Ubuntu kernel (5.8) on the CM4 and (possibly?) some models of the Pi 400, the bluetooth controller is not activated by the pi-bluetooth package. This appears to be due to two issues:

  * The mmcnr device is mistaken for a bluetooth controller. This in
  itself is harmless, but results in a spurious hci0 device. The
  existence of this device causes the btuart script to skip configuring
  the "real" bluetooth device (as it thinks it is already configured)

  * The btuart script also attempts a match against the device-tree's
  model name looking for "Raspberry Pi 4" which doesn't match "Raspberry
  Pi Compute Module 4".

  The upstream repository currently has commits for both these fixes but
  no release has been made yet. It is proposed to backport these patches
  into an -ubuntu2 version of the package in the meantime.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pi-bluetooth/+bug/1921915/+subscriptions



More information about the foundations-bugs mailing list