how to enable optical output on VIA VT1708S?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
my system is based on Fedora 11 x86_64 full updated.
With latest updates I have now, after reboot:
alsa-lib-devel-1.0.22-2.fc11.x86_64
alsa-utils-1.0.21-2.fc11.x86_64
alsa-lib-1.0.22-2.fc11.x86_64
alsa-lib-1.0.22-2.fc11.i586

I got alsa-info uploaded at:
http://www.alsa-project.org/db/?f=08339e39e521deb63c3ba5aa68655f545c1361ca

where I see that actually I have now:
Driver version:     1.0.20
Library version:    1.0.22
Utilities version:  1.0.21

Analog output works, optical doesn't.
MB is Asus M4A785TD-V EVO.
lspci gives:
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)

lspci -v gives:
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
	Subsystem: ASUSTeK Computer Inc. Device 836c
	Flags: bus master, slow devsel, latency 64, IRQ 16
	Memory at f9ff4000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

On another partition I have Windows XP installed and the optical
connection works, so it is not an hw problem, I think

I don't get any error, but I get no sound.
I downloaded dts samples at http://www.kellyindustries.com/sounds.html
and then, using mplayer as probvided by F11:

[gcecchi@tekkaman dts_tests]$ mplayer -ao alsa -ac hwdts
dts_the_other_side_44khz.wav
MPlayer SVN-r29701-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing dts_the_other_side_44khz.wav.
Audio only file format detected.
==========================================================================
Forced audio codec: hwdts
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to DTS, 1411200 bps, 44100 Hz
AUDIO: 44100 Hz, 2 ch, ac3, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
AO: [alsa] 44100Hz 2ch ac3 (1 bytes per sample)
Video: no video
Starting playback...
A:  10.4 (10.3) of 156.0 (02:36.0)  0.2%

During this test
[root@tekkaman ~]# fuser /dev/snd/*
/dev/snd/controlC0:  18006
/dev/snd/pcmC0D1p:   18006m

Any hints?
I'm not currently using any model= string in alsa-base.conf file in
/etc/modprobe.d directory.

alias snd-card-0 snd-hda-intel
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || :
; }; /sbin/modprobe -r --ignore-remove snd-hda-intel

alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1
remove snd-usb-audio { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || :
; }; /sbin/modprobe -r --ignore-remove snd-usb-audio


I remember on a Intel DP35DP mb that I needed to use
options snd-hda-intel model=ref index=0
to have audio working, but it was another chipset.....
Do I have to set any model for the Via VT1708S one?

Another thing: in the test above the "fuser" command shows that
mplayer is using the second "device" of the first card, correct?

If I try to play a video where I have dts stream
(mplayer says
Track ID 2: audio (A_DTS) "DTS ITA", -aid 0, -alang ita
)
with the command
mplayer -ao alsa  -aid 0 video_file
I see instead:
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...

and fuser shows
[root@tekkaman ~]# fuser /dev/snd/*
/dev/snd/controlC0:  18008
/dev/snd/pcmC0D0p:   18008m
/dev/snd/timer:      18008

using the first device, but even in this case no sound.

Tipically when signal arrives, I see on my receiver a led named "LOCK"
that blinks and that means something is arriving from optical... now
instead I see nothing..

As I saw that also pulseaudio was using my files in /dev/snd, I
disabled it, to verify if it could be the problem, this way:

- create ~/.pulse/client.conf with
autospawn = no

- kill pulseaudio with
pulseaudio -k
run as the user logged in in my gnome environment

- run the tests

Also, in alsamixer is all unmuted and I see
S/PDIF
S/PDIF Default PCM
S/PDIF 1
Independent HP (now it is On)

How are these mapped to optical and hdmi outputs? Which ones are
supported? What is the Independent HP switch for?

Hope to have given enough information for getting some help and sorry
for so many answers in one post....
Don't hesitate to ask anything, eventually to be done in Windows environment.

PS: I'm going to install F12 on another partition. Is this supposed to
work better with spdif output on this chip eventually?

Thanks in advance,
Gianluca

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux