USB pen drive not auto mounted / unmounted in imx6 kitkat

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB pen drive not auto mounted / unmounted in imx6 kitkat

1,066 Views
vivektol
Contributor I

Sub :- USB pen drive not auto mounted / unmounted in imx6 kitkat
Dear Sir,

              we have developed a custom board using imx6DL processor.

We have developed android kitkat 4.4.2 for this board.

When we are connecting usb pen drive then in dmesg it is shown as sda.

But it is not get mounted anywhere. If we manually mount it then we can see contents of pen drive.

If we remove pen drive and again connected then in dmesg sdb shown.

Means every time pen drive connected new node created for pen drive in /dev/block/ and we have to manually mount it.

Also in Android setting -- storage -- usb storage it is not reflected even after mounting it manually.

Please give some solution for this problem..

Labels (1)
0 Kudos
3 Replies

544 Views
vivektol
Contributor I

Dear Artur,

                   Thanks for your reply.

I have checked it with box USB host and usb OTG port. I am getting same response.

When usb pen drive connected --- it is detected as /dev/block/sda  ----- but not mounted

If we remove pen drive that also detected sda get removed from /dev/block.

IF we manually mounted then we have to manually unmount it. Otherwise second time it will detected as /dev/block/sdb.

Driver loaded for this pen drive is usb_storage.

In our kitkat 4.4.2 we are missing something because of auto mounting and unmounting of usb pen drive in Host as well as OTG not working.

If you can provide some check points, it will be helpful for us.

0 Kudos

544 Views
art
NXP Employee
NXP Employee

I have checked it on my i.MX6Q SABRE SD board with the original KK4.4.2 BSP by NXP/FSL - everything works fine, i.e. an USB storage device is always detected as sda, auto-mounted and becomes visible in the Android Settings - > Storage menu. So, the problem is specific for your custom system, either in hardware or in software. By the way, what USB port do you use, OTG or Host?


Have a great day,
Artur

0 Kudos

544 Views
vivektol
Contributor I

usb pen drive detection / undetection logs for both OTG and Host are as below

ehci_fsl_bus_resume begins, DR

ehci_fsl_bus_resume ends, DR

usb 1-1: new high speed USB device number 8 using fsl-ehci

usb 1-1: device not accepting address 8, error -71

usb 1-1: new high speed USB device number 9 using fsl-ehci

usb 1-1: new high speed USB device number 10 using fsl-ehci

usb 1-1: device v0930 p6544 is not supported

scsi1 : usb-storage 1-1:1.0

usb 1-1: USB disconnect, device number 10

fsl-ehci fsl-ehci.0: port 1 reset error -110

usb 1-1: new high speed USB device number 11 using fsl-ehci

usb 1-1: new high speed USB device number 12 using fsl-ehci

usb 1-1: device v0930 p6544 is not supported

scsi2 : usb-storage 1-1:1.0

scsi 2:0:0:0: Direct-Access     Kingston DataTraveler G3  1.00 PQ: 0 ANSI: 2

sd 2:0:0:0: [sda] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)

sd 2:0:0:0: [sda] Write Protect is off

sd 2:0:0:0: [sda] Mode Sense: 0b 00 00 08

sd 2:0:0:0: [sda] No Caching mode page present

sd 2:0:0:0: [sda] Assuming drive cache: write through

sd 2:0:0:0: [sda] No Caching mode page present

sd 2:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 2:0:0:0: [sda] No Caching mode page present

sd 2:0:0:0: [sda] Assuming drive cache: write through

sd 2:0:0:0: [sda] Attached SCSI removable disk

root@var_som_mx6:/ # ls -l /dev  /blroot@var_som_mx6:/ # ls -l /dev/block/                                        

loop0        loop4        mmcblk0      mmcblk0p2    mmcblk0p6    sda        

loop1        loop5        mmcblk0boot0 mmcblk0p3    mmcblk0p7    sda1       

loop2        loop6        mmcblk0boot1 mmcblk0p4    mmcblk0p8    vold/      

loop3        loop7        mmcblk0p1    mmcblk0p5    platform/   

root@var_som_mx6:/ # ls -l /dev/block/                                        

brw------- root     root       7,   0 1970-01-01 00:00 loop0

brw------- root     root       7,   1 1970-01-01 00:00 loop1

brw------- root     root       7,   2 1970-01-01 00:00 loop2

brw------- root     root       7,   3 1970-01-01 00:00 loop3

brw------- root     root       7,   4 1970-01-01 00:00 loop4

brw------- root     root       7,   5 1970-01-01 00:00 loop5

brw------- root     root       7,   6 1970-01-01 00:00 loop6

brw------- root     root       7,   7 1970-01-01 00:00 loop7

brw------- root     root     179,   0 1970-01-01 00:00 mmcblk0

brw------- root     root     179,   8 1970-01-01 00:00 mmcblk0boot0

brw------- root     root     179,  16 1970-01-01 00:00 mmcblk0boot1

brw------- root     root     179,   1 1970-01-01 00:00 mmcblk0p1

brw------- root     root     179,   2 1970-01-01 00:00 mmcblk0p2

brw------- root     root     179,   3 1970-01-01 00:00 mmcblk0p3

brw------- root     root     179,   4 1970-01-01 00:00 mmcblk0p4

brw------- root     root     179,   5 1970-01-01 00:00 mmcblk0p5

brw------- root     root     179,   6 1970-01-01 00:00 mmcblk0p6

brw------- root     root     179,   7 1970-01-01 00:00 mmcblk0p7

brw------- root     root     259,   0 1970-01-01 00:00 mmcblk0p8

drwxr-xr-x root     root              1970-01-02 00:02 platform

brw------- root     root       8,   0 1970-01-02 00:02 sda

brw------- root     root       8,   1 1970-01-02 00:02 sda1

drwx------ root     root              1970-01-01 00:00 vold

root@var_som_mx6:/ # ls -l /s

sbin/           seapp_contexts  storage/        system/        

sdcard/         sepolicy        sys/           

root@var_som_mx6:/ # ls -l /s                                                  troot@var_som_mx6:/ # ls -l /storage/                                           udroot@var_som_mx6:/ # ls -l /storage/udisk/                                    

root@var_som_mx6:/ # usb 1-1: USB disconnect, device number 12

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

root@var_som_mx6:/ # ehci_fsl_bus_resume begins, DR

ehci_fsl_bus_resume ends, DR

usb 1-1: new high speed USB device number 13 using fsl-ehci

usb 1-1: device v0930 p6544 is not supported

scsi3 : usb-storage 1-1:1.0

scsi 3:0:0:0: Direct-Access     Kingston DataTraveler G3  1.00 PQ: 0 ANSI: 2

sd 3:0:0:0: [sda] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)

sd 3:0:0:0: [sda] Write Protect is off

sd 3:0:0:0: [sda] Mode Sense: 0b 00 00 08

sd 3:0:0:0: [sda] No Caching mode page present

sd 3:0:0:0: [sda] Assuming drive cache: write through

sd 3:0:0:0: [sda] No Caching mode page present

sd 3:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 3:0:0:0: [sda] No Caching mode page present

sd 3:0:0:0: [sda] Assuming drive cache: write through

sd 3:0:0:0: [sda] Attached SCSI removable disk

root@var_som_mx6:/ # root@var_som_mx6:/ # ls -l /storage/udisk/                                     root@var_som_mx6:/ # ls -l /dev/block/                                        

loop0        loop4        mmcblk0      mmcblk0p2    mmcblk0p6    sda        

loop1        loop5        mmcblk0boot0 mmcblk0p3    mmcblk0p7    sda1       

loop2        loop6        mmcblk0boot1 mmcblk0p4    mmcblk0p8    vold/      

loop3        loop7        mmcblk0p1    mmcblk0p5    platform/   

root@var_som_mx6:/ # ls -l /dev/block/                                        

brw------- root     root       7,   0 1970-01-01 00:00 loop0

brw------- root     root       7,   1 1970-01-01 00:00 loop1

brw------- root     root       7,   2 1970-01-01 00:00 loop2

brw------- root     root       7,   3 1970-01-01 00:00 loop3

brw------- root     root       7,   4 1970-01-01 00:00 loop4

brw------- root     root       7,   5 1970-01-01 00:00 loop5

brw------- root     root       7,   6 1970-01-01 00:00 loop6

brw------- root     root       7,   7 1970-01-01 00:00 loop7

brw------- root     root     179,   0 1970-01-01 00:00 mmcblk0

brw------- root     root     179,   8 1970-01-01 00:00 mmcblk0boot0

brw------- root     root     179,  16 1970-01-01 00:00 mmcblk0boot1

brw------- root     root     179,   1 1970-01-01 00:00 mmcblk0p1

brw------- root     root     179,   2 1970-01-01 00:00 mmcblk0p2

brw------- root     root     179,   3 1970-01-01 00:00 mmcblk0p3

brw------- root     root     179,   4 1970-01-01 00:00 mmcblk0p4

brw------- root     root     179,   5 1970-01-01 00:00 mmcblk0p5

brw------- root     root     179,   6 1970-01-01 00:00 mmcblk0p6

brw------- root     root     179,   7 1970-01-01 00:00 mmcblk0p7

brw------- root     root     259,   0 1970-01-01 00:00 mmcblk0p8

drwxr-xr-x root     root              1970-01-02 00:02 platform

brw------- root     root       8,   0 1970-01-02 00:03 sda

brw------- root     root       8,   1 1970-01-02 00:03 sda1

drwx------ root     root              1970-01-01 00:00 vold

root@var_som_mx6:/ # usb 1-1: USB disconnect, device number 13

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

root@var_som_mx6:/ #

root@var_som_mx6:/ # usb 2-1.1: USB disconnect, device number 3

usb 2-1.1: new high speed USB device number 4 using fsl-ehci

scsi4 : usb-storage 2-1.1:1.0

scsi 4:0:0:0: Direct-Access     Kingston DataTraveler G3  1.00 PQ: 0 ANSI: 2

sd 4:0:0:0: [sda] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)

sd 4:0:0:0: [sda] Write Protect is off

sd 4:0:0:0: [sda] Mode Sense: 0b 00 00 08

sd 4:0:0:0: [sda] No Caching mode page present

sd 4:0:0:0: [sda] Assuming drive cache: write through

sd 4:0:0:0: [sda] No Caching mode page present

sd 4:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 4:0:0:0: [sda] No Caching mode page present

sd 4:0:0:0: [sda] Assuming drive cache: write through

sd 4:0:0:0: [sda] Attached SCSI removable disk

root@var_som_mx6:/ # root@var_som_mx6:/ # ls -l /dev/block/                                         root@var_som_mx6:/ # ls -l /storage/udisk/                                     root@var_som_mx6:/ # ls -l /dev/block/                                        

loop0        loop4        mmcblk0      mmcblk0p2    mmcblk0p6    sda        

loop1        loop5        mmcblk0boot0 mmcblk0p3    mmcblk0p7    sda1       

loop2        loop6        mmcblk0boot1 mmcblk0p4    mmcblk0p8    vold/      

loop3        loop7        mmcblk0p1    mmcblk0p5    platform/   

root@var_som_mx6:/ # ls -l /dev/block/                                        

brw------- root     root       7,   0 1970-01-01 00:00 loop0

brw------- root     root       7,   1 1970-01-01 00:00 loop1

brw------- root     root       7,   2 1970-01-01 00:00 loop2

brw------- root     root       7,   3 1970-01-01 00:00 loop3

brw------- root     root       7,   4 1970-01-01 00:00 loop4

brw------- root     root       7,   5 1970-01-01 00:00 loop5

brw------- root     root       7,   6 1970-01-01 00:00 loop6

brw------- root     root       7,   7 1970-01-01 00:00 loop7

brw------- root     root     179,   0 1970-01-01 00:00 mmcblk0

brw------- root     root     179,   8 1970-01-01 00:00 mmcblk0boot0

brw------- root     root     179,  16 1970-01-01 00:00 mmcblk0boot1

brw------- root     root     179,   1 1970-01-01 00:00 mmcblk0p1

brw------- root     root     179,   2 1970-01-01 00:00 mmcblk0p2

brw------- root     root     179,   3 1970-01-01 00:00 mmcblk0p3

brw------- root     root     179,   4 1970-01-01 00:00 mmcblk0p4

brw------- root     root     179,   5 1970-01-01 00:00 mmcblk0p5

brw------- root     root     179,   6 1970-01-01 00:00 mmcblk0p6

brw------- root     root     179,   7 1970-01-01 00:00 mmcblk0p7

brw------- root     root     259,   0 1970-01-01 00:00 mmcblk0p8

drwxr-xr-x root     root              1970-01-02 00:04 platform

brw------- root     root       8,   0 1970-01-02 00:04 sda

brw------- root     root       8,   1 1970-01-02 00:04 sda1

drwx------ root     root              1970-01-01 00:00 vold

root@var_som_mx6:/ # root@var_som_mx6:/ # ls -l /dev/block/                                         root@var_som_mx6:/ # ls -l /storage/udisk/                                    

root@var_som_mx6:/ # usb 2-1.1: USB disconnect, device number 4

ehci_fsl_bus_suspend begins, Host 1

ehci_fsl_bus_suspend ends, Host 1

root@var_som_mx6:/ #

root@var_som_mx6:/ # ehci_fsl_bus_resume begins, Host 1

ehci_fsl_bus_resume ends, Host 1

usb 2-1.1: new high speed USB device number 5 using fsl-ehci

scsi5 : usb-storage 2-1.1:1.0

scsi 5:0:0:0: Direct-Access     Kingston DataTraveler G3  1.00 PQ: 0 ANSI: 2

sd 5:0:0:0: [sda] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)

sd 5:0:0:0: [sda] Write Protect is off

sd 5:0:0:0: [sda] Mode Sense: 0b 00 00 08

sd 5:0:0:0: [sda] No Caching mode page present

sd 5:0:0:0: [sda] Assuming drive cache: write through

sd 5:0:0:0: [sda] No Caching mode page present

sd 5:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 5:0:0:0: [sda] No Caching mode page present

sd 5:0:0:0: [sda] Assuming drive cache: write through

sd 5:0:0:0: [sda] Attached SCSI removable disk

root@var_som_mx6:/ # root@var_som_mx6:/ # ls -l /storage/udisk/                                     root@var_som_mx6:/ # ls -l /dev/block/                                        

loop0        loop4        mmcblk0      mmcblk0p2    mmcblk0p6    sda        

loop1        loop5        mmcblk0boot0 mmcblk0p3    mmcblk0p7    sda1       

loop2        loop6        mmcblk0boot1 mmcblk0p4    mmcblk0p8    vold/      

loop3        loop7        mmcblk0p1    mmcblk0p5    platform/   

root@var_som_mx6:/ # ls -l /dev/block/                                        

brw------- root     root       7,   0 1970-01-01 00:00 loop0

brw------- root     root       7,   1 1970-01-01 00:00 loop1

brw------- root     root       7,   2 1970-01-01 00:00 loop2

brw------- root     root       7,   3 1970-01-01 00:00 loop3

brw------- root     root       7,   4 1970-01-01 00:00 loop4

brw------- root     root       7,   5 1970-01-01 00:00 loop5

brw------- root     root       7,   6 1970-01-01 00:00 loop6

brw------- root     root       7,   7 1970-01-01 00:00 loop7

brw------- root     root     179,   0 1970-01-01 00:00 mmcblk0

brw------- root     root     179,   8 1970-01-01 00:00 mmcblk0boot0

brw------- root     root     179,  16 1970-01-01 00:00 mmcblk0boot1

brw------- root     root     179,   1 1970-01-01 00:00 mmcblk0p1

brw------- root     root     179,   2 1970-01-01 00:00 mmcblk0p2

brw------- root     root     179,   3 1970-01-01 00:00 mmcblk0p3

brw------- root     root     179,   4 1970-01-01 00:00 mmcblk0p4

brw------- root     root     179,   5 1970-01-01 00:00 mmcblk0p5

brw------- root     root     179,   6 1970-01-01 00:00 mmcblk0p6

brw------- root     root     179,   7 1970-01-01 00:00 mmcblk0p7

brw------- root     root     259,   0 1970-01-01 00:00 mmcblk0p8

drwxr-xr-x root     root              1970-01-02 00:04 platform

brw------- root     root       8,   0 1970-01-02 00:04 sda

brw------- root     root       8,   1 1970-01-02 00:04 sda1

drwx------ root     root              1970-01-01 00:00 vold

root@var_som_mx6:/ # usb 2-1.1: USB disconnect, device number 5

ehci_fsl_bus_suspend begins, Host 1

ehci_fsl_bus_suspend ends, Host 1

root@var_som_mx6:/ #

root@var_som_mx6:/ # ehci_fsl_bus_resume begins, Host 1

ehci_fsl_bus_resume ends, Host 1

usb 2-1.1: new high speed USB device number 6 using fsl-ehci

scsi6 : usb-storage 2-1.1:1.0

scsi 6:0:0:0: Direct-Access     Kingston DataTraveler G3  1.00 PQ: 0 ANSI: 2

sd 6:0:0:0: [sda] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)

sd 6:0:0:0: [sda] Write Protect is off

sd 6:0:0:0: [sda] Mode Sense: 0b 00 00 08

sd 6:0:0:0: [sda] No Caching mode page present

sd 6:0:0:0: [sda] Assuming drive cache: write through

sd 6:0:0:0: [sda] No Caching mode page present

sd 6:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 6:0:0:0: [sda] No Caching mode page present

sd 6:0:0:0: [sda] Assuming drive cache: write through

sd 6:0:0:0: [sda] Attached SCSI removable disk

root@var_som_mx6:/ #

root@var_som_mx6:/ # root@var_som_mx6:/ # ls -l /dev/block/                                         root@var_som_mx6:/ # ls -l /storage/udisk/                                     root@var_som_mx6:/ # ls -l /dev/block/                                        

brw------- root     root       7,   0 1970-01-01 00:00 loop0

brw------- root     root       7,   1 1970-01-01 00:00 loop1

brw------- root     root       7,   2 1970-01-01 00:00 loop2

brw------- root     root       7,   3 1970-01-01 00:00 loop3

brw------- root     root       7,   4 1970-01-01 00:00 loop4

brw------- root     root       7,   5 1970-01-01 00:00 loop5

brw------- root     root       7,   6 1970-01-01 00:00 loop6

brw------- root     root       7,   7 1970-01-01 00:00 loop7

brw------- root     root     179,   0 1970-01-01 00:00 mmcblk0

brw------- root     root     179,   8 1970-01-01 00:00 mmcblk0boot0

brw------- root     root     179,  16 1970-01-01 00:00 mmcblk0boot1

brw------- root     root     179,   1 1970-01-01 00:00 mmcblk0p1

brw------- root     root     179,   2 1970-01-01 00:00 mmcblk0p2

brw------- root     root     179,   3 1970-01-01 00:00 mmcblk0p3

brw------- root     root     179,   4 1970-01-01 00:00 mmcblk0p4

brw------- root     root     179,   5 1970-01-01 00:00 mmcblk0p5

brw------- root     root     179,   6 1970-01-01 00:00 mmcblk0p6

brw------- root     root     179,   7 1970-01-01 00:00 mmcblk0p7

brw------- root     root     259,   0 1970-01-01 00:00 mmcblk0p8

drwxr-xr-x root     root              1970-01-02 00:04 platform

brw------- root     root       8,   0 1970-01-02 00:04 sda

brw------- root     root       8,   1 1970-01-02 00:04 sda1

drwx------ root     root              1970-01-01 00:00 vold

root@var_som_mx6:/ # usb 2-1.1: USB disconnect, device number 6

root@var_som_mx6:/ #

root@var_som_mx6:/ # ehci_fsl_bus_suspend begins, Host 1

ehci_fsl_bus_suspend ends, Host 1

ehci_fsl_bus_resume begins, DR

ehci_fsl_bus_resume ends, DR

usb 1-1: new high speed USB device number 14 using fsl-ehci

usb 1-1: device v0930 p6544 is not supported

scsi7 : usb-storage 1-1:1.0

scsi 7:0:0:0: Direct-Access     Kingston DataTraveler G3  1.00 PQ: 0 ANSI: 2

sd 7:0:0:0: [sda] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)

sd 7:0:0:0: [sda] Write Protect is off

sd 7:0:0:0: [sda] Mode Sense: 0b 00 00 08

sd 7:0:0:0: [sda] No Caching mode page present

sd 7:0:0:0: [sda] Assuming drive cache: write through

sd 7:0:0:0: [sda] No Caching mode page present

sd 7:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 7:0:0:0: [sda] No Caching mode page present

sd 7:0:0:0: [sda] Assuming drive cache: write through

sd 7:0:0:0: [sda] Attached SCSI removable disk

root@var_som_mx6:/ #

root@var_som_mx6:/ # root@var_som_mx6:/ # ls -l /dev/block/                                        

loop0        loop4        mmcblk0      mmcblk0p2    mmcblk0p6    sda        

loop1        loop5        mmcblk0boot0 mmcblk0p3    mmcblk0p7    sda1       

loop2        loop6        mmcblk0boot1 mmcblk0p4    mmcblk0p8    vold/      

loop3        loop7        mmcblk0p1    mmcblk0p5    platform/   

root@var_som_mx6:/ # ls -l /dev/block/                                        

brw------- root     root       7,   0 1970-01-01 00:00 loop0

brw------- root     root       7,   1 1970-01-01 00:00 loop1

brw------- root     root       7,   2 1970-01-01 00:00 loop2

brw------- root     root       7,   3 1970-01-01 00:00 loop3

brw------- root     root       7,   4 1970-01-01 00:00 loop4

brw------- root     root       7,   5 1970-01-01 00:00 loop5

brw------- root     root       7,   6 1970-01-01 00:00 loop6

brw------- root     root       7,   7 1970-01-01 00:00 loop7

brw------- root     root     179,   0 1970-01-01 00:00 mmcblk0

brw------- root     root     179,   8 1970-01-01 00:00 mmcblk0boot0

brw------- root     root     179,  16 1970-01-01 00:00 mmcblk0boot1

brw------- root     root     179,   1 1970-01-01 00:00 mmcblk0p1

brw------- root     root     179,   2 1970-01-01 00:00 mmcblk0p2

brw------- root     root     179,   3 1970-01-01 00:00 mmcblk0p3

brw------- root     root     179,   4 1970-01-01 00:00 mmcblk0p4

brw------- root     root     179,   5 1970-01-01 00:00 mmcblk0p5

brw------- root     root     179,   6 1970-01-01 00:00 mmcblk0p6

brw------- root     root     179,   7 1970-01-01 00:00 mmcblk0p7

brw------- root     root     259,   0 1970-01-01 00:00 mmcblk0p8

drwxr-xr-x root     root              1970-01-02 00:04 platform

brw------- root     root       8,   0 1970-01-02 00:05 sda

brw------- root     root       8,   1 1970-01-02 00:05 sda1

drwx------ root     root              1970-01-01 00:00 vold

root@var_som_mx6:/ # mount     root@var_som_mx6:/ # ls -l /dev/block/                                         root@var_som_mx6:/ # ls -l /storage/udisk/                                    

root@var_som_mx6:/ # mount -t vfat /dev/blroot@var_som_mx6:/ # mount -t vfat /dev/block/                                 sda1 /ment   nt/medev/block/sda1 /mnt/media_rw/                                                  <udat /dev/block/sda1 /mnt/media_rw/udisk/                                       <

mount: sending ioctl 125d to a partition!

mount: sending ioctl 125d to a partition!

root@var_som_mx6:/ # root@var_som_mx6:/ # mount -t vfat /dev/block/sda1 /mnt/media_rw/udisk/        root@var_som_mx6:/ # ls -l /storage/udisk/                                    

drwx------ root     root              1980-01-01 00:00 LOST.DIR

-rwx------ root     root        41984 2016-04-22 10:53 device tree.doc

-rwx------ root     root        24576 2016-04-14 14:29 imx6 pin multiplexing.doc

root@var_som_mx6:/ # usb 1-1: USB disconnect, device number 14

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

root@var_som_mx6:/ # ehci_fsl_bus_resume begins, DR

ehci_fsl_bus_resume ends, DR

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

fsl-ehci fsl-ehci.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?

hub 1-0:1.0: unable to enumerate USB device on port 1

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

root@var_som_mx6:/ # ehci_fsl_bus_resume begins, DR

ehci_fsl_bus_resume ends, DR

usb 1-1: new high speed USB device number 19 using fsl-ehci

usb 1-1: device v0930 p6544 is not supported

scsi8 : usb-storage 1-1:1.0

scsi 8:0:0:0: Direct-Access     Kingston DataTraveler G3  1.00 PQ: 0 ANSI: 2

sd 8:0:0:0: [sdb] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)

sd 8:0:0:0: [sdb] Write Protect is off

sd 8:0:0:0: [sdb] Mode Sense: 0b 00 00 08

sd 8:0:0:0: [sdb] No Caching mode page present

sd 8:0:0:0: [sdb] Assuming drive cache: write through

sd 8:0:0:0: [sdb] No Caching mode page present

sd 8:0:0:0: [sdb] Assuming drive cache: write through

sdb: sdb1

sd 8:0:0:0: [sdb] No Caching mode page present

sd 8:0:0:0: [sdb] Assuming drive cache: write through

sd 8:0:0:0: [sdb] Attached SCSI removable disk

root@var_som_mx6:/ # root@var_som_mx6:/ # ls -l /storage/udisk/                                     root@var_som_mx6:/ # mount -t vfat /dev/block/sda1 /mnt/media_rw/udisk/        root@var_som_mx6:/ # ls -l /storage/udisk/                                     root@var_som_mx6:/ # ls -l /dev/block/                                        

loop0        loop4        mmcblk0      mmcblk0p2    mmcblk0p6    sdb        

loop1        loop5        mmcblk0boot0 mmcblk0p3    mmcblk0p7    sdb1       

loop2        loop6        mmcblk0boot1 mmcblk0p4    mmcblk0p8    vold/      

loop3        loop7        mmcblk0p1    mmcblk0p5    platform/   

root@var_som_mx6:/ # ls -l /dev/block/                                         root@var_som_mx6:/ # ls -l /storage/udisk/                                    

FAT-fs (sda1): Directory bread(block 7654) failed

FAT-fs (sda1): Directory bread(block 7655) failed

FAT-fs (sda1): Directory bread(block 7656) failed

FAT-fs (sda1): Directory bread(block 7657) failed

FAT-fs (sda1): Directory bread(block 7658) failed

FAT-fs (sda1): Directory bread(block 7659) failed

FAT-fs (sda1): Directory bread(block 7660) failed

FAT-fs (sda1): Directory bread(block 7661) failed

root@var_som_mx6:/ #

root@var_som_mx6:/ #

root@var_som_mx6:/ # usb 1-1: USB disconnect, device number 19

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

root@var_som_mx6:/ #

0 Kudos