HDMI and optical output

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, kodachi, cesium

HDMI and optical output

Postby musv » Fri Oct 21, 2011 6:29 pm

Hi there, hello Cesium! :)

I'm building up a HTPC based on a Zotac IONITX U-E. It has a ALC662 and a Nvidia-HDMI audio device.

lscpi
Code: Select all
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
04:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)


oss finds only the ALC662:
/usr/lib/oss/etc/installed_drivers
Code: Select all
oss_hdaudio #Intel High Definition Audio (ICH7)


ossmix -vvv
Code: Select all
Selected mixer 0/High Definition Audio ALC662
Known controls are:
jack.green.mode <front|input> (currently front)
jack.green.mute ON|OFF (currently OFF)
jack.green.front [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.green.front-mute ON|OFF (currently OFF)
jack.green.mix-mute ON|OFF (currently OFF)
jack.pink.mode <c/lfe|input> (currently c/lfe)
jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.pink.center/lfe [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.pink.center/lfe-mute ON|OFF (currently OFF)
jack.pink.mix-mute ON|OFF (currently OFF)
jack.fp-pink.mode <front|c/lfe|input> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <rear|input> (currently input)
jack.blue.mute ON|OFF (currently OFF)
jack.blue.rear [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
jack.blue.rear-mute ON|OFF (currently OFF)
jack.blue.mix-mute ON|OFF (currently OFF)
jack.fp-green.mode <front|c/lfe|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix.mute.c/lfe1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.rear1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.front1 ON|OFF (currently OFF)
record.mix.mute.mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
record.mix.mute.c/lfe2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.rear2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.front2 ON|OFF (currently OFF)
record.mix.mute.mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.c/lfe [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.rear [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.front [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.mix <c/lfe|fp-mic|rear> (currently c/lfe)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
  Sample rate currently used by virtual mixer on this device.
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
  Sample rate conversion quality used by the virtual mixer.
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-outvu [<leftVU>:<rightVU>] (currently 0:0) (Read-only)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0-invu [<leftVU>:<rightVU>] (currently 0:0) (Read-only)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix01 [<leftVU>:<rightVU>] (currently 0:0) (Read-only)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix02 [<leftVU>:<rightVU>] (currently 0:0) (Read-only)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix03 [<leftVU>:<rightVU>] (currently 0:0) (Read-only)
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix04 [<leftVU>:<rightVU>] (currently 0:0) (Read-only)


1. Question
The board has an optical output and a coax digital output. But I didn't find an option in ossmix for spdif. I wanted to use oss for that thing, because on my other computer (Xonar DS) I can configure the bit rate to 192 khz for spdif. Is there a chance to configure the ALC-662 for spdif?

2. Question
How can I access the nvidia HDMI audio device? In any other forums (e.g. Ubuntu-Wiki) they write howto access it via alsa. It's neccessary to install alsa-oss. So is there a chance to access it via OSS directly without any alsa stuff?

3. Question
Assumed the optical and the HDMI output devices are working. Is there a chance to send to sound to both devices parallel? It's neccessary to connect the HTPC via HDMI to the TV in order to see TV without a HIFI system and on the other hand to connect the AV receiver via toslink cable to watch TV and use the HIFI system for the sound issues.

Thanx a lot in advance for your help.
musv
 
Posts: 12
Joined: Tue Oct 14, 2008 12:00 pm

Re: HDMI and optical output

Postby cesium » Mon Oct 31, 2011 6:15 pm

Hi! Sorry for being so late.

In general:
A) HDMI won't work with OSS.
B) I guess the ICH isn't visible because the pci id isn't recognized? 'lspci -vnn' for it should show the id.
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Re: HDMI and optical output

Postby adamlau » Fri Nov 18, 2011 12:19 pm

musv wrote:1. Question
The board has an optical output and a coax digital output. But I didn't find an option in ossmix for spdif. I wanted to use oss for that thing, because on my other computer (Xonar DS) I can configure the bit rate to 192 khz for spdif. Is there a chance to configure the ALC-662 for spdif?

On the same note, I do not see the option for my onboard ALC889 (ASUS Crosshair VN Extreme) SPDIF. Is SPDIF not implemented for the oss_hdaudio driver (vmix disabled)? I suppose it is dependant on the layout of the mobo, possibly something specific would likely have to be written...
adamlau
 
Posts: 23
Joined: Sun Oct 09, 2011 12:27 pm

Re: HDMI and optical output

Postby cesium » Sun Nov 20, 2011 12:49 pm

adamlau: spdif may have a separate output note. check ossinfo output..
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests