Salut,
Depuis peu, cdrecord permet d'utiliser les graveurs ATAPI sans passer
par la case � �mulation SCSI �. Histoire d'essayer la chose, je suis all�
emprunter un graveur � la boutique du coin. Dans la foul�e, j'ai
r�troport� vers Woody (1) le paquet cdrecord de Sid, qui donc
inclus le support direct de l'interface ATA. C'est paartiii...
On regarde d'abord si le graveur est reconnu :
cdrecord -scanbus -dev=ATAPI
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Cdrecord 1.11a39 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8480B ' '1.03' 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) *
Si oui, on peut essayer de lancer la gravure (j'ai tout de m�me fait un
test pr�alable avec l'option -dummy) :
cdrecord -dev=ATAPI:0,0,0 [OPTIONS]
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Cdrecord 1.11a39 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'CD-RW GCE-8480B '
Revision : '1.03'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1582592 = 1545 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 699 MB
Total size: 803 MB (79:33.97) = 358048 sectors
Lout start: 803 MB (79:35/73) = 358048 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type B, low Beta category (B-) (4)
ATIP start of lead in: -11625 (97:27/00)
ATIP start of lead out: 359849 (79:59/74)
Disk type: unknown dye (old id code)
Manuf. index: 81
Manufacturer: ILLEGAL OLD CODE: Old Ritek Co.???
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 1801
Starting to write CD/DVD at speed 32 in real SAO mode for single session.
[...]
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Sending CUE sheet...
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Writing pregap for track 1 at -150
Starting new track at sector: 0
[...]
Track 01: Total bytes read/written: 733282304/733282304 (358048 sectors).
Writing time: 310.592s
Average write speed 15.6x.
Min drive buffer fill was 22%
Fixating...
Fixating time: 13.809s
cdrecord: fifo had 11550 puts and 11550 gets.
cdrecord: fifo was 32 times empty and 6149 times full, min fill was 0%.
Comme on peut le voir, �a a march�, et du premier coup !
En somme, rien de compliqu�. N�anmoins, soyez PRUDENTS si vous
tentez l'exp�rience, le support pour l'interface ATA est encore
consid�r� comme alpha, c'est � dire pas forc�ment tr�s stable...
A++
Nicolas
(1) : Dispo. ici : http://dpt.tuxfamily.org/paquets-woody.html