From Fedora Project Wiki

(Draft of the Bluetooth devices test case)
 
mNo edit summary
Line 3: Line 3:
This test case tests that devices can be added and removed on-the-fly and that audio is correctly routed through these devices or ports.
This test case tests that devices can be added and removed on-the-fly and that audio is correctly routed through these devices or ports.


== Prerequisites ==
== Setup ==


# This test case can be performed on a bare machine.
# This test case can be performed on a bare machine.

Revision as of 10:27, 12 February 2021

Bluetooth Devices

This test case tests that devices can be added and removed on-the-fly and that audio is correctly routed through these devices or ports.

Setup

  1. This test case can be performed on a bare machine.
  2. The computer must be equipped with a sound device with multiple ports (speakers and phones).
  3. Install a desktop version of Fedora 34 (or later).
  4. Log in as a common user.
  5. Install the pavucontrol package.

How to test

  1. Start Pavucontrol. You can use the desktop menu launcher PulseAudio Volume Control or pavucontrol on CLI.
  2. Connect a Bluetooth device and check that it appears in the device list.
  3. Disconnect the Bluetooth device and check that it disappears from the device list.
  4. If the HFP profile is available for your device, use Pavucontrol to switch between the Bluetooth profiles (from A2DP to HFP) and back.

Expected results

  1. Pavucontrol starts and shows the available sound devices on the Output devices tab.
  2. The audio is playing over the default sound device.
  3. When a Bluetooth device is connected, it appears in Pavucontrol on the device list and the sound is immediately routed through this device.
  4. When a Bluetooth device is disconnected, it disappears from the device list and the sound is immediately rerouted back to the original device.
  5. The sound levels are restored to the previously used level for the particular output whenever it is switched to it.
  6. If the HFP profile is available for the device, it is possible to switch to it. The device then should be able to handle output and recording.

Passing criteria

The status of this test case is passed, when all expected results are succsessfully met.