i hope the OP gets his bonnet working properly - it really is a brilliant solution (kudos to the designer)
here's a bonus bonnet solution (i banged my forehead against the PIXEL desktop for half a morning on this one [nyuk nyuk nyuk!]):
Problem:
after installing the bonnet, then configuring /boot/config.txt and /etc/asound.conf, selecting the proper audio prefs, making the controls the default, etc. - the bonnet was working great! i had software volume control for playing streaming or local music (i use cheap thrift store Sony bookshelf speakers and old Optimus Rat Shack speakers for my two systems)
my main entertainment system is an RPi3 in a Western Digital case, booting off a 300GB hard drive; the bonnet is installed, with leads going out to a set of four press-clip speaker wire connectors; the HDMI is hooked up to a 50" Visio, and i use a wireless Logitech K400 keyboard/touchmouse to control the desktop
i wanted to play movies, but not use OpenELEC or other specialized distros; and however, AFAIK, there is only one free, off-the-shelf video player capable of playing movies via an RPi3 - vlc, unless specially recompiled, won't do it - and that application is omxplayer, a command-line utility!
but when i tried playing movies, no matter i tried to do, the sound was routed through HDMI to the TV's speakers! after some research i finally found the proper 'incantation' to specify the bonnet's hardware to be used for a movie's audio playback! i created a shell script called doit:
Code: Select all
#!/bin/sh
/usr/bin/omxplayer -b -o alsa:hw:0.0 $1
i could then open a terminal and play a movie:
this was kind off a pain, so i then used the file manager to right-click on a movie file, and chose open-with to create an association:
(i needed to do this separately for all movie types, such as .mp4 or .mkv)
now i can sit on the couch, browse through my videos, and play them with a mouse-click - and the audio goes through the bonnet!
hth