News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

[SOLVED]:Sound over toslink drops at the end of a song

Started by mathieu, July 06, 2010, 12:01:31 PM

Previous topic - Next topic

mathieu

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.

b4rney

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

Quote from: mathieu 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

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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

mathieu

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

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


Hi Andrew,

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

br mathieu

totallymaxed

Quote from: mathieu 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

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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]