** This prevents LFConnect from interfering with the techniques that do not want it running.

+

* This prevents LFConnect from interfering with the techniques that do not want it running.

== Programs Needed ==

== Programs Needed ==

Line 14:

Line 14:

[[LeapFrog_Pollux_Platform:_Console_Access| Console Access]]

[[LeapFrog_Pollux_Platform:_Console_Access| Console Access]]

+

+

+

== On Didj ==

+

This method will leave your Didj partition permanently 'unlocked.' It will always be available to be mounted on a host PC. But will not be available for the Didj itself. It will not automount on the host unless the USB cable is plugged in when the Didj has already been booted.

+

+

'' On Didj ''

+

echo "UNLOCKED" > /flags/usb_mass_storage

== Under Windows ==

== Under Windows ==

Line 93:

Line 100:

==== SCSI Command ====

==== SCSI Command ====

−

[[Didj_SCSI_Commands#In_Linux| SCSI Commands Linux]]]

+

[[Didj_SCSI_Commands#In_Linux| SCSI Commands Linux]]

+

+

+

==== Udev Rule ====

+

This is a permanent solution, as the device will be unlocked on plug in by udev. It requires your Linux system to be using udev and have sg3_utils installed, which seems rather common.

+

+

Create a text file named something like 99-LeapFrog-Didj.rules the number is the order it is called in, 99 works good. Insert this text all on one line:

This will run the sg_raw command to unlock the Didj, it also gives it a persistent device name of Didj, so you can further access it thru sg commands with /dev/didj. Also note you won't need sudo as the permissions are changed for regular users.

+

+

Finally:

+

$ sudo chown root:root 99-LeapFrog-Didj.rules

+

$ sudo chmod 644 99-LeapFrog-Didj.rules

+

$ sudo cp 99-LeapFrog-Didj.rules /etc/udev/rules.d/

+

+

You may have to restart your system for it to take effect or try running:

+

$ sudo udevadm test /sys/class/scsi_generic/sg2/

== Under OS X ==

== Under OS X ==

Latest revision as of 19:01, 13 January 2012

This is a list of various techniques for mounting the Didj as a USB drive under Windows, Linux, and OS X. These techniques will make the /Didj folder on the Didj available, give you access to Base/ Data/ and ProgramFiles/ where you will find most of the image and sound files used by the AppManager for the GUI, plus other various files in use, except for the underlying linux system files.

Programs Needed

Hardware Needed

On Didj

This method will leave your Didj partition permanently 'unlocked.' It will always be available to be mounted on a host PC. But will not be available for the Didj itself. It will not automount on the host unless the USB cable is plugged in when the Didj has already been booted.

On Didj

echo "UNLOCKED" > /flags/usb_mass_storage

Under Windows

With LFConnect Running

When connecting the Didj to Windows under USB, the contents will be mounted in one of these folders, depending on your version of windows.

Assigning Drive Letter

With LFConnect disabled from auto starting, you can assign a drive letter, and access it like a normal drive
On Didj

/etc/init.d/lightning stop

usbctl -d mass_storage -a unlock

usbctl -d mass_storage -a enable

Make sure Monitor.exe is disabled, which can be done via Task Manager, then plug your Didj in.

Go to Administrative Tools > Computer Management > Disk Management

Right click the drive, and select Change Drive Letters and Paths click Add and assign the letter.

As long as you don't allow LFConnect to open, the drive letter will be recognized, even after reboot. You will have to continue using the commands on your Didj to access it, unless you create a custom script on the Didj to handle this.

This will run the sg_raw command to unlock the Didj, it also gives it a persistent device name of Didj, so you can further access it thru sg commands with /dev/didj. Also note you won't need sudo as the permissions are changed for regular users.

You may have to restart your system for it to take effect or try running:

$ sudo udevadm test /sys/class/scsi_generic/sg2/

Under OS X

Easier than Windows or Linux.

Plug in your Didj to the USB

Now you can access the didj using terminal or in Finder by selecting the "Go" menu and using "Go to Folder..."

navigate to /Users/*current_user*/.lf_mount_points/

Once you have access to your Didj you can force quit LeapFrog Connect if it's bothering you. Quitting normally causes it to eject the Didj. However, you won't be able to unmount the Didj from finder, it keeps mounting again once it's unmounted. To safely disconnect the Didj you'll have to open LeapFrog Connect again and use the eject button inside the application.