Some more special commands
Command:
fbctrl <device> <get|set> <command> [args]
Description:
Controls framebuffers
Use example:
fbctrl /dev/fb0 set blank 0 -Shows framebuffer 0
Command:
display_screen <image path>
Description:
Displays the image provided
Use example:
display_screen test.png -would display an image test.png from root
Command:
fbtest
Description:
Framebuffer test
Use example:
fbtest
Command:
press-power
Description:
Powers down device
Use example:
fbtest
Command:
drawtext-fb <device> <file> <text> [<row> [<col> [<mode>]]]
Description:
Draws text on screen
Use example:
drawtext-fb /dev/fb1 /var/fonts/monotext8x16.rgb "This is a test" 0 0 0
Command:
evtest <device>
Description:
Event test
Use example:
evtest /dev/input/eventX
event0 - PowerButton
event1 - KeyPresses
event2 - TouchScreen
event3 - TouchScreen Raw?
event4 - USB
Command: -Not on LeapPad2 ???
gpio-control
Description:
GPIO Control return
Use example:
gpio-control /dev/gpio invalue 2 <value>
Values:
Left Shoulder = 13
Right Shoulder = 6
A = 3
B = 11
D-Right = 1
D-Left = 8
D-Up = 9
D-Down = 0
Home = 12
Hint = 5
Might I also suggest just running MfgTest directly with
./LF/Base/MfgTest/LaunchMfgTest.sh
or
./LF/Base/EmeraldMfgTest/LaunchMfgTest.sh
That way you don't have to worry about rm the flags XD
You can also load swf files directly with the following command (Works with Explorer, GS, Ultra)
./LF/Base/Flash/bin/saplayer <flash file>
Command:
fbctrl <device> <get|set> <command> [args]
Description:
Controls framebuffers
Use example:
fbctrl /dev/fb0 set blank 0 -Shows framebuffer 0
Command:
display_screen <image path>
Description:
Displays the image provided
Use example:
display_screen test.png -would display an image test.png from root
Command:
fbtest
Description:
Framebuffer test
Use example:
fbtest
Command:
press-power
Description:
Powers down device
Use example:
fbtest
Command:
drawtext-fb <device> <file> <text> [<row> [<col> [<mode>]]]
Description:
Draws text on screen
Use example:
drawtext-fb /dev/fb1 /var/fonts/monotext8x16.rgb "This is a test" 0 0 0
Command:
evtest <device>
Description:
Event test
Use example:
evtest /dev/input/eventX
event0 - PowerButton
event1 - KeyPresses
event2 - TouchScreen
event3 - TouchScreen Raw?
event4 - USB
Command: -Not on LeapPad2 ???
gpio-control
Description:
GPIO Control return
Use example:
gpio-control /dev/gpio invalue 2 <value>
Values:
Left Shoulder = 13
Right Shoulder = 6
A = 3
B = 11
D-Right = 1
D-Left = 8
D-Up = 9
D-Down = 0
Home = 12
Hint = 5
Might I also suggest just running MfgTest directly with
./LF/Base/MfgTest/LaunchMfgTest.sh
or
./LF/Base/EmeraldMfgTest/LaunchMfgTest.sh
That way you don't have to worry about rm the flags XD
You can also load swf files directly with the following command (Works with Explorer, GS, Ultra)
./LF/Base/Flash/bin/saplayer <flash file>
