从 Sony Handycam DCR-DVD101 获取视频到 Linux

从 Sony Handycam DCR-DVD101 获取视频到 Linux

我有一台 Sony Handycam DCR-DVD101。当我将 USB 电缆插入我的笔记本电脑(Ubuntu 10)时,它不会安装任何存储设备。

如果我运行usb-devices,我会看到:

T:  Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=054c ProdID=00c1 Rev=01.00
S:  Manufacturer=SONY
S:  Product=Storage Device
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50 Driver=usb-storage

驱动程序显示 usb-storage,但我不确定如何安装该设备。有办法让它工作吗?

更新:检查 dmesg,我看到:

[259072.576559] usb 2-1.1: new high speed USB device using ehci_hcd and address 6
[259072.687200] usb 2-1.1: configuration #1 chosen from 1 choice
[259072.836188] Initializing USB Mass Storage driver...
[259072.836476] scsi5 : SCSI emulation for USB Mass Storage devices
[259072.836632] usb-storage: device found at 6
[259072.836636] usb-storage: waiting for device to settle before scanning
[259072.836660] usbcore: registered new interface driver usb-storage
[259072.836666] USB Mass Storage support registered.
[259077.830410] usb-storage: device scan complete
[259077.832343] scsi 5:0:0:0: CD-ROM            SONY     DDX-A1010        R1.0 PQ: 0 ANSI: 0
[259077.888167] sr1: scsi3-mmc drive: 0x/0x pop-up
[259077.888446] sr 5:0:0:0: Attached scsi CD-ROM sr1
[259077.888593] sr 5:0:0:0: Attached scsi generic sg2 type 5
[259080.002079] sr 5:0:0:0: [sr1] Unhandled sense code
[259080.002085] sr 5:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[259080.002091] sr 5:0:0:0: [sr1] Sense Key : Blank Check [current] 
[259080.002097] sr 5:0:0:0: [sr1] Add. Sense: No additional sense information
[259080.002104] sr 5:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00 00 00
[259080.002117] end_request: I/O error, dev sr1, sector 0
[259080.002123] Buffer I/O error on device sr1, logical block 0
[259080.002128] Buffer I/O error on device sr1, logical block 1

这些 I/O 错误看起来不太好,还有希望吗?

答案1

这是我对 RHEL/CentOS 的秘诀(Ubuntians 要小心。)

显示分配给 USB 存储设备的设备节点

$ dmesg | grep -i "SCSI dev" 
SCSI device sdb: 7716864 512-byte hdwr sectors (3951 MB)

查看 FAT32 分区的设备节点

$ fdisk -l -u /dev/sdb
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            8192     7716863     3854336    b  W95 FAT32

安装驱动器

$ mkdir /mnt/flash
$ mount -t vfat -o uid=myname,gid=myname /dev/sdb1 /mnt/flash

添加额外的 su|sudo 以增添口味。

答案2

问题如下所示:

[259080.002091] sr 5:0:0:0: [sr1] Sense Key : Blank Check [current] 

有多种因素可能导致这种情况。

最有可能的是,当您将摄像机插入计算机时,里面没有 DVD 或 DVD 为空白。请尝试插入已录制一些视频的 DVD。

也可能是摄像机不适合您一直使用的 DVD 品牌,或者镜头很脏,需要清洁。

相关内容