Commit Graph

303 Commits

Author SHA1 Message Date
c007d17a37 Switched from O_NONBLOCK to O_NDELAY (see http://lkml.org/lkml/2007/4/11/141) 2007-04-13 17:12:06 +00:00
eeba8beb36 Avoided SIGSEGV with an old SCSI CD-ROM drive and its wild replies 2007-04-10 14:46:46 +00:00
1400550c71 Fixed bug in sg_open_scsi_siblings() introduced with revision 802 2007-04-10 08:31:04 +00:00
bf0f065be0 Used O_EXCL|O_RDWR and fcntl() even within sg_obtain_scsi_adr() 2007-04-10 08:20:45 +00:00
1588a02e44 Fixed bug with drive_scsi_dev_family= introduced by revision 796 (fcntl lock) 2007-04-10 08:17:07 +00:00
bd11c06c06 Reacted on compiler warning about last_rdev, fixed fresh typo bug 2007-04-09 11:10:41 +00:00
64618b7d96 Cleaned up scsi sibling management, sketched grafting of DDLP 2007-04-09 10:54:17 +00:00
24757f8826 New cdrskin options --drive_not_f_setlk and --drive_not_o_excl 2007-04-04 18:43:23 +00:00
1711997cac Added fcntl() locking to O_EXCL locking 2007-04-03 14:58:17 +00:00
18f3442971 Make --old_pseudo_scsi_adr -scanbus work with any drive_scsi_dev_family= 2007-04-03 14:56:36 +00:00
44af2b807d Added fcntl() locking to O_EXCL locking 2007-04-03 14:04:04 +00:00
2fd0c5ed7e Avoided unconditional finalizing of DVD+R 2007-03-30 21:47:56 +00:00
9658d1fba3 Allowed finalizing of DVD+R 2007-03-30 20:11:36 +00:00
4ae712e84d Silenced error message if tsize= is smaller than source is willing to deliver 2007-03-28 20:25:22 +00:00
f40f2db849 Made fifo based -isosize read 64k first and the rest only at normal stage 2007-03-28 18:21:46 +00:00
a62a14c0e6 Enabled -isosize with S_IFREG or S_IFBLK files and without fifo 2007-03-28 16:02:26 +00:00
21a90a9846 Silenced error condition about -sao with stdin and -isosize 2007-03-28 11:15:04 +00:00
1d611b4ca4 Enabled -isosize for first track by help of fifo and without seeking 2007-03-28 10:07:09 +00:00
9e5c8290f1 Preparations for option -isosize via fifo (only a debug message yet) 2007-03-27 21:33:22 +00:00
45b103891f Warning of very small tsize= settings. (Proposal by Eduard Bloch) 2007-03-24 09:34:56 +00:00
1eebdd3da6 Fixed bug with burn_disc_available_space(...,NULL) 2007-03-24 09:31:11 +00:00
ffad471211 Trying to recognize kernel >= 2.6 and use /dev/sr by default 2007-03-15 19:59:54 +00:00
2a32b31ed7 Kept mmc_get_configuration() from believing the announcement of 1 GB reply 2007-03-15 19:55:17 +00:00
12d9978589 Moved manual device family decision to a sufficiently early stage 2007-03-15 19:54:01 +00:00
6b825d7360 After loading tray wait for unit to become ready or to report some clear error 2007-03-15 19:50:57 +00:00
413c3455b3 React properly on drive stating that it cannot write any media 2007-03-15 19:46:26 +00:00
c03d02ff39 New option drive_scsi_dev_family=sr|scd|sg 2007-03-14 13:37:32 +00:00
57ea9cc375 Made number transition to 0.3.5 2007-03-12 15:58:19 +00:00
21371499ee New option assert_write_lba= 2007-03-09 13:43:57 +00:00
913192f601 Some adjustments for DVD+R recording 2007-03-07 15:13:25 +00:00
ada31dd3f2 Enabled DVD+R as tested media (-multi is still always on) 2007-03-06 20:51:32 +00:00
d178e2abdb Enabled DVD+R, DVD+R DL via --allow_untested_media_types, always -multi for now 2007-03-06 19:50:32 +00:00
62076ca500 Fifo got stuck if sum of processed track sizes was exactly aligned to fifo size 2007-03-04 18:45:52 +00:00
ae543245f6 Fixed bug introduced with rev 736ff which prevented audio CD burning 2007-03-03 15:16:19 +00:00
796dab221d Re-enabled -force with write modes which seem unavailable 2007-03-03 14:11:52 +00:00
0a4f2e2f10 Determine physical interface SCSI,ATA,SATA,USB,... (for future use) 2007-03-03 14:09:46 +00:00
a25ab4d433 Preparations for supporting DVD+R[/DL] 2007-03-01 12:07:29 +00:00
e38875f0fd Took into respect deliberate lack of DVD-R/DL multi session capability 2007-02-25 11:26:20 +00:00
4d7e638af6 Forgotten source file for revision 743 2007-02-23 19:33:56 +00:00
cf732feb08 Enabled DVD-R/DL Sequential via --allow_untested_media_types 2007-02-23 19:10:30 +00:00
7e8aaa102a Enabled DVD-R/DL Sequential via burn_allow_untested_profiles() 2007-02-23 19:08:58 +00:00
8f7b95717c Made burn_disc_available_space() take into respect burn_write_opts_set_start_byte() 2007-02-22 11:30:12 +00:00
dd805b734d Macro for length of rejection reasons string (old size is still safe) 2007-02-22 09:49:18 +00:00
b9c71c4d63 Disabled debugging messages about format descriptors 2007-02-22 07:31:32 +00:00
fc480a2658 Re-enabled overwriteable pseudo-pseudo-SAO with unpredicted track size 2007-02-22 07:26:41 +00:00
d1ae732338 Moved tao_to_sao_tsize into libburn, let cdrskin use auto_write_type and precheck 2007-02-21 20:53:28 +00:00
9f2aa02c0d Re-arranged checking and defaulting of write parameters 2007-02-19 22:51:39 +00:00
1256be0cf8 Repaired slightly broken pacifier track size display with -audio 2007-02-19 18:41:38 +00:00
d340b9b84c Adjusted maximum realistic number of tracks to MMC specs 2007-02-18 09:49:26 +00:00
9610d34491 Clarified usage comment with burn_drive_info_free() (see ticket 98) 2007-02-18 09:44:44 +00:00
9208532bc3 Allowed forceful blanking of blank media in burn_disc_erase() 2007-02-17 08:56:41 +00:00
f20a598dc0 Another bug fix for revision 724 2007-02-17 08:52:07 +00:00
8c2e145472 Corrected CD TAO bug introduced with DVD bug fix 724 and CD SAO change 655 2007-02-16 11:21:01 +00:00
7ee32a7e43 Repaired debugging message spoiled by uninitialized variable 2007-02-15 20:35:57 +00:00
5caba536b8 Corrected bug about open_ended filluped tracks 2007-02-15 20:19:07 +00:00
18ad6c20ac Installed a guardian for predicted track end 2007-02-15 20:18:07 +00:00
de724a3b64 Took fill_up_media into respect with automatic write mode decisions 2007-02-15 20:16:22 +00:00
d8a96b00c5 New options --fill_up_media and --tell_media_space 2007-02-14 20:38:04 +00:00
0bc022b510 Optional padding up to full media size when closing (incomplete yet) 2007-02-14 20:32:56 +00:00
77f1e94815 Forgotten part of revision 718 2007-02-14 12:23:51 +00:00
74487ee749 Handle eventual ridiculously high d->last_track_no 2007-02-14 12:20:32 +00:00
98f6f4e93e Removed outdated ifdef 2007-02-14 12:03:47 +00:00
8ac399f67e Mew API function burn_disc_available_space() 2007-02-13 14:37:25 +00:00
66622376f9 Set a suitable page 05h after spc_probe_write_modes() 2007-02-13 11:55:09 +00:00
5251e93562 Made profile 0010h DVD-ROM suitable,full,not erasable. So it delivers a TOC. 2007-02-12 14:23:14 +00:00
b9603f3bc6 Made number transition and activated development documentation 2007-02-10 17:13:41 +00:00
b51a88ce10 Silenced compiler warning 2007-02-08 22:53:22 +00:00
5a9949ffb3 New option --prodvd_cli_compatible 2007-02-08 21:09:10 +00:00
0b8c0a490d New API function burn_write_opts_auto_write_type() 2007-02-07 16:30:42 +00:00
cad9c14849 Enabled fast blank for DVD-R[W] 2007-02-06 18:57:38 +00:00
72d5430358 tao_to_sao_tsize= for DVD-R[W] DAO 2007-02-06 17:45:17 +00:00
681336e23f Beautification of debugging messages 2007-02-06 17:08:15 +00:00
3f35513991 Implemented DVD-R[W] DAO as BURN_WRITE_SAO 2007-02-06 13:06:39 +00:00
073ff204b3 Preparations for DVD-R[W] DAO 2007-02-05 13:28:57 +00:00
56695822a7 New in API : struct burn_multi_caps and burn_disc_get_multi_caps() 2007-02-04 07:30:14 +00:00
6e6f0d5de8 Improved classification and TOC of finalized DVD-R[W] media 2007-02-02 17:32:09 +00:00
e5e76665b0 Make mmc_read_multi_session_c1 use TOC if available 2007-02-02 15:11:35 +00:00
dd6f2d074f Allowed blanking of DVD-RW which offer no Incremental Streaming 2007-02-01 19:15:06 +00:00
55dd75d1c7 Reacted on justified compiler warning about unitialized sessions variable 2007-02-01 16:33:27 +00:00
ddb5fa1083 Obtain TOC from non-CD via 52h READ TRACK INFORMATION 2007-02-01 16:15:09 +00:00
d0a2ff1278 Provisorily obtain multi-session -C parameters (violates MMC specs but works) 2007-01-31 17:34:49 +00:00
163509011c Blank sequential DVD-RW, deformat overwriteable DVD-RW 2007-01-31 12:59:51 +00:00
0665eeecff Enabled Burnfree buffer underrun protection by default 2007-01-30 22:01:10 +00:00
f39fff4e16 First successful multi-session write to a sequential DVD-RW 2007-01-30 19:16:35 +00:00
eae1198606 Preparations for DVD-R[W] Sequential Recording 2007-01-30 17:54:39 +00:00
1c750ea1e8 Experiments about list of features and profiles 2007-01-29 17:57:31 +00:00
66440d811d Unified burn_file_source and burn_fd_source 2007-01-26 17:32:31 +00:00
08d9fd3265 Enforce minimum track length with SAO 2007-01-25 18:52:50 +00:00
76e03dbcd1 Bug fix: DVD tracks of defined size >=2GB suffered 32-bit integer wraparound 2007-01-25 15:00:37 +00:00
eaec685927 Banned mixed mode SAO (because broken in libburn and unclear in MMC) 2007-01-22 11:42:17 +00:00
7d8171c014 Comments learned from studying MMC-3 and MMC-5 for SAO CD cookbook 2007-01-21 19:10:37 +00:00
a8d5f32221 Removed unnecessary after-grab loops 2007-01-21 19:09:07 +00:00
d3773ab6eb Removed forgotten debug message printed to stderr 2007-01-19 11:05:18 +00:00
87576c3dfc Kept DVD+RW from stopping BG formatting if it was not started at all 2007-01-18 21:18:03 +00:00
115eecb056 Made version number transition to 0.3.1 2007-01-16 15:11:41 +00:00
c053c40dcb Avoided closing of 0x13-DVD-RW sessions which are not intermediate 2007-01-14 13:41:19 +00:00
8e9fe45086 Added missing cache sync in case of aborted DVD-RW burns 2007-01-14 11:55:17 +00:00
6eba65c63d Corrected bug with debug messages for fifo 2007-01-14 10:19:10 +00:00
15b62d7299 Shifted fifo reporting to new 4-times -v verbosity level 2007-01-13 21:45:04 +00:00
fa0c4a2436 Introduced API for inspection and selection of format capacities 2007-01-13 21:18:20 +00:00
8b927c3cd5 Load array of format capacities into struct burn_drive 2007-01-13 21:16:04 +00:00
e941af341b Implemented debugging messages for ATA enumeration 2007-01-13 14:10:21 +00:00
6e3e02ddf9 Enabled writing to DVD-RAM 2007-01-12 16:26:31 +00:00
c5a6042af8 Removed surplus newlines from messages 2007-01-11 13:35:48 +00:00
1af888d9d5 Sketched better handling of self-inflicted SIGs 2007-01-11 13:34:41 +00:00
1455fe33be Kept SIGWINCH from spoiling a burn. 2007-01-11 13:31:28 +00:00
de189ea742 With full formatting prefer format 10h over 13h or 15h 2007-01-11 13:29:39 +00:00
7a7bd12ad2 Enabled explicit full formatting of DVD+RW ("de-icing") 2007-01-10 21:07:48 +00:00
2ddea3e96f Removed writing of dummy data with blank=format_overwrite_full 2007-01-10 15:30:54 +00:00
560798d9a1 Switched full formatting from type 10h to 00h which includes lead-out 2007-01-10 15:27:54 +00:00
f0df191a5e Option -force enables re-formatting 2007-01-10 15:26:30 +00:00
9bb2bcd34e Now available: "quickest" and "full" formatting for DVD-RW 2007-01-09 21:14:47 +00:00
dbabf621bc Fixed a SIGFPE with formatting via libburner 2007-01-09 14:03:43 +00:00
533f4f61ea Using 128 MB of size plus writing of zeros with blank=format_overwrite 2007-01-08 10:44:34 +00:00
c9a9da9554 Introduced size parameter to DVD-RW formatting plus writing of zeros. 2007-01-08 10:42:54 +00:00
f78e267af1 New formatting parameter "size". Sorry for changing API. Function is a week old. 2007-01-06 12:08:57 +00:00
f263e1087c Comments and name changes from new findings out of reading MMC-5 2007-01-05 12:58:36 +00:00
d5e18ee42a Moved blanking suitability test before eventual spwaning of threads 2007-01-03 16:49:09 +00:00
a4f7906b16 Made formatting report progress (as good as the drive does) 2007-01-03 16:42:53 +00:00
ef9fc71446 Greeting the new year 2007-01-02 09:10:44 +00:00
d3298fd2ea Made use of formatting of DVD-RW 2007-01-01 17:19:41 +00:00
f505c56896 Prepared formatting of DVD-RW 2007-01-01 17:10:54 +00:00
9b42fcf64b Prepared support for DVD-RW in mode Restricted Overwrite 2006-12-30 00:15:07 +00:00
a6771ca0df Corrected DVD-RW sequential profile name 2006-12-29 14:39:42 +00:00
a4fc8d96ab Followed revision 644 of wodim (msifile output without newline) 2006-12-27 21:39:02 +00:00
44fee49741 Emulated wodim option -msifile=path 2006-12-27 16:30:25 +00:00
49cc49e118 Avoided self contradicting result of ATIP speed inquiry 2006-12-27 13:28:40 +00:00
b6c332d9be Defended against a race condition on SuSE 9.3 after -atip (hald et.al. ?) 2006-12-27 13:04:17 +00:00
d4f726cf1e Corrected kB conversion factor to 176.4 with ATIP speed codes 2006-12-27 13:03:09 +00:00
bee1fb0f4c Disabled obsolete drive-media-state workaround. (Spinoff of ticket 93 :)) 2006-12-27 13:01:39 +00:00
42c021dca3 Minor corrections to revisions 559 and 560 2006-12-26 18:45:21 +00:00
1bd1985aeb New API calls burn_drive_get_speedlist() , burn_drive_free_speedlist() 2006-12-26 17:07:53 +00:00
ae1b8ce61c Completed revision 556 2006-12-25 19:07:43 +00:00
8e9262eb2d Ticket 93: write speeds from ACh GET PERFORMANCE, Type 03h, DVD media capacity 2006-12-25 19:00:26 +00:00
f3f91fd350 Corrected CD speed conversion factor to 2352*75/1000 = 176.4 kB/s 2006-12-25 18:57:11 +00:00
340521689a Adjusted to new (still immature) speed info semantics 2006-12-25 11:37:24 +00:00
15ab12493c Ticket 93: write speeds from mode page 2Ah descriptors 2006-12-25 11:34:43 +00:00
c82f8ce73b Bugfix after changes for DVD+RW: start_byte was initialized 0, but must be -1 2006-12-24 18:23:30 +00:00
34e2cf4c8c Bugfix with DVD+RW : progress indicators were initialized too late 2006-12-24 18:22:27 +00:00
f12ef8b0e1 Made DVD ignore CD write modes of drive. Made TAO default for DVD+RW. 2006-12-24 15:47:11 +00:00
ff3b1102cb Made DVD 32k end padding controllable 2006-12-24 14:24:35 +00:00
d7caf0ca23 Fixed a bug with speed measurement at end of DVD+RW burning 2006-12-24 14:22:38 +00:00
Mario Danic
90840286bc Modified cdrskin_timestamp 2006-12-23 21:56:39 +00:00
6ff6d2c8a6 More appropriate drive status during format and close of DVD+RW 2006-12-23 18:43:31 +00:00
fd3785389f New API function to inquire burn success (and avoid confusing messages) 2006-12-23 14:12:55 +00:00
7ef7ee6ad3 New option write_start_address= 2006-12-23 10:21:44 +00:00
639aad3571 Adjustable write position for DVD+RW: burn_write_opts_set_start_byte() 2006-12-23 10:20:35 +00:00
1ae27b6afc Some bragging about DVD+RW 2006-12-21 21:46:58 +00:00
c32955d2d3 Disallowed multi flag with DVD+RW (nurses wrong hopes for now) 2006-12-21 20:57:15 +00:00
3d86f11d81 DVD speed setting via B6h SET STREAMING, DVD+RW now enabled in vanilla build 2006-12-21 20:06:04 +00:00