最近代人買了一個舊款 MP4
型號是 FunTwist VISAO V20
插入電腦 lsusb 可見有一裝置名稱
Netchip Technology, Inc. Linux-USB File Storage Gadget
原本以為會像數位相機那樣
以外接磁碟機的姿態顯示出來
不過完全沒有,無法存取
插入 Windows 電腦沒有問題
是不是 Linux 需要安裝什麼套件
才能使用這類小玩意呢?
yomi1967 寫:最近代人買了一個舊款 MP4
型號是 FunTwist VISAO V20
插入電腦 lsusb 可見有一裝置名稱
Netchip Technology, Inc. Linux-USB File Storage Gadget
原本以為會像數位相機那樣
以外接磁碟機的姿態顯示出來
不過完全沒有,無法存取
插入 Windows 電腦沒有問題
是不是 Linux 需要安裝什麼套件
才能使用這類小玩意呢?
[ 4115.073152] usb 1-1.1: new high speed USB device number 29 using ehci_hcd
[ 4115.257552] usb 1-1.1: New USB device found, idVendor=0525, idProduct=a4a5
[ 4115.257563] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4115.257571] usb 1-1.1: Product: File-backedStorag
[ 4115.257576] usb 1-1.1: Manufacturer: 323820474077
[ 4115.257581] usb 1-1.1: SerialNumber: 323820474077
[ 4135.256587] usb-storage 1-1.1:1.0: Quirks match for vid 0525 pid a4a5: 10000
[ 4135.256723] scsi27 : usb-storage 1-1.1:1.0
[ 4136.260652] usb 1-1.1: usbfs: USBDEVFS_CONTROL failed cmd mtp-probe rqt 128 rq 6 len 255 ret -110
[ 4136.262596] scsi 27:0:0:0: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 4136.263380] scsi 27:0:0:1: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 4136.268317] sd 27:0:0:0: [sdb] 8052736 512-byte logical blocks: (4.12 GB/3.83 GiB)
[ 4136.269827] sd 27:0:0:0: [sdb] Write Protect is off
[ 4136.269839] sd 27:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 4136.269846] sd 27:0:0:0: [sdb] Assuming drive cache: write through
[ 4136.271553] sd 27:0:0:1: [sdc] Attached SCSI removable disk
[ 4136.273304] sd 27:0:0:0: [sdb] Assuming drive cache: write through
[ 4136.419475] sd 27:0:0:0: [sdb] Unhandled error code
[ 4136.419485] sd 27:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 4136.419496] sd 27:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 4136.419516] end_request: I/O error, dev sdb, sector 0
[ 4136.419526] Buffer I/O error on device sdb, logical block 0
[ 4136.419675] sd 27:0:0:0: [sdb] Unhandled error code
[ 4136.419680] sd 27:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 4136.419688] sd 27:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 4136.419705] end_request: I/O error, dev sdb, sector 0
[ 4136.419711] Buffer I/O error on device sdb, logical block 0
[ 4136.419812] sd 27:0:0:0: [sdb] Unhandled error code
[ 4136.419817] sd 27:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 4136.419825] sd 27:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 4136.419841] end_request: I/O error, dev sdb, sector 0
[ 4136.419847] Buffer I/O error on device sdb, logical block 0
[ 4136.419934] sd 27:0:0:0: [sdb] Unhandled error code
[ 4136.419939] sd 27:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 4136.419947] sd 27:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 4136.419963] end_request: I/O error, dev sdb, sector 0
[ 4136.419969] Buffer I/O error on device sdb, logical block 0
[ 4136.420540] usb 1-1.1: USB disconnect, device number 29
[ 4136.420687] sd 27:0:0:0: [sdb] Unhandled error code
[ 4136.420693] sd 27:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 4136.420701] sd 27:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 4136.420718] end_request: I/O error, dev sdb, sector 0
[ 4136.420724] Buffer I/O error on device sdb, logical block 0
[ 4136.420784] ldm_validate_partition_table(): Disk read failed.
[ 4136.420841] Dev sdb: unable to read RDB block 0
[ 4136.420900] sdb: unable to read partition table
[ 4136.422264] sd 27:0:0:0: [sdb] Attached SCSI removable disk
[ 4143.484258] usb 1-1.1: new high speed USB device number 30 using ehci_hcd
[ 4143.673500] usb 1-1.1: New USB device found, idVendor=0525, idProduct=a4a5
[ 4143.673512] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4143.673520] usb 1-1.1: Product: File-backedStorag
[ 4143.673525] usb 1-1.1: Manufacturer: 323820474077
[ 4143.673530] usb 1-1.1: SerialNumber: 323820474077
[ 4163.672401] usb-storage 1-1.1:1.0: Quirks match for vid 0525 pid a4a5: 10000
[ 4163.672467] scsi28 : usb-storage 1-1.1:1.0
[ 4164.672267] usb 1-1.1: usbfs: USBDEVFS_CONTROL failed cmd mtp-probe rqt 128 rq 6 len 255 ret -110
[ 4164.673997] scsi 28:0:0:0: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 4164.674605] scsi 28:0:0:1: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 4164.678609] sd 28:0:0:0: [sdb] 8052736 512-byte logical blocks: (4.12 GB/3.83 GiB)
[ 4164.679474] sd 28:0:0:1: [sdc] Attached SCSI removable disk
[ 4164.680119] sd 28:0:0:0: [sdb] Write Protect is off
[ 4164.680132] sd 28:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 4164.680137] sd 28:0:0:0: [sdb] Assuming drive cache: write through
[ 4164.684210] sd 28:0:0:0: [sdb] Assuming drive cache: write through
[ 4164.833061] usb 1-1.1: USB disconnect, device number 30
[ 4164.833473] sd 28:0:0:0: [sdb] Unhandled error code
[ 4164.833480] sd 28:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 4164.833490] sd 28:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 4164.833510] end_request: I/O error, dev sdb, sector 0
[ 4164.833520] Buffer I/O error on device sdb, logical block 0
[ 4164.833630] ldm_validate_partition_table(): Disk read failed.
[ 4164.833676] Dev sdb: unable to read RDB block 0
[ 4164.833741] sdb: unable to read partition table
[ 4164.834401] sd 28:0:0:0: [sdb] Attached SCSI removable disk
[ 4171.896383] usb 1-1.1: new high speed USB device number 31 using ehci_hcd
[ 4172.085311] usb 1-1.1: New USB device found, idVendor=0525, idProduct=a4a5
[ 4172.085322] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4172.085330] usb 1-1.1: Product: File-backedStorag
[ 4172.085336] usb 1-1.1: Manufacturer: 323820474077
[ 4172.085340] usb 1-1.1: SerialNumber: 323820474077
[ 4192.084414] usb-storage 1-1.1:1.0: Quirks match for vid 0525 pid a4a5: 10000
[ 4192.084489] scsi29 : usb-storage 1-1.1:1.0
[ 4193.088501] usb 1-1.1: usbfs: USBDEVFS_CONTROL failed cmd mtp-probe rqt 128 rq 6 len 255 ret -110
[ 4193.090146] scsi 29:0:0:0: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 4193.090886] scsi 29:0:0:1: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 4193.096201] sd 29:0:0:0: [sdb] 8052736 512-byte logical blocks: (4.12 GB/3.83 GiB)
[ 4193.097468] sd 29:0:0:0: [sdb] Write Protect is off
[ 4193.097479] sd 29:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 4193.097486] sd 29:0:0:0: [sdb] Assuming drive cache: write through
[ 4193.099486] sd 29:0:0:1: [sdc] Attached SCSI removable disk
[ 4193.101349] sd 29:0:0:0: [sdb] Assuming drive cache: write through
[ 4193.245152] usb 1-1.1: USB disconnect, device number 31
[ 4193.245562] sd 29:0:0:0: [sdb] Unhandled error code
[ 4193.245569] sd 29:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 4193.245580] sd 29:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 4193.245599] end_request: I/O error, dev sdb, sector 0
[ 4193.245609] Buffer I/O error on device sdb, logical block 0
[ 4193.245737] ldm_validate_partition_table(): Disk read failed.
[ 4193.245782] Dev sdb: unable to read RDB block 0
[ 4193.245846] sdb: unable to read partition table
[ 4193.247159] sd 29:0:0:0: [sdb] Attached SCSI removable disk
[ 4200.308499] usb 1-1.1: new high speed USB device number 32 using ehci_hcd
[ 4200.489403] usb 1-1.1: New USB device found, idVendor=0525, idProduct=a4a5
[ 4200.489414] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4200.489421] usb 1-1.1: Product: File-backedStorag
[ 4200.489427] usb 1-1.1: Manufacturer: 323820474077
[ 4200.489432] usb 1-1.1: SerialNumber: 323820474077
yomi1967 寫:dmesg 雖有 /dev/sdb
不過 ls /dev/sd* 除了 sda 相關之外
別的什麼都沒有,當然也無法 fdisk /dev/sdb
這台 player 開機、關機會跑一段動畫
接上 USB 則畫面顯示一個大大的 USB logo
接 Linux PC 時,可從畫面看出
player 一直重新開機
跑了開機動畫,顯示 USB logo
幾秒之後,畫面又跑出開機動畫
然後 USB logo, ...... 無盡重複
接上 Windows 7 的主機則無此現象
dmesg 見到這樣的信息不斷重複
[ 6858.921794] sd 21:0:0:0: [sdb] Attached SCSI removable disk
[ 6865.968114] usb 2-3: new high speed USB device number 12 using ehci_hcd
[ 6866.201013] usb 2-3: New USB device found, idVendor=0525, idProduct=a4a5
[ 6866.201021] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6866.201026] usb 2-3: Product: File-backedStorag
[ 6866.201030] usb 2-3: Manufacturer: 323820474077
[ 6866.201033] usb 2-3: SerialNumber: 323820474077
[ 6869.535820] usb-storage 2-3:1.0: Quirks match for vid 0525 pid a4a5: 10000
[ 6869.535878] scsi22 : usb-storage 2-3:1.0
[ 6869.536268] usb 2-3: USB disconnect, device number 12
應該表示系統偵測到,然後就斷線
是這樣的意思吧?就憑我的普通程度
只能望文生義而已
...USB相容性有關了。相信Windows 7的主機
裝上Linux後也是可以正常抓到該player的。
[ 335.680034] usb 1-8: new high speed USB device using ehci_hcd and address 3
[ 356.252108] usbcore: registered new interface driver uas
[ 356.268889] Initializing USB Mass Storage driver...
[ 356.269044] usb-storage 1-8:1.0: Quirks match for vid 0525 pid a4a5: 10000
[ 356.269075] scsi6 : usb-storage 1-8:1.0
[ 356.271197] usbcore: registered new interface driver usb-storage
[ 356.271202] USB Mass Storage support registered.
[ 357.270739] scsi 6:0:0:0: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 357.271223] scsi 6:0:0:1: Direct-Access Ingenic JzSoc USB-DISK PQ: 0 ANSI: 0
[ 357.276415] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 357.276844] sd 6:0:0:0: [sdb] 8052736 512-byte logical blocks: (4.12 GB/3.83 GiB)
[ 357.277342] sd 6:0:0:0: [sdb] Write Protect is off
[ 357.277345] sd 6:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 357.278796] sd 6:0:0:1: Attached scsi generic sg3 type 0
[ 388.180026] usb 1-8: reset high speed USB device using ehci_hcd and address 3
[ 419.240026] usb 1-8: reset high speed USB device using ehci_hcd and address 3
[ 450.200025] usb 1-8: reset high speed USB device using ehci_hcd and address 3
[ 481.240029] usb 1-8: reset high speed USB device using ehci_hcd and address 3
[ 512.200025] usb 1-8: reset high speed USB device using ehci_hcd and address 3
[ 543.240025] usb 1-8: reset high speed USB device using ehci_hcd and address 3
[ 543.390835] sd 6:0:0:0: [sdb] Asking for cache data failed
[ 543.390842] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 543.395187] sd 6:0:0:1: [sdc] Attached SCSI removable disk
[ 574.200024] usb 1-8: reset high speed USB device using ehci_hcd and address 3
[ 605.200028] usb 1-8: reset high speed USB device using ehci_hcd and address 3
ubuntu@ubuntu:~$
# lsusb
Bus 001 Device 030: ID 0525:a4a5 Netchip Technology, Inc. Linux-USB File Storage Gadget
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客