hmi-audio-volume-control manual
high
- Image Types:
- hmi-armhf / hmi-amd64 / sdk-amd64
- Image Deployment:
- APT, OSTree
- Type:
- compatibility
Description
Test that the volume controls work as expected
Pre Conditions
- The respective target (i.MX6 or UP Squared board) should be on and running
- Lilliput/LVDS touch screens must be connected to the respective targets
- When running the test on SabreLite boards using the headphone jack to check the audio output, the audio manager needs to be configured to route it accordingly as it defaults to the HDMI output:
- After reboot ensure that headphones will not be muted:
$ pactl set-default-sink alsa_output.platform-sound.stereo-fallback
$ pactl set-sink-port alsa_output.platform-sound.stereo-fallback analog-output-headphones
$ pactl set-sink-mute alsa_output.platform-sound.stereo-fallback false
Execution Steps
- Add the Flathub repository (only needed on SDK images)
- Install Rhythmbox from Flathub (only needed on SDK images)
- Open the Rhythmbox Music Application
- Play and Pause any song
- Click on the speaker icon on the display and increase/decrease the volume control
- A volume level controller pops up and the sound/volume level can be controlled using this
- Ensure that a song is being played
$ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install flathub org.gnome.Rhythmbox3
$ flatpak run org.gnome.Rhythmbox3
Expected
This testcase tests that the volume control functionality works as expected and the user can increase or decrease the sound/volume levels