9

I have no problem with my USB key devices: there are mounted automatically.
But for the LeapFrog Tag USB device it is not mounted automatically.

enter image description here

So I look in the Ubuntu documentation to mount USB manually.

But fdisk returns only info about my hard disk, nothing about LeapFrog USB.

$ sudo fdisk -l
Périphérique Amorce  Début        Fin      Blocs     Id  Système<br>
/dev/sda1   *        2048   606713855   303355904   83  Linux<br>
/dev/sda2       606715902   625141759     9212929    5  Étendue<br>
/dev/sda5       606715904   625141759     9212928   82  partition d'échange Linux / Solaris

I found some commands able to list this USB device:
- lsusb
- udevadm (need unplug the device before using the command and then plug it to see it)

$ lsusb
...
Bus 005 Device 002: ID 0f63:0700 **LeapFrog** Enterprises POGO<br>

and

$ udevadm monitor --udev
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
UDEV  [1915.787445] add      /devices/pci0000:00/0000:00:1d.3/usb5/5-2 (usb)
UDEV  [1915.796226] add      /devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0 (usb)

So I hope to be able to mount it with something like:
sudo mount -t ??? /dev/sdb??? /media/leapfrog

How can I know which option and what is the path of the device?
Is there a way to use USB ID from lsusb ?

Boris
  • 5,012

3 Answers3

2

The easiest way

sudo -i
blkid 

then plugin ur usb then run

blkid 

before Usb

enter image description here

After Usb Plugged-in

enter image description here

so now i know my usb is vfat & its sdb1

if its auto mounted and u want to mount it manually 1st run umount /dev/sdb1

now manually mounting

mkdir /media/myusb 

or make a folder where u want to mount your usb

mount -t vfat /dev/sdb1 /media/myusb

now usb has been mounted on /media/myusb

also check these links

http://www.draisberghof.de/usb_modeswitch/#contrib

Leapfrog Crammer won't mount as a USB flash drive

One Zero
  • 27,761
1

I give up:

the only way I found to make this Leapfrog Tag working is to plug it on a Windows XP PC.

Boris
  • 5,012
1

This is not a real answer

I just want to record the tasks I'm using to try to solve my problem based on the wiki about Didj given by fossfreedom:

I'm trying to unlock access to the LeapFrog Tag USB:

1- install sg3_util
2- get "some" Leapfrog Didj programs (Didj seems to be an other Leapfrog USB device)

$ wget http://medialib.leapfrog.com/didj_opensource_code/Didj-Linux-4222-20090422-1236.tar.gz
$ tar -xzf Didj-Linux-4222-20090422-1236.tar.gz

3- searh the programm scsi_custom.c

$ find . -name scsi_custom.c
./Didj-Linux-4222-20090422-1236/host_tools/scsi/scsi_custom.c

4a- perhaps program needs to be customized for the Leapfrog TAG instead of the Didj device ? but I don't know what part to be modified.

4b- compile the program scsi_custom.c (with some warning unfortunately)

$ cd Didj-Linux-4222-20090422-1236/host_tools/scsi
$ gcc -o scsi_custom scsi_custom.c
scsi_custom.c: In function ‘print_reply’:
scsi_custom.c:201:3: attention : format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat]

5- plug the LeapFrog Tag USB and turn it on
to cross-check that the device is well plugged, I do lsusb and get something like:

$ lsusb
...
Bus 005 Device 009: ID 0f63:0700 LeapFrog Enterprises POGO

6- and here, according to the wiki, I should $tail -f /var/log/messages
but /var/log/messages does not exist.
Else trying:
- $ tail -f /var/log/dmesg does not return much
- $ dmesg | grep -i usb returns this
[20221.960029] usb 5-1: new full speed USB device number 2 using uhci_hcd

-$ dmesg | grep -i scsi returns :

[    1.228576] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    1.252491] scsi 3:0:0:0: Direct-Access ATA Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
[    1.252724] sd 3:0:0:0: Attached scsi generic sg2 type 0
[    1.263917] sd 2:0:0:0: [sda] Attached SCSI disk
[    1.331646] sd 3:0:0:0: [sdb] Attached SCSI disk

Note that /dev/sda and /dev/sdb are hard disk, not the USB device that I m looking for.

So I m still unable to know the /dev/sg? for my device.
So I m unable to continue this solution.

Boris
  • 5,012