Dobrica Pavlinušić's random unstructured stuff
LG LED TV 42LH4000: Revision 16

Serial

Serial need older firmware, 3.24 is known to work, from 3.67 serial doesn't work any more!

http://openlgtv.org.ru/wiki/index.php/Basic_RS-232C_connection_setup

connect to serial, enter "debug" and enter, then press d to get menu

http://code.google.com/p/lg-tv-command/

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

http://openlgtv.org.ru/wiki/index.php/How_to_log_your_TV (change boud rate)

Shell access

http://openlgtv.org.ru/wiki/index.php/Debug_mode_connection#Busybox_shell_access

Firmware

http://openlgtv.org.ru/wiki/index.php/Firmware_versions_history_%28Saturn_6_models%29

epak

http://ventoso.org/luca/lghacks/epak.py

Source

http://openlgtv.org.ru/wiki/index.php/Opensource_packages_list

Hacks

openlgtv (older)

http://mikko.korkalo.fi/openlgtv/

LGMOD

http://openlgtv.org.ru/wiki/index.php/LGMOD
http://openlgtv.org.ru/wiki/index.php/Achievements
http://openlgtv.org.ru/wiki/index.php/Customizing_LGMOD

IR

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




source

dpavlin@blue:/blue$ svn co http://dangerous-prototypes-open-hardware.googlecode.com/svn/trunk/USB_IR_Toy/

dpavlin@blue:~$ sudo apt-get install lirc