Купил плеер и столкнулся с проблемой, не могу подключить его к компьютеру (USB)
у него есть два режима MTP(Music transfer protocol) и MSC(Mass storage connect)
если подкючить в режиме MSC или MTP, то
Код:
# dmesg
usb 1-6: new high speed USB device using ehci_hcd and address 16
usb 1-6: configuration #1 chosen from 1 choice
scsi11 : SCSI emulation for USB Mass Storage devices
usb 1-6: New USB device found, idVendor=0492, idProduct=0140
usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-6: Product: Music Player
usb 1-6: Manufacturer: General
usb 1-6: SerialNumber: 000000E8E8000
usb-storage: device found at 16
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 11:0:0:0: Direct-Access General Music Player 1.00 PQ: 0 ANSI: 2
sd 11:0:0:0: [sda] 7913472 512-byte hardware sectors (4052 MB)
sd 11:0:0:0: [sda] Write Protect is off
sd 11:0:0:0: [sda] Mode Sense: 00 26 00 00
sd 11:0:0:0: [sda] Assuming drive cache: write through
sd 11:0:0:0: [sda] 7913472 512-byte hardware sectors (4052 MB)
sd 11:0:0:0: [sda] Write Protect is off
sd 11:0:0:0: [sda] Mode Sense: 00 26 00 00
sd 11:0:0:0: [sda] Assuming drive cache: write through
sda:
sd 11:0:0:0: [sda] Attached SCSI removable disk
sd 11:0:0:0: Attached scsi generic sg0 type 0
VMBlock warning: DentryOpRevalidate: invalid args from kernel
VMBlock warning: DentryOpRevalidate: invalid args from kernel
Код:
# lsusb -v
Bus 001 Device 016: ID 0492:0140 Samsung SemiConductor, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0492 Samsung SemiConductor, Inc.
idProduct 0x0140
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
can't get device qualifier: Connection timed out
can't get debug descriptor: Connection timed out
cannot read device status, Connection timed out (110)
если работать в режиме MTP
Код: Выделить всё
self self # mtp-detect
libmtp version: 0.2.6.1
Attempting to connect device(s)
usb_claim_interface(): Device or resource busy
LIBMTP PANIC: Unable to initialize device 1
LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1599
Detect: There has been an error connecting. Exiting
ядро
через виндос определяется как флешка в режиме MSC
вообщем вот ...

очень буду рад любой помощи