[Home]Sound

Last edit: Daniel Siboska on June 15, 2007 17:25 (3748 days, 20 hours and 7 minutes ago) (diff)
I915gmm.Gratiswiki.Dk | RecentChanges | Preferences | GratisWiki

Works with the snd_intel_hda driver

<=2.6.12

Use snd_intel_hda (eaerlier named "snd_azx")
2.6.13 - 2.6.16
You need to have snd_hda_intel as module and load it with "model=5stack-digout" as option through modconf (modprobe/insmod doesn't always work)
>=2.6.17-rc1
Use snd_intel_hda, the correct model is autodetected.

Questions

[Daniel writes] How to get AC3/DTS out from the spdif?

[Daniel answers] For some reason the digital output gets messed up. In order to fix it, mute the spdif output, play something on that output (alsa:hw:0,2) and then unmute again and everything should work using for instance:

mplayer -ao alsa:device=hw=0.2 -afm hwac3 test.ac3

Discussion

[Bram]
I don't have modconf on my system. Why doesn't modprobe or insmod work? What is the catch here? Also, shouldn't the author of snd_hda_intel be notified that his driver does not work out of the box for this board?]

[Daniel answers]
For some reason modprobe/insmod doesn't work, however YMMV.
In debian you could just add "options snd-hda-intel model=5stack-digout" to "/etc/modprobe.d/snd-hda-intel", that might work in other distros as well.

[TomSoniq answers]
I'm using SuSE Linux 10.0. Instead of trying to configure the soundcard through alsactl or yast I've added my own custom startup script:

modprobe snd-hda-intel model=6stack-digout

amixer set 'Front' 64 on

amixer set 'PCM' 255

[PeterA]
I'm using kernel-2.6-14 on FC4. After reading the above comments I got it to work by modifying /etc/modprobe.conf.
I changed the following line:

options snd-hda-intel index=0
to:
options snd-hda-intel index=0 model=6stack-digout

It works as well as it did before I upgraded the kernel now. Still not perfect but...

[WilW]
I'm using gentoo-2.6.16-r2

pci device / vendor seems to correctly indicate this as the 6stack-digout in the code doesnt look like it was being selected for some reason though

however I've noticed that I usually need to mute and unmute the IEC958 chanel in the mixer at least once per boot before the spdif will work. perhaps there is still a bug here I added amixer set 'IEC958' off and the equivalent on command but this didnt seem to help (I'm running xine and mplayer under KDE so perhaps this is also interfering or causing the problem :).

I also noticed that xine uses iec958:ASE0=0x06,AES1=0x82,AES2=0x00,AES3=0x02, however mplayer iec958:ASE0=0x02,AES1=0x82,AES2=0x00,AES3=0x02 perhaps its just me but I didnt think it worked reliably with AES0=0x06 (these flags are described somewhere at http://sourceforge.net/mailarchive/message.php?msg_id=8560868 - think the dif relates to a copyright flag)

[Tom Wright]
Using debian 2.6.18

I'm having trouble with getting the optical output to work. I've tried just using snd-hda-intel with the autodetected options, with model=6stack-digout and with model=5stack-digout. When I un-mute the IEC958 channel, the speakers give a little 'pop' and the display (on the decoder) briefly flashes to something else before switching back to "no input". It's too quick to read what it says though.

What I'd like is for all two-channel output to be sent as stereo down the optical link, and for 5.1 channel output from xine (and myth if that's possible) to be sent as 5.1 to the speakers (also down the optical link).

Any ideas how to: 1) get optical output working at all? 2) get it to send 5.1 or stereo as appropriate?

[Daniel S. answers]
To get spdif to work properly on this board, see http://www.mythtv.org/wiki/index.php/Intel_HD_Audio_-_Realtek_ALC88x

This issue might be fixed in alsa 1.0.14


Edit text of this page | View other revisions | Download I915gmm.gratiswiki.dk
Search:
GratisWiki hostes af HOW