참고자료
Hacking the Toshiba AC100
hotdigi
2010. 11. 2. 15:06
Hacking the Toshiba AC100
http://tosh-ac100.wetpaint.com/page/Peripheral+Control+(ec_odm)
Peripheral Control (ec_odm)
http://tosh-ac100.wetpaint.com/page/Peripheral+Control+(ec_odm)
Peripheral Control (ec_odm)

/dev/ec_odm is a device that is OEM specific, so the following info will be AC100/AZ100 specific. Through /dev/ec_odm you can control many things like touchpad, or leds. It doesn't seem to exist in nVidia's sources and ATM no toshiba sources. Files in /proc/test_program/* (see below) provides a high-level access to EC-ODM. You can access /dev/ec_odm with the program test-ec (sourcecode: test-ec.c). Usage: ./test-ec 0xc0043006 2 (to turn off backlight) So, there are multiple ioctl IDs, and all of these commands take an int as parameter Tested parameters:LEDs: 0xc0043002 . This handles notification (side) LED. Values from 0 to 7 are different effects 8 disables the led. TouchPad: 0xc0043003 . This disables/enables touchpad, and touchpad scroll. 0 get touchpad status Only 5/4 seem to work accurately. Do not use the backlight command before the previous backlight command has finished. Doing so may cause wrong behaviour. Append (wtf is that name?) : 0xc0043006 : 0 is called shutdown but doesn't seem to do anything Untested parameters:EC: 0xc0043004 getRecoveryPin: 0 Keyboard: 0xc0043001 getKeyboardLayout: 1 DMI: 0xc0043000 setTestProgramByte UOC: (reversed from uoc binary): 0xc0043005 enable usb over-current (6) /proc/test_program:ec_timer |