подключить как (варианты)
USB-накопитель
Медиа-устройство(MTP)
Камера(PTP)
Только зарядка
подключить как CD-ROM(варианты)
Встроенный CD-ROM
Выбрал вариант подключить как USB-накопитель
Исследования:
Код: Выделить всё
[*******@localhost ~]$ dmesg
...
usb 1-1: USB disconnect, address 10
usb 1-1: new high speed USB device using ehci_hcd and address 11
usb 1-1: device descriptor read/all, error -71
usb 1-1: new high speed USB device using ehci_hcd and address 12
hub 1-0:1.0: unable to enumerate USB device on port 1
usb 1-1: new high speed USB device using ehci_hcd and address 13
usb 1-1: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 13
usb-storage: waiting for device to settle before scanning
usb 1-1: New USB device found, idVendor=0bb4, idProduct=0001
usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-1: Product: MT65xx Android Phone
usb 1-1: Manufacturer: MediaTek
usb 1-1: SerialNumber: 7SCE9PYPJJLZU8ZD
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access Linux File-CD Gadget 0000 PQ: 0 ANSI: 2
sd 6:0:0:0: [sdb] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg1 type 0
usb 1-1: USB disconnect, address 13
usb 1-1: new high speed USB device using ehci_hcd and address 14
usb 1-1: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
usb 1-1: New USB device found, idVendor=0bb4, idProduct=0001
usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-1: Product: MT65xx Android Phone
usb 1-1: Manufacturer: MediaTek
usb 1-1: SerialNumber: 7SCE9PYPJJLZU8ZD
usb-storage: device scan complete
scsi 7:0:0:0: Direct-Access Linux File-CD Gadget 0000 PQ: 0 ANSI: 2
sd 7:0:0:0: [sdb] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg1 type 0
usb 1-1: USB disconnect, address 14
usb 1-1: new high speed USB device using ehci_hcd and address 15
usb 1-1: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
usb 1-1: New USB device found, idVendor=0bb4, idProduct=0001
usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-1: Product: MT65xx Android Phone
usb 1-1: Manufacturer: MediaTek
usb 1-1: SerialNumber: 7SCE9PYPJJLZU8ZD
usb-storage: device scan complete
scsi 8:0:0:0: Direct-Access Linux File-CD Gadget 0000 PQ: 0 ANSI: 2
sd 8:0:0:0: [sdb] Attached SCSI removable disk
sd 8:0:0:0: Attached scsi generic sg1 type 0
usb 1-1: USB disconnect, address 15
usb 1-1: new high speed USB device using ehci_hcd and address 16
usb 1-1: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 16
usb-storage: waiting for device to settle before scanning
usb 1-1: New USB device found, idVendor=0bb4, idProduct=0001
usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-1: Product: MT65xx Android Phone
usb 1-1: Manufacturer: MediaTek
usb 1-1: SerialNumber: 7SCE9PYPJJLZU8ZD
usb-storage: device scan complete
scsi 9:0:0:0: Direct-Access Linux File-CD Gadget 0000 PQ: 0 ANSI: 2
sd 9:0:0:0: [sdb] Attached SCSI removable disk
sd 9:0:0:0: Attached scsi generic sg1 type 0
usb 1-1: USB disconnect, address 16
usb 1-1: new high speed USB device using ehci_hcd and address 17
usb 1-1: configuration #1 chosen from 1 choice
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 17
usb-storage: waiting for device to settle before scanning
usb 1-1: New USB device found, idVendor=0bb4, idProduct=0001
usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-1: Product: MT65xx Android Phone
usb 1-1: Manufacturer: MediaTek
usb 1-1: SerialNumber: 7SCE9PYPJJLZU8ZD
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access Linux File-CD Gadget 0000 PQ: 0 ANSI: 2
sd 10:0:0:0: [sdb] Attached SCSI removable disk
sd 10:0:0:0: Attached scsi generic sg1 type 0
usb 1-1: USB disconnect, address 17
usb 1-1: new high speed USB device using ehci_hcd and address 18
usb 1-1: configuration #1 chosen from 1 choice
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 18
usb-storage: waiting for device to settle before scanning
usb 1-1: New USB device found, idVendor=0bb4, idProduct=0001
usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-1: Product: MT65xx Android Phone
usb 1-1: Manufacturer: MediaTek
usb 1-1: SerialNumber: 7SCE9PYPJJLZU8ZD
usb-storage: device scan complete
scsi 11:0:0:0: Direct-Access Linux File-CD Gadget 0000 PQ: 0 ANSI: 2
sd 11:0:0:0: [sdb] Attached SCSI removable disk
sd 11:0:0:0: Attached scsi generic sg1 type 0
usb 1-1: USB disconnect, address 18
usb 1-1: new high speed USB device using ehci_hcd and address 19
usb 1-1: configuration #1 chosen from 1 choice
scsi12 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 19
usb-storage: waiting for device to settle before scanning
usb 1-1: New USB device found, idVendor=0bb4, idProduct=0001
usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-1: Product: MT65xx Android Phone
usb 1-1: Manufacturer: MediaTek
usb 1-1: SerialNumber: 7SCE9PYPJJLZU8ZD
usb-storage: device scan complete
scsi 12:0:0:0: Direct-Access Linux File-CD Gadget 0000 PQ: 0 ANSI: 2
sd 12:0:0:0: [sdb] Attached SCSI removable disk
sd 12:0:0:0: Attached scsi generic sg1 type 0
[*******@localhost ~]$ su
Пароль:
[root@localhost *******]# /sbin/fdisk -l
Диск /dev/sda: 160.0 ГБ, 160041885696 байт
255 heads, 63 sectors/track, 19457 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfd710a1e
Устр-во Загр Начало Конец Блоки Id Система
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 19457 156087540 8e Linux LVM
Диск /dev/dm-0: 157.7 ГБ, 157705830400 байт
255 heads, 63 sectors/track, 19173 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
На диске /dev/dm-0 отсутствует верная таблица разделов
Диск /dev/dm-1: 2080 МБ, 2080374784 байт
255 heads, 63 sectors/track, 252 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800
На диске /dev/dm-1 отсутствует верная таблица разделов
[root@localhost *******]# /sbin/lsusb
Bus 001 Device 019: ID 0bb4:0001 High Tech Computer Corp.
Bus 001 Device 002: ID 064e:d101 Suyin Corp. Acer CrystalEye Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@localhost *******]# /sbin/blkid -o list -c /dev/null
device fs_type label mount point UUID
-----------------------------------------------------------------------------------------------------------------------------
/dev/sda1 ext3 /boot /boot dbef91ed-fe09-4901-a27f-1aee6033d9fa
/dev/sda2 lvm2pv (in use) scUKqi-wfz7-oS9p-Bt28-vhtY-Jc2R-U0rMCh
/dev/dm-0 ext3 / 7c16ad91-ef6a-4df4-bf60-342cfa1b59fe
/dev/dm-1 swap <swap> f244dfc4-e412-46f5-be1f-d910b9874893
[root@localhost *******]# /sbin/blkid -c /dev/null
/dev/sda1: LABEL="/boot" UUID="dbef91ed-fe09-4901-a27f-1aee6033d9fa" TYPE="ext3"
/dev/sda2: UUID="scUKqi-wfz7-oS9p-Bt28-vhtY-Jc2R-U0rMCh" TYPE="lvm2pv"
/dev/dm-0: UUID="7c16ad91-ef6a-4df4-bf60-342cfa1b59fe" TYPE="ext3"
/dev/dm-1: UUID="f244dfc4-e412-46f5-be1f-d910b9874893" TYPE="swap"
[root@localhost *******]# /usr/sbin/lshw -C storage
*-usb:0
description: Mass storage device
product: MT65xx Android Phone
vendor: MediaTek
physical id: 1
bus info: usb@1:1
logical name: scsi13
version: 2.16
serial: 7SCE9PYPJJLZU8ZD
capabilities: usb-2.00 scsi emulated scsi-host
configuration: driver=usb-storage maxpower=500mA speed=480.0MB/s
*-ide
description: IDE interface
product: 82801GBM/GHM (ICH7 Family) SATA IDE Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi0
version: 02
width: 32 bits
clock: 66MHz
capabilities: ide pm bus_master cap_list emulated
configuration: driver=ata_piix latency=0
resources: irq:17 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:60a0(size=16)
[root@localhost *******]# /usr/sbin/lshw -C volume
*-volume:0
description: EXT3 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /boot
version: 1.0
serial: dbef91ed-fe09-4901-a27f-1aee6033d9fa
size: 196MiB
capacity: 196MiB
capabilities: primary bootable journaled extended_attributes ext3 ext2 initialized
configuration: created=2009-07-28 09:53:29 filesystem=ext3 label=/boot modified=2016-01-21 00:22:41 mount.fstype=ext3 mount.options=rw,relatime,errors=continue,user_xattr,acl,data=ordered mounted=2016-01-20 23:26:39 state=mounted
*-volume:1
description: Linux LVM Physical Volume partition
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
serial: scUKqi-wfz7-oS9p-Bt28-vhtY-Jc2R-U0rMCh
size: 148GiB
capacity: 148GiB
capabilities: primary multi lvm2
[root@localhost *******]# /usr/sbin/lshw -C disk
*-disk
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@13:0.0.0
logical name: /dev/sdb
*-disk
description: ATA Disk
product: TOSHIBA MK1652GS
vendor: Toshiba
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: LV02
serial: 39I8CAW9T
size: 149GiB (160GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=fd710a1e
[root@localhost *******]#
/dev/sdb и /dev/sg1
Не монтируются:
[root@localhost *******]# mount /dev/sdb /mnt/usbstick/
mount: вы должны указать тип файловой системы
[root@localhost *******]# mount -t vfat /dev/sdb /mnt/usbstick/
mount: Носитель не найден
[root@localhost *******]# mount /dev/sg1 /mnt/usbstick/
mount: вы должны указать тип файловой системы
[root@localhost *******]# mount -t vfat /dev/sg1 /mnt/usbstick/
mount: /dev/sg1 не является блочным устройством
[root@localhost *******]# mount -t vfat /dev/sg1 /mnt/usbstick/ -o loop
ioctl: LOOP_SET_FD: Недопустимый аргумент
[root@localhost *******]#