I connected my China mobile to laptop via cable. On the phone I selected the option mass storage. Then it messages on the phone as "done". But as I was expecting I would be able to see the contents of the mobile (memory card, inbuilt disk) it didn't happen so.
I checked the command df -h but it doesn't show my phone. When I click on the "file" menu of the Ubuntu launcher to see the devices of my computer, it doesn't show up.
The same way when I connect with my Windows 7, it reflects there perfectly. But what may be the issue with my Ubuntu13.04?
The output of dmesg (as shown below) shows the 2 storage devices on mobile. This output shows the two devices with name sdb and sdc.
Below is output fragment of the above command:
Code:
[ 1695.497177] sd 6:0:0:0: [sdb] 3964928 512-byte logical blocks: (2.03 GB/1.89 GiB)
[ 1695.505093] sd 6:0:0:1: [sdc] 1000 512-byte logical blocks: (512 kB/500 KiB)
The complete output is below:
Code:
dmesg | tail -n 40
[ 687.926249] Buffer I/O error on device sdb, logical block 1
[ 687.926252] Buffer I/O error on device sdb, logical block 1
[ 687.926256] Buffer I/O error on device sdb, logical block 1
[ 687.926272] Buffer I/O error on device sdb, logical block 495615
[ 687.926279] Buffer I/O error on device sdb, logical block 0
[ 687.926283] Buffer I/O error on device sdb, logical block 0
[ 696.056096] usb 7-1: USB disconnect, device number 5
[ 1694.288050] usb 7-1: new full-speed USB device number 6 using uhci_hcd
[ 1694.471086] usb 7-1: New USB device found, idVendor=0e8d, idProduct=0002
[ 1694.471093] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 1694.471096] usb 7-1: Product: MT6225
[ 1694.471099] usb 7-1: Manufacturer: MediaTek Inc
[ 1694.471101] usb 7-1: SerialNumber: 533807205600090
[ 1694.476542] scsi6 : usb-storage 7-1:1.0
[ 1695.480108] scsi 6:0:0:0: Direct-Access MEDIATEK FLASH DISK 6225 PQ: 0 ANSI: 0 CCS
[ 1695.483121] scsi 6:0:0:1: Direct-Access MEDIATEK FLASH DISK 6225 PQ: 0 ANSI: 0 CCS
[ 1695.487030] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 1695.487241] sd 6:0:0:1: Attached scsi generic sg3 type 0
[ 1695.497177] sd 6:0:0:0: [sdb] 3964928 512-byte logical blocks: (2.03 GB/1.89 GiB)
[ 1695.502101] sd 6:0:0:0: [sdb] Write Protect is off
[ 1695.502108] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 1695.505093] sd 6:0:0:1: [sdc] 1000 512-byte logical blocks: (512 kB/500 KiB)
[ 1695.508140] sd 6:0:0:0: [sdb] No Caching mode page found
[ 1695.508145] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1695.511104] sd 6:0:0:1: [sdc] Write Protect is off
[ 1695.511111] sd 6:0:0:1: [sdc] Mode Sense: 03 00 00 00
[ 1695.516140] sd 6:0:0:1: [sdc] No Caching mode page found
[ 1695.516146] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[ 1695.538535] sd 6:0:0:0: [sdb] No Caching mode page found
[ 1695.538542] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1695.548183] sdb: sdb1
[ 1695.551261] sd 6:0:0:1: [sdc] No Caching mode page found
[ 1695.551270] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[ 1695.560464] sdc: sdc1
[ 1695.586091] sd 6:0:0:0: [sdb] No Caching mode page found
[ 1695.586099] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1695.586103] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 1695.592133] sd 6:0:0:1: [sdc] No Caching mode page found
[ 1695.592141] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[ 1695.592146] sd 6:0:0:1: [sdc] Attached SCSI removable disk
ravbholua@ravbholua-Aspire-5315:~$
As these names (sdb and sdc) weren't reflecting on my Ubuntu, so I created manually these files
Code:
ravbholua@ravbholua-Aspire-5315:~$ sudo mknod /dev/sdb b 8 0
ravbholua@ravbholua-Aspire-5315:~$ cd /dev
ravbholua@ravbholua-Aspire-5315:/dev$ ls sd*
sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sdb
ravbholua@ravbholua-Aspire-5315:/dev$ sudo mknod /dev/sdc b 8 0
ravbholua@ravbholua-Aspire-5315:/dev$ !-2
ls sd*
sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sdb sdc
But still I couldn't locate the 2 device files sdb and sdc representing my mobile devices.
Also I couldn't mount or unmount the above 2 devices as shown below:
Code:
ravbholua@ravbholua-Aspire-5315:/dev$ sudo mount /dev/sdb /mnt
mount: /dev/sdb already mounted or /mnt busy
ravbholua@ravbholua-Aspire-5315:/dev$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 9.9G 5.8G 3.6G 62% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 489M 4.0K 489M 1% /dev
tmpfs 100M 920K 99M 1% /run
none 5.0M 4.0K 5.0M 1% /run/lock
none 497M 672K 496M 1% /run/shm
none 100M 36K 100M 1% /run/user
/dev/sda5 284M 129M 141M 48% /boot
/dev/sda8 9.5G 7.6G 1.5G 85% /home
ravbholua@ravbholua-Aspire-5315:/dev$ sudo umount /mnt
umount: /mnt: not mounted
ravbholua@ravbholua-Aspire-5315:/dev$ ls sd*
sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sdb sdc
ravbholua@ravbholua-Aspire-5315:/dev$ sudo umount /dev/sdb
umount: /dev/sdb: not mounted
ravbholua@ravbholua-Aspire-5315:/dev$ cd /
ravbholua@ravbholua-Aspire-5315:/$ sudo mount /dev/sdb /mnt
mount: /dev/sdb already mounted or /mnt busy
ravbholua@ravbholua-Aspire-5315:/$