1 |
On Tue, 18 Nov 2014 21:02:32 +1100 |
2 |
Daiajo Tibdixious <daiajo@×××××.com> wrote: |
3 |
|
4 |
> |
5 |
> So the problem seems to be java using the wrong card, how to I force |
6 |
> it to use the external speakers? |
7 |
> |
8 |
|
9 |
The application may have a configuration setting that specifies |
10 |
the audio device to use. This would be found in some application |
11 |
menu entry or in some application configuration file. |
12 |
|
13 |
You may want to try specifying a default PCM entry in your |
14 |
alsa asoundrc configuration file. Information on that is |
15 |
found here: |
16 |
|
17 |
http://www.alsa-project.org/main/index.php/Asoundrc |
18 |
|
19 |
Also, as Duncan suggested, you may want to disable the ATI HDMI |
20 |
entirely. There could be several methods to accomplish this, but |
21 |
I use the following procedure. |
22 |
|
23 |
Find the ATI HDMI pci id with: |
24 |
|
25 |
lspci | grep -i audio |
26 |
|
27 |
The ID is the leftmost field, for example, 01:00.1. |
28 |
|
29 |
Now, find the correct directory in the /sys tree that corresponds |
30 |
to this pci id: |
31 |
|
32 |
find /sys/devices -name *01:00.1 |
33 |
|
34 |
This will give an output similar to this: |
35 |
|
36 |
/sys/devices/pci0000:00/0000:00:03.0/0000:01:00.1 |
37 |
|
38 |
Now, add add this to the appropriate boot script: |
39 |
|
40 |
echo 1 > /sys/devices/pci0000\:00/0000\:00\:03.0/0000\:01\:00.1/remove |
41 |
|
42 |
(where the ":" character is escaped with "/") |
43 |
|
44 |
At each boot the ATI HDMI audio will be disabled. |
45 |
|
46 |
Let us know if this works for you. |