Author Topic: Need assistance with LG Template (20LS7D (RS232) #1915)  (Read 732 times)

Rukus

  • Veteran
  • ***
  • Posts: 130
    • View Profile
Need assistance with LG Template (20LS7D (RS232) #1915)
« on: September 18, 2010, 03:59:46 pm »
Hello,

As stated in the subject line, I could use a hand getting the volume up and volume down commands working in the LG 20LS7D (RS232) #1915 template. I tried fiddling with the code, but all I could get it to do was go from volume level 0 straight to 100, but I couldn't get it anywhere in between. I've looked at my LG's manual, and I'm fairly certain that all the codes are the same, so I don't believe it's an issue with my model.  Below is the code. I'd like to get this fixed so that it can be included in future snapshots.

Thanks,

Ernesto
Code: [Select]
print "lowering volume from ", @volume, "\n"
cmd_313(@volume-1)


Code: [Select]
print "raising volume from ", @volume, "\n"
cmd_313(@volume+1)
Core/Generic Hybrid MD
Motherboard: ASUS M2N-SLI Deluxe AM2 NVIDIA nForce 570 SLI MCP ATX
CPU: AMD Athlon 64 X2 6000+ Windsor 3.0GHz Socket AM2 125W Dual-Core
GPU: GPU: XFX PVT84GUDF3 GeForce 8600 GTS 256MB 128-bit GDDR3

LmceCape

  • Veteran
  • ***
  • Posts: 65
    • View Profile
Re: Need assistance with LG Template (20LS7D (RS232) #1915)
« Reply #1 on: September 18, 2010, 04:49:40 pm »
Hi Rukus

I had the same issue yesterday, use the template on the Wiki http://wiki.linuxmce.org/index.php/LG_42LB5D.

Just remember to change the number 158 with your LG's device number.

Regards
LmceCape

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Need assistance with LG Template (20LS7D (RS232) #1915)
« Reply #2 on: September 18, 2010, 05:54:54 pm »
hmm.

Guys,

why do you do this? This is idiotic.

Please, fix the template and submit it in for approval. There are ways of finding the Device ID, instead of HARD CODING IT INTO THE DATABASE. Look at some of the other GSD templates.

This way, we can mark that page as not needed, and this stuff will just work. I can't fix everything. I need your help to fix stuff too!

-Thom

Rukus

  • Veteran
  • ***
  • Posts: 130
    • View Profile
Re: Need assistance with LG Template (20LS7D (RS232) #1915)
« Reply #3 on: September 19, 2010, 06:38:54 pm »
hmm.

Guys,

why do you do this? This is idiotic.

Please, fix the template and submit it in for approval. There are ways of finding the Device ID, instead of HARD CODING IT INTO THE DATABASE. Look at some of the other GSD templates.

This way, we can mark that page as not needed, and this stuff will just work. I can't fix everything. I need your help to fix stuff too!

-Thom

Thom,

That is my intention. I was only requesting help with the Ruby code. I'm more than willing to test, and get the repaired template added to subsequent snapshots.

Ernesto
Core/Generic Hybrid MD
Motherboard: ASUS M2N-SLI Deluxe AM2 NVIDIA nForce 570 SLI MCP ATX
CPU: AMD Athlon 64 X2 6000+ Windsor 3.0GHz Socket AM2 125W Dual-Core
GPU: GPU: XFX PVT84GUDF3 GeForce 8600 GTS 256MB 128-bit GDDR3