From Fedora Project Wiki

mNo edit summary
m (Update to meet review.)
Line 1: Line 1:
= Bluetooth Devices =
= 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.
This test case tests that Bluetooth devices can be connected to the system and that the audio is correctly routed through these devices.


== Setup ==
== Setup ==


# This test case can be performed on a '''bare machine'''.
# This test case should be performed on a '''bare machine'''.
# The computer must be equipped with a sound device with multiple ports (speakers and phones).
# The computer must be equipped with a '''sound device'''.
# The computer must be equipped with a ''Bluetooth'' adapter.
# The computer must be equipped with a ''Bluetooth'' adapter.
# Install a desktop version of '''Fedora 34''' (or later).
# Install a desktop version of '''Fedora 34''' (or later).
# Log in as a ''common user''.
# Install the <code>pavucontrol</code> package.
# Install the <code>pavucontrol</code> package.
# Perform the following steps as a '''regular user'''.


== How to test ==
== How to test ==


# Start '''Pavucontrol'''. You can use the desktop menu launcher ''PulseAudio Volume Control'' or <code>pavucontrol</code> on CLI.
# Start '''Pavucontrol''' and check that your sound device is listed on the '''Output devices''' tab.
# Connect a ''Bluetooth'' device and check that it appears in the device list.
# Connect a ''Bluetooth'' device and check that it appears in the list of devices.
# Disconnect the ''Bluetooth'' device and check that it disappears from the device list.
# Play some audio and confirm that it is playing over the Bluetooth device.
# If the HFP profile is available for your device, use '''Pavucontrol''' to switch between the Bluetooth profiles (from A2DP to HFP) and back.
# Disconnect the ''Bluetooth'' device and check that it disappears from the device list. Confirm that the audio immediately begins playing over the default sound device.
# If the HFP profile is available for your device, use '''Pavucontrol''' to switch between the Bluetooth profiles (from A2DP to HFP) and back and confirm that the device works with the HFP profile.
# If there are more codecs available for your device, use '''Pavucontrol''' to switch between them and confirm that they can be used for playing back.


== Expected results ==
== Expected results ==


# '''Pavucontrol''' starts and shows the available sound devices on the '''Output devices''' tab.
# '''Pavucontrol''' starts and shows the available sound devices on the '''Output devices''' tab.
# The audio is playing over the default sound device.
# When a Bluetooth device is connected, it appears in '''Pavucontrol''' and the sound is immediately routed through this device.
# When a Bluetooth device is connected, it appears in '''Pavucontrol''' on the device list and the sound is immediately routed through this device.
# When a Bluetooth device is disconnected, it disappears from the device list and the sound is immediately rerouted back to the original device.
# When a Bluetooth device is disconnected, it disappears from the device list and the sound is immediately rerouted back to the original device.
# The sound levels are restored to the previously used level for the particular output whenever it is switched to it.
# Profiles and codecs work if they are available.
# 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.

Revision as of 09:36, 17 February 2021

Bluetooth Devices

This test case tests that Bluetooth devices can be connected to the system and that the audio is correctly routed through these devices.

Setup

  1. This test case should be performed on a bare machine.
  2. The computer must be equipped with a sound device.
  3. The computer must be equipped with a Bluetooth adapter.
  4. Install a desktop version of Fedora 34 (or later).
  5. Install the pavucontrol package.
  6. Perform the following steps as a regular user.

How to test

  1. Start Pavucontrol and check that your sound device is listed on the Output devices tab.
  2. Connect a Bluetooth device and check that it appears in the list of devices.
  3. Play some audio and confirm that it is playing over the Bluetooth device.
  4. Disconnect the Bluetooth device and check that it disappears from the device list. Confirm that the audio immediately begins playing over the default sound device.
  5. If the HFP profile is available for your device, use Pavucontrol to switch between the Bluetooth profiles (from A2DP to HFP) and back and confirm that the device works with the HFP profile.
  6. If there are more codecs available for your device, use Pavucontrol to switch between them and confirm that they can be used for playing back.

Expected results

  1. Pavucontrol starts and shows the available sound devices on the Output devices tab.
  2. When a Bluetooth device is connected, it appears in Pavucontrol and the sound is immediately routed through this device.
  3. When a Bluetooth device is disconnected, it disappears from the device list and the sound is immediately rerouted back to the original device.
  4. Profiles and codecs work if they are available.