Author Topic: Re: [SOLVED] Shuttle XS35GT Barebone HDMI sound issues  (Read 17223 times)

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: [SOLVED] Shuttle XS35GT Barebone HDMI sound issues
« on: November 04, 2010, 05:05:29 pm »
Hi,

I'm running 810 and try to manage the Shuttle XS35GT as MD which is a very nice Nvidia ION based fanless barebone. After following the wiki http://wiki.linuxmce.org/index.php/ShuttleX50V2  for unrecognized NIC, it is working fine with the exception of Audio/DVD under LinuxMCE and in KDE.
It is curious to me (a linux newbie) that I 'm able to watch MythTV with sound (Myth frontend setup as Alsa:plughw 1,7) but not under LinuxMCE. I've tried several configurations of Sound cards and Audio settings under LMCE setup whithout success. So it seems to me that MythTV is bypassing or not using the LMCE configuration files in terms of sound.

XS35GT comes with:
Integrated Audio
IDT92HD81 Audio Codec with Azalia support
Two analog audio connectors (3.5mm):
1) Line out (head phone)
2) microphone input
Digital Audio via HDMI port

were i'm using HDMI with Denon AVR-2307.

Any suggestion is much appreciated.

Heinz
« Last Edit: January 20, 2011, 07:31:29 pm by Homeboy »

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #1 on: November 04, 2010, 06:45:22 pm »
Is audio working at all?
First let's tackle the problem with your DVD, because why isn't that working?
Could you elaborate?

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #2 on: November 04, 2010, 11:32:34 pm »
Hi Bongowongo,

Thanks for fast reply.
No, audio isn't working at all, even at lmce setup i cannot hear any  sound under different configurations. When playing DVD or video under lmce or KDE, no sound appears. Only in MythTv sound is available either watching TV or playing video.

Heinz 

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #3 on: November 05, 2010, 10:59:51 am »
First things to test with no audio.
Are your volumes up, and unmuted?
Go into alsamixer and check.
Go into bash, sudo su -> password, then type "alsamixer"

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #4 on: November 06, 2010, 10:40:41 am »
Hi,
Volumes up and unmuted, accordingly MythTv is with sound and I can control volumes.
If I try playing media in lmce, now a small window appears with "audio output is busy or not available".
I guess it is based on audio controller of this pc which isn't recognized by lmce, but again MythTv can handle it.

Heinz

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #5 on: November 06, 2010, 10:50:46 am »
When you installed did you get sound in the AV-wizard?
Did you select the proper output?

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #6 on: November 06, 2010, 11:10:08 am »
No sound during AV-wizard and i selected the correct output. That's why i can have sound when starting MythTv inside lmce.

Heinz

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #7 on: November 06, 2010, 11:59:11 am »
Well I think you select the correct output in mythTV, and the wrong for linuxmce.
Which TV-card do you have, and is your audio correctly registered? See dmesg for errors.

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #8 on: November 06, 2010, 12:39:46 pm »
no TV card in this MD installed only in my core.
I get a lot info with dmesg. how to limit the output for audio only?

thanks,
Heinz


bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #9 on: November 06, 2010, 01:11:33 pm »

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: Shuttle XS35GT Barebone HDMI sound issues
« Reply #10 on: January 08, 2011, 06:05:46 pm »
After testing various configurations without success, I got the issue solved and the sound over HDMI working. The Shuttle XS35GT is not PnP in LMCE like other Ion2 based systems, too (see http://forum.linuxmce.org/index.php?topic=10058.0). Basically we need to add the right modules for the sound-cards which are a Nvidia GT21x and an Intel HDA based one.

The output of  lspci shows the audio device name
Code: [Select]
# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)

and aplay -l shows

Code: [Select]
root@moon103:/proc/asound# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Accordingly, card0 is the analog sound card and card1 the NVIDIA, so I updated the
1./etc/modprobe.d/sound.conf
and the
2./etc/modprobe.d/alsa-base.conf
with

Code: [Select]
options snd-hda-intel enable_msi=0 probe_mask=1,2

Then it was needed to create the personalized configuration for the sound card with file .asoundrc in the home directory because /etc/asound.conf will be overwritten/updated by LMCE.

Code: [Select]
nano ~/.asoundrc
pcm.!default hdmi:NVidia
pcm:iec958 hdmi:NVidia
pcm.!hdmi-remap {
  type asym
  playback.pcm {
    type plug
    slave.pcm "remap-surround71"
  }
}
pcm.!remap-surround71 {
  type route
  slave.pcm "hw:1,3"
  ttable {
    0.0= 1
    1.1= 1
    2.4= 1
    3.5= 1
    4.2= 1
    5.3= 1
    6.6= 1
    7.7= 1
  }
}


Now change to "/usr/share/alsa/cards" and replace the default HDA-Intel.conf with the one at pastebin by following this post
http://ubuntuforums.org/showthread.php?t=1624449&highlight=hdmi+sound+shuttle+ion2

Backup the current file HDA-Inel.conf before replacing with http://pastebin.com/f2e38265 if you need to switch back.

After these steps I'm able to listen AC3 and DTS surround sound over HDMI.

Heinz

paolopost

  • Guest
Re: [SOLVED] Shuttle XS35GT Barebone HDMI sound issues
« Reply #11 on: March 08, 2011, 11:11:24 am »
Thanks Homeboy.
Your instructions were the only one I found over the network that works (and I tried many)
Anyway, I have a question.
After the configuration you suggested, I have now on my XS35GT (Ubuntu 10.10) two output devices, both of them 'Analog Stereo' rather than an analog and a digital over HDMI.
Is there any way to fix this downgrade?

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: [SOLVED] Shuttle XS35GT Barebone HDMI sound issues
« Reply #12 on: March 20, 2011, 12:35:32 pm »
Hi paolopost,

Since I'm running Kubuntu 8.10, I don't know the reason for. Anyway, next weeks I intend to upgrade my system and come back with my findings.
 
Heinz