On Tue, 18 Nov 2014 21:02:32 +1100
Daiajo Tibdixious <[email protected]> wrote:

> 
> So the problem seems to be java using the wrong card, how to I force
> it to use the external speakers?
> 

The application may have a configuration setting that specifies
the audio device to use.  This would be found in some application
menu entry or in some application configuration file.

You may want to try specifying a default PCM entry in your
alsa asoundrc configuration file.  Information on that is
found here:

http://www.alsa-project.org/main/index.php/Asoundrc

Also, as Duncan suggested, you may want to disable the ATI HDMI
entirely.  There could be several methods to accomplish this, but
I use the following procedure.

Find the ATI HDMI pci id with:

lspci | grep -i audio

The ID is the leftmost field, for example, 01:00.1.

Now, find the correct directory in the /sys tree that corresponds
to this pci id:

find /sys/devices -name *01:00.1

This will give an output similar to this:

/sys/devices/pci0000:00/0000:00:03.0/0000:01:00.1

Now, add add this to the appropriate boot script:

echo 1 > /sys/devices/pci0000\:00/0000\:00\:03.0/0000\:01\:00.1/remove

(where the ":" character is escaped with "/")

At each boot the ATI HDMI audio will be disabled.

Let us know if this works for you.


Reply via email to