Skip to contentSkip to conversation

Nvidia hdmi problems

DISCUSSION Nir Tzachar 3 participants 24 messages Oct 20, 2008 – Oct 24, 2008 6 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I have been trying to get audio through hdmi to work for some time now. I have cloned the sound-2.6 repository to get the latest drivers, which should support hdmi, AFAIK.

Motherboard is Gigabyte GA-73PVM-S2H, with nforce 630i and realtek alc889a.

aplay lists the hdmi device:

Quoted 1 line

aplay -L

default:CARD=NVidia
HDA NVidia, ALC885 Analog
Default Audio Device
front:CARD=NVidia,DEV=0
HDA NVidia, ALC885 Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC885 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC885 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC885 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC885 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC885 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC885 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)

but,

Quoted 1 line

aplay -D hdmi test.wav

aplay: main:583: audio open error: No such file or directory

fails when trying to open /dev/snd/pcmC0D3p

only the following devices exists:
/dev/snd/seq
/dev/snd/controlC0
/dev/snd/pcmC0D0c
/dev/snd/pcmC0D0p
/dev/snd/pcmC0D1c
/dev/snd/pcmC0D1p
/dev/snd/pcmC0D2c
/dev/snd/timer

I am using alsa-lib and alsa-utils 1.0.17 .

Does anyone have an idea?

Thanks.

#1 lore raw

At Mon, 20 Oct 2008 16:35:01 +0200,

Quoted 6 lines · Nir Tzachar

Hello,

I have been trying to get audio through hdmi to work for some time now. I have cloned the sound-2.6 repository to get the latest drivers, which should support hdmi, AFAIK.

Try more later version, from my sound git tree, or even Linus tree.

    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Takashi

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

At Tue, 21 Oct 2008 09:30:21 +0200,

Quoted 13 lines · Nir Tzachar

Hello.

Quoted 9 lines · Takashi Iwai

At Mon, 20 Oct 2008 16:35:01 +0200,

Quoted 6 lines · Nir Tzachar

Hello,

I have been trying to get audio through hdmi to work for some time now. I have cloned the sound-2.6 repository to get the latest drivers, which should support hdmi, AFAIK.

Quoted 5 lines
Quoted 2 lines

Try more later version, from my sound git tree, or even Linus tree.
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

I tried yesterday's version. Apart from not having hdmi output, it had problems with volume control.

Please elaborate?

Takashi

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

At Tue, 21 Oct 2008 09:39:49 +0200,

Quoted 20 lines · Nir Tzachar
Quoted 18 lines · Takashi Iwai

At Tue, 21 Oct 2008 09:30:21 +0200,

Quoted 16 lines · Nir Tzachar

Hello.

Quoted 11 lines · Takashi Iwai

At Mon, 20 Oct 2008 16:35:01 +0200,

Quoted 6 lines · Nir Tzachar

Hello,

I have been trying to get audio through hdmi to work for some time now. I have cloned the sound-2.6 repository to get the latest drivers, which should support hdmi, AFAIK.

Try more later version, from my sound git tree, or even Linus tree.
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I tried yesterday's version. Apart from not having hdmi output, it had problems with volume control.

Please elaborate?

I performed a git-clone on the repository. The head was b47d892509f2d908974781443d29b11dcd29d809.

Better to pull onto the latest Linus tree.
That is, clone linux-2.6.git, then pull from sound-2.6.git.

Quoted 3 lines

When I played a movie in mplayer and touch the volume controls, mplayer got stuck. I can perform other tests. I'll also try to update the tree.

Which device are you using? HDMI or other?
Also, please check whether this happens with Linus tree and 2.6.27.x, too.

thanks,

Takashi

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

At Tue, 21 Oct 2008 09:52:46 +0200,

Quoted 41 lines · Nir Tzachar
Quoted 25 lines · Takashi Iwai

At Tue, 21 Oct 2008 09:39:49 +0200,

Quoted 23 lines · Nir Tzachar
Quoted 21 lines · Takashi Iwai

At Tue, 21 Oct 2008 09:30:21 +0200,

Quoted 18 lines · Nir Tzachar

Hello.

Quoted 11 lines · Takashi Iwai

At Mon, 20 Oct 2008 16:35:01 +0200,

Quoted 6 lines · Nir Tzachar

Hello,

I have been trying to get audio through hdmi to work for some time now. I have cloned the sound-2.6 repository to get the latest drivers, which should support hdmi, AFAIK.

Try more later version, from my sound git tree, or even Linus tree.
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

I tried yesterday's version. Apart from not having hdmi output, it had problems with volume control.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Please elaborate?

I performed a git-clone on the repository. The head was b47d892509f2d908974781443d29b11dcd29d809.

Better to pull onto the latest Linus tree.
That is, clone linux-2.6.git, then pull from sound-2.6.git.

ok, will do this.

Quoted 4 lines
Quoted 3 lines

When I played a movie in mplayer and touch the volume controls, mplayer got stuck. I can perform other tests. I'll also try to update the tree.

Quoted 5 lines
Quoted 3 lines

Which device are you using? HDMI or other?
Also, please check whether this happens with Linus tree and 2.6.27.x, too.

Using the analog device, and it works under 2.6.27.1 flawlessly.

OK, then it must be a regression.
If it works with Linus tree, the problem is the post 2.6.28 stuff. If it doesn't work with Linus tree, too, it's likely changes to patch_realtek.c...

thanks,

Takashi

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw

At Tue, 21 Oct 2008 13:28:25 +0200,

Quoted 8 lines · Nir Tzachar

Hello.

Updated to the latest linus-git tree, and pulled in the sound-2.6 tree.

The good news are that by following Wei's instructions (adding the device id in patch_nvhdmi.c), I managed to get audio through the hdmi. Goodie.

Could you give details?

Quoted 3 lines

The bad news are that mplayer misbehaves and will get stuck every time I try to change the volume. However, this does not happen in vlc. Any ideas?

Well, we need to sort out where the problem comes from. Try the vanilla Linus tree without sound-2.6 whether the problem persists.

thanks,

Takashi

Quoted 61 lines · Takashi Iwai
Quoted 59 lines

At Tue, 21 Oct 2008 09:52:46 +0200,

Quoted 41 lines · Nir Tzachar
Quoted 25 lines · Takashi Iwai

At Tue, 21 Oct 2008 09:39:49 +0200,

Quoted 23 lines · Nir Tzachar
Quoted 21 lines · Takashi Iwai

At Tue, 21 Oct 2008 09:30:21 +0200,

Quoted 18 lines · Nir Tzachar

Hello.

Quoted 11 lines · Takashi Iwai

At Mon, 20 Oct 2008 16:35:01 +0200,

Quoted 6 lines · Nir Tzachar

Hello,

I have been trying to get audio through hdmi to work for some time now. I have cloned the sound-2.6 repository to get the latest drivers, which should support hdmi, AFAIK.

Try more later version, from my sound git tree, or even Linus tree.
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

I tried yesterday's version. Apart from not having hdmi output, it had problems with volume control.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Please elaborate?

I performed a git-clone on the repository. The head was b47d892509f2d908974781443d29b11dcd29d809.

Better to pull onto the latest Linus tree.
That is, clone linux-2.6.git, then pull from sound-2.6.git.

ok, will do this.

Quoted 4 lines
Quoted 3 lines

When I played a movie in mplayer and touch the volume controls, mplayer got stuck. I can perform other tests. I'll also try to update the tree.

Quoted 5 lines
Quoted 3 lines

Which device are you using? HDMI or other?
Also, please check whether this happens with Linus tree and 2.6.27.x, too.

Using the analog device, and it works under 2.6.27.1 flawlessly.

OK, then it must be a regression.
If it works with Linus tree, the problem is the post 2.6.28 stuff. If it doesn't work with Linus tree, too, it's likely changes to patch_realtek.c...

thanks,

Takashi

A message that is not in the archive (sent off-list or not yet received): [email protected]

#11 lore raw

At Tue, 21 Oct 2008 14:46:19 +0200,

Quoted 18 lines · Nir Tzachar

Hello

Quoted 5 lines · Takashi Iwai

At Tue, 21 Oct 2008 13:28:25 +0200,

Quoted 3 lines · Nir Tzachar

Hello.

Quoted 8 lines
Quoted 5 lines

Updated to the latest linus-git tree, and pulled in the sound-2.6 tree.

The good news are that by following Wei's instructions (adding the device id in patch_nvhdmi.c), I managed to get audio through the hdmi. Goodie.

Could you give details?

Quoted 7 lines

I just did this:

Quoted 3 lines

You can try to add device id (0x10de8001) to snd_hda_preset_nvhdmi table in patch_nvhdmi.c.
You also need to install latest display driver.

and told alsa to play through the third pcm device.

Thanks. So it's just a missing entry.

Wei, do you have a patch for this addition?

Quoted 9 lines
Quoted 7 lines
Quoted 3 lines

The bad news are that mplayer misbehaves and will get stuck every time I try to change the volume. However, this does not happen in vlc. Any ideas?

Well, we need to sort out where the problem comes from. Try the vanilla Linus tree without sound-2.6 whether the problem persists.

I'll try to remove the sound-2.6 tree and report.

That'll be helpful. Thanks.

Takashi

#12 lore raw

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Thanks
Wei

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Tuesday, October 21, 2008 8:49 PM
To: Nir Tzachar
Cc: Wei Ni; [email protected]
Subject: Re: Nvidia hdmi problems

At Tue, 21 Oct 2008 14:46:19 +0200,

Quoted 10 lines · Nir Tzachar

Hello

Quoted 6 lines · Takashi Iwai

At Tue, 21 Oct 2008 13:28:25 +0200,

Quoted 4 lines · Nir Tzachar

Hello.

Updated to the latest linus-git tree, and pulled in the sound-2.6

tree.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

The good news are that by following Wei's instructions (adding the device id in patch_nvhdmi.c), I managed to get audio through the

hdmi.

Quoted 5 lines
Quoted 4 lines
Quoted 1 line

Goodie.

Could you give details?

Quoted 7 lines

I just did this:

Quoted 3 lines

You can try to add device id (0x10de8001) to snd_hda_preset_nvhdmi table in patch_nvhdmi.c.
You also need to install latest display driver.

and told alsa to play through the third pcm device.

Thanks. So it's just a missing entry.

Wei, do you have a patch for this addition?

Quoted 1 line
Quoted 1 line
Quoted 1 line

The bad news are that mplayer misbehaves and will get stuck every

time

Quoted 1 line
Quoted 1 line
Quoted 1 line

I try to change the volume. However, this does not happen in vlc.

Any

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

ideas?

Well, we need to sort out where the problem comes from. Try the vanilla Linus tree without sound-2.6 whether the problem persists.

I'll try to remove the sound-2.6 tree and report.

That'll be helpful. Thanks.

Takashi
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

A message that is not in the archive (sent off-list or not yet received): [email protected]

#14 lore raw

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 8 lines · Nir Tzachar
Quoted 6 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

Quoted 5 lines
Quoted 2 lines

I think if someone interest in it and do some test, he can generate patch and submit it.

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

Takashi

#15 lore raw
Quoted 10 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 8 lines · Nir Tzachar
Quoted 6 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I think if someone interest in it and do some test, he can generate patch and submit it.

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream? Can you give specific commands which should work?

Quoted 3 lines

Takashi

#16 lore raw

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Takashi

#17 lore raw
Quoted 23 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 21 lines · Nir Tzachar
Quoted 18 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 8 lines · Nir Tzachar
Quoted 6 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

Quoted 5 lines
Quoted 2 lines

I think if someone interest in it and do some test, he can generate patch and submit it.

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

Quoted 8 lines
Quoted 1 line

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):
pcm.card0 {
type hw
card 0
}

pcm.dmixer {
type dmix
ipc_key 1025

  slave {
    pcm "hw:0,3"
    period_time 0
    period_size 2048
    buffer_size 32768
    rate 48000
  }
  bindings {
    0 0
    1 1

}
}

#18 lore raw

At Thu, 23 Oct 2008 20:34:30 +0200,

Quoted 29 lines · Nir Tzachar
Quoted 27 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):

Well, I guess this won't be a non-audio mode.
Try to get the latest alsa-tools git tree. I changed ac3dec and now it has -H option. Specify this together with -C,

	% ac3dec -C -H foo.ac3

This will be the AC3 passthru testing.

HTH,

Takashi

#19 lore raw
Quoted 39 lines · Takashi Iwai

At Thu, 23 Oct 2008 20:34:30 +0200,

Quoted 29 lines · Nir Tzachar
Quoted 27 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):

Quoted 7 lines

Well, I guess this won't be a non-audio mode.
Try to get the latest alsa-tools git tree. I changed ac3dec and now it has -H option. Specify this together with -C,

       % ac3dec -C -H foo.ac3

This will be the AC3 passthru testing.

http://git.alsa-project.org/http/alsa-tools.git
cd alsa-tools
make

results with a ac3decode without an H option.
HEAD: 8a3b9b29010669c085f1821ebc6b6a2672d8d93a
which is date to 9/9

Anyway, with the version of ac3dec I got, it works _only_ with the following options: -D hdmi -R

Cheers,
Nir

#20 lore raw

At Thu, 23 Oct 2008 22:08:15 +0200,

Quoted 49 lines · Nir Tzachar
Quoted 39 lines · Takashi Iwai

At Thu, 23 Oct 2008 20:34:30 +0200,

Quoted 29 lines · Nir Tzachar
Quoted 27 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):

Quoted 7 lines

Well, I guess this won't be a non-audio mode.
Try to get the latest alsa-tools git tree. I changed ac3dec and now it has -H option. Specify this together with -C,

       % ac3dec -C -H foo.ac3

This will be the AC3 passthru testing.

Quoted 7 lines

http://git.alsa-project.org/http/alsa-tools.git
cd alsa-tools
make

results with a ac3decode without an H option.
HEAD: 8a3b9b29010669c085f1821ebc6b6a2672d8d93a
which is date to 9/9

Oops, I seem to have forgotten to push.
Pushed out now.

Takashi

#21 lore raw
Quoted 50 lines · Takashi Iwai

At Thu, 23 Oct 2008 22:08:15 +0200,

Quoted 48 lines · Nir Tzachar
Quoted 46 lines · Takashi Iwai

At Thu, 23 Oct 2008 20:34:30 +0200,

Quoted 29 lines · Nir Tzachar
Quoted 27 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):

Well, I guess this won't be a non-audio mode.
Try to get the latest alsa-tools git tree. I changed ac3dec and now it has -H option. Specify this together with -C,

       % ac3dec -C -H foo.ac3

This will be the AC3 passthru testing.

This is the only one that works:

./ac3dec -R --hdmi /tmp/ac3_the_other_side_48khz.ac3
5.1 Mode 48.0 KHz 640 kbps Complete Main Audio Service Using PCM device 'plug:hdmi:{AES0 0x0 AES1 0x82 AES2 0x0 AES3 0x2}'

-P and -C give me a strange mewling..

BTW, -H does not work, only --hdmi.

Quoted 11 lines
Quoted 8 lines

http://git.alsa-project.org/http/alsa-tools.git
cd alsa-tools
make

results with a ac3decode without an H option.
HEAD: 8a3b9b29010669c085f1821ebc6b6a2672d8d93a
which is date to 9/9

Oops, I seem to have forgotten to push.
Pushed out now.

Cheers,
Nir.

Quoted 3 lines

Takashi

#22 lore raw

At Fri, 24 Oct 2008 09:32:43 +0200,

Quoted 55 lines · Nir Tzachar
Quoted 50 lines · Takashi Iwai

At Thu, 23 Oct 2008 22:08:15 +0200,

Quoted 48 lines · Nir Tzachar
Quoted 46 lines · Takashi Iwai

At Thu, 23 Oct 2008 20:34:30 +0200,

Quoted 29 lines · Nir Tzachar
Quoted 27 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):

Well, I guess this won't be a non-audio mode.
Try to get the latest alsa-tools git tree. I changed ac3dec and now it has -H option. Specify this together with -C,

       % ac3dec -C -H foo.ac3

This will be the AC3 passthru testing.

This is the only one that works:

Quoted 7 lines

./ac3dec -R --hdmi /tmp/ac3_the_other_side_48khz.ac3
5.1 Mode 48.0 KHz 640 kbps Complete Main Audio Service Using PCM device 'plug:hdmi:{AES0 0x0 AES1 0x82 AES2 0x0 AES3 0x2}'

-P and -C give me a strange mewling..

BTW, -H does not work, only --hdmi.

The patch below should fix the missing -H option.

With the option -R, ac3dec itself decodes the AC3 stream, and send it as PCM. To make your receiver decoding AC3, -C/-P is needed.

Can you show alsa-info.sh output (with --no-upload option)? If you have two "IEC958 Playback Default" controls with index 0 and 1, the latter is likely the one for HDMI.

Try to adjust it manually via iecset program in alsa-utils
% iecset -c0 -n1 pro off audio off
then run ac3dec

	% ac3dec -H -C foo.ac3

thanks,

Takashi

ac3dec/ac3dec.c +1 -1
index c45148c..293a95c 100644
@@ -134,7 +134,7 @@ int main(int argc,char *argv[])
 	while (1) {
 		int c;
 
-		if ((c = getopt_long(argc, argv, "hvc:D:46CPRZ:q", long_option, NULL)) < 0)
+		if ((c = getopt_long(argc, argv, "hvc:D:46HCPRZ:q", long_option, NULL)) < 0)
 			break;
 		switch (c) {
 		case 'h':
#23 lore raw
Quoted 98 lines · Takashi Iwai

At Fri, 24 Oct 2008 09:32:43 +0200,

Quoted 55 lines · Nir Tzachar
Quoted 50 lines · Takashi Iwai

At Thu, 23 Oct 2008 22:08:15 +0200,

Quoted 48 lines · Nir Tzachar
Quoted 46 lines · Takashi Iwai

At Thu, 23 Oct 2008 20:34:30 +0200,

Quoted 29 lines · Nir Tzachar
Quoted 27 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):

Well, I guess this won't be a non-audio mode.
Try to get the latest alsa-tools git tree. I changed ac3dec and now it has -H option. Specify this together with -C,

       % ac3dec -C -H foo.ac3

This will be the AC3 passthru testing.

This is the only one that works:

Quoted 7 lines

./ac3dec -R --hdmi /tmp/ac3_the_other_side_48khz.ac3
5.1 Mode 48.0 KHz 640 kbps Complete Main Audio Service Using PCM device 'plug:hdmi:{AES0 0x0 AES1 0x82 AES2 0x0 AES3 0x2}'

-P and -C give me a strange mewling..

BTW, -H does not work, only --hdmi.

The patch below should fix the missing -H option.

With the option -R, ac3dec itself decodes the AC3 stream, and send it as PCM. To make your receiver decoding AC3, -C/-P is needed.

Can you show alsa-info.sh output (with --no-upload option)? If you have two "IEC958 Playback Default" controls with index 0 and 1, the latter is likely the one for HDMI.

Try to adjust it manually via iecset program in alsa-utils
% iecset -c0 -n1 pro off audio off
then run ac3dec

       % ac3dec -H -C foo.ac3

thanks,

Takashi

ac3dec/ac3dec.c +1 -1
index c45148c..293a95c 100644
@@ -134,7 +134,7 @@ int main(int argc,char *argv[])
       while (1) {
               int c;
 
-               if ((c = getopt_long(argc, argv, "hvc:D:46CPRZ:q", long_option, NULL)) < 0)
+               if ((c = getopt_long(argc, argv, "hvc:D:46HCPRZ:q", long_option, NULL)) < 0)
                       break;
               switch (c) {
               case 'h':
#24 lore raw
In reply to Takashi Iwai
Quoted 70 lines · Takashi Iwai

At Fri, 24 Oct 2008 09:32:43 +0200,

Quoted 55 lines · Nir Tzachar
Quoted 50 lines · Takashi Iwai

At Thu, 23 Oct 2008 22:08:15 +0200,

Quoted 48 lines · Nir Tzachar
Quoted 46 lines · Takashi Iwai

At Thu, 23 Oct 2008 20:34:30 +0200,

Quoted 29 lines · Nir Tzachar
Quoted 27 lines · Takashi Iwai

At Wed, 22 Oct 2008 19:09:41 +0200,

Quoted 15 lines · Nir Tzachar
Quoted 13 lines · Takashi Iwai

At Wed, 22 Oct 2008 06:43:06 +0200,

Quoted 11 lines · Nir Tzachar
Quoted 8 lines · Wei Ni

Hi, Takshi
We have no official plan to support this nforce 630i HDMI audio in linux now,
and we didn't do any test on it yet. So we can't provide the official patch for this addition.

I think if someone interest in it and do some test, he can generate patch and submit it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

As I am interested, and willing o do the tests, I would be happy to know which tests are needed.

If you can play both audio streams and non-audio streams over the device by some applications, it's basically confirmed to work :)

What do you mean by non-audio stream?

The passthrough of AC3 stream or so.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Can you give specific commands
which should work?

I usually test using ac3dec program included in alsa-tools.

Tried ac3decode, and got a perfect sound out. I am using the following asound.conf (if it is relevant):

Well, I guess this won't be a non-audio mode.
Try to get the latest alsa-tools git tree. I changed ac3dec and now it has -H option. Specify this together with -C,

       % ac3dec -C -H foo.ac3

This will be the AC3 passthru testing.

This is the only one that works:

Quoted 7 lines

./ac3dec -R --hdmi /tmp/ac3_the_other_side_48khz.ac3
5.1 Mode 48.0 KHz 640 kbps Complete Main Audio Service Using PCM device 'plug:hdmi:{AES0 0x0 AES1 0x82 AES2 0x0 AES3 0x2}'

-P and -C give me a strange mewling..

BTW, -H does not work, only --hdmi.

The patch below should fix the missing -H option.

With the option -R, ac3dec itself decodes the AC3 stream, and send it as PCM. To make your receiver decoding AC3, -C/-P is needed.

Quoted 8 lines

Can you show alsa-info.sh output (with --no-upload option)? If you have two "IEC958 Playback Default" controls with index 0 and 1, the latter is likely the one for HDMI.

Try to adjust it manually via iecset program in alsa-utils
% iecset -c0 -n1 pro off audio off
then run ac3dec

       % ac3dec -H -C foo.ac3

I don't get any sound (at all, not even regular pcm) after doing this. Maybe my TV is not capable of ac3 input? Is this possible?

Quoted 19 lines

thanks,

Takashi

ac3dec/ac3dec.c +1 -1
index c45148c..293a95c 100644
@@ -134,7 +134,7 @@ int main(int argc,char *argv[])
       while (1) {
               int c;
 
-               if ((c = getopt_long(argc, argv, "hvc:D:46CPRZ:q", long_option, NULL)) < 0)
+               if ((c = getopt_long(argc, argv, "hvc:D:46HCPRZ:q", long_option, NULL)) < 0)
                       break;
               switch (c) {
               case 'h':
#25 lore raw

At Fri, 24 Oct 2008 13:33:17 +0200,

Quoted 5 lines · Nir Tzachar
Quoted 5 lines

Can you show alsa-info.sh output (with --no-upload option)? If you have two "IEC958 Playback Default" controls with index 0 and 1, the latter is likely the one for HDMI.

Quoted 7 lines
Quoted 4 lines

Try to adjust it manually via iecset program in alsa-utils
% iecset -c0 -n1 pro off audio off
then run ac3dec

       % ac3dec -H -C foo.ac3

I don't get any sound (at all, not even regular pcm) after doing this. Maybe my TV is not capable of ac3 input? Is this possible?

Not sure about this, but I guess usually AC3-decoding should work on device.

What shows "iecset -n1" output?

Also, please show the alsa-info.sh output (with --no-upload option) in your current state.

thanks,

Takashi

#26 lore raw
Quoted 20 lines · Takashi Iwai

At Fri, 24 Oct 2008 13:33:17 +0200,

Quoted 5 lines · Nir Tzachar
Quoted 5 lines

Can you show alsa-info.sh output (with --no-upload option)? If you have two "IEC958 Playback Default" controls with index 0 and 1, the latter is likely the one for HDMI.

Quoted 7 lines
Quoted 4 lines

Try to adjust it manually via iecset program in alsa-utils
% iecset -c0 -n1 pro off audio off
then run ac3dec

       % ac3dec -H -C foo.ac3

I don't get any sound (at all, not even regular pcm) after doing this. Maybe my TV is not capable of ac3 input? Is this possible?

Not sure about this, but I guess usually AC3-decoding should work on device.

What shows "iecset -n1" output?

Quoted 8 lines

Also, please show the alsa-info.sh output (with --no-upload option) in your current state.

thanks,

Takashi

$iecset -n1
Mode: professional
Data: audio
Rate: unknown
Rate Locked: yes
Emphasis: none
Stereophonic: not indicated
Userbits: unkown
Sample Bits: unknown
Word Length: unknown

$iecset -n0
Mode: consumer
Data: non-audio
Rate: 44100 Hz
Copyright: permitted
Emphasis: none
Category: general
Original: 1st generation
Clock: 1000 ppm

alsa-info.sh:

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.51
!!################################

!!Script ran on: Fri Oct 24 13:23:01 IST 2008

!!Linux Distribution
!!------------------

Gentoo Base System release 1.12.11.1

!!Kernel Information
!!------------------

Kernel release:    2.6.27.1
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
SMP Enabled:       Yes

!!ALSA Version
!!------------

Driver version:     1.0.18rc3
Library version:    1.0.17a
Utilities version:  1.0.17

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Soundcards recognised by ALSA
!!-----------------------------

0 [NVidia ]: HDA-Intel - HDA NVidia

                      HDA NVidia at 0xe5100000 irq 23

!!PCI Soundcards installed in the system
!!--------------------------------------

00:09.0 Audio device: nVidia Corporation Device 07fc (rev a1)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's !!--------------------------------------------------------

00:09.0 0403: 10de:07fc (rev a1)

	Subsystem: 1458:a002

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC889A
Address: 0
Vendor Id: 0x10ec0885
Subsystem Id: 0x1458e601
Revision Id: 0x100101
No Modem Function Group found
Default PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
Converter: stream=0, channel=0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital: Enabled Non-Audio
Digital category: 0x0
PCM:

    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM

Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x24

Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23

Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22

Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital:
Digital category: 0x0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x1f

Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x17 0x17] [0x80 0x80] [0x97 0x97] [0x80
0x80] [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
Connection: 10

     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17

Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x30 0x2f]
Connection: 2

     0x02 0x0b

Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
Connection: 2

     0x03 0x0b

Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
Connection: 2

     0x04 0x0b

Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
Connection: 2

     0x05 0x0b

Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000373c: IN OUT HP Detect

    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014410: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000373c: IN OUT HP Detect

    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01011412: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26

Node 0x16 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000003c: IN OUT HP Detect
Pin Default 0x01016411: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Orange
DefAssociation = 0x1, Sequence = 0x1
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 5

     0x0c 0x0d 0x0e* 0x0f 0x26

Node 0x17 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000003c: IN OUT HP Detect
Pin Default 0x01012414: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Grey
DefAssociation = 0x1, Sequence = 0x4
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 5

     0x0c 0x0d 0x0e 0x0f* 0x26

Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000373c: IN OUT HP Detect

    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19c40: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000373c: IN OUT HP Detect

    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a19c50: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000373c: IN OUT HP Detect

    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181344f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x4, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000373c: IN OUT HP Detect

    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214c20: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x593301f0: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4005e601: [N/A] Line Out at Ext N/A
Conn = Optical, Color = White DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x014b6130: [Jack] SPDIF Out at Ext Rear
Conn = Comb, Color = Orange DefAssociation = 0x3, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x06

Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
Pincap 0x00000020: IN
Pin Default 0x01cb7160: [Jack] SPDIF In at Ext Rear
Conn = Comb, Color = Yellow
DefAssociation = 0x6, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=17
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
Volume-Knob: delta=0, steps=32, direct=0, val=0
Unsolicited: tag=00, enabled=0
Connection: 0
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11

     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b

Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11

     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b

Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11

     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x25 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
Connection: 2

     0x25 0x0b

Codec: Generic 10de NVIDIA 630i HDMI
Address: 3
Vendor Id: 0x10de8001
Subsystem Id: 0x10de0101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x04 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital: Enabled Non-Audio
Digital category: 0x0
PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x5]: PCM AC3

Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000014: OUT Detect
Pin Default 0x185601f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1

     0x04

--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root audio 116,  9 Oct 23 21:46 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  8 Oct 23 21:46 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116,  7 Oct 23 21:46 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116,  6 Oct 23 21:46 /dev/snd/pcmC0D1c
crw-rw---- 1 root audio 116,  5 Oct 23 21:54 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  4 Oct 23 21:46 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116,  3 Oct 24 13:19 /dev/snd/pcmC0D3p

crw-rw---- 1 root audio 116, 10 Oct 23 21:46 /dev/snd/seq crw-rw---- 1 root audio 116, 2 Oct 23 21:46 /dev/snd/timer

!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

pcm.card0 {
type hw
card 0
}

pcm.dmixer {
type dmix
ipc_key 1025

  slave {
    pcm "hw:0,3"
    period_time 0
    period_size 2048
    buffer_size 32768
    rate 48000
  }
  bindings {
    0 0
    1 1

}
}

pcm.skype {
type asym

playback.pcm "dmixer"
capture.pcm "card0"
}

pcm.!default {
type plug
slave.pcm "skype"
}

!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC885 Analog [ALC885 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC885 Digital [ALC885 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC885 Analog [ALC885 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC885 Digital [ALC885 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: ALC885 Analog [ALC885 Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [NVidia]

Card hw:0 'NVidia'/'HDA NVidia at 0xe5100000 irq 23'
Mixer name : 'Generic 10de NVIDIA 630i HDMI'
Components : 'HDA:10ec0885,1458e601,00100101 HDA:10de8001,10de0101,00100000'
Controls : 47
Simple ctrls : 25
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 102 [40%] [-30.60dB]
Front Right: Playback 102 [40%] [-30.60dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 48 [75%] [-16.00dB] [on] Front Right: Playback 47 [73%] [-17.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [0.00dB] [on]
Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%]
Front Right: 3 [100%]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%]
Front Right: 0 [0%]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Capture',2
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '6ch' '8ch'
Item0: '8ch'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Mic'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Mic'

!!Alsactl output
!!-------------

--startcollapse--

state.NVidia {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -6400
		comment.dbmax 0
		iface MIXER
		name 'Front Playback Volume'
		value.0 48
		value.1 47
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -6400
		comment.dbmax 0
		iface MIXER
		name 'Surround Playback Volume'
		value.0 64
		value.1 64
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -6400
		comment.dbmax 0
		iface MIXER
		name 'Center Playback Volume'
		value 64
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -6400
		comment.dbmax 0
		iface MIXER
		name 'LFE Playback Volume'
		value 64
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Center Playback Switch'
		value true
	}
	control.8 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'LFE Playback Switch'
		value true
	}
	control.9 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -6400
		comment.dbmax 0
		iface MIXER
		name 'Side Playback Volume'
		value.0 64
		value.1 64
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Side Playback Switch'
		value.0 true
		value.1 true
	}
	control.11 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.12 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'CD Playback Volume'
		value.0 0
		value.1 0
	}
	control.13 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'CD Playback Switch'
		value.0 false
		value.1 false
	}
	control.14 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
	}
	control.15 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
	}
	control.16 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mic Boost'
		value.0 0
		value.1 0
	}
	control.18 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
	}
	control.19 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 23
		value.1 23
	}
	control.20 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Front Mic Boost'
		value.0 3
		value.1 3
	}
	control.21 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 true
		value.1 true
	}
	control.22 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'PC Speaker Playback Volume'
		value.0 0
		value.1 0
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'PC Speaker Playback Switch'
		value.0 false
		value.1 false
	}
	control.24 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 '6ch'
		comment.item.1 '8ch'
		iface MIXER
		name 'Channel Mode'
		value '8ch'
	}
	control.25 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 46'
		comment.dbmin -1600
		comment.dbmax 3000
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
	}
	control.26 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
	}
	control.27 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 46'
		comment.dbmin -1600
		comment.dbmax 3000
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.28 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.29 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 46'
		comment.dbmin -1600
		comment.dbmax 3000
		iface MIXER
		name 'Capture Volume'
		index 2
		value.0 0
		value.1 0
	}
	control.30 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 2
		value.0 false
		value.1 false
	}
	control.31 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		value Mic
	}
	control.32 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
	}
	control.33 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		index 2
		value Mic
	}
	control.34 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.35 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.36 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.37 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.38 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.39 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Capture Switch'
		value false
	}
	control.40 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Capture Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.41 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -6400
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 64
	}
	control.42 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.43 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.44 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.45 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.46 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
	}
	control.47 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 102
		value.1 102
	}
}

--endcollapse--

!!All Loaded Modules
!!------------------

Module
snd_pcm_oss
snd_mixer_oss
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_hda_intel
snd_pcm
snd_timer
snd
snd_page_alloc
nvidia
usbhid

#27 lore raw

At Fri, 24 Oct 2008 17:22:43 +0200,

Quoted 31 lines · Nir Tzachar
Quoted 20 lines · Takashi Iwai

At Fri, 24 Oct 2008 13:33:17 +0200,

Quoted 5 lines · Nir Tzachar
Quoted 5 lines

Can you show alsa-info.sh output (with --no-upload option)? If you have two "IEC958 Playback Default" controls with index 0 and 1, the latter is likely the one for HDMI.

Quoted 7 lines
Quoted 4 lines

Try to adjust it manually via iecset program in alsa-utils
% iecset -c0 -n1 pro off audio off
then run ac3dec

       % ac3dec -H -C foo.ac3

I don't get any sound (at all, not even regular pcm) after doing this. Maybe my TV is not capable of ac3 input? Is this possible?

Not sure about this, but I guess usually AC3-decoding should work on device.

What shows "iecset -n1" output?

Quoted 8 lines

Also, please show the alsa-info.sh output (with --no-upload option) in your current state.

thanks,

Takashi

Quoted 10 lines

$iecset -n1
Mode: professional
Data: audio
Rate: unknown
Rate Locked: yes
Emphasis: none
Stereophonic: not indicated
Userbits: unkown
Sample Bits: unknown
Word Length: unknown

Hmm.. might be a bug of iecset or the driver.
Try to change some status bits via iecset utility, such as,
% iecset -n1 prof off
then check whether the value is really changed. Run "alsactl -f somefile store" at each time, then check the value of "IEC958 Playback Default" index 1 (control.45).

thanks,

Takashi

#28 lore raw
In reply to a message not in the archive

At Tue, 21 Oct 2008 14:46:19 +0200,

Quoted 10 lines · Nir Tzachar
Quoted 8 lines
Quoted 4 lines

The bad news are that mplayer misbehaves and will get stuck every time I try to change the volume. However, this does not happen in vlc. Any ideas?

Well, we need to sort out where the problem comes from. Try the vanilla Linus tree without sound-2.6 whether the problem persists.

I'll try to remove the sound-2.6 tree and report.

Nir, do you have any results?
I tried to reproduce the problem by myself, but I couldn't. So I wonder whether it's a codec specific or I missed something...

thanks,

Takashi

#29 lore raw
Quoted 11 lines · Takashi Iwai

At Tue, 21 Oct 2008 14:46:19 +0200,

Quoted 9 lines · Nir Tzachar
Quoted 8 lines
Quoted 4 lines

The bad news are that mplayer misbehaves and will get stuck every time I try to change the volume. However, this does not happen in vlc. Any ideas?

Well, we need to sort out where the problem comes from. Try the vanilla Linus tree without sound-2.6 whether the problem persists.

Quoted 5 lines
Quoted 1 line

I'll try to remove the sound-2.6 tree and report.

Nir, do you have any results?
I tried to reproduce the problem by myself, but I couldn't. So I wonder whether it's a codec specific or I missed something...

No results yet, as I did not have time to test linus's tree. Ill be able to do it over the weekend, and will come back with updates. For now, the way I got it to work nicely was just taking the sound and include/sound dirs, sticking them on a 2.6.27.1 tree, and adding the device id as Wei instructed. Otherwise, there were segfaults all over the place.

Quoted 5 lines

thanks,

Takashi