Author Topic: DCERouter Issue: TV Tuner Channel Control  (Read 6875 times)

cafedumonde

  • Veteran
  • ***
  • Posts: 122
    • View Profile
DCERouter Issue: TV Tuner Channel Control
« on: March 11, 2018, 10:21:09 pm »

Hi. I have put my pipe routing issue on hold for a while and am now trying to get the embedded tuner device on my LG TV to work with my Microsoft MCE remote.

Things generally work. The LMCE controls power over RS232, the AVR switches inputs correctly, and the TV is switched to the digital tuner over RS232. I am using the internal speakers for sound. I can change volume and the number buttons work for tuning. However, I cannot get the channel +/- buttons to respond.

I don't think the device template is the problem. The SendKey function that is used works fine for some functions, just not the channel buttons. The device template is #2126. Also sending the command <$ "ka 01 00\r"$> directly to serial port also works flawlessly. That rules out the serial connection.

The best I can tell, the router is recieving the command from the USBIRT device but is not forwarding it on to the television. Please see the snippet below from DCERouter.log:

Code: [Select]

08      03/11/18 16:56:26.570           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 155 (^[[36;1mTuner - Digital - L\
iveTV/Tuner / Living Room/Family Room^[[0m), type 1 id 90 Command:^[[35;1mVol Down^[[0m, retry none, parameters: <0xa7ca9b40>
08      03/11/18 16:56:26.570             Parameter 41(StreamID): 1007 <0xa7ca9b40>
08      03/11/18 16:56:26.570           Forwarding 90 Command:^[[35;1mVol Down^[[0m up pipe to 154 (^[[36;1mLG RS232 (newer models)^[[0m) <0xb60e6b40>
08      03/11/18 16:56:26.650           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 10 (^[[36;1mMedia Plug-in / Livi\
ng Room/Family Room^[[0m), type 1 id 90 Command:^[[35;1mVol Down^[[0m, retry none, parameters: <0x96c87b40>
08      03/11/18 16:56:26.651           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 155 (^[[36;1mTuner - Digital - L\
iveTV/Tuner / Living Room/Family Room^[[0m), type 1 id 90 Command:^[[35;1mVol Down^[[0m, retry none, parameters: <0xa7ca9b40>
08      03/11/18 16:56:26.651             Parameter 41(StreamID): 1007 <0xa7ca9b40>
08      03/11/18 16:56:26.651           Forwarding 90 Command:^[[35;1mVol Down^[[0m up pipe to 154 (^[[36;1mLG RS232 (newer models)^[[0m) <0xb60e6b40>
08      03/11/18 16:56:26.762           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 10 (^[[36;1mMedia Plug-in / Livi\
ng Room/Family Room^[[0m), type 1 id 90 Command:^[[35;1mVol Down^[[0m, retry none, parameters: <0x96c87b40>
08      03/11/18 16:56:26.763           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 155 (^[[36;1mTuner - Digital - L\
iveTV/Tuner / Living Room/Family Room^[[0m), type 1 id 90 Command:^[[35;1mVol Down^[[0m, retry none, parameters: <0xa7ca9b40>
08      03/11/18 16:56:26.763             Parameter 41(StreamID): 1007 <0xa7ca9b40>
08      03/11/18 16:56:26.763           Forwarding 90 Command:^[[35;1mVol Down^[[0m up pipe to 154 (^[[36;1mLG RS232 (newer models)^[[0m) <0xb60e6b40>
08      03/11/18 16:56:28.773           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 10 (^[[36;1mMedia Plug-in / Livi\
ng Room/Family Room^[[0m), type 1 id 65 Command:^[[35;1mJump Position In Playlist^[[0m, retry none, parameters: <0x96c87b40>
08      03/11/18 16:56:28.773             Parameter 5(Value To Assign): +1 <0x96c87b40>
08      03/11/18 16:56:28.773           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 155 (^[[36;1mTuner - Digital - L\
iveTV/Tuner / Living Room/Family Room^[[0m), type 1 id 63 Command:^[[35;1mSkip Fwd - Channel/Track Greater^[[0m, retry none, parameters: <0xa7ca9b40>
08      03/11/18 16:56:28.774             Parameter 5(Value To Assign): +1 <0xa7ca9b40>
08      03/11/18 16:56:28.774             Parameter 41(StreamID): 1007 <0xa7ca9b40>
08      03/11/18 16:56:29.551           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 10 (^[[36;1mMedia Plug-in / Livi\
ng Room/Family Room^[[0m), type 1 id 65 Command:^[[35;1mJump Position In Playlist^[[0m, retry none, parameters: <0x96c87b40>
08      03/11/18 16:56:29.551             Parameter 5(Value To Assign): +1 <0x96c87b40>
08      03/11/18 16:56:29.552           Received Message from 136 (^[[36;1mUSB UIRT 0038 / Living Room/Family Room^[[0m) to 155 (^[[36;1mTuner - Digital - L\
iveTV/Tuner / Living Room/Family Room^[[0m), type 1 id 63 Command:^[[35;1mSkip Fwd - Channel/Track Greater^[[0m, retry none, parameters: <0xa7ca9b40>
08      03/11/18 16:56:29.552             Parameter 5(Value To Assign): +1 <0xa7ca9b40>
08      03/11/18 16:56:29.552             Parameter 41(StreamID): 1007 <0xa7ca9b40>

In the log, you can see the router recieving the volume commands and forwarding them to the TV. After that, you can see that it is also seeing the channel + commands but is not forwarding them. At least that is how I interepret the log.

Am I correct? Suggestions please.

Thanks,

CDM

cafedumonde

  • Veteran
  • ***
  • Posts: 122
    • View Profile
Re: DCERouter Issue: TV Tuner Channel Control
« Reply #1 on: March 21, 2018, 10:00:07 pm »
Any comments on this? Could someone more experienced please look at the log snippet and comment?

CDM

cafedumonde

  • Veteran
  • ***
  • Posts: 122
    • View Profile
Re: DCERouter Issue: TV Tuner Channel Control
« Reply #2 on: March 27, 2018, 10:57:40 pm »

As a test, I substituted the command string for channel down for the command string for the volume down command, which was working fine. The channel control works as expected when pushing the channel down button. This means that the command is good and is being received by the tv. The problem is the implementation of the channel down command in the template; it is not sending the command. I expect the clue is in the log snippet that I posted previously.

I recall that in the setup wizard, it is possible to associate a media type with the tuner, though I did not do this since I added the device manually. Could this be the issue?

Could someone please comment?

Thanks,

CDM

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: DCERouter Issue: TV Tuner Channel Control
« Reply #3 on: March 28, 2018, 12:10:32 pm »
Backup your system, test it, and report back your findings.

 

cafedumonde

  • Veteran
  • ***
  • Posts: 122
    • View Profile
Re: DCERouter Issue: TV Tuner Channel Control
« Reply #4 on: March 29, 2018, 12:37:39 am »

OK. I will try this over the weekend. If I run the setup wizard, what do I look for? What is the theory behind the test?

CDM

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: DCERouter Issue: TV Tuner Channel Control
« Reply #5 on: March 29, 2018, 06:07:29 pm »
To see if going through the setup wizard is providing you the automatic configuration you are looking for.

I am not using Myth nor embedded tuners so I can't verify myself (I'm a VDR kinda person), but I do know for sure that alot of stuff does happen in the Sarah wizard that makes sure things are working the way they are suppose to.

Good luck.

darkwizard864

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: DCERouter Issue: TV Tuner Channel Control
« Reply #6 on: March 29, 2018, 11:34:20 pm »
hey cafedumonde check and make sure ir to the tv isn't disabled.

cafedumonde

  • Veteran
  • ***
  • Posts: 122
    • View Profile
Re: DCERouter Issue: TV Tuner Channel Control
« Reply #7 on: April 17, 2018, 03:27:40 am »

Where would I check this? I changed the number of IR repeats from 0 to 1 in AV Properties.

Why would this make a difference given that the control is over RS232?

Thanks,

CDM