>From: Bill Mudd <[EMAIL PROTECTED]>

>In version 1.11a31, cdrecord prints "-prcap" (scsi_cdr.c) as:
>  Maximum read  speed in kB/s: xxxx
>  Current read  speed in kB/s: xxxx
>  Maximum write speed in kB/s: xxx
>  Current write speed in kB/s: xxx

>in version 1.11a35 it prints it as:
>  Maximum read  speed:  xxxx kB/s (CD  32x, DVD  4x)
>  Current read  speed:  xxxx kB/s (CD  32x, DVD  4x)
>  Maximum write speed:   xxx kB/s (CD   4x, DVD  0x)
>  Current write speed:   xxx kB/s (CD   4x, DVD  0x)

This makes cdrecord consistensent for MMC and MMC-3 drives.

>By changing this it now become necessary for some front-end authors to run
>"cdrecord -version" and have 2 different parses for "-prcap" to set the
>default speed for a user's recorder. Besides the maintenance headache it
>increases the startup time of the program (at least in Windows).

This change helps front end developers.

Note that you never have been able to find the default speed this way and if 
you did this was not correct. Just remember that you cannot know the dividing
factor as long as you don't know whether a CD or CVD media is in.

cdrecord -checkdrive will now tell you whether a DVD is in:
Cdrecord-ProDVD-Clone 1.11a35 (sparc-sun-solaris2.9) Copyright (C) 1995-2002 
J�rg Schilling
scsidev: '2,0'
scsibus: 0 target: 2 lun: 0
Using libscg version 'schily-0.6'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC 
Vendor_info    : 'PIONEER '
Identifikation : 'DVD-RW  DVR-103 '
Revision       : '1.44'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags   : DVD SWABAUDIO 
                ^^^^
                a DVD is in!
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R

and with cdrecprd -prcap (after calling -checkdrive !!!) you get the list of 
supported speeds:
(a DVD in a DVD writer)
  Maximum read  speed:  5540 kB/s (CD  31x, DVD  4x)
  Current read  speed:  5540 kB/s (CD  31x, DVD  4x)
  Maximum write speed:  2770 kB/s (CD  15x, DVD  2x)
  Current write speed:  2770 kB/s (CD  15x, DVD  2x)
  Rotational control selected: CLV/PCAV
  Buffer size in KB: 2000
  Copy management revision supported: 1
  Number of supported write speeds: 2
  Write speed # 0:  2770 kB/s CLV/PCAV (CD  15x, DVD  2x)
  Write speed # 1:  1385 kB/s CLV/PCAV (CD   7x, DVD  1x)

a CD writer:
  Maximum read  speed:  7056 kB/s (CD  40x, DVD  5x)
  Current read  speed:  1411 kB/s (CD   8x, DVD  1x)
  Maximum write speed:  8467 kB/s (CD  48x, DVD  6x)
  Current write speed:   706 kB/s (CD   4x, DVD  0x)
  Rotational control selected: CLV/PCAV
  Buffer size in KB: 4096
  Copy management revision supported: 0
  Number of supported write speeds: 8
  Write speed # 0:  8467 kB/s CLV/PCAV (CD  48x, DVD  6x)
  Write speed # 1:  7056 kB/s CLV/PCAV (CD  40x, DVD  5x)
  Write speed # 2:  5645 kB/s CLV/PCAV (CD  32x, DVD  4x)
  Write speed # 3:  4234 kB/s CLV/PCAV (CD  24x, DVD  3x)
  Write speed # 4:  3528 kB/s CLV/PCAV (CD  20x, DVD  2x)
  Write speed # 5:  2822 kB/s CLV/PCAV (CD  16x, DVD  2x)
  Write speed # 6:  1411 kB/s CLV/PCAV (CD   8x, DVD  1x)
  Write speed # 7:   706 kB/s CLV/PCAV (CD   4x, DVD  0x)

Changing your "parser" is sooo simple, just ad another sscanf() line to the code.


>Front-end authors are big supporters of cdrtools and I think have made some
>significant contributions to its popularity. All I'm asking for is
>consistancy. If this change is just a whim could you change it back in
>future versions? Or if it is absolutely necessary could you give us a
>warning in the future about changes that may effect front-ends?

Did you write a front end for cdrtools?


J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to