Commit Graph

  • bf7d63b435 Add mcc_test_unit_ready and mmc_mode_select (buggy). Allow for timeouts on mmc commands - more work needed here too. R. Bernstein 2010-02-07 07:20:28 -05:00
  • 51f6eb6912 Small cleanups R. Bernstein 2010-02-06 23:27:46 -05:00
  • f93e673fd5 lib/driver/mmc.c - DRY code. Warning - might have introduced breakage here *mmc*: mmc_start_stop_media -> mmc_start_stop_unit, CDIO_MMC_GPCMD_START_STOP -> CDIO_MMC_GPCMD_START_STOP_UNIT cdio++/mmc.hpp: Regularize Doxygen comment format. R. Bernstein 2010-02-06 22:53:03 -05:00
  • 1687e2633f Start to split off specific mmc commands from the lower-level internals. R. Bernstein 2010-02-06 11:59:35 -05:00
  • 9cbaad6247 Add CDIO_DISC_MODEs to correspond to updated DVD Book types. R. Bernstein 2010-02-06 08:48:22 -05:00
  • 630fb9f3ef See above R. Bernstein 2010-02-06 08:00:49 -05:00
  • 0234042d9a dvd.h: Update DVD book types disc.c: Add CDIO_DISC_MODE_DVD_OTHER R. Bernstein 2010-02-06 07:54:46 -05:00
  • 8f963ddd59 Had erroneously omitted CDIO_DISC_MODE_DVD_OTHER. Omission pointed out by Frank Endres. R. Bernstein 2010-02-06 07:11:40 -05:00
  • e3d2e21123 glossary.texi, mmc.h: note acronyms SPC-3, MMC-5, SBC-2. glossary.texi: start using texinfo cross references test/driver/mmc.c: use provided routine for start/stop unit. Warning: might have broken things here. R. Bernstein 2010-02-05 13:50:07 -05:00
  • 0ae0a2ca8b Revise with info from dpANS SCSI Primary Commands-3 (SPC-3). Use sense data structure in mmc_last_cmd_sense. R. Bernstein 2010-02-05 07:40:31 -05:00
  • 35b6969a45 Add SCSI sense key values. R. Bernstein 2010-02-05 03:37:27 -05:00
  • 34bc1ec0b4 mmc.h: Big endian bytes is not the same as big_endian bitfield mmc.c: more pervasive use of cdio's mmc definitions. R. Bernstein 2010-02-04 04:24:43 -05:00
  • e3a5e16cbb mmc.h: TEST_UNIT_READY MMC command opcode R. Bernstein 2010-02-03 21:43:05 -05:00
  • 8083e17683 Fix in changing data types. R. Bernstein 2010-02-03 05:30:10 -05:00
  • 991ea303d7 Add more doxygen comments as to sense request information means and add a typedef for mmc_sense_request. Use this in win32_ioctl.c. R. Bernstein 2010-02-03 05:22:20 -05:00
  • e281b22c3c Add type definition for SCSI sense data. R. Bernstein 2010-02-03 04:53:25 -05:00
  • c01aa785cd Comment out some MMC tests which are failing on GNU/Linux where we are *not* getting sense data back but we are getting failures from ioctl(.. CDROM_SEND_PACKET) R. Bernstein 2010-02-02 23:03:46 -05:00
  • 5dc0592ad8 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio R. Bernstein 2010-02-02 22:18:13 -05:00
  • 60b237a161 MS Windows iocontrol SCSI Passthrough fixes. Change test/driver/mmc.c - we can't that when we get sense data, that we also gegt status back that pass through fails. On MS Windows it doesn't seem to work that way. R. Bernstein 2010-02-02 22:15:55 -05:00
  • 2d46440352 Handle SCSI_MMC_DATA_NONE and copy sense data. Not working since SCSI Pass is still broken. Presumably after that's solved there will be less catch-up work. R. Bernstein 2010-02-01 05:16:33 -05:00
  • 8e9339917c Format windows error messages better. R. Bernstein 2010-01-31 23:19:56 -05:00
  • 713951f1b3 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio R. Bernstein 2010-01-31 21:32:44 -05:00
  • 5f10331adb MS Windows driver hacking hopefully to get closer to passing back sense data. For now it seems that some pass-through direct doesn't work while the less-good passthrough does. Sigh. R. Bernstein 2010-01-31 21:31:08 -05:00
  • a08a1f5149 Allow a status parameter in mmc_get_disc_eraseable to be NULL. Suggested by Frank Endres on libcdio-devel mailing list. R. Bernstein 2010-01-31 07:46:48 -05:00
  • f112a399d7 Update date R. Bernstein 2010-01-30 20:16:10 -05:00
  • 8ecd2d9483 Linguistic purity. R. Bernstein 2010-01-30 11:51:53 -05:00
  • eb2da6111c Show off drive_erasable() in MMC example. R. Bernstein 2010-01-30 11:46:01 -05:00
  • a41cfed2a1 Add cdio_get_arg("scsi-tuple") for Win32 ioctl. R. Bernstein 2010-01-29 23:25:59 -05:00
  • 1b05767201 Update MMC Feature Profile list R. Bernstein 2010-01-29 04:48:38 -05:00
  • aef85b1bc7 Add a driver return code parameter to mmc_get_get_disc_erasable. R. Bernstein 2010-01-29 03:51:21 -05:00
  • edf69959c1 Add mmc_get_disc_erasable courtesy of Frank Endres. R. Bernstein 2010-01-28 19:38:34 -05:00
  • 2a125e3471 Fill out parameter descriptions to remove doxygen warnings. R. Bernstein 2010-01-28 10:36:59 -05:00
  • fbfc391f28 Regularis some of the mmc Doxygen comments. R. Bernstein 2010-01-28 05:06:15 -05:00
  • b7ef82250e Assume nowadays Standard C is Standard C R. Bernstein 2010-01-27 22:24:34 -05:00
  • abb378299a Start to DRY driver unit tests. R. Bernstein 2010-01-24 06:01:24 -05:00
  • f0d742229a Reduce verbosity of test programs. For additional verbosity pass a param to the test program. R. Bernstein 2010-01-23 23:36:57 -05:00
  • c90c24d1c8 testtoc -> driver/cdrdao.c.in R. Bernstein 2010-01-23 23:20:12 -05:00
  • 9edd3db3d2 Better diagnostic messages for MS Window driver. R. Bernstein 2010-01-23 21:59:43 -05:00
  • 2f5509c68e libcdio.texi: More sectioning with respect to the libraries glossary.texi: Add Thomas Schmitt's DVD Blu-Ray and media information. R. Bernstein 2010-01-22 08:52:36 -05:00
  • 0c1024abfc Input and Control -> Input, Output, and Control thanks to Thomas Schmitt R. Bernstein 2010-01-22 05:03:48 -05:00
  • 859ba4e37a Revise section regarding "SCSI, SCSI commands, and MMC commands" R. Bernstein 2010-01-22 04:44:31 -05:00
  • 44bafdddc7 Thomas Schmitt's corrections and additions. R. Bernstein 2010-01-21 16:42:57 -05:00
  • 0066aa1975 Document corrections courtesy of Thomas Schmitt. R. Bernstein 2010-01-21 10:51:34 -05:00
  • f87b2aa09f Document corrections courtesy of Thomas Schmitt. R. Bernstein 2010-01-21 09:30:40 -05:00
  • 50b9cf1343 Allow automake 1.10 R. Bernstein 2010-01-21 04:11:35 -05:00
  • 37795871f0 Remove derived files. R. Bernstein 2010-01-21 03:51:53 -05:00
  • e889ba3557 cygwin fixes. R. Bernstein 2010-01-21 03:48:13 -05:00
  • 2b4a36f758 Remove more warnings. test/testnrg.c.in -> test/driver/nrg.c.in R. Bernstein 2010-01-21 02:58:19 -05:00
  • cda73dfa47 Fold more tests into bi/ncue driver. R. Bernstein 2010-01-20 21:52:23 -05:00
  • 818e499c4c Make "make dist" package everything again. R. Bernstein 2010-01-20 21:14:22 -05:00
  • 0ec240f935 Reorganize test data for future growth. R. Bernstein 2010-01-20 20:57:43 -05:00
  • 9c96d2c448 More information around access modes for specific drivers. R. Bernstein 2010-01-18 03:39:33 -05:00
  • fa897e85b9 Extend win32 test to check get_arg("mmc-supported?"). Turn ASPI load failer into an info message R. Bernstein 2010-01-18 03:30:40 -05:00
  • 3bdc6820e5 Bug fixes in test/driver programs R. Bernstein 2010-01-18 03:08:30 -05:00
  • 3bd7752137 Start a section on access modes and cdio_get_args. R. Bernstein 2010-01-17 21:06:46 -05:00
  • 0297656be1 driver/*.c: Add response for get_arg("mmc-supported?") example/*.c: remove compiler wranings. R. Bernstein 2010-01-17 05:54:02 -05:00
  • eeb59ad3d4 Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio R. Bernstein 2010-01-17 04:51:06 -05:00
  • 67c8623051 lib/driver/libcdio.sym: cdio_realpath is extern now. udffile.c: remove warning test/driver/gnu_linux.c: don't have scsi-tuple-linux any more. R. Bernstein 2010-01-17 04:49:47 -05:00
  • 36ba4dbbed Test was erroneously failing when temp directory had a symbolic link in it (as it does on OSX). R. Bernstein 2010-01-17 04:28:41 -05:00
  • d9482d1ba2 realpath -> cdio_realpath which pretends to be more portable. R. Bernstein 2010-01-16 21:34:58 -05:00
  • 08d75ead2e Add way to determine if MMC commands are available: get_arg("mmc-supported?") R. Bernstein 2010-01-16 21:18:31 -05:00
  • bd096b3eca FreeBSD read/write and most-recent scsi sense access courtesy of Thomas Schmitt. R. Bernstein 2010-01-16 21:02:34 -05:00
  • 7d8b6d0a4d cdio_follow_symlink -> cdio_realpath which is really POSIX realpath. (Suggestion via Thomas Schmitt.) gnu_linux.c: report errors when they occur. R. Bernstein 2010-01-16 16:44:12 -05:00
  • 2103e77696 Add doxyen comment for follow_symlink. Add another follow_symlink test. R. Bernstein 2010-01-15 06:40:11 -05:00
  • eae76def3a CLean up better by remove temporary symbolic link file. R. Bernstein 2010-01-14 06:05:06 -05:00
  • a92014227a include/cdio/util.h: document cdio_follow_symlink. lib/is9660/iso966O_fs.c: Remove a gcc warning test/driver/follow_symlink.c First test of cdio_follow_symlink. Doc R. Bernstein 2010-01-14 05:58:08 -05:00
  • e2c51e7ae2 Add Thomas Schmitt's bug fixes and standalone code. R. Bernstein 2010-01-13 06:10:34 -05:00
  • aa2072de20 Start to add read-write access mode for FreeBSD. Not working yet. R. Bernstein 2010-01-07 07:02:20 -05:00
  • e4e600c1d9 Correct cdio_get_devices for FreeBSD. R. Bernstein 2010-01-06 12:26:35 -05:00
  • ed38926626 First functional (if minimal) FreeBSD test program. R. Bernstein 2010-01-06 07:46:31 -05:00
  • f7d11d586c Start FreeBSD driver test. Not currently working though. freebsd.cam: check for error in ioctl. R. Bernstein 2010-01-06 02:15:32 -05:00
  • d675551d19 Let's try FreeBSD driver on FreeBSD 8.x R. Bernstein 2010-01-03 10:36:29 -05:00
  • fe77f93bf7 Start to request sense data in DeviceIOControl of MS Windows. gnu_linux.c: small changes. R. Bernstein 2010-01-01 05:52:52 -05:00
  • 4819e7e0c4 Closer to having RW access working R. Bernstein 2009-12-31 23:58:01 -05:00
  • b609aab0eb mmc.c: use OS driver open, not the specific GNU/Linux one R. Bernstein 2009-12-31 22:54:12 -05:00
  • 309bff3441 Last change to gnu_linux.c broke things on non GNU/Linux WIndows XP 2009-12-31 22:21:11 -05:00
  • 0fa86bcc50 Update NEWS with scsi-tuple* R. Bernstein 2009-12-31 18:57:38 -05:00
  • cf882cfd20 Add ability to retrieve SCSI tuple for a name and/or fake one up. This helps programs that want to be cd-record compatible. In particular to parameters were added to cdio_get_arg, "scsi-tuple", and "scsi-tuple-linux". R. Bernstein 2009-12-31 18:51:50 -05:00
  • 7e14578ffe lib/driver/mmc.c: remove bug in dereferencing NULL pointer. (Found in testing ;-) test/driver/mmc.c: MMC command testing code from Thomas Schmitt. R. Bernstein 2009-12-31 13:28:11 -05:00
  • 6eabc5240a Start OSX driver test R. Bernstein 2009-12-26 15:01:26 -05:00
  • e06e0d096b Don't eject a CDROM drive door in testing. R. Bernstein 2009-12-26 14:33:31 -05:00
  • fe5ac400df Start unit test for lib/driver/MSWindows/win32.c WIndows XP 2009-12-26 14:21:21 -05:00
  • f180cae22d example/* change failures so the record as skipped tests when running 'make check'. rocky 2009-12-26 17:25:05 +01:00
  • cb35e2877c Move driver tests into a separate directory. R. Bernstein 2009-12-26 11:20:55 -05:00
  • 205ced6a7c Small changes WIndows XP 2009-12-26 11:09:08 -05:00
  • fe67a1844e Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio rocky 2009-12-26 13:26:17 +01:00
  • e7911dcb69 Fix bug in our rewrite of gmtime. rocky 2009-12-26 13:25:35 +01:00
  • 9eaba9ef9f Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio R. Bernstein 2009-12-25 19:47:22 -05:00
  • 5aec1e0536 Change comment describing LIBCDIO_VERSION_NUM, libcdio_version_num, CDIO_VERSION. R. Bernstein 2009-12-25 19:45:09 -05:00
  • 67e1f57468 First attempt to add sense retrieval in Windows driver. Clean up return code in run_mmc_cmd_aspi. WIndows XP 2009-12-25 16:32:08 -05:00
  • 205c944f74 Show whether we are building C++ programs in configure output. R. Bernstein 2009-12-25 16:04:25 -05:00
  • db8ee6e65a Add run-time variables for libcdio version number/string. R. Bernstein 2009-12-25 09:14:26 -05:00
  • a3ed634fe5 Recording and retrieval of SCSI sense reply for GNU/Linux. R. Bernstein 2009-12-25 08:45:48 -05:00
  • c498cec5e1 Add interface for retrieval of last SCSI sense command. R. Bernstein 2009-12-25 08:36:02 -05:00
  • 507beb23a1 Keep indentions the same as the others. R. Bernstein 2009-12-24 08:58:06 -05:00
  • 1d4e4fd169 cddb configure patch #6904 for gentoo bug #272788. R. Bernstein 2009-12-24 07:31:02 -05:00
  • f031f69f69 On ioctl's, a negative number is considered an unspecified error while a positive number is not. Replace tabs in lines with blanks. R. Bernstein 2009-12-24 06:28:27 -05:00
  • 6cb64d1a08 gnu_linux.c: run_mmc_cmd_linux: be sure to set return return code. testiso9660.c: broke things working when on hacking on Solaris R. Bernstein 2009-12-23 22:13:51 -05:00
  • d62c732082 Start Solaris driver test. Driver MMC sets cdio return codes better. rocky 2009-12-24 03:52:50 +01:00
  • 16c22fa550 Real test of testiso9660 on Solaris which does not have HAVE_GMTOFF rocky 2009-12-24 03:09:02 +01:00