Commit Graph

299 Commits

Author SHA1 Message Date
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
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
1d611b4ca4 Enabled -isosize for first track by help of fifo and without seeking 2007-03-28 10:07:09 +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
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
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
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
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
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
bd10126c47 Clarifications about current state of fillup 2007-02-15 20:23:49 +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
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
7d7e64f43c Added a comment about DVD-R 2007-02-10 17:23:49 +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
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
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
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
c96be23374 Initialized member set_size of burn_source within burn_null_source_new() 2007-01-26 17:33:29 +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
Alexander Nedotsukov
46744180d7 Restored FreeBSD backend. 2007-01-24 12:44:22 +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
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
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
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
206f0cee94 Implemented debugging messages for ATA enumeration 2007-01-13 14:09:53 +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
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
f0538694c5 Enhanced DVD-RW formatting 2007-01-09 21:06:55 +00:00
dbabf621bc Fixed a SIGFPE with formatting via libburner 2007-01-09 14:03:43 +00:00
c9a9da9554 Introduced size parameter to DVD-RW formatting plus writing of zeros. 2007-01-08 10:42:54 +00:00
bd925d41ee Added note that buffer may not be smaller than 32768 2007-01-08 10:30:30 +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
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
49cc49e118 Avoided self contradicting result of ATIP speed inquiry 2006-12-27 13:28:40 +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
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
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
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
639aad3571 Adjustable write position for DVD+RW: burn_write_opts_set_start_byte() 2006-12-23 10:20:35 +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
a773cad219 Removed some debugging messages 2006-12-21 12:23:10 +00:00
72f60fd10e Corrected bug reported by gcc -O2 2006-12-20 17:40:38 +00:00
800ffa6585 Corrected bug reported by gcc -O2 2006-12-20 17:13:05 +00:00
17ddc90046 Corrected DVD+RW track number and nwa with 52h READ TRACK INFORMATION 2006-12-20 17:05:33 +00:00
3cfa65388d Avoid undefined 43h commands (TOC/ATIP) with non-CD 2006-12-20 14:52:48 +00:00
4bb8cf73b8 Refuse to burn audio tracks to DVD 2006-12-20 14:23:36 +00:00
5e7ac69a89 Prepared experiments for writing to DVD (most easy: DVD+RW) 2006-12-20 11:20:08 +00:00
a607a49dfb Noted some insight about necessity of OPC gained from growisofs_mmc.cpp 2006-12-18 12:33:51 +00:00
9105508c19 Appeased doxygen warnings 2006-12-11 21:51:00 +00:00
4a5c16e060 Trying to identfy CD device via ioctl(CDROM_DRIVE_STATUS) 2006-12-11 19:19:15 +00:00
40794e68fa Reacted better on failing ioctl(SG_GET_SCSI_ID) 2006-12-11 16:20:54 +00:00
d40e0f8fa6 Removed ban on linux_sg_device_family, warning now of linux_sg_accept_any_type 2006-12-11 14:54:26 +00:00
1619135256 Enabled correct SCSI address parameter registration for /dev/srM 2006-12-11 13:45:50 +00:00
b9f04783a5 Prevented SIGSEGVs when using -atip with my SCSI CD-ROM (sr,sg: no matter) 2006-12-11 12:53:12 +00:00
76cf98c90f Silenced a compiler warning. Worked further on /dev/srM test. Not done yet. 2006-12-11 11:58:52 +00:00
b025c6a255 Prepared experiments for new Linux SCSI adventures 2006-12-11 10:01:18 +00:00
87a0a6a3d5 Avoided unsuitable media complaint on burn_drive_grab() with load==0 2006-12-02 20:13:31 +00:00
314ed864da Correction for drives which return empty tray as profile 0x00 rather than error 2006-12-02 13:06:05 +00:00
d30f687b97 New API function to obtain media type: burn_disc_get_profile() 2006-12-02 11:17:12 +00:00
b72c8ff3f2 Ticket 21: media type via 46h GET CONFIGURATION , Current Profile 2006-12-01 21:38:34 +00:00
1580663ada Prevented premature BURN_DRIVE_IDLE introduced with revision 443 2006-11-25 18:30:06 +00:00
61bdd924d8 Trying to keep signal handler from repeating messages 2006-11-25 17:06:17 +00:00
f2dacbf9e0 Ticket 91: update media state model after content change 2006-11-25 15:26:35 +00:00
7e267f2d82 Coordinated scsi_notify_error() and scsi_error() 2006-11-22 12:25:16 +00:00
8388b55e70 Removed a redundant d->start_unit() of revision 419 2006-11-20 09:07:47 +00:00
2aef36f2bb Silenced compiler warnings 2006-11-20 09:06:30 +00:00
982166e944 Implemented libburn builtin fine granulated drive buffer min-fill recording 2006-11-19 11:47:34 +00:00
d3ef62f7f0 Test wether SCSI 1Bh START UNIT would be helpful with ticket 90 2006-11-18 19:49:18 +00:00
4582cbaf21 Polished porting hints 2006-11-16 14:21:27 +00:00
653def59e4 Polished porting hints and self-compliance to newly established specs 2006-11-16 13:40:21 +00:00
a2cf3e6098 Made consolidaed operating system adapters for ease of porting 2006-11-16 11:17:55 +00:00
495e2fa63f Narrowed system specific part of enumerate_common() 2006-11-15 20:49:27 +00:00
cf6b3a755c Made portability clarifications 2006-11-15 17:10:12 +00:00
59a223677e Enhanced optional SCSI command logging 2006-11-15 09:11:57 +00:00
ab91b8b06b Prepared tests for eventual drive which might support SAO to appendable CD 2006-11-15 09:05:06 +00:00
639a32ac74 Fixed a wrong name in API description 2006-11-14 16:38:01 +00:00
Mario Danic
44997a2df8 Started logical separation of libisofs and libburn 2006-11-13 00:13:21 +00:00