Commit Graph

788 Commits

Author SHA1 Message Date
efd369a669 Implemented adivisory FreeBSD drive locking via flock(2) 2010-01-15 18:25:14 +00:00
310f16f3fa Provisory rejection of FreeBSD ATAPI drives in sg-libcdio 2010-01-14 16:06:17 +00:00
d4c105344b Giving up drive probing by mode page sending 2010-01-14 16:04:57 +00:00
aaf8353363 Carified that apps must use 64 bit off_t or the lib must be tweaked. 2010-01-13 17:14:14 +00:00
5ff681f314 Adaptions after encounter with FreeBSD 8.0 2010-01-13 07:45:07 +00:00
889feba810 Experimentally regard FreeBSD /dev/da[0-9] and /dev/cd[0-9] as block device 2010-01-13 07:38:56 +00:00
9e5c7cc141 Corrected free capacity measurement of stdio: drives in regular files 2010-01-12 16:50:44 +00:00
934f2d4c5b Better error message with unknown SCSI error codes 2010-01-09 14:25:19 +00:00
39bfad49ad Enlarged buffer size of libcdio adapter on Linux to 64k 2010-01-04 13:52:57 +00:00
085077db95 Avoiding stream recording on BD if not 64 kB buffer 2010-01-04 13:49:05 +00:00
5973070bae Enabled block device size recognition with sg-libcdio on Linux 2010-01-01 12:43:15 +00:00
42c4ad98c7 Bug fix: with non-Linux adapters there were 0 readable bytes on block devices 2010-01-01 12:39:20 +00:00
c3d6b61372 Silenced libcdio warnings 2009-12-30 20:08:51 +00:00
015a5d56ba Making use of new libcdio capability to obtain SCSI address tuple on Linux 2009-12-30 15:40:10 +00:00
2cd305b65e Adaptions for Debian kfreebsd requested by Petr Salinger 2009-12-29 22:43:35 +00:00
824c054bbc Experimentally enabled FreeBSD system adapter for Debian kfreebsd 2009-12-29 13:31:56 +00:00
0d1fa5548b Corrected a mode page size computation error which for now had no bad effect 2009-12-29 11:57:21 +00:00
5f38bd9e58 Incremented middle .so number 2009-12-29 11:55:48 +00:00
9273355338 Reporting system adapter id with cdrskin -version 2009-12-27 14:46:01 +00:00
2dfa6d6b3c Extended sg-API by sg_shutdown(), sg_dispose_drive(), sg_id_string() 2009-12-27 14:45:05 +00:00
5b56956a1e Shorter sg_initialize message with sg-libcdio 2009-12-27 10:22:11 +00:00
f91ee4fb13 Showing libburn users drive name link targets, using in libcdio its own names 2009-12-27 09:20:10 +00:00
d06c4ac98f Reacted on some doxygen warnings of Debian hurd build 2009-12-26 22:25:45 +00:00
f70f47a09a Reporting burn_scsi_transport_id() in cdrskin as debug message 2009-12-26 19:35:42 +00:00
7d49a67585 New API function burn_scsi_transport_id() 2009-12-26 08:01:35 +00:00
faa760d6ff New internal sg-API function sg_initialize() 2009-12-25 22:37:57 +00:00
060df845ba Adapted to libcdio-0.83 and its runtime version telling 2009-12-25 20:55:37 +00:00
d0d6e49727 Added PKG_CHECK_MODULES for libcdio-0.82 (must become 0.83 when released) 2009-12-25 14:40:16 +00:00
f06d73b4f8 Resolving symbolic links in libcdio drive list 2009-12-25 14:31:55 +00:00
b5c0316640 Commited file forgotten with rev 2960 2009-12-25 10:13:06 +00:00
2947dc02de Making use of libcdio function mmc_get_cmd_scsi_sense() 2009-12-24 17:04:40 +00:00
21a1829063 Moved sg_log_cmd() to spc.c scsi_log_cmd() 2009-12-19 14:23:30 +00:00
ef8289e6e8 Corrected CDB length of command 55h MODE SELECT from 12 to 10 2009-12-19 13:59:09 +00:00
4225f876a6 Made number transition to 0.7.5 2009-12-07 07:54:24 +00:00
451dd1136e Now default in cdrskin: use of libburn fifo with DVD and BD single track 2009-12-06 09:37:33 +00:00
18b72f1602 Some clarifications about the Linux throughput problem 2009-12-06 07:45:00 +00:00
07f535c72b Some clarifications about the GH22LS30 problem 2009-12-06 07:32:38 +00:00
2fd0fc3086 Converted stderr experiment messages to DEBUG messages 2009-12-05 14:35:41 +00:00
1f73d8fb3d Made effect of macro Libburn_pioneer_dvr_216d_read_buf_caP unconditional 2009-12-05 14:22:28 +00:00
203976a6db Bug fix: SIGSEGV with LG GH22LS30 when inquiring media product id 2009-12-05 11:17:13 +00:00
2ca3d2d5c3 Gave up CLOSE TRACK with CD TAO burn runs 2009-12-02 10:29:45 +00:00
dda4ca8108 Documented meaning of START/STOP UNIT bits 2009-11-30 10:00:34 +00:00
a42ece0bce Using mmap() by default for allocating read buffers 2009-11-28 12:23:20 +00:00
89b20aeec5 Compiler option -use_libburn_fifo to switch non-CD from cdrfifo to libburn fifo 2009-11-26 21:12:57 +00:00
b0cb0b1e53 New API calls burn_fifo_get_statistics(), burn_fifo_next_interval() 2009-11-26 14:43:38 +00:00
dc0504f019 New API call burn_fifo_fill() 2009-11-25 16:00:33 +00:00
d6263dee7f Gave up call burn_os_close_track_src() introduced by rev 2920 2009-11-25 12:21:12 +00:00
5a70b9b6de Gave up cdrskin specific O_DIRECT compile option 2009-11-23 19:31:32 +00:00
81b74cc951 New API calls burn_os_open_track_src() , burn_os_alloc_buffer() 2009-11-23 18:56:18 +00:00
396a743690 Bug fix: DVD DAO track size was rounded up much too generously 2009-11-22 20:52:40 +00:00
6b97497089 Enabled cdrskin O_DIRECT with fs=0 2009-11-21 19:15:52 +00:00
25d642e287 Longer READ BUFFER CAPACITY interval with DVD/BD writing 2009-11-21 19:14:05 +00:00
ca72f3c1d2 Avoided use of uninitialized variable 2009-11-20 17:57:34 +00:00
ab98e31575 Experiment about SG_FLAG_DIRECT_IO 2009-11-20 13:48:44 +00:00
f67f1a2caa Reserving enough track space for 64 kB write chunks 2009-11-18 18:56:14 +00:00
0debeeabf9 Split automatic drive start function from mmc_function_spy() 2009-11-18 12:25:57 +00:00
0b55addb6a Revoked usage of libburn_libburn_la_CFLAGS in Makefile.am (ugly .o names) 2009-11-17 09:34:46 +00:00
0259c17539 Configure options --enable-cdrskin-fifo-odirect, --enable-dvd-obs-64k 2009-11-16 16:53:07 +00:00
cb668c06dd New options dvd_obs= and stdio_fsync= 2009-11-15 16:49:04 +00:00
dea30cc8c8 New API calls burn_write_opts_set_dvd_obs(), burn_write_opts_set_stdio_fsync() 2009-11-15 15:30:26 +00:00
b828203e0b New compile_cdrskin.sh option -o_direct (Linux only) 2009-11-15 15:24:21 +00:00
39b9c6f48d Corrected an outdated remark 2009-11-15 15:21:04 +00:00
22fafb92eb Man page entry and help text for option -V 2009-11-12 19:34:58 +00:00
a67e188fb3 Implemented option -V for logging of SCSI commands 2009-11-12 18:01:26 +00:00
031a445210 Macro Libburn_pioneer_dvr_216d_dummy_probe_wM for omitting write mode probe 2009-11-12 18:00:01 +00:00
ff94b794fd Workaround for Pioneer DVR-216D refusal to eject 2009-11-12 17:56:18 +00:00
bab0d8b83b Made SCSI logger permanent and controllable via API call 2009-11-12 17:54:06 +00:00
13c4c3e4b8 Silenced a compiler warning about potentially uninitialized variable 2009-11-11 10:49:11 +00:00
77bcab01fe Reporting number of pending bytes while thanking for patience in -vvv mode 2009-11-11 10:07:03 +00:00
cdf9e6aec9 Increased stdio flush interval from 1 MB to 16 MB 2009-11-11 10:05:56 +00:00
71e2ab85e6 Hopefully solved the endless burn problem with Pioneer DVR-216D 2009-11-10 20:32:59 +00:00
277255953f Avoiding START UNIT before the drive gets released 2009-11-10 12:21:43 +00:00
85d8c13d35 Made SCSI command log more complete and more readable 2009-11-08 11:12:23 +00:00
d385730ebd Corrected allocation length with GET CONFIGURATION 2009-11-08 11:08:19 +00:00
4b30530f52 Test macros for double START UNIT and SET CD SPEED 2009-11-05 17:03:01 +00:00
11d1538fbd Test macro for SEND OPC INFORMATION before DVD-R track 2009-11-04 08:46:17 +00:00
6e44f7ea4e Test macro for SL_V in mode page 05 2009-11-03 18:45:08 +00:00
d4a3d303a6 Test macros for finding reason of stall problem with Pioneer DVD-216D on DVD-R 2009-10-30 13:45:26 +00:00
2027b86361 Bug fix: Closed memory leak with failure to open device file under FreeBSD. Thanks to George Danchev. 2009-10-27 10:09:31 +00:00
4ff9053d68 Bug fix: burn_drive->disc_id or burn_drive->disc_app_code altered by stray 0. Thanks to George Danchev. 2009-10-27 10:06:43 +00:00
edabeec60a More optimizations with parity computation 2009-10-20 16:14:14 +00:00
e8e748d2f3 Optimizations with parity computation, clarification about nature of logarithms 2009-10-19 11:56:25 +00:00
9520a0570f Re-implemented ECMA-130 P-parity, Q-parity and scrambling for BURN_WRITE_RAW 2009-10-17 13:17:53 +00:00
ba33ee3960 Made number transition to 0.7.3 2009-10-12 10:52:37 +00:00
76cec81b92 Made -minfo subtract 2 from track size if "Data" and last 2 blocks unreadable 2009-10-09 20:06:25 +00:00
151b100c96 Made read_capacity error message of burn_read_data() depending on flag bit1 2009-10-09 20:03:06 +00:00
e637ee7686 Made -minfo stupidly report overwriteable media as "erasable" and "complete" 2009-10-09 12:37:38 +00:00
1deac6afeb Determining read capacity for DVD-RAM 2009-10-09 12:35:42 +00:00
f45a911e86 Fixed CD TAO multi-track -dummy bug reported by Philippe Rouquier 2009-10-04 15:11:35 +00:00
18fdda825e Restricted retry to the timeout for single SCSI commands (200 seconds) 2009-09-22 19:26:57 +00:00
93ec70fd74 Revoked instruction to retry STOP UNIT 2009-09-22 19:24:41 +00:00
d51356c26f Mentioned need for 2056 byte fifo chunks with burn_track_set_cdxa_conv() 2009-09-20 11:19:11 +00:00
b001fd6ed6 Refusing to read beyond media_read_capacity 2009-09-18 16:18:37 +00:00
87f67a9267 Fixing SIGSEGV with CD SAO introduced with revision 2808 2009-09-18 16:16:56 +00:00
6068c14634 Evaluating read capacity with role 2 drives (regular files and block devices) 2009-09-13 09:49:50 +00:00
45fbcbf60a Interpreting options -mode2, -xa, -xa1, -xa2 but producing CD-ROM Mode 1 tracks 2009-09-11 12:08:59 +00:00
d090683bdf New API call burn_track_set_cdxa_conv() 2009-09-11 11:53:36 +00:00
ee1da199ce Removed Media summary from -minfo because of incompatible counting rules 2009-09-10 07:11:54 +00:00
cde1929e4a Silenced compiler warning 2009-09-09 17:42:31 +00:00
1691557aae Emulation of some -minfo output 2009-09-09 17:33:48 +00:00
9ccad6a9d9 New struct burn_toc_entry extension for Last Recorded Address 2009-09-09 15:38:47 +00:00
3dbc958c05 Correction with erasable bit of burn_disc_get_cd_info() 2009-09-09 13:39:27 +00:00
a8ba16ad63 New API call burn_disc_get_cd_info() 2009-09-09 12:52:07 +00:00
a81a1daaf4 Avoided to read third sixpack of manufacturer bytes with DVD-R media 2009-09-06 11:20:18 +00:00
84ccf158e7 Changed new API call burn_get_media_product_id() to burn_disc_get_media_id() 2009-09-06 09:25:52 +00:00
6e7bb73d03 Made recognition of CD media codes work in burn_guess_manufacturer() 2009-09-06 09:22:26 +00:00
1fcc87d142 "Manufacturer:", "Media type:" as cdrecord, own "Product Id:" and "Producer:" 2009-09-05 16:51:57 +00:00
a6ad56cbba Introduced flag bit0 for API call burn_get_media_product_id() 2009-09-05 16:50:41 +00:00
30ebdfc049 Re-enabled output of product id and manufacturer 2009-09-05 13:19:01 +00:00
f36155d5ca Made cdrskin/compile_cdrskin.sh -libburn_0_7_0 work again 2009-09-05 12:08:43 +00:00
817331991c Closed a small memory leak with drive inquiry 2009-09-05 11:50:09 +00:00
32575a8c9a Silenced a valgrind warning caused by not recognizing side effects of a ioctl 2009-09-05 11:42:25 +00:00
07f5e48f29 Made product ID surely a single printable word 2009-09-05 11:29:44 +00:00
f1263be867 Adjusted column width of media summary message 2009-09-05 07:24:06 +00:00
cedad9445d Adjusted column width of media info messages 2009-09-04 20:43:29 +00:00
f6dfb38e0f Option -atip now reports Product Id and Manufacturer for most CD, DVD, BD types 2009-09-04 20:22:54 +00:00
922785b8f3 New API calls burn_get_media_product_id() and burn_guess_manufacturer() 2009-09-04 20:21:55 +00:00
1f68e09143 New API call burn_guess_cd_manufacturer() 2009-09-02 13:32:17 +00:00
78d3e9d334 Removed lec.c from libburn 2009-09-02 13:14:23 +00:00
ac0a8b6282 New option --long_toc, now printing media summary at end of TOC 2009-09-01 13:34:23 +00:00
3923a6d3d7 Aligned the output columns of cdrskin --devices 2009-09-01 11:38:57 +00:00
43402861b2 Disabled code using libburn/lec.c, removed lec.c from libburn 2009-09-01 09:57:14 +00:00
4ad41080b4 Disabled write mode -raw96r 2009-09-01 08:25:01 +00:00
9435b8d084 Made number transition to development version 0.7.1 2009-08-27 14:38:24 +00:00
ba6b4bc974 Implemented automatic START UNIT after STOP UNIT before any other SCSI command 2009-08-24 20:24:39 +00:00
607342036e Made burn_drive_snooze() safe for emulated drives 2009-08-24 16:15:46 +00:00
8b5eeb6b33 New API call burn_drive_snooze() 2009-08-24 13:10:53 +00:00
111322daaf Adapted to pitfalls of U3 memory sticks which appear as CD-ROM drives 2009-08-23 13:08:19 +00:00
0b8a049e34 Listing all profiles with cdrskin -v -atip 2009-08-15 13:36:51 +00:00
4343f82c2e New API calls burn_drive_get_all_profiles(), burn_obtain_profile_name() 2009-08-15 13:32:56 +00:00
f935e83d9f Made number transition and activated development documentation 2009-07-14 13:37:11 +00:00
75b515e51f Timestamp for revision 2691 2009-07-07 19:17:40 +00:00
c1cc6e27ba configure options --enable-libdir-pkgconfig and --enable-pkgconfig-path=DIR 2009-07-07 19:12:18 +00:00
b7bb047464 Retrying 3 times on EBUSY drives with generous usleep intervals 2009-06-14 09:49:47 +00:00
ee6c1ac0d9 Bug fix: No usable media was detected with old MMC-1 drives 2009-06-03 18:53:57 +00:00
09efaa21bc Bug fix: Old MMC-1 drives were rejected because of mode page 2Ah length 2009-06-03 08:58:18 +00:00
3013dd0856 Avoided to enumerate faulty drive objects 2009-06-02 17:21:43 +00:00
bae3cf6618 Rectified use of burn_drive.mdata->valid 2009-06-02 16:28:33 +00:00
2ae3df230c Made -scanbus work with SCSI bus numbers like 85 (USB, kernel 2.6.18.2) 2009-05-17 14:42:52 +00:00
358678eeef Made number transition and activated development documentation 2009-05-07 18:15:47 +00:00
19805e6a0a Bug fix: Device scan stalled on FreeBSD. Ticket 148 jwele 2009-04-30 07:08:23 +00:00
8a55deb67a Replaced 8 blanks by a tab 2009-04-30 06:59:35 +00:00
4d35664d90 Marked alleged use of uninitialized memory reported by valgrind 2009-04-30 06:56:47 +00:00
9f44299cf2 Bug fix: burn_abort() did not work with broken output pipe (since rev 2514) 2009-03-18 17:25:00 +00:00
55545b97a0 Human readable error messages for asc=08 "Logical unit communication failure" 2009-03-18 12:45:59 +00:00
4571648878 Get on FreeBSD pkgconfigdir=.../libdata , on Linux and others: .../lib 2009-03-16 19:07:45 +00:00
dc0ab3d2ec Made libburn number transition to 0.6.5 2009-03-13 14:03:13 +00:00
d7b29469f7 Reacted on compiler warnings of SchilliX-0.6.7 (based on Solaris 5.11) 2009-03-08 14:01:10 +00:00
ab9ebed0cd Lifted the ban on operating systems other than Linux and FreeBSD 2009-03-05 14:53:00 +00:00
11e69fa320 Making optional use of statvfs() in sg-dummy 2009-03-03 09:20:53 +00:00
90e6740611 Added a dummy function with loud compiler warning to sg.c dummy case 2009-03-02 20:01:37 +00:00
4beea97f47 Fixed a race condition on abort with stdio writing which could cause SIGSEGV 2009-03-02 19:33:47 +00:00
672a0e4f9d New operating system adapter "dummy" for stdio on POSIX-like systems 2009-03-02 17:01:21 +00:00
d2914eb45d New stream_recording mode with start number 2009-02-27 21:17:05 +00:00
27c75ee526 New API function burn_drive_set_stream_recording() 2009-02-27 14:30:57 +00:00
d7e83ca613 Forgotten version leap to 0.6.3 in libburn.h 2009-02-20 13:23:57 +00:00
dfdf7ba607 Made number transition to 0.6.3 2009-02-20 12:50:12 +00:00
8c1bf841e2 Human readable error messages with asynchronous SCSI errors 2009-02-19 19:28:16 +00:00
240b0e16d0 Linking with $LIBBURN_ARCH_LIBS to get -lcam on FreeBSD 2009-02-04 10:28:26 +00:00
9c78678a15 Prepared eventual closing of spoiled BD-R media by a pseudo write run 2009-01-11 10:28:05 +00:00
35a1d463ab Preventing a possible bug with a burn run of more than one session at once 2009-01-09 16:17:25 +00:00
12db32e25e Recognizing BD-R media spoiled by the close bug and handling them as appendable 2009-01-09 09:59:59 +00:00
90d761d2a6 Bug fix: BD-R were not correctly finalized 2009-01-07 15:44:30 +00:00
1895419a97 Complaining and refusing more early with unformatted BD-RE 2009-01-06 12:28:20 +00:00
1bda3b83a9 Error texts for ASC 73 : power calibration and program memory 2009-01-06 12:25:53 +00:00
d05348f67c Made number transition to 0.6.1 2009-01-04 11:35:19 +00:00
8292601817 Updated copyright claims to year 2009 2009-01-04 11:29:37 +00:00
e7c207fff6 Cosmetic changes 2008-12-29 10:53:58 +00:00
b15ff43eb7 Fixed denial of fast formatting with BD-RE introduced by revision 2280 2008-12-22 13:05:51 +00:00
32e53aee64 Clarified blank, appendable, closed burn_disc_status 2008-12-19 20:35:43 +00:00
8a92d512d0 New API function burn_get_read_capacity() 2008-12-17 09:19:34 +00:00
2a8c76c329 Now producing libburn.so.4.24.0 2008-12-13 14:49:39 +00:00
7618b01d1c Interpreting feature 0023h for BD-R formatting capabilities 2008-12-12 21:40:34 +00:00
e035ee80fa Making format size of BD-RE and BD-R quite freely adjustable 2008-12-12 11:22:14 +00:00
0985d48799 Catching BD-R zero spare formatting with NOTE rather than SORRY 2008-12-11 09:22:33 +00:00
5560e20f8a Rejecting unformattable BD-R more early 2008-12-11 07:23:29 +00:00
c8f6b71e13 Formatting of BD-R SRM to default size and by index 2008-12-10 11:43:28 +00:00
334063ffe0 Formatting of BD-R SRM to default size and by index 2008-12-10 09:26:09 +00:00
ad7c7344cf Beginning to implement write code for BD-R SRM without POW 2008-12-09 12:36:28 +00:00
23682a109b Beginning to implement write code for BD-R SRM without POW 2008-12-09 12:35:13 +00:00
22f2c214c7 2008-12-07 16:00:45 +00:00
3396a47b17 Defaulting sessions without leadout entry 2008-12-03 08:52:44 +00:00
21ac13180e Circumventing BD-RE Quick Certification refusal of LG GGW-H20L YL03 2008-11-29 14:04:31 +00:00
9a6601d13c Translating ASC=0x31 formatting error messages, reporting command names 2008-11-29 14:01:41 +00:00
f81eb3a144 Changed error severity with TOC truncation to MISHAP 2008-11-27 17:21:54 +00:00
d6570a143a Truncating eventually detected damaged CD table-of-content 2008-11-27 08:11:03 +00:00
3b3da1b1ee Added tests against the SIGSEGV of ticket 146 2008-11-26 21:06:37 +00:00
b9089146f9 Removed remark that use of statvfs() was untested with FreeBSD 2008-11-15 22:07:24 +00:00
b11a57ef45 Made number transition to 0.5.7 2008-11-12 12:51:07 +00:00
b321ad2305 Avoiding warning message about implicitely declared burn_fifo_abort() 2008-11-12 07:53:01 +00:00
a9e788f551 Disabling the sigsegv provoking new debug message 2008-11-08 20:25:38 +00:00
dba9ae9c69 Cancelling libburn fifo thread before freeing the fifo object 2008-11-08 14:18:14 +00:00
ffc63da524 Clarified behavior of burn_source with pipes 2008-11-08 13:48:59 +00:00
4fef4932b6 Bug fix: Unsuitable write modes were caught silently and later than desired 2008-11-01 12:13:26 +00:00
5416a455ba A clarification in comment about burn_disc_format() 2008-10-15 10:33:09 +00:00
d5d5549d41 Made number transition to next development cycle 2008-10-05 12:41:44 +00:00
aa45c75705 Incremented LT_CURRENT and LT_AGE to get libburn.so.4.18.0 2008-10-04 07:39:22 +00:00
5e0f0e0681 Prevented SIGSEGV after illegal drive operations during sync write 2008-10-04 07:27:43 +00:00
8395088711 Bug fix: /dev/sr0 was accepted as enumerable address on Linux 2.4 2008-09-29 07:35:30 +00:00
6a628db774 Bug fix: Potential buffer overflow introduced with revision 2024 2008-09-28 19:39:00 +00:00