Difference between revisions of "Didj USB Mounting"

From eLinux.org
Jump to: navigation, search
(Hardware Needed)
(Assigning Drive Letter)
Line 35: Line 35:
==== Assigning Drive Letter ====
==== Assigning Drive Letter ====
[http://wtfmoogle.com/?page_id=741| Assign Drive Letter Pictures]
With LFConnect disabled from auto starting, you can assign a drive letter, and access it like a normal drive
With LFConnect disabled from auto starting, you can assign a drive letter, and access it like a normal drive
'' On Didj ''
'' On Didj ''

Revision as of 09:11, 15 July 2011

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.


Disable LFConnect Auto Start Feature

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

Programs Needed

SCSI Command technique

  • sg3_util for Linux.
  • SCSI Utility v0.1 for Windows.

Hardware Needed

Required for usbctl options.

Console Access

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.

C:\Documents and Settings\All Users\Application Data\Leapfrog\LeapFrog Connect\Mnt\<Didj Serial Number>\0
C:\ProgramData\Leapfrog\LeapFrog Connect\Mnt\<Didj Serial Number>\0

LFConnect Software must be installed, and allowed to open for this to be accessible.

usbctl on Didj

LFConnect still must be installed, but this will prevent the need to have it running.

You will have to run this command on the Didj from a terminal, to unlock it. On Didj

$ usbctl -d mass_storage -a unlock

Assigning Drive Letter

Assign Drive Letter Pictures

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.

SCSI Command

SCSI Commands Windows

Commands go in byte 0

  • C1 = Unlock (mount)
  • C2 = Lock (unmount)
  • C6 = Eject.

Under Linux


This is a program provided in the Didj sources.

Compile the program Didj-Linux-4222-20090422-1236\host_tools\scsi\scsi_custom.c with

$ gcc -o scsi_custom scsi_custom.c

Tail your messages with

$ sudo tail -f /var/log/messages

Plug in your Didj to the USB

Look in your messages for something like this

kernel: sd 5:0:0:0: Attached scsi generic sg2 type 0

Your looking for the sg with a number sg0, sg1, sg2 etc.

Now run the scsi_custom app

$ sudo scsi_custom -c unlock /dev/sg<your number>

And depending on your system, it should auto mount the Didj as a USB drive.

SCSI Command

SCSI Commands Linux]

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.