DVD マルチドライブ 日立LG GSA-4160B - RATOC USB Drive Case U2EC5X
利用したハードウェア
利用したソフトウェア
- module: usb-storage.o
- cdrtools: cdrtools-2.01.tar.bz2
DVD マルチドライブ 日立LG GSA-4160B - RATOC USB Drive Case U2EC5X
本体 SL-C3000のUSBポートにPocket USBホスト ケーブルのミニB5ピンを挿して
RATOC U2EC5XをPocket USBホスト ケーブルのAタイプ/メスに挿入する。
[設定]-[システム情報]-[デバイス]-[USB]で
USB OHCI Root Hubの次に表示される情報を確認する。
USB
|- USB OHCI Root Hub
|- USB2.0 Storage
Vendor: RATOC System, Inc.
Product: USB2.0 Storage
Class: Mass-Storage
ID: 0584/0201
Driver: usb-storage |
モジュール usb-storage.o が自動的にロードされます。
Module Size Used by
usb-storage 103328 0 (unused)
pxa_bi 24912 0 (unused)
storage_fd 100336 0 (unused)
usbdcore 35504 0 [pxa_bi storage_fd]
usbdmonitor 5488 0
usb_ohci_pxa27x 21696 0 (unused)
usbcore 63264 1 [usb-storage usb_ohci_pxa27x]
usb-monitor 6496 0
sharp_mmcsd_m 41008 2 |
dmesgに表示されたメッセージは、
メッセージの最後に
hub.c: USB new device connect on bus1, assigned device number 2
usb.c: kmalloc IF c3c38580, numif 1
usb.c: new device strings: Mfr=73, Product=91, SerialNumber=106
usb.c: USB device number 2 default language ID 0x409
Manufacturer: RATOCSystems,Inc.
Product: USB2.0 Storage
SerialNumber: 2B04010803A2D2C3
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x584/0x201) is not claimed by any active driver.
Length = 18
DescriptorType = 01
USB version = 2.00
Vendor:Product = 0584:0201
MaxPacketSize0 = 64
NumConfigurations = 1
Device version = 11.00
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 0027
bNumInterfaces = 01
bConfigurationValue = 02
iConfiguration = 00
bmAttributes = c0
MaxPower = 98mA
Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 03
bInterface Class:SubClass:Protocol = 08:06:50
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 01 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 83 (in)
bmAttributes = 03 (Interrupt)
wMaxPacketSize = 0002
bInterval = 20
usb.c: kusbd: /sbin/hotplug add 2
usbdm: usbd_monitor 0.3 035 2002-06-12 20:00
monitor_connected: 1
monitor_load:
monitor_hotplug: agent: usbd interface: monitor action: load
usbhmonitor: warning - hotplug script timed out
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
storage_fd: storage_fd 0.1 035 2002-06-12 20:00 (OUT=64,IN=64)
storage_fd: vendorID: 4dd productID: 9050
pxa27x_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
udc_connect: host cable connected.
monitor_modinit: finished
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
...
scsi0 : SCSI emulation for USB Mass Storage devices
...
Vendor: HL-DT-ST Model: DVDRAM GSA-4160B Rev: A300
Type: CD-ROM ANSI SCSI revision: 02
...
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
...
sr0: scsi-1 drive
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: usb-storage driver claimed interface c3c38580
USB Mass Storage support registered. |
デバイス /dev/sga を作成する
cdrecord がCD-Rドライブを認識しているか確認する。
CD-R ドライブの認識
# cdrecord -scanbus |
Cdrecord-Clone 2.01 (arm-unknown-linux-gnu) Copyright (C) 1995-2004 Jg Schilling
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'HL-DT-ST' 'DVDRAM GSA-4160B' 'A300' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) * |
dev=0,0,0でCD-Rドライブが認識されているので、
次にドライバレベルのチェックを行う。
ドライバレベルのチェック
# cdrecord -checkdrive -dev=0,0,0 |
Cdrecord-Clone 2.01 (arm-unknown-linux-gnu) Copyright (C) 1995-2004 Jg Schilling
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4160B'
Revision : 'A300'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R |
CD-Rを焼くためのイメージを作成する。
-o 新しく作成するイメージファイル名
-J Joliet形式の命名レコードを使用して、Windowsとの互換性をもたせたファイル形式。
64文字のファイル名が使える。
-R UNIX Rock Ridge形式の命名レコードを使用して、ファイル属性もそのまま維持される。
シンボリックリンク、パーミッションなどが利用できる。
-r UNIX Rock Ridge形式の命名レコードを使用して、ユーザID、グループIDが0にセットされる。
実行属性はそのまま。
-V ボリュームを指定する。
-v イメージを作成する際の実行状況を詳細表示する。(verbose mode)
イメージを作成する
# mkisofs -o zaurus.iso -J -r -v -V ZAURUS /home/cd-r/ |
イメージファイルは loopback デバイスを使って、マウントすることで
内容の確認できる。
マウントして、内容を確認する
# mkdir test_iso
# mount -o loop zaurus.iso /test_iso |
イメージを実際に焼くまえにデータ転送が正常に処理されるか
-dummyモードで動作確認をする。
-dummyモードはレーザーがオフの状態で動作確認がされる。
データ転送のテスト
# cdrecord -v -speed=4 -dev=0,0,0 -dummy -eject -driveropts=burnfree zaurus.iso |
実際にCD-Rを焼く。
-v 実行状況の詳細表示(verbose mode)
-speed 書き込み速度指定
-dev デバイス番号指定
-eject 終了時にディスクをイジェクトする。
CD-Rを焼く
# cdrecord -v -speed=4 -dev=0,0,0 -eject -driveropts=burnfree zaurus.iso
Cdrecord-Clone 2.01 (arm-unknown-linux-gnu) Copyright (C) 1995-2004 Jg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4160B'
Revision : 'A300'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x0012
Profile: 0x0011
Profile: 0x0014
Profile: 0x0013
Profile: 0x001A
Profile: 0x001B
Profile: 0x002B
Profile: 0x0010
Profile: 0x0009
Profile: 0x000A (current)
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1053696 = 1029 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 237 MB
Total size: 272 MB (26:58.44) = 121383 sectors
Lout start: 272 MB (27:00/33) = 121383 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 6
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11078 (97:34/22)
ATIP start of lead out: 336075 (74:43/00)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 0 (reserved val 5) 2T speed high: 0 (reserved val 12)
power mult factor: 3 5
recommended erase/write power: 3
A1 values: 02 3A B0
A2 values: 5C C6 26
Disk type: Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 336075 Blocks current: 336075 Blocks remaining: 214692
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write in 9 seconds.
0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Starting new track at sector: 0
Track 01: 0 of 237 MB written.
Track 01: 1 of 237 MB written (fifo 100%) [buf 95%] 2.3x.
...
Track 01: 236 of 237 MB written (fifo 100%) [buf 96%] 4.2x.
Track 01: 237 of 237 MB written (fifo 100%) [buf 95%] 4.0x.
Track 01: Total bytes read/written: 248588288/248588288 (121381 sectors).
Writing time: 409.152s
Average write speed 4.0x.
Min drive buffer fill was 94%
Fixating...
Fixating time: 61.855s |
書き込みがREX-CFU1と比べると
REX-CFU1 Writing time: 920.608s → 409.152s
Average write speed 1.8x. → 4.0x
となった。
USBホスト Top Page に戻る
更新日時:
2005/04/11 06:52:06
お問い合わせ:
本サイトに対する御意見・質問等はこのページからお願いします。