hi bahathir
Quote:
As a GNU/Linux user, I were also having problems to access the device. But
luckily the problem has been resoled in the new Linux kernel v2.6.27.
Here is the link/solution to the probolem.
http://bugzilla.kernel.org/show_bug.cgi?id=11423
If you can to acces other DRIVES in the device, you still need to
enable certain feature SCSI module. Here is my simple guide to enable it.
# make menuconfig
Device Drivers -> SCSI Device Support
Enable "Probe all LUNs on seach SCSI device"
Code: › ‹ Select ›‹ Expand ›
*** Some SCSI devices (e.g. CD jukebox) support multiple LUNs
==>[*] Probe all LUNs on each SCSI device [*] Verbose SCSI error reporting (kernel size +=12K)
[ ] SCSI logging facility
Compile it and use the new module or restart with the new kernel.
Now here is how it looks when I hooked the device to my PC.
Code: › ‹ Select ›‹ Expand ›
# dmesg
[ 4802.936760] scsi4 : SCSI emulation for USB Mass Storage devices
[ 4802.937265] usb-storage: device found at 4
[ 4802.937272] usb-storage: waiting for device to settle before scanning
[ 4807.940333] scsi 4:0:0:0: Direct-Access RockChip USBDISK Sys 1.00 PQ: 0 ANSI: 0
[ 4807.941516] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 4807.942745] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 4807.944072] scsi 4:0:0:1: Direct-Access RockChip USBDISK User 1.00 PQ: 0 ANSI: 0
[ 4807.944900] sd 4:0:0:1: [sdc] Attached SCSI removable disk
[ 4807.944973] sd 4:0:0:1: Attached scsi generic sg3 type 0
[ 4807.946386] scsi 4:0:0:2: Direct-Access RockChip USBDISK SD 1.00 PQ: 0 ANSI: 0 CCS
[ 4807.947270] sd 4:0:0:2: [sdd] Attached SCSI removable disk
[ 4807.947342] sd 4:0:0:2: Attached scsi generic sg4 type 0
[ 4807.949270] usb-storage: device scan complete
[ 4810.004224] sd 4:0:0:0: [sdb] 122880 512-byte hardware sectors (63 MB)
[ 4810.004233] sd 4:0:0:0: [sdb] Assuming Write Enabled
[ 4810.004237] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 4810.015420] sd 4:0:0:0: [sdb] 122880 512-byte hardware sectors (63 MB)
[ 4810.015428] sd 4:0:0:0: [sdb] Assuming Write Enabled
[ 4810.015431] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 4810.015691] sdb:<5>sd 4:0:0:1: [sdc] 3892224 512-byte hardware sectors (1993 MB)
[ 4810.016692] sd 4:0:0:1: [sdc] Assuming Write Enabled
[ 4810.016698] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[ 4810.018775]
[ 4810.020864] sd 4:0:0:1: [sdc] 3892224 512-byte hardware sectors (1993 MB)
[ 4810.020871] sd 4:0:0:1: [sdc] Assuming Write Enabled
[ 4810.020876] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[ 4810.020882] sdc:
[ 4810.080833] sd 4:0:0:2: [sdd] 3842048 512-byte hardware sectors (1967 MB)
[ 4810.080842] sd 4:0:0:2: [sdd] Assuming Write Enabled
[ 4810.080847] sd 4:0:0:2: [sdd] Assuming drive cache: write through
[ 4810.085145] sd 4:0:0:2: [sdd] 3842048 512-byte hardware sectors (1967 MB)
[ 4810.085154] sd 4:0:0:2: [sdd] Assuming Write Enabled
[ 4810.085157] sd 4:0:0:2: [sdd] Assuming drive cache: write through
[ 4810.085161] sdd: sdd1
Notice that the device has 3 DRIVES.
/dev/sdb - 63MB (system)
/dev/sdc - around 2GB (user)
/dev/sdd - around 2GB miniSD drive.
Now you can mount to the drives. Example: to mount to the device's sys drive.
Code: › ‹ Select ›‹ Expand ›
# mount /dev/sdb /mnt/usb/
# ls -l /mnt/usb/
total 10
drwxr-xr-x 4 root root 2048 2008-05-08 09:47 appdata/
drwxr-xr-x 6 root root 2048 2008-05-08 09:47 resource/
-rwxr-xr-x 1 root root 512 1979-12-31 23:30 rkfswfrc.frc*
drwxr-xr-x 2 root root 2048 2008-10-31 22:27 system/
drwxr-xr-x 2 root root 2048 2008-10-31 22:27 system00/
Before removing the device, please do and wait until the umount
command finished. Code: › ‹ Select ›‹ Expand ›
# umount /mnt/usb
#
|
Thanks for this information, sorry i didn't see this before, I've got Linux as well as XP so I'm gonna try this out!
So basically it means we can access the firmware partition directly from Linux without playing with rkusb.tag. Thanks, this is gonna come in VERY useful.
Thanks you very much for sharing this information :wink: