Author Topic: Dianemo s10.10 No sound  (Read 3985 times)

alx2k

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Dianemo s10.10 No sound
« on: September 18, 2011, 02:35:45 pm »
Good afternoon,

I am trying to install s10.10 on an ASUS P5QL/EPU Mobo with XFX GT220 on it.

I have no problem with the onboard audio card on Ubuntu 10.10 and, after a little tweak on /etc/modprobe.d/alsa-base.conf, /etc/pulse/default.pa and /etc/asound.conf, HDMI audio work.

When I install Dianemo, system looses all the audio cards (probably an asound.conf configuration problem), and I can't play media (when going to ubuntu desktop audio properties it just shows a dumb audio device, not the onboard audio nor the HDMI audio that was shown before installing Dinaemo).

aplay -l shows:
Quote
tarjeta 0: Intel [HDA Intel], dispositivo 0: VT1708S Analog [VT1708S Analog]
  Subdispositivos: 2/2
  Subdispositivo #0: subdevice #0
  Subdispositivo #1: subdevice #1
tarjeta 0: Intel [HDA Intel], dispositivo 1: VT1708S Digital [VT1708S Digital]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 1: NVidia [HDA NVidia], dispositivo 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 1: NVidia [HDA NVidia], dispositivo 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 1: NVidia [HDA NVidia], dispositivo 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 1: NVidia [HDA NVidia], dispositivo 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0

gstreamer-properties shows that my HDMI audio uses hw:1,3 hw:1,7 hw:1,8 and hw:1,9

if I use "aplay -D hw:1,7 /usr/share/sounds/alsa/Noise.wav" it sounds via the HDMI.

Everytime I restart Dianemo it modifies back my /etc/asound.conf to:
Quote
pcm_slave.spdif_convert48k {
   pcm "spdif:0"
   rate 48000
}

pcm.spdif_playback {
   type plug
   slave spdif_convert48k
}

pcm_slave.hdmi_convert48k {
   pcm "hw:0,7"
   rate 48000
}

pcm.hdmi_playback {
   type plug
   slave hdmi_convert48k
}

pcm.asym_spdif {
   type asym
   playback.pcm "spdif_playback"
   capture.pcm "plughw:0"
}

pcm.asym_hdmi {
   type asym
   playback.pcm "hdmi_playback"
   capture.pcm "plughw:0"
}

pcm.asym_analog {
   type asym
   playback.pcm "plug:dmix:0"
   capture.pcm "plughw:0"
}
pcm.!default asym_hdmi


I see that plughw:0 is wrong, it should be hw:1. Also, I guess it should also be 1,7 instead of 0,7.

How can I modify the asound.conf file permanently without dinaemo changing it on bootup?

Thank you in advance.

Alejandro

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Dianemo s10.10 No sound
« Reply #1 on: September 19, 2011, 04:07:30 pm »
Firstly use the AVwizard to select your AV options and in particular 'HDMI Audio'. Allow the AVwizard to finish and the Orbiter to be displayed.

Now go to the Wizard Media Directors page in Web admin and find your Media Manager then find the 'Sound Cards' drop down on the right hand side of the page and select your GT220's on-board sound card. Scroll to the bottom of the page and set Update.

Now reboot and your settings will be correctly retained.

Now your audio should be correctly routed vie the HDMI port on your GT220.

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

alx2k

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Re: Dianemo s10.10 No sound
« Reply #2 on: September 19, 2011, 11:59:34 pm »
Dear Andrew,

That was much easier than I was trying. Thank you with your help. It works now!

I've gone further with my setup adding my two squeezeboxes, Wiimote and IOS devices without a problem. Also I've added the CM11A and some lights perfectly.

However, I've tried to connect a LG 32LD650 to the Core via Rs232 and it detects it as a "Generic LG RS232 lcase proto on HDMI" I configure it on the guide, I reload the router, but time later it detects it again and the process starts over. Is there a way to turn detection off?

Thank you again.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Dianemo s10.10 No sound
« Reply #3 on: September 20, 2011, 01:22:47 am »
Dear Andrew,

That was much easier than I was trying. Thank you with your help. It works now!

I've gone further with my setup adding my two squeezeboxes, Wiimote and IOS devices without a problem. Also I've added the CM11A and some lights perfectly.

However, I've tried to connect a LG 32LD650 to the Core via Rs232 and it detects it as a "Generic LG RS232 lcase proto on HDMI" I configure it on the guide, I reload the router, but time later it detects it again and the process starts over. Is there a way to turn detection off?

Thank you again.

Hmmm.... thats very strange indeed. Auto detection should be off by default. Between getting detected does your LG TV respond correctly to rs232 commands? If you can make sure Remote Assistance is turned on then one of us will take a look at your system - let me know if your ok with us doing that.

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk