Topic: HDMI ATI HDA SOUND - How I got HDMI sound working in #!
Threw some tags in the subject in case someone in the future does a search using the relevant taggs.
Spent over a day off and on trying to resolve my issue without resorting to installing Ubuntu's gnome-specific apps, even though I know they would have resolved my issue (Philip is turning me into a puritan).
Found this, worked immediately (snipping to where I started since previous portions dealt with installing the propietary ATI drivers and the proprietary driver installer that comes stock with Ubuntu/#! works just fine OOTB):
3. aplay -l lists audio devices:
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
...from this, you can see that determine that HDMI out will be plughw:1,3 (that is, card 1, device 3). As mentioned above, it has to be plughw, not just hw.
4. Run sudo alsamixer -c 1
5. There's no option to raise/lower volume, but you can un-mute by hitting 'm'. If you see a box at the bottom of the terminal window with 'mm' in it, you're muted. If it contains '00', you're un-muted.
6. Hit esc to quit.
7. Run aplay on a .wav file to test, like so: sudo aplay -D plughw:1,3 <soundfile>. If your device number was different, use that.
8. Assuming that all works, edit /etc/asound.conf (which may not exist yet), put this in it:
pcm.!default {
type hw
card 1
device 3
}
Again, use your device numbers. Now the 3200 HDMI is your default audio out.
The Alsa wiki page on Digital Out ([url]http://alsa.opensrc.org/index.php/DigitalOut#MythTV[/url]) was super-helpful.[edit to add: Original thread I found. ]
Last edited by kBang (2009-04-16 14:08:36)