R. Bernstein
bf7d63b435
Add mcc_test_unit_ready and mmc_mode_select (buggy). Allow for timeouts on
...
mmc commands - more work needed here too.
2010-02-07 07:20:28 -05:00
R. Bernstein
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.
2010-02-06 22:53:03 -05:00
R. Bernstein
1687e2633f
Start to split off specific mmc commands from the lower-level internals.
2010-02-06 11:59:35 -05:00
R. Bernstein
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.
2010-02-05 13:50:07 -05:00
R. Bernstein
0ae0a2ca8b
Revise with info from dpANS SCSI Primary Commands-3 (SPC-3). Use sense
...
data structure in mmc_last_cmd_sense.
2010-02-05 07:40:31 -05:00
R. Bernstein
34bc1ec0b4
mmc.h: Big endian bytes is not the same as big_endian bitfield
...
mmc.c: more pervasive use of cdio's mmc definitions.
2010-02-04 04:24:43 -05:00
R. Bernstein
e3a5e16cbb
mmc.h: TEST_UNIT_READY MMC command opcode
...
device.h: Add DRIVER_OP_MMC_SENSE to driver_return_code_t.
win32_ioctl.c: work around MS bug where buffer sizes are 0 or 1. Set
return code status if sense data passed back. Translate bad parameter
MS Windows error into a driver_return_code_t error.
test/driver/mmc.c: Reinstate old logic now that the MS Windows driver
has been made to work more like other drivers and copes with some of
the MS Windows causing failure here.
2010-02-03 21:43:05 -05:00
R. Bernstein
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)
2010-02-02 23:03:46 -05:00
R. Bernstein
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.
2010-02-02 22:15:55 -05:00
R. Bernstein
713951f1b3
Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio
2010-01-31 21:32:44 -05:00
R. Bernstein
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.
2010-01-31 21:31:08 -05:00
R. Bernstein
a08a1f5149
Allow a status parameter in mmc_get_disc_eraseable to be NULL. Suggested by Frank Endres on libcdio-devel mailing list.
2010-01-31 07:46:48 -05:00
R. Bernstein
8ecd2d9483
Linguistic purity.
2010-01-30 11:51:53 -05:00
R. Bernstein
a41cfed2a1
Add cdio_get_arg("scsi-tuple") for Win32 ioctl.
2010-01-29 23:25:59 -05:00
R. Bernstein
aef85b1bc7
Add a driver return code parameter to mmc_get_get_disc_erasable.
2010-01-29 03:51:21 -05:00
R. Bernstein
edf69959c1
Add mmc_get_disc_erasable courtesy of Frank Endres.
2010-01-28 19:38:34 -05:00
R. Bernstein
fbfc391f28
Regularis some of the mmc Doxygen comments.
2010-01-28 05:06:15 -05:00
R. Bernstein
abb378299a
Start to DRY driver unit tests.
2010-01-24 06:01:24 -05:00
R. Bernstein
f0d742229a
Reduce verbosity of test programs. For additional verbosity pass a param to the test program.
2010-01-23 23:36:57 -05:00
R. Bernstein
c90c24d1c8
testtoc -> driver/cdrdao.c.in
2010-01-23 23:20:12 -05:00
R. Bernstein
9edd3db3d2
Better diagnostic messages for MS Window driver.
2010-01-23 21:59:43 -05:00
R. Bernstein
859ba4e37a
Revise section regarding "SCSI, SCSI commands, and MMC commands"
2010-01-22 04:44:31 -05:00
R. Bernstein
f87b2aa09f
Document corrections courtesy of Thomas Schmitt.
2010-01-21 09:30:40 -05:00
R. Bernstein
37795871f0
Remove derived files.
2010-01-21 03:51:53 -05:00
R. Bernstein
e889ba3557
cygwin fixes.
2010-01-21 03:48:13 -05:00
R. Bernstein
2b4a36f758
Remove more warnings. test/testnrg.c.in -> test/driver/nrg.c.in
2010-01-21 02:58:19 -05:00
R. Bernstein
cda73dfa47
Fold more tests into bi/ncue driver.
2010-01-20 21:52:23 -05:00
R. Bernstein
818e499c4c
Make "make dist" package everything again.
2010-01-20 21:14:22 -05:00
R. Bernstein
0ec240f935
Reorganize test data for future growth.
2010-01-20 20:57:43 -05:00
R. Bernstein
fa897e85b9
Extend win32 test to check get_arg("mmc-supported?"). Turn ASPI load failer into an info message
2010-01-18 03:30:40 -05:00
R. Bernstein
3bdc6820e5
Bug fixes in test/driver programs
2010-01-18 03:08:30 -05:00
R. Bernstein
0297656be1
driver/*.c: Add response for get_arg("mmc-supported?")
...
example/*.c: remove compiler wranings.
2010-01-17 05:54:02 -05:00
R. Bernstein
eeb59ad3d4
Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio
2010-01-17 04:51:06 -05:00
R. Bernstein
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.
2010-01-17 04:49:47 -05:00
R. Bernstein
36ba4dbbed
Test was erroneously failing when temp directory had a symbolic link in it (as it does on OSX).
2010-01-17 04:28:41 -05:00
R. Bernstein
bd096b3eca
FreeBSD read/write and most-recent scsi sense access courtesy of Thomas Schmitt.
2010-01-16 21:02:34 -05:00
R. Bernstein
7d8b6d0a4d
cdio_follow_symlink -> cdio_realpath which is really POSIX realpath. (Suggestion via Thomas Schmitt.) gnu_linux.c: report errors when they occur.
2010-01-16 16:44:12 -05:00
R. Bernstein
2103e77696
Add doxyen comment for follow_symlink. Add another follow_symlink test.
2010-01-15 06:40:11 -05:00
R. Bernstein
eae76def3a
CLean up better by remove temporary symbolic link file.
2010-01-14 06:05:06 -05:00
R. Bernstein
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
2010-01-14 05:58:08 -05:00
R. Bernstein
e4e600c1d9
Correct cdio_get_devices for FreeBSD.
2010-01-06 12:26:35 -05:00
R. Bernstein
ed38926626
First functional (if minimal) FreeBSD test program.
2010-01-06 07:46:31 -05:00
R. Bernstein
f7d11d586c
Start FreeBSD driver test. Not currently working though.
...
freebsd.cam: check for error in ioctl.
2010-01-06 02:15:32 -05:00
R. Bernstein
b609aab0eb
mmc.c: use OS driver open, not the specific GNU/Linux one
2009-12-31 22:54:12 -05:00
R. Bernstein
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".
Code from Thomas Schmitt.
2009-12-31 18:51:50 -05:00
R. Bernstein
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.
2009-12-31 13:28:11 -05:00
R. Bernstein
6eabc5240a
Start OSX driver test
2009-12-26 15:01:26 -05:00
WIndows XP
fe5ac400df
Start unit test for lib/driver/MSWindows/win32.c
2009-12-26 14:21:21 -05:00
rocky
f180cae22d
example/* change failures so the record as skipped tests when running 'make check'.
2009-12-26 17:25:05 +01:00
R. Bernstein
cb35e2877c
Move driver tests into a separate directory.
2009-12-26 11:20:55 -05:00