[Libburn] adding 'write speed list' : here is the code

Stéphane LOEUILLET stephane.loeuillet at tiscali.fr
Sun May 9 10:23:47 PDT 2004


hello,

was long to come but here it is

attached are a patch against libburn and a small test program to show
those write speeds.

i added a linked-list containing those speeds to scsi_mode_data/mdata

here, it displays :

getting drive info
MMC level : 3
 mr : 7040 | cr : 7040 | mw : 5632 | cw : 5632
rotation control : 0 | write speed : 352
rotation control : 0 | write speed : 704
rotation control : 0 | write speed : 1408
rotation control : 0 | write speed : 1760
rotation control : 0 | write speed : 2112
rotation control : 0 | write speed : 2816
rotation control : 0 | write speed : 3520
rotation control : 0 | write speed : 4224
rotation control : 0 | write speed : 5632

getting drive info
MMC level : 3
 mr : 7056 | cr : 7056 | mw : 7056 | cw : 7056
rotation control : 0 | write speed : 706
rotation control : 0 | write speed : 1411
rotation control : 0 | write speed : 1764
rotation control : 0 | write speed : 2112
rotation control : 0 | write speed : 2822
rotation control : 0 | write speed : 4234
rotation control : 0 | write speed : 5645
rotation control : 0 | write speed : 7056

first is my old Lite-On LTR32123S (32X), second is my dead Lite-On
LDW411S (40X for CDs), may its eeprom R.I.P.

testing and comments are welcomed

++

-- 
Stéphane LOEUILLET <stephane.loeuillet at tiscali.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: media-info.c
Type: text/x-csrc
Size: 2127 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/libburn/attachments/20040509/1f3c6894/media-info.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libburn__wr-speed-list.diff
Type: text/x-patch
Size: 5721 bytes
Desc: 
Url : http://freedesktop.org/pipermail/libburn/attachments/20040509/1f3c6894/libburn__wr-speed-list.bin


More information about the libburn mailing list