Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
optical_drive_speeds [2018/03/28 16:17]
beandog
optical_drive_speeds [2018/12/17 16:02] (current)
beandog
Line 1: Line 1:
 ====== Optical Drive Speeds ===== ====== Optical Drive Speeds =====
 +
 +  * [[udevadm]]
  
 Doing math and converting kB to Mb and so on gives me a headache, and I can't be particularly certain that I'm doing it right. Therefore, these are the speeds in **binary bytes**, as in, this is what I use in [[dvd_info]] and [[bluray_info]] when deciding how much memory to allocate or drive speed to run at, as in an **char**. Doing math and converting kB to Mb and so on gives me a headache, and I can't be particularly certain that I'm doing it right. Therefore, these are the speeds in **binary bytes**, as in, this is what I use in [[dvd_info]] and [[bluray_info]] when deciding how much memory to allocate or drive speed to run at, as in an **char**.
  
 You can do the conversion on your own to another format, because I can't be certain of my own work, and also because numerous resources use the wrong naming syntax (kB vs Kb vs kb vs KB, and so on, going up or down from there). You can do the conversion on your own to another format, because I can't be certain of my own work, and also because numerous resources use the wrong naming syntax (kB vs Kb vs kb vs KB, and so on, going up or down from there).
 +
 +You can use [[cdrecord]] to get your drive'​s speed. Insert a DVD into the into the drive to get speed for that one, a CD otherwise, etc.
 +
 +<​code>​
 +cdrecord -prcap
 +</​code>​
 +
 +<​code>​
 +  Maximum read  speed: 11080 kB/s (CD  62x, DVD  8x, BD  2x)
 +  Current read  speed: ​ 5540 kB/s (CD  31x, DVD  4x, BD  1x)
 +  Maximum write speed: ​    0 kB/s (CD   0x, DVD  0x, BD  0x)
 +  Current write speed: ​    0 kB/s (CD   0x, DVD  0x, BD  0x)
 +  Rotational control selected: CLV/PCAV
 +  Buffer size in KB: 512
 +  Copy management revision supported: 1
 +  Number of supported write speeds: 1
 +  Write speed # 0: 11080 kB/s CLV/PCAV (CD  62x, DVD  8x, BD  2x)
 +</​code>​
 +
 +If you have multiple drives, you will have to select it directly.
 +
 +Use cdercord to get all of them:
 +
 +<​code>​
 +cdrecord -scanbus
 +</​code>​
 +
 +<​code>​
 +scsibus0:
 + 0,​0,​0  ​ 0) '​ATA ​    '​ 'WDC WD5000AAKS-0'​ '​1D05'​ Disk
 + 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) *
 +scsibus1:
 + 1,0,0 100) '​TSSTcorp'​ '​CDRWDVD TS-H493B'​ '​D200'​ Removable CD-ROM
 + 1,1,0 101) *
 + 1,2,0 102) *
 + 1,3,0 103) *
 + 1,4,0 104) *
 + 1,5,0 105) *
 + 1,6,0 106) *
 + 1,7,0 107) *
 +scsibus2:
 + 2,0,0 200) '​TSSTcorp'​ '​DVD+-RW TS-H653B'​ '​D300'​ Removable CD-ROM
 + 2,1,0 201) *
 + 2,2,0 202) *
 + 2,3,0 203) *
 + 2,4,0 204) *
 + 2,5,0 205) *
 + 2,6,0 206) *
 + 2,7,0 207) *
 +scsibus3:
 + 3,0,0 300) '​ATAPI ​  '​ 'DVD A  DH24ACSH ' '​LAA3'​ Removable CD-ROM
 + 3,1,0 301) *
 + 3,2,0 302) *
 + 3,3,0 303) *
 + 3,4,0 304) *
 + 3,5,0 305) *
 + 3,6,0 306) *
 + 3,7,0 307) *
 +</​code>​
 +
 +Next select the device using the indexing. Here, I've scanning the second drive:
 +
 +<​code>​
 +cdrecord -prcap dev=1,0,0
 +</​code>​
  
 ==== DVDS ==== ==== DVDS ====

Navigation