HDMI sound via ATI graphics card: Difference between revisions
From WickyWiki
Created page with "Category:Ubuntu Category:Ubuntu System Category:201307 The HDMI sound device might not be detected automatically when booting the computer without the television con..." |
No edit summary |
||
| Line 3: | Line 3: | ||
[[Category:201307]] | [[Category:201307]] | ||
The HDMI sound device might not be detected automatically when booting the computer without the television connected. | The HDMI sound device might not be detected automatically when booting the computer without the television connected. With this you can try to make sure the drivers are always loaded. | ||
First find your HDMI sound device, in this case '''card 1''', '''device 3''': | First find your HDMI sound device, in this case '''card 1''', '''device 3''': | ||
| Line 21: | Line 21: | ||
</blockquote> | </blockquote> | ||
Modify the following file to force load the driver | Modify the following file to force-load the driver: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
| Line 27: | Line 27: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Insert a line after 'module-alsa-sink': | Insert a line after ''module-alsa-sink'', use option 1,3 for card 1 and device 3: | ||
<blockquote> | <blockquote> | ||
| Line 39: | Line 39: | ||
</blockquote> | </blockquote> | ||
Reboot. | Reboot your system. | ||
Test (card 1 | Test with ''aplay'' or with ''speaker-test'' (card 1, device 3): | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
aplay -D plughw:1,3 alarm.wav | aplay -D plughw:1,3 ~/Scripts/other/alarm.wav | ||
speaker-test -c 2 -r 48000 -D hw:1,3 | speaker-test -c 2 -r 48000 -D hw:1,3 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:10, 1 July 2013
The HDMI sound device might not be detected automatically when booting the computer without the television connected. With this you can try to make sure the drivers are always loaded.
First find your HDMI sound device, in this case card 1, device 3:
aplay -l
**** List of PLAYBACK Hardware Devices **** ... card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0
Modify the following file to force-load the driver:
sudo gedit /etc/pulse/default.pa
Insert a line after module-alsa-sink, use option 1,3 for card 1 and device 3:
... #load-module module-alsa-sink #20130701,wjv force load HDMI sound driver card 1, device 3: load-module module-alsa-sink device=hw:1,3 ...
Reboot your system.
Test with aplay or with speaker-test (card 1, device 3):
aplay -D plughw:1,3 ~/Scripts/other/alarm.wav speaker-test -c 2 -r 48000 -D hw:1,3
Make sure the card is not muted:
sudo apt-get install gnome-alsamixer alsamixer
- F6 to select the device
- M to mute/unmute