Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "Didj Common Commands"

From eLinux.org
Jump to: navigation, search
(Created page with 'This is a collection of useful commands to have when accessing your Didj from the command prompt. Its meant as a quick reference guide, for more complex procedures look in the [h…')
 
Line 46: Line 46:
  
 
mount /dev/root / -o remount,rw
 
mount /dev/root / -o remount,rw
 +
 +
== Display Commands ==
 +
 +
''Power off the screen''
 +
 +
mlc-control /dev/mlc s enable off

Revision as of 20:11, 26 March 2010

This is a collection of useful commands to have when accessing your Didj from the command prompt. Its meant as a quick reference guide, for more complex procedures look in the Tutorials/How To'ssection of the Didj Wiki main page.

AppManager

Shutdown or Start up AppManger

/etc/init.d/lightning (start | stop | restart)

USB

mass_storage

enable/disable

usbctl -d mass_storage -a enable

usbctl -d mass_storage -a disable

unlock

usbctl -d mass_storage -a unlock

Use enable and unlock to make USB drive accessible from host computer.

Mounting Commands in Didj

(note) NAND partitions can not be shared by USB host and device simultaneously. Developers should use the usbctl command judiciously to avoid corrupting NAND.


Mount the Manufacturers partition

mount -t jffs2 $mfgdatamnt /mnt2/mfg


Remount the Manufactures partition as RW

mount -o remount,rw /mfgdata


Remount the root fs as RW

mount -o remount, rw /

-or-

mount /dev/root / -o remount,rw

Display Commands

Power off the screen

mlc-control /dev/mlc s enable off