Commit Graph

124 Commits

Author SHA1 Message Date
Thomas Schmitt fafc190fd4 Adjusted libcdio system adapter to FreeBSD peculiarities 2010-03-29 10:33:05 +00:00
Thomas Schmitt 7446ed7daa Showing more patience with temporarily busy drives on Linux 2010-03-04 12:13:04 +00:00
Thomas Schmitt 6db992e646 Added or adjusted copyright and license statements in single files 2010-02-14 08:45:14 +00:00
Thomas Schmitt bd017a108e Changed docs and comments to "GNU/Linux" where appropriate 2010-02-12 21:26:46 +00:00
Thomas Schmitt 3a76f9245f Changed system adapter id and some remarks from "Linux" to "GNU/Linux" 2010-02-12 17:30:59 +00:00
Thomas Schmitt eb8b8faa3b Changed a comment in sg-linux.c 2010-01-18 10:32:36 +00:00
Thomas Schmitt 39fd8b922d New OS adapter burn_os_is_2k_seekrw() replaces S_ISBLK() with pseudo-drives 2010-01-16 12:51:24 +00:00
Thomas Schmitt 2ff03841d7 Corrected free capacity measurement of stdio: drives in regular files 2010-01-12 16:50:44 +00:00
Thomas Schmitt d53c5db98e Extended sg-API by sg_shutdown(), sg_dispose_drive(), sg_id_string() 2009-12-27 14:45:05 +00:00
Thomas Schmitt 08169d63bc New API function burn_scsi_transport_id() 2009-12-26 08:01:35 +00:00
Thomas Schmitt e13b6369ba New internal sg-API function sg_initialize() 2009-12-25 22:37:57 +00:00
Thomas Schmitt eb34561262 Making use of libcdio function mmc_get_cmd_scsi_sense() 2009-12-24 17:04:40 +00:00
Thomas Schmitt e566340261 Moved sg_log_cmd() to spc.c scsi_log_cmd() 2009-12-19 14:23:30 +00:00
Thomas Schmitt 54bb1ab395 Converted stderr experiment messages to DEBUG messages 2009-12-05 14:35:41 +00:00
Thomas Schmitt d6edfc9961 Using mmap() by default for allocating read buffers 2009-11-28 12:23:20 +00:00
Thomas Schmitt 496d794bcd Gave up call burn_os_close_track_src() introduced by rev 2920 2009-11-25 12:21:12 +00:00
Thomas Schmitt dc8ecdd77e New API calls burn_os_open_track_src() , burn_os_alloc_buffer() 2009-11-23 18:56:18 +00:00
Thomas Schmitt f39ff2c2f6 Experiment about SG_FLAG_DIRECT_IO 2009-11-20 13:48:44 +00:00
Thomas Schmitt 0f37170759 Made SCSI logger permanent and controllable via API call 2009-11-12 17:54:06 +00:00
Thomas Schmitt 83f80364c5 Hopefully solved the endless burn problem with Pioneer DVR-216D 2009-11-10 20:32:59 +00:00
Thomas Schmitt 405e6b020e Made SCSI command log more complete and more readable 2009-11-08 11:12:23 +00:00
Thomas Schmitt 3c2ad1be42 Test macros for finding reason of stall problem with Pioneer DVD-216D on DVD-R 2009-10-30 13:45:26 +00:00
Thomas Schmitt 4457061656 Restricted retry to the timeout for single SCSI commands (200 seconds) 2009-09-22 19:26:57 +00:00
Thomas Schmitt 970ae46cfa Silenced a valgrind warning caused by not recognizing side effects of a ioctl 2009-09-05 11:42:25 +00:00
Thomas Schmitt b65b852c15 Retrying 3 times on EBUSY drives with generous usleep intervals 2009-06-14 09:49:47 +00:00
Thomas Schmitt 78642d08ae Bug fix: /dev/sr0 was accepted as enumerable address on Linux 2.4 2008-09-29 07:35:30 +00:00
Thomas Schmitt c640c7954b Trying to avoid unnecessary access to sibling device objects 2008-09-09 13:20:08 +00:00
Thomas Schmitt ea17318e18 Taking into respect drive list from /proc/sys/dev/cdrom/info 2008-08-05 18:00:37 +00:00
Thomas Schmitt 98d742a4ef Avoiding drive scan if single drive is given 2008-08-01 10:10:13 +00:00
Thomas Schmitt 76e85e600c Followed hint of Giulio Orsero to recognize disk by /proc/ide/hdX/media 2008-07-14 16:44:59 +00:00
Thomas Schmitt 67ca4a251a Trying to avoid SORRY messages when hitting busy hard disk /dev/hdX 2008-07-14 11:28:55 +00:00
Thomas Schmitt b1c6953b61 With auto device family: scd is now fallback if sr does not exist 2008-07-02 09:39:02 +00:00
Thomas Schmitt 13492efe4b Testwise inquiry of ioctl(CDROM_MEDIA_CHANGED) (disabled by default) 2008-02-21 20:10:38 +00:00
Thomas Schmitt fc5f2a4745 Reacted on cdwrite@ message about INT_MAX in cdrom.h of kernel 2.6.23 2007-10-27 07:52:54 +00:00
Thomas Schmitt 78c16e7590 Made stdio-drives work on readonly CD block devices 2007-09-24 18:14:07 +00:00
Thomas Schmitt 090861567d Brought burn_stdio_write_track() onto sector_data() for outmost realism 2007-09-12 10:45:34 +00:00
Thomas Schmitt 75dd141055 Enable os dependend stdio size estimation 2007-09-09 13:31:29 +00:00
Thomas Schmitt 15a70555b2 Added SCSI opcode to output of revision 857 2007-05-22 16:51:15 +00:00
Thomas Schmitt c86f5d7cde Report eventual sg_io_hdr_t host_status,driver_status as debug messages 2007-05-22 15:45:57 +00:00
Thomas Schmitt 41f2a40a58 Prepared fflushing and stderr output of SCSI command log 2007-05-21 18:45:44 +00:00
Thomas Schmitt ab5f39b8bb Switched from O_NONBLOCK to O_NDELAY (see http://lkml.org/lkml/2007/4/11/141) 2007-04-13 17:12:06 +00:00
Thomas Schmitt 047f9c75f5 Fixed bug in sg_open_scsi_siblings() introduced with revision 802 2007-04-10 08:31:04 +00:00
Thomas Schmitt 159715ebaa Used O_EXCL|O_RDWR and fcntl() even within sg_obtain_scsi_adr() 2007-04-10 08:20:45 +00:00
Thomas Schmitt 76ed9570c9 Reacted on compiler warning about last_rdev, fixed fresh typo bug 2007-04-09 11:10:41 +00:00
Thomas Schmitt 4bc8e4caea Cleaned up scsi sibling management, sketched grafting of DDLP 2007-04-09 10:54:17 +00:00
Thomas Schmitt 76a9fa4fa2 New cdrskin options --drive_not_f_setlk and --drive_not_o_excl 2007-04-04 18:43:23 +00:00
Thomas Schmitt 16c7cf1889 Added fcntl() locking to O_EXCL locking 2007-04-03 14:04:04 +00:00
Thomas Schmitt dba40c756b Trying to recognize kernel >= 2.6 and use /dev/sr by default 2007-03-15 19:59:54 +00:00
Thomas Schmitt 6086b59301 New option drive_scsi_dev_family=sr|scd|sg 2007-03-14 13:37:32 +00:00
Thomas Schmitt ceb5159770 Implemented debugging messages for ATA enumeration 2007-01-13 14:09:53 +00:00
Thomas Schmitt 17bac86aae Trying to identfy CD device via ioctl(CDROM_DRIVE_STATUS) 2006-12-11 19:19:15 +00:00
Thomas Schmitt d9e502ee5f Reacted better on failing ioctl(SG_GET_SCSI_ID) 2006-12-11 16:20:54 +00:00
Thomas Schmitt 17fc8e7161 Removed ban on linux_sg_device_family, warning now of linux_sg_accept_any_type 2006-12-11 14:54:26 +00:00
Thomas Schmitt e405092ab0 Enabled correct SCSI address parameter registration for /dev/srM 2006-12-11 13:45:50 +00:00
Thomas Schmitt 8265834404 Silenced a compiler warning. Worked further on /dev/srM test. Not done yet. 2006-12-11 11:58:52 +00:00
Thomas Schmitt 77f44ce5a2 Prepared experiments for new Linux SCSI adventures 2006-12-11 10:01:18 +00:00
Thomas Schmitt 373e401671 Polished porting hints 2006-11-16 14:21:27 +00:00
Thomas Schmitt 06d008d6c6 Polished porting hints and self-compliance to newly established specs 2006-11-16 13:40:21 +00:00
Thomas Schmitt ff284b3f51 Made consolidaed operating system adapters for ease of porting 2006-11-16 11:17:55 +00:00
Thomas Schmitt 628e935fe5 Narrowed system specific part of enumerate_common() 2006-11-15 20:49:27 +00:00
Thomas Schmitt 13641fcbae Made portability clarifications 2006-11-15 17:10:12 +00:00
Thomas Schmitt 17d1d2e8a6 Enhanced optional SCSI command logging 2006-11-15 09:11:57 +00:00
Thomas Schmitt 5057fe48ab Silenced SCSI error (debugging) messages about missing media 2006-11-09 11:36:38 +00:00
Thomas Schmitt e54be83b27 Cared for some SCSI error conditions which were ignored up to now 2006-11-06 19:58:24 +00:00
Thomas Schmitt 448aac8880 Made CD with unclosed track blankable (by -force) 2006-11-06 15:52:45 +00:00
Thomas Schmitt 114307a679 Made single track TAO work (sector i/o still wants fixed size, though) 2006-10-31 11:55:51 +00:00
Thomas Schmitt e5ed5f1856 Split enumerate_common() into logic-layer, command-layer, transport-layer 2006-10-21 18:51:35 +00:00
Thomas Schmitt b6a04cb493 Implemented some ATIP functionality 2006-10-21 10:34:15 +00:00
Thomas Schmitt 8610c9bd1d Made cdrskin produce "ATIP start of lead" (on non-blank media for now) 2006-10-20 11:34:52 +00:00
Alexander Nedotsukov e28798d8a0 Move Linux specific includes to the place where they actually required. 2006-10-15 13:07:43 +00:00
Thomas Schmitt 0710bbb4fb Introduced burn_drive_enumerator_t to allow more complete sg-freebsd implementation 2006-10-14 12:24:03 +00:00
Thomas Schmitt 6ad8e2e251 Removed bug in burn_disc_write_sync(): BURN_DRIVE_IDLE, then d->sync_cache() 2006-10-13 11:46:07 +00:00
Thomas Schmitt 170eb96356 Made libburn and cdrskin build on my Linux again 2006-10-13 10:22:21 +00:00
Mario Danic 5fd59b1858 Prepared sg files for multi-os support 2006-10-12 17:36:38 +00:00