Kevin,

In my case it was a matter of setting pulse audio to use the correct alsa channel. I don't have access to the machine right now but from memory and using examples from the computer i am on,

on my machine now, doing `aplay -l` gives:

   card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
   card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0

on my nvidia machine there were two cards, the headphone jack and the hdmi port. The hdmi was card card 1. Card 1 had i think 4 devices named (think) 1,7,8,9.

You can make pulseaudio use the other card by

   echo "set-default-sink 1" >> /etc/pulse/default.pa

that will select the default device (above, card has multiple devices) though which is number 1, for me and others i saw the correct was 7. You can test it with:

   aplay -D hw1:7 test.wav

also hw1:1 -> hdmi1:0, hw1:7 -> hdmi1:1 etc, so

   aplay -D hdmi1:1 test.wav

should be the same thing. To make it permanent in /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf i had to change

   [Mapping hdmi-stereo]
   device-strings = hdmi:%f changes to hdmi:%f,1

There may be other ways to do it but i'm provisioning the system a lot so i needed something i could script.

Hope it helps.

Jamie

//On 07/08/2011 01:23 PM, Kevin Shackleton wrote:
I'm using a Toshiba NB550D netbook with Ubuntu 10.10 sometimes running an HDMI-connected screen, when 600 pixels vertical resolution just isn't enough. There was a patch to remove an nvidia watermark from the display (any screen), showing that maybe the drivers were not all that up to date. But where do you fiddle around with the sound-over-hdmi?
Thanks,
Kevin
On 8 July 2011 07:55, Jamie Lennox <[email protected] <mailto:[email protected]>> wrote:

    I've been working with the Xtreamer Ultras at work which is atom
    based, nvidia ION2 gt218.
    If you use the nvidia drivers (they need to be within about the
    last year) you can put audio over HDMI though it requires a bit of
    configuring.

    Jamie
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
    Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to