I have 2 questions. I did a search and found that usb devices should work with the gtab, so I'm trying to mount it.
Any idea how I can mount the devices?
I'm trying to mount
1. 500 GB drive
2. Canon Camera with 32 GB SD card
Second question: Can I mount them both at the same time? It looks like the gtab has 2 USB ports, 1 regular, 1 mini
I'm trying to offload the video clips so I can record some more.
Thanks in advance for the help.
Mini is for Slave
Normal is for Host
I think someone found a way to make the Mini a Host, not to sure.
Does this mean I can only use the regular port to connect to a storage device?
I have no need to swap them....just a need to use both to connect to external hard drives:-D
Can I use a usb hub to connect 2 USB devices? (camera and 500 GB drive)
Well, I can tell you this much as least:
If one wanted to connect 2 USB mass storage devices to their g Tab and were hard pressed to find an alternative, the docking station that fits the proprietary plug has an additional USB port as well as an HDMI port and an ethernet port.
Unfortunately I can't tell you anything else with certainty.
scyld said:
Well, I can tell you this much as least:
If one wanted to connect 2 USB mass storage devices to their g Tab and were hard pressed to find an alternative, the docking station that fits the proprietary plug has an additional USB port as well as an HDMI port and an ethernet port.
Unfortunately I can't tell you anything else with certainty.
Click to expand...
Click to collapse
Thanks
I guess I should still get a netbook for this purpose then.
By the way, for the host port (regular USB port). It seems to connect (I have power on the usb device), but the files are not showing up in the file manager (ES file manager) or ifilemanager. Is there anything else I have to do for it to recognize the drive?
TheFlyingPig said:
By the way, for the host port (regular USB port). It seems to connect (I have power on the usb device), but the files are not showing up in the file manager (ES file manager) or ifilemanager. Is there anything else I have to do for it to recognize the drive?
Click to expand...
Click to collapse
We'll have to take things step by step.
First, is the SD card on the camera a removable microSDHC card? If it is, you could just remove it and insert it into the gTablet's microSDHC slot instead of connecting the camera to a USB hub.
Second, have the 2 devices been detected correctly by the kernel? Both individually and then together on a USB-hub?
For example, if I connect my 1TB Maxtor USB HDD to the gTablet, the status bar message informs me that "SD card blank or has unsupported filesystem". This means that the drive was detected, but the NTFS filesystem on it was not recognized, and therefore the drive was not mounted (the vold program which does the mounting only likes ext4 or VFAT filesystems for automounting). I'm assuming that since you have a 500GB drive, it is formatted as NTFS?
If Android does not detect a drive insertion, check the kernel messages. In a Terminal, after I insert a USB drive, I do:
Code:
$ [B]dmesg | tail -n 20[/B]
[144874.547211] usb 1-1.1: New USB device found, idVendor=0d49, idProduct=7410
[144874.554415] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[144874.562368] usb 1-1.1: Product: Basics Desktop
[144874.567435] usb 1-1.1: Manufacturer: Maxtor
[144874.572010] usb 1-1.1: SerialNumber: 2HBEWHZR
[144874.580165] usb 1-1.1: configuration #1 chosen from 1 choice
[144874.589418] scsi0 : SCSI emulation for USB Mass Storage devices
[144874.601098] usb-storage: device found at 3
[144874.601123] usb-storage: waiting for device to settle before scanning
[144879.597766] scsi 0:0:0:0: Direct-Access Maxtor Basics Desktop 0125 PQ: 0 ANSI: 4
[144879.617283] sd 0:0:0:0: Attached scsi generic sg0 type 0
[144879.624170] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[144879.634583] sd 0:0:0:0: [sda] Write Protect is off
[144879.639482] sd 0:0:0:0: [sda] Mode Sense: 2d 08 00 00
[144879.639505] sd 0:0:0:0: [sda] Assuming drive cache: write through
[144879.647662] sd 0:0:0:0: [sda] Assuming drive cache: write through
[144879.653918] sda: sda1
[144879.688927] sd 0:0:0:0: [sda] Assuming drive cache: write through
[144879.695477] sd 0:0:0:0: [sda] Attached SCSI disk
[144879.813410] usb-storage: device scan complete
to check if the drive was detected. I can see by the messages that the Maxtor drive was detected by the kernel and that I can mount it manually by using the /dev/block/sda1 device. If you don't see similar messages, you're out of luck. If the camera is also detected, it may show up as /dev/block/sdbn.
If everything is detected properly, but, just not mounted, you can mount things manually.
For this, you have to know which kernel you're running. There are 2 kernels that are commonly used on the gTablet: clemsyn's and pershoot's. I use pershoot's kernel so my instructions will be for that. The pershoot kernel supports NTFS filesystems, but, this support is not built into the kernel. Support is instead provided using kernel modules which you'll have to download first from the author's website and then load manually.
Download the correct kernel modules file for the running kernel. Find the kernel version first:
Code:
$ [B]uname -a[/B]
Linux localhost 2.6.32.40-cyanogenmod #1 SMP PREEMPT Fri May 13 17:37:53 EDT 2011 armv7l GNU/Linux
The kernel version is 2.6.32.40. I go to http://droidbasement.com/db-blog/ and download the kernel modules file for that kernel version which would be this file for Gingerbased ROMs: lib-2632.40_gb.tar.gz, or, this file for Froyo based ROMS: lib-2632.40.tar.gz. Note the "_gb" suffix. Extract the file on your PC and then transfer these 2 file onto the gTablet: nls_utf8.ko and ntfs.ko. You should, ideally, put them in /system/lib/modules, but, it you can just leave it on the gTablet's SD card.
Load the kernel modules (I'm assuming now that they're on /mnt/sdcard), then mount the HDD:
Code:
$ [B]su[/B]
# [B]insmod /mnt/sdcard/nls_utf8.ko[/B]
# [B]insmod /mnt/sdcard/ntfs.ko[/B]
# [B]mount -t ntfs -o nls=utf8 /dev/block/sda1 /mnt/usbdisk[/B]
The HDD's contents will now be present in /mnt/usbdisk which is a directory that already exists for mounting USB devices. The /dev/block/sda1 device name we determined using the kernel messages. If you have partitions on the HDD, you can mount them individually using their device names which look like /dev/block/sdan, where n is a number. Look in /dev/block/ to see what partitions can be mounted.
To mount the camera, create a new directory somewhere else, let's say /mnt/sdcard/tmp, and then mount it in that directory. I'm assuming here that the camera's SD card was detected as /dev/block/sdb1 and that it has a VFAT (aka FAT32) filesystem on it.
Code:
$ [B]su[/B]
# [B]mount -t vfat /dev/block/sdb1 /mnt/sdcard/tmp[/B]
After you've finished, unmount both devices before you unplug:
Code:
$ [B]su[/B]
# [B]umount /mnt/usbdisk[/B]
# [B]umount /mnt/sdcard/tmp[/B]
TheFlyingPig said:
By the way, for the host port (regular USB port). It seems to connect (I have power on the usb device), but the files are not showing up in the file manager (ES file manager) or ifilemanager. Is there anything else I have to do for it to recognize the drive?
Click to expand...
Click to collapse
The files are in a folder called USBDISK - hunt around, you will find it.
Related
Hello all,
I attached my SGS2 to my linux computer and was able to access the internal SD card, but was unable to access the external SD card. I was able to navigate with RootExplorer when my device wasn't plugged in to verify that it was mounted, and even did so using the adb shell.
After a bunch of reading, I found out that when you plug in the SGS2, it should show up as TWO devices. In fact it does on my work Win7 machine.
Curious to see what was going on, I looked inside the system logs to see if there were multiple partitions and KDE was only picking up the first one:
[157599.812858] usb 2-1.4.7.3: new high speed USB device using ehci_hcd and address 36
[157599.887980] usb 2-1.4.7.3: New USB device found, idVendor=04e8, idProduct=685e
[157599.887988] usb 2-1.4.7.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[157599.887994] usb 2-1.4.7.3: Product: SAMSUNG_Android
[157599.887998] usb 2-1.4.7.3: Manufacturer: SAMSUNG
[157599.888003] usb 2-1.4.7.3: SerialNumber: ------
[157599.889184] scsi18 : usb-storage 2-1.4.7.3:1.0
[157599.889874] cdc_acm 2-1.4.7.3:1.1: This device cannot do calls on its own. It is not a modem.
[157599.889978] cdc_acm 2-1.4.7.3:1.1: ttyACM1: USB ACM device
[157600.888206] scsi 18:0:0:0: Direct-Access Android UMS Composite 00 PQ: 0 ANSI: 2
[157600.888625] sd 18:0:0:0: Attached scsi generic sg2 type 0
[157600.891070] sd 18:0:0:0: [sdc] Attached SCSI removable disk
[157615.570542] sd 18:0:0:0: [sdc] 24133632 512-byte logical blocks: (12.3 GB/11.5 GiB)
[157615.571050] sd 18:0:0:0: [sdc] Assuming drive cache: write through
[157615.573554] sd 18:0:0:0: [sdc] Assuming drive cache: write through
[157615.576323] sdc:
[157735.385098] VFS: busy inodes on changed media or resized disk sdc
[158087.331648] usb 2-1.4.7.3: USB disconnect, address 36
Click to expand...
Click to collapse
As you can see, it found exactly one disk: /dev/sdc.
Am I missing something? Thanks!!
edit:
I may have found a possible solution: http://androidforums.com/samsung-captivate/156875-help-linux-desktop-connect-via-usb.html#post1490358 (Enable "Probe all LUNs on each SCSI device" in the kernel). Will update with resolution.
Did you solve this problem?
How are you connecting? Through the network settings and with the usb mass storage option?
This is what I get this through dmesg:
[17413.586068] usb 1-1: new high speed USB device using ehci_hcd and address 3
[17413.701104] scsi4 : usb-storage 1-1:1.0
[17414.703016] scsi 4:0:0:0: Direct-Access Android UMS Composite 00 PQ: 0 ANSI: 2
[17414.703016] scsi 4:0:0:1: Direct-Access Android UMS Composite 00 PQ: 0 ANSI: 2
[17414.704007] sd 4:0:0:0: Attached scsi generic sg2 type 0
[17414.704467] sd 4:0:0:1: Attached scsi generic sg3 type 0
[17414.710003] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[17414.710003] sd 4:0:0:1: [sdc] Attached SCSI removable disk
Then I can mount either of them manually.
Yep! I didn't get to test it until just now, had some life things that took importance. Looks like the post about the probing for multiple LUNs was correct. The device now shows up as two drives as expected.
Has anyone managed to connect their S2 using MTP when running Ubuntu? Obviously I know that it's a very simple tast to just connect via mass storage instead, but I'm interested to know.
I think that Samsung have some weird implementation of MTP because I was able to connect and copy files when I was running CM9 but not on stock ICS. I always get the error message:
Unable to mount SAMSUNG_Android
Error initialising camera: -60: Could not lock the device
Though it does mount and I can see the root of both SDCards, all the folders are empty and I can't copy any files to the cards from the computer as I get a error message reading:
There was an error copying the file into gphoto2://[usb:001,010]/store_00020002.
The same happens whether I try to use MTP or PTP.
I think the problem lies in that libmtp-1.1.3 contains fixes for the S2 but that version isn't included with 11.10 or 12.04
hint
did you find out,
i got mine working by doing below guide,
think the issue is we have our phones in USB Debugging Mode
ubuntuforums.org/archive/index.php/t-1806119.html
Steps:
1. Go to: Settings ➔ Wireless and network ➔ USB utilities.
2. Connect your phone to your PC using a USB cable.
3. Tap Connect storage to PC.
4. Scroll down from the phone notification bar. Click USB Mass Storage and tap "Connect storage from PC". The android robot will turn from green to orange. (Important step!)
5. From your PC, open the folder to view your files.
6. Copy files between your PC and the memory card.
alpike said:
did you find out,
i got mine working by doing below guide,
think the issue is we have our phones in USB Debugging Mode
ubuntuforums.org/archive/index.php/t-1806119.html
Steps:
1. Go to: Settings ➔ Wireless and network ➔ USB utilities.
2. Connect your phone to your PC using a USB cable.
3. Tap Connect storage to PC.
4. Scroll down from the phone notification bar. Click USB Mass Storage and tap "Connect storage from PC". The android robot will turn from green to orange. (Important step!)
5. From your PC, open the folder to view your files.
6. Copy files between your PC and the memory card.
Click to expand...
Click to collapse
That's connecting via USB mass storage, not mtp. But thanks for trying.
Sent from my GT-I9100 using XDA
Very easy
Code:
cd ~
sudo apt-get install mtpfs
sudo mkdir /mtp
sudo chmod 775 /mtp
sudo mtpfs -o allow_other /mtp
For dismount
Code:
sudo umount mtpfs
You need to have your device rules ( Check how to install adb if you dont )
what I have found out that mtpfs is unable to preserve timestamps of the files at least on my install.
gphoto2 backend worked fine on CM9 now wile testing CM10 its a bit buggy, I can get the list of files but I am unable to read or rename them.
Most likelly it will improve as development of CM10 progresses rapidly.
Mounting my Galaxy S3 when connected via USB to my Ubuntu computer
D4rKn3sSyS said:
Very easy
Code:
cd ~
sudo apt-get install mtpfs
sudo mkdir /mtp
sudo chmod 775 /mtp
sudo mtpfs -o allow_other /mtp
For dismount
Code:
sudo umount mtpfs
You need to have your device rules ( Check how to install adb if you dont )
Click to expand...
Click to collapse
I went through the steps above, except the last: How do I install adb? (device rules ?).
While my phone is so connected, the command:
cd /mtp
produces the result
bash: cd: /mtp: Transport endpoint is not connected
Help greatly appreciated.
Thank you,
-- Saul
slubkin said:
I went through the steps above, except the last: How do I install adb? (device rules ?).
While my phone is so connected, the command:
cd /mtp
produces the result
bash: cd: /mtp: Transport endpoint is not connected
Help greatly appreciated.
Thank you,
-- Saul
Click to expand...
Click to collapse
Ubuntu 13.04 is a drastic improvement for MTP support. I have not got around to trying my S II but I successfully managed a family friends Galaxy TAB 2 with MTP with zero manual modifications to Ubuntu. Everything worked perfect plug and play out of the box.
I have also tried old versions to know how bad they were compared to 13.04.
No luck with S2 and Ubuntu 13.04
I'm on Android 4.1.2 and trying to connect via USB to Ubuntu 13.04. Error I get is that my device is not an MTP device, which it's not as its using USB
Issue is that I don't see the mounted android partitions. To make this worse, it works every now and then. Following is the syslog and the outpu of lsusb
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Aug 26 23:04:00 ml kernel: [134718.425536] usb 1-5: new high-speed USB device number 11 using ehci-pci
Aug 26 23:04:00 ml kernel: [134718.558636] usb 1-5: New USB device found, idVendor=04e8, idProduct=685b
Aug 26 23:04:00 ml kernel: [134718.558647] usb 1-5: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Aug 26 23:04:00 ml kernel: [134718.558655] usb 1-5: Product: SAMSUNG_Android
Aug 26 23:04:00 ml kernel: [134718.558661] usb 1-5: Manufacturer: SAMSUNG
Aug 26 23:04:00 ml kernel: [134718.558666] usb 1-5: SerialNumber: 001964815b817e
Aug 26 23:04:05 ml kernel: [134723.546077] usb 1-5: can't set config #1, error -110
Aug 26 23:04:05 ml mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5"
Aug 26 23:04:05 ml mtp-probe: bus: 1, device: 11 was not an MTP device
[email protected]:~$ lsusb
Bus 001 Device 011: ID 04e8:685b Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (mass storage mode)
Bus 003 Device 002: ID 046d:c52e Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Hi,
I have enabled USB-Debugging in the settings and connected the phone to my computer (running linux), but there is no notification that USB-Debugging was/is actually enabled on the phone and Eclipse doesn't recognize the Evo.
Might I be missing something, is this a bug of the ROM (I know that on Android < 4.0 there was a notification if USB-Debugging was enabled) or something else?
This is the output of dmesg when disabling USB-Debugging:
Code:
[130921.297574] usb 1-8: USB disconnect, device number 109
[130921.672047] usb 1-8: new high-speed USB device number 110 using ehci_hcd
[130921.808493] scsi79 : usb-storage 1-8:1.0
[130922.809698] scsi 79:0:0:0: Direct-Access HTC Android Phone 0000 PQ: 0 ANSI: 2
[130922.810846] sd 79:0:0:0: Attached scsi generic sg2 type 0
[130922.815181] sd 79:0:0:0: [sdb] Attached SCSI removable disk
This is the output when enabling USB-Debugging:
Code:
[131010.824084] usb 1-8: USB disconnect, device number 110
[131011.204101] usb 1-8: new high-speed USB device number 111 using ehci_hcd
[131011.347364] scsi80 : usb-storage 1-8:1.0
[131012.345085] scsi 80:0:0:0: Direct-Access HTC Android Phone 0000 PQ: 0 ANSI: 2
[131012.351805] sd 80:0:0:0: [sdb] Attached SCSI removable disk
[131012.353054] sd 80:0:0:0: Attached scsi generic sg2 type 0
Any hints?
Thank you.
exic
Anyone?
Maybe try a different ROM and see if it works. I'm not GSM, but I've heard that Leedroid is pretty good.
I tried NonSense 3.0.0 which shows the notification "USB-Debugging enabled", but it still isn't recognized by Eclipse. Since LeeDroid unfortunately has no ICS version, I guess I'll have to go with a non-ICS version.
exic said:
Since LeeDroid unfortunately has no ICS version, I guess I'll have to go with a non-ICS version.
Click to expand...
Click to collapse
What I meant was to try Leedroid just to see if it works on a Gingerbread ROM. If it does, then it is the ICS GSM leak. If not, then it could be something else (like your computer).
Last week I tried again with LeeDroid and obviously nothing worked because I hadn't made my computer ready. I was confused because I was used to seeing "USB debugging enabled" in the notifications which didn't appear on LeeDroid either.
I have a new external micro sd card for my ICS device (worked fine at first). I tried using the Paragon NTSF android app and evidently screwed my card up nice and hard. Here is what i can and cant do (connecting usb via 2 steps microsd->sd then sd->usb):
1. Windows 7 Disk Management sees the device (but device says something along the lines of no medium)
2. linux Disk Utility sees the device although under "capacity" it says "no medium found"
(when i try to format the device i get the error: "Error creating partition table: helper exited with exit code 1: cannot open /dev/sdb: No medium found")
3. linux command: [email protected]:~$ sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1
dd: opening `/dev/sdb': No medium found
4. linux command:
Jan 26 17:47:56 adam-NC20-NB20 kernel: [ 596.153946] scsi4 : usb-storage 1-3:1.0
Jan 26 17:47:57 adam-NC20-NB20 kernel: [ 597.152949] scsi 4:0:0:0: Direct-Access Generic Storage Device 0.00 PQ: 0 ANSI: 2
Jan 26 17:47:57 adam-NC20-NB20 kernel: [ 597.161322] sd 4:0:0:0: Attached scsi generic sg1 type 0
Jan 26 17:47:57 adam-NC20-NB20 kernel: [ 597.162392] sd 4:0:0:0: [sdb] Attached SCSI removable disk
sudo fdisk 597.162392
(So it sees the device)
any help? Im very nub at linux. Also a nub at IT in general but hopefully i can fix my device.
(There is no data on the drive so im willing to try anything at all)
Reading around i came up with a hypothesis that i deleted some type of software that is needed for the hardware to work???
Have you tired inserting the card into another phone to format it? Which Linux distro are you using?
May be your partition table is gone. try something like partition magic and use repair drive option. Its better if you can use a micro SD card reader for this.
@weatheredeyec57
using lubutu and also ubuntu for the linux distros. tried multiple phones as well
@suki300me
why is a direct microsd reader better than going through micro to regular?
Hey guys,
Currently i`m digging into this matter. So here's the concept:
[HU] - one of the back USB's
|
[USB Hub] - powered form an external power supply (external 5V)
| |
U1 U2 - (32GB USB Drives)
A.) Current behaviour
- only the first inserted USB drive get's mounted under /mnt/usb_storage2
- the second usb drive is recognised by the kernel and does not get mounted by the system (not assigned to any "drive letter" so to speak(i think)).
B.) Current investigations:
B.1 ) by unpacking the boot.img - fstab.rk30board.bootmode.*
Code:
/devices/platform/usb20_otg/usb /mnt/usb_storage vfat defaults voldmanaged=usb_storage:auto
/devices/platform/usb20_host/usb /mnt/usb_storage2 vfat defaults voldmanaged=usb_storage2:auto
B.2) by unpacking the boot.img - init.rk30board.rc
Code:
[13] export THIRD_VOLUME_STORAGE /mnt/usb_storage
[14] mkdir /mnt/usb_storage 0000 system system
[15] export THIRD_VOLUME_STORAGE2 /mnt/usb_storage2
[16] mkdir /mnt/usb_storage2 0000 system system
On the Application Side, for example MTCAPKInstall_source/com/hct/apkinstall/DevListAdapter.java
Code:
} else if (path.equals("/mnt/usb_storage")) {
holder.Image.setImageResource(R.drawable.usbhost);
holder.ImageName.setText(this.mContext.getString(R.string.usb1));
} else if (path.equals("/mnt/usb_storage2")) {
holder.Image.setImageResource(R.drawable.usbhost);
holder.ImageName.setText(this.mContext.getString(R.string.usb2));
This can be solved easily by creating a for, or by duplication each else if (the copy/paste way )
I need to do some more tests... i`m also interested for your opinions/experience with this (What have you tested, What worked, What did not work, Why is not working, etc..)
So cheers to everyone and keep you posted
So far i rulled out the usb driver, internal hub.. It has something to do with the block creation and vold...
Will dig more tomorrow(i hope)
okey, so baseline the issue is related to VOLD
VOLD does not generate the block device for the new devices... i`m not 100% sure that VOLD handles the block device generation
for the time being i managed to mount 3 separate partitions from the same USB storage -> by doing this i ruled out the kernel itself, the irq assignment, etc..
I need to dig deeper into VOLD and to see exactly what is the process for generating the block device eg (/dev/block/vold/8:X)
from this point it would be nice to exchange some experience with someone that really know how things work on Android, i`m an iOS user, and the HU is my first Android System
I can't help as haven't gone down the road of digging to deep into kernels and Roms due to other commitments..
But just want to offer words of encouragement as you are working towards a good course..
I don't use a mobile modem and so at the moment that spare usbport is doing nothing. Would be nice to load it up with a spare USB drive I have around here .
That then brings up the powering up thread which the boys have already sorted..
So once you crack this and get a kernel mode going we are good to go..
Sent from my SM-G900I using Tapatalk
I tried to have a look in the binary code of vold shipped with the firmware, but friday was short... I'll continue my work next week
Keep you guys posted
In the past i did some test with a 4 Port USB hub. I connected several USB sticks and a 350 gb harddisk. They were not recognised by rootexplorer or android itself, but ESF file Explorer did recognised all of the devices.
Another strange thing is that when i connect a USB RTL dab+ dongle on the First USB Port on my hui and the harddisk on the other usb port my GPS is not working propperly.
well i`m 100% sure that the hub is not the issue, because:
<<1'st usb drive>>
<6>[ 1757.992589] usb 2-1.3: new high speed USB device number 30 using usb20_host
<6>[ 1758.093203] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5204
<6>[ 1758.093230] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 1758.093282] usb 2-1.3: Product: Cruzer Crossfire
<6>[ 1758.093303] usb 2-1.3: Manufacturer: SanDisk Corporation
<6>[ 1758.093322] usb 2-1.3: SerialNumber: 000016A29874531B
<4>[ 1758.094142] --mtc usb storage 2-1.3 0781 5204
<6>[ 1758.094989] scsi11 : usb-storage 2-1.3:1.0
<5>[ 1759.092957] scsi 11:0:0:0: Direct-Access SanDisk Cruzer 4.05 PQ: 0 ANSI: 2
<5>[ 1759.094087] sd 11:0:0:0: [sda] 16055949 512-byte logical blocks: (8.22 GB/7.65 GiB)
<5>[ 1759.094577] sd 11:0:0:0: [sda] Write Protect is off
<7>[ 1759.094601] sd 11:0:0:0: [sda] Mode Sense: 03 00 00 00
<3>[ 1759.095072] sd 11:0:0:0: [sda] No Caching mode page present
<3>[ 1759.095095] sd 11:0:0:0: [sda] Assuming drive cache: write through
<3>[ 1759.098162] sd 11:0:0:0: [sda] No Caching mode page present
<3>[ 1759.098183] sd 11:0:0:0: [sda] Assuming drive cache: write through
<6>[ 1759.100316] sda: sda1
<3>[ 1759.104583] sd 11:0:0:0: [sda] No Caching mode page present
<3>[ 1759.104621] sd 11:0:0:0: [sda] Assuming drive cache: write through
<5>[ 1759.104663] sd 11:0:0:0: [sda] Attached SCSI removable disk
<7>[ 1759.846560] SELinux: initialized (dev sda1, type vfat), uses genfs_contexts
<<2'nd usb drive>>
<6>[ 1956.392593] usb 2-1.2: new high speed USB device number 31 using usb20_host
<6>[ 1956.493577] usb 2-1.2: New USB device found, idVendor=0951, idProduct=1666
<6>[ 1956.493616] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 1956.493647] usb 2-1.2: Product: DataTraveler 3.0
<6>[ 1956.493666] usb 2-1.2: Manufacturer: Kingston
<6>[ 1956.493683] usb 2-1.2: SerialNumber: 60A44C425294BE10A9820D20
<4>[ 1956.494632] --mtc usb storage 2-1.2 0951 1666
<4>[ 1960.190620] ~ arm_rev_16bits err0 0
the GUI applications are dependent of Device Block Assignment, as you can clearly see, kernel recognises both USB Storage devices, but only the first is assigned with a block device.
okey, so i had a chance to check with IDA the vold binary from our units... seems that vold binary is custom than from other rom's
i will do some tests on the unit itself with a modified version of vold to see what happens
Later Edit,
vold has nothing to do with the block assignment ... on the front USB port also known by the unit : usb20_otg works like a charm... i added 4 USB Drivers each one named accordingly -> sda, sdb, etc.. i managed to mount them manually -> success
On the rear USB also known by the unit usb20_hub it still does not work, VOLD was stopped and removed during tests
clearly things do not add up.. and VOLD so far seems to be ok..
i ran out of ideas
i'm not a developer, but if you find a solution for that problem, you'll be a hero. hope you have finally the idea that will be the right one