Hello There, Guest! Register

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FAQ
#4
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>
Reply


Messages In This Thread
FAQ - by Deak Phreak - 01-02-2014, 03:59 PM
RE: FAQ - by fredlwal - 10-29-2015, 03:51 AM
RE: FAQ - by Deak Phreak - 10-30-2015, 09:22 AM
RE: FAQ - by Joshtech - 10-30-2015, 06:33 PM
RE: FAQ - by MagicMan - 06-27-2022, 12:24 AM
RE: FAQ - by Kris_Perry - 10-19-2022, 02:43 AM

Forum Jump: