Author Topic: [SOLVED]:Sound over toslink drops at the end of a song  (Read 6262 times)

mathieu

  • Veteran
  • ***
  • Posts: 57
    • View Profile
[SOLVED]:Sound over toslink drops at the end of a song
« on: July 06, 2010, 12:01:31 pm »
Hi guys,

I have an older receiver which lacks hdmi inputs. To get sound from my MD (asus M3N78-EM) to the receiver I use toslink, for video I use a hdmi cable to the tv.

The problem is that when I choose to play an audio or video file there is no sound unless I switch to an other input on the receiver and then back the correct one. For the time of the song then there is audio. When the song ends audio drops...

When instead the media director boots off it's own HDD with ubuntu 10.04 none of the said issues occure.
This means A the receiver is OK
                B the cable is OK
                C toslink digital out of MD is OK


While using vga instead of hdmi everything is ok: the sound doesn't drop.

So I was thinking that in one way of the other, there is sound going through hdmi which is interfering with the toslink. Does anybod have a clue of what needs to be done? Perhaps a kernel update?


Any suggestions are as allways greatly appreciated :)

br mathieu


EDIT:
Going the Stereo Ananlog route solved the problem.
Further research revealed that the NAD T763 receiver is picky in the Toslink signal it accepts.
« Last Edit: July 11, 2010, 08:03:44 am by mathieu »

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: How can I disable sound over HDMI?
« Reply #1 on: July 06, 2010, 02:39:59 pm »
I have a similar setup on my core (video via hdmi, audio via toslink to a denon amp) and it works fine. Off topic - I use the toslink to get surround sound as my hdmi only outputs stereo. I have the ABIT ANM2HD mainboard.

Did you use the av wizard to get your sound via the optical output? Have you changed any of the audio settings manually?

Reading your post again, it looks like the sound is there but you need to change inputs then change back to hear it. This sounds more like an issue with the receiver to me. If playing with the receiver (without changing anything else) fixes the problem then the signal must already be there.

Does the receiver have some sort of auto input switching mechanism?

Might be worth testing with a different receiver if that's possible.
Barney

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: How can I disable sound over HDMI?
« Reply #2 on: July 06, 2010, 03:35:58 pm »
Hi guys,

I have an older receiver which lacks hdmi inputs. To get sound from my MD (asus M3N78-EM) to the receiver I use toslink, for video I use a hdmi cable to the tv.

The problem is that when I choose to play an audio or video file there is no sound unless I switch to an other input on the receiver and then back the correct one. For the time of the song then there is audio. When the song ends audio drops...

When instead the media director boots off it's own HDD with ubuntu 10.04 none of the said issues occure.
This means A the receiver is OK
                B the cable is OK
                C toslink digital out of MD is OK


While using vga instead of hdmi everything is ok: the sound doesn't drop.

So I was thinking that in one way of the other, there is sound going through hdmi which is interfering with the toslink. Does anybod have a clue of what needs to be done? Perhaps a kernel update?


Any suggestions are as allways greatly appreciated :)

br mathieu

Hi,

Just re-run the AVwizard from the System menu of the MD you want to reconfigure and choose stereo audio.

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

mathieu

  • Veteran
  • ***
  • Posts: 57
    • View Profile
Re: How can I disable sound over HDMI?
« Reply #3 on: July 06, 2010, 03:49:57 pm »
thanks for replying Andrew!

Found the solution. On my receiver I had put down all transfos  not in use. Indeed I've only two speakers.
Putting all surround speakers back on did the trick.

Apperently there is bidirectional communication over the toslink. In that case the toslink/spdif device on my MD was receiving a message like: there are only two channels, use an other device, or not :D

br mathieu

mathieu

  • Veteran
  • ***
  • Posts: 57
    • View Profile
Re: How can I disable sound over HDMI?
« Reply #4 on: July 06, 2010, 04:11:44 pm »
Did speak to soon. Problem is not fixed by bringing up the surround speakers in the setup menu of the receiver. :'(

Hi Barney, I didn't see your post.
Plying sound with same receiver, same cable, same computer but other OS (ubuntu 10.04) does everything as expected . this indicates indeed some miss configuration.

I will try Andrew's advice again.

thanks

mathieu

  • Veteran
  • ***
  • Posts: 57
    • View Profile
Re: How can I disable sound over HDMI?
« Reply #5 on: July 06, 2010, 04:30:52 pm »

Hi Andrew,

I did the av-wizard again, but there is only an analog stereo option. Is that what you meant?

br mathieu

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: How can I disable sound over HDMI?
« Reply #6 on: July 06, 2010, 04:43:26 pm »

Hi Andrew,

I did the av-wizard again, but there is only an analog stereo option. Is that what you meant?

br mathieu

Yep it is

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