<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: LG LED TV 42LH4000]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?lg_led_tv_42lh4000</link>
<description></description>
<pubDate>Mon, 03 Jun 2019 15:21:56 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[LG LED TV 42LH4000]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?lg_led_tv_42lh4000</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/lg.conf?action=attachments_download;page_name=lg_led_tv_42lh4000;id=20190603152156-0-21746">lg.conf</a><!-- wiki: {file: lg.conf} --></span><br /><br /><h1 id="serial">Serial</h1>
<p>
Serial need older firmware, 3.24 is known to work, from 3.67 serial doesn't work any more!</p>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Basic_RS-232C_connection_setup">http://openlgtv.org.ru/wiki/index.php/Basic_RS-232C_connection_setup</a></p>
<p>
connect to serial, enter &quot;debug&quot; and enter, then press d to get menu</p>
<p>
<a target="_blank" title="(external link)" href="http://code.google.com/p/lg-tv-command/">http://code.google.com/p/lg-tv-command/</a></p>
<pre>
dpavlin@x200:/rest/cvs$ git svn clone -s http://lg-tv-command.googlecode.com/svn/ lg-tv-command
dpavlin@x200:/rest/cvs$ cd lg-tv-command/
dpavlin@x200:/rest/cvs/lg-tv-command$ make
cc -std=gnu99 -Wall -o lg-tv-command lg-tv-command.c
dpavlin@x200:/rest/cvs/lg-tv-command$ export LG_DEVICE=/dev/ttyUSB0
dpavlin@x200:/rest/cvs/lg-tv-command$ ./lg-tv-command Power
Power:

ka 01 ff
Current value: 1 (0x01). Range: 0-1.
dpavlin@x200:/rest/cvs/lg-tv-command$ LG_DEVICE=/dev/ttyUSB0 LG_ID=1 ./lg-tv-command InputSelect HDMI1
xb 01 90
dpavlin@x200:/rest/cvs/lg-tv-command$ LG_DEVICE=/dev/ttyUSB0 LG_ID=1 ./lg-tv-command InputSelect RGB1
xb 01 60
</pre>
<br /><p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/How_to_log_your_TV">http://openlgtv.org.ru/wiki/index.php/How_to_log_your_TV</a> (change boud rate)</p>
<h2 id="shell_access">Shell access</h2>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Debug_mode_connection#Busybox_shell_access">http://openlgtv.org.ru/wiki/index.php/Debug_mode_connection#Busybox_shell_access</a></p>
<h1 id="firmware">Firmware</h1>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Firmware_versions_history_%28Saturn_6_models%29">http://openlgtv.org.ru/wiki/index.php/Firmware_versions_history_%28Saturn_6_models%29</a></p>
<h2 id="epak">epak</h2>
<p>
<a target="_blank" title="(external link)" href="http://ventoso.org/luca/lghacks/epak.py">http://ventoso.org/luca/lghacks/epak.py</a></p>
<h1 id="source">Source</h1>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Opensource_packages_list">http://openlgtv.org.ru/wiki/index.php/Opensource_packages_list</a></p>
<h1 id="hacks">Hacks</h1>
<h2 id="openlgtv_older">openlgtv (older)</h2>
<p>
<a target="_blank" title="(external link)" href="http://mikko.korkalo.fi/openlgtv/">http://mikko.korkalo.fi/openlgtv/</a></p>
<h2 id="lgmod">LGMOD</h2>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/LGMOD">http://openlgtv.org.ru/wiki/index.php/LGMOD</a><br />
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Achievements">http://openlgtv.org.ru/wiki/index.php/Achievements</a><br />
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Customizing_LGMOD">http://openlgtv.org.ru/wiki/index.php/Customizing_LGMOD</a></p>
<h2 id="ir">IR</h2>
<ul>
<li>hardware: USB Infrared Toy v2 <a target="_blank" title="(external link)" href="http://dangerousprototypes.com/docs/USB_Infrared_Toy">http://dangerousprototypes.com/docs/USB_Infrared_Toy</a></li>
</ul>
<pre>
dpavlin@blue:~$ dmesg 
[71741.015031] usb 3-1.6.2: new full-speed USB device number 6 using ehci_hcd
[71741.110203] usb 3-1.6.2: New USB device found, idVendor=04d8, idProduct=fd08
[71741.110208] usb 3-1.6.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[71741.110211] usb 3-1.6.2: Product: USBIRtoy (CDC-232)
[71741.110213] usb 3-1.6.2: Manufacturer: DangerousPrototypes.com
[71741.110631] cdc_acm 3-1.6.2:1.0: This device cannot do calls on its own. It is not a modem.
[71741.110660] cdc_acm 3-1.6.2:1.0: ttyACM0: USB ACM device

dpavlin@blue:/etc/lirc/remote$ lsusb | grep Microchip
Bus 003 Device 007: ID 04d8:fd08 Microchip Technology, Inc.

root@blue:~# rmmod cdc_acm
root@blue:~# modprobe usbserial vendor=0x04d8 product=0xfd08



</pre>
<br /><h3 id="source">source</h3>
<pre>
dpavlin@blue:/blue$ svn co http://dangerous-prototypes-open-hardware.googlecode.com/svn/trunk/USB_IR_Toy/
</pre>
<br /><ul>
<li>sofrware: lirc <a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Lirc_Remote_Hack">http://openlgtv.org.ru/wiki/index.php/Lirc_Remote_Hack</a></li>
</ul>
<pre>
dpavlin@blue:~$ sudo apt-get install lirc
</pre>
</div>
<hr/><div>Attachments: lg.conf</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?lg_led_tv_42lh4000</guid>
<pubDate>Mon, 03 Jun 2019 15:21:56 -0000</pubDate>
</item>
</channel>
</rss>