Commit Graph

67 Commits

Author SHA1 Message Date
0755c89567 Added error simulation code to Linux system adapter. 2010-08-02 13:20:33 +00:00
831fe8df23 Reporting sense data with burn_set_scsi_logging() 2010-08-02 10:07:09 +00:00
1ecc2d2030 Eventually including ../config.h generated by autotools 2010-05-16 09:07:42 +00:00
a898e824bb Reporting eventual SCSI sense in sg-linux repeat loop 2010-04-09 09:07:59 +00:00
9538818e08 Adjusted libcdio system adapter to FreeBSD peculiarities 2010-03-29 10:33:05 +00:00
fd3f879900 Showing more patience with temporarily busy drives on Linux 2010-03-04 12:13:04 +00:00
6a7da3cfec Added or adjusted copyright and license statements in single files 2010-02-14 08:45:14 +00:00
ab62ffd02b Changed docs and comments to "GNU/Linux" where appropriate 2010-02-12 21:26:46 +00:00
cd2bca3c5a Changed system adapter id and some remarks from "Linux" to "GNU/Linux" 2010-02-12 17:30:59 +00:00
97ca3f7867 Changed a comment in sg-linux.c 2010-01-18 10:32:36 +00:00
7220b8e0fe New OS adapter burn_os_is_2k_seekrw() replaces S_ISBLK() with pseudo-drives 2010-01-16 12:51:24 +00:00
9e5c7cc141 Corrected free capacity measurement of stdio: drives in regular files 2010-01-12 16:50:44 +00:00
2dfa6d6b3c Extended sg-API by sg_shutdown(), sg_dispose_drive(), sg_id_string() 2009-12-27 14:45:05 +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
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
2fd0fc3086 Converted stderr experiment messages to DEBUG messages 2009-12-05 14:35:41 +00:00
a42ece0bce Using mmap() by default for allocating read buffers 2009-11-28 12:23:20 +00:00
d6263dee7f Gave up call burn_os_close_track_src() introduced by rev 2920 2009-11-25 12:21:12 +00:00
81b74cc951 New API calls burn_os_open_track_src() , burn_os_alloc_buffer() 2009-11-23 18:56:18 +00:00
ab98e31575 Experiment about SG_FLAG_DIRECT_IO 2009-11-20 13:48:44 +00:00
bab0d8b83b Made SCSI logger permanent and controllable via API call 2009-11-12 17:54:06 +00:00
71e2ab85e6 Hopefully solved the endless burn problem with Pioneer DVR-216D 2009-11-10 20:32:59 +00:00
85d8c13d35 Made SCSI command log more complete and more readable 2009-11-08 11:12:23 +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
18fdda825e Restricted retry to the timeout for single SCSI commands (200 seconds) 2009-09-22 19:26:57 +00:00
32575a8c9a Silenced a valgrind warning caused by not recognizing side effects of a ioctl 2009-09-05 11:42:25 +00:00
b7bb047464 Retrying 3 times on EBUSY drives with generous usleep intervals 2009-06-14 09:49:47 +00:00
8395088711 Bug fix: /dev/sr0 was accepted as enumerable address on Linux 2.4 2008-09-29 07:35:30 +00:00
da5b9a2370 Trying to avoid unnecessary access to sibling device objects 2008-09-09 13:20:08 +00:00
0da26cae9b Taking into respect drive list from /proc/sys/dev/cdrom/info 2008-08-05 18:00:37 +00:00
afd2dd9636 Avoiding drive scan if single drive is given 2008-08-01 10:10:13 +00:00
4ca19b6fc1 Followed hint of Giulio Orsero to recognize disk by /proc/ide/hdX/media 2008-07-14 16:44:59 +00:00
fc14a50c60 Trying to avoid SORRY messages when hitting busy hard disk /dev/hdX 2008-07-14 11:28:55 +00:00
4eb4567bcc With auto device family: scd is now fallback if sr does not exist 2008-07-02 09:39:02 +00:00
47e6294ca3 Testwise inquiry of ioctl(CDROM_MEDIA_CHANGED) (disabled by default) 2008-02-21 20:10:38 +00:00
71d33c7932 Reacted on cdwrite@ message about INT_MAX in cdrom.h of kernel 2.6.23 2007-10-27 07:52:54 +00:00
5df00bc231 Made stdio-drives work on readonly CD block devices 2007-09-24 18:14:07 +00:00
7b205b4b4d Brought burn_stdio_write_track() onto sector_data() for outmost realism 2007-09-12 10:45:34 +00:00
a81641aea0 Enable os dependend stdio size estimation 2007-09-09 13:31:29 +00:00
e82e1a6f19 Added SCSI opcode to output of revision 857 2007-05-22 16:51:15 +00:00
24bc011305 Report eventual sg_io_hdr_t host_status,driver_status as debug messages 2007-05-22 15:45:57 +00:00
a80f930290 Prepared fflushing and stderr output of SCSI command log 2007-05-21 18:45:44 +00:00
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
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
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