Commit Graph

911 Commits

Author SHA1 Message Date
rocky
cc3c3fa4db Typo. 2004-07-23 23:46:53 +00:00
rocky
64febf9a8a Allow scsi_mmc_run_cmd to get called from outside. 2004-07-23 14:40:43 +00:00
rocky
ead37407e7 Add scsi_mmc_run_cmd_win32ioctl and use it. 2004-07-23 14:28:42 +00:00
rocky
46afdac583 Formatting and small name change. 2004-07-23 11:29:49 +00:00
rocky
091a486c8e Create uniform scsi_mmc_run_cmd routine and use this more pervasively. 2004-07-23 10:59:15 +00:00
rocky
3fe90481c1 Reinstate MCN guess. 2004-07-23 10:43:21 +00:00
rocky
532a2d0332 Oops mande MCN buffer too short. More intelligible and tighter code. 2004-07-23 10:37:17 +00:00
rocky
c523990c75 More small changes. 2004-07-23 03:48:16 +00:00
rocky
33653c9941 Small changes - perhaps not really in the category of bugfixes. 2004-07-23 02:54:34 +00:00
rocky
3f98b9a7bb Use common SCSI MMC routine where possible. 2004-07-23 02:23:49 +00:00
rocky
2040c4abf7 Wasn't allowing call of new scsi_mmc_run_cmd. 2004-07-22 11:00:59 +00:00
rocky
2d92a271ec Fell into the a common C pitfall 2004-07-22 10:13:08 +00:00
rocky
3263eeefae Work on SCSI MMC layer. Some things may be broken. 2004-07-22 09:52:17 +00:00
rocky
4a7b48d568 Turn an assertion into a return failure. 2004-07-21 11:28:32 +00:00
rocky
69da7d3a65 Add more SCSI MMC-3 commands 2004-07-21 11:07:27 +00:00
rocky
701885301f Correct for get_disctype to get_discmode change. 2004-07-21 11:01:23 +00:00
rocky
1ff6a82d86 Correct discmode comments. 2004-07-21 10:29:00 +00:00
rocky
02872bfb2f Add get_discmode to return what kind of CD or DVD we've got. This is
no where near finished. In fact I just started it on GNU/Linux.

CD-TEXT on GNU/Linux: turn "warning" into "info". Reduce the chance of
error (although we still don't get the CD-TEXT.)
2004-07-21 10:19:20 +00:00
rocky
91f78d58f9 A little less convoluted 2004-07-19 15:40:47 +00:00
rocky
fa0d5bf3d9 Initialize/null out drive capabilities before setting them. 2004-07-19 01:29:04 +00:00
rocky
8a99889f49 Add READTOC format defines. 2004-07-19 01:13:31 +00:00
rocky
f33f04ac99 Add CD+G. 2004-07-19 00:07:57 +00:00
rocky
f40386d242 Compilation fix from Steven M. Schultz. 2004-07-18 20:40:01 +00:00
rocky
752d81db4d Modified for expanded CD-TEXT handling. 2004-07-18 06:51:49 +00:00
rocky
50d780d342 gcc 2.95 vs 3.0 fix. Thanks yet again to Steven Schultz. 2004-07-18 05:12:03 +00:00
rocky
4032022898 Output has changed again. "eject" seems to be more commonly used than
"open tray."
2004-07-18 05:10:45 +00:00
rocky
23d5c86c57 Some compilation fixes from Steven M. Schultz. Thanks!
get_drive_cap_freebsd_cam updated to expanded API.
2004-07-18 04:19:48 +00:00
rocky
212b701ef6 MMC mode page capabilities gone over. Some more were added. 2004-07-18 03:35:07 +00:00
rocky
e84c6316b0 Expand getting drive capabilities. We now have 3 masks where we had
only one before.
2004-07-17 22:16:46 +00:00
rocky
c4cd69693c Check that mandatory options are mandatory and note in help where they
are.

Error messages gone over a little.

Closes bug #9675
http://savannah.gnu.org/bugs/?func=detailitem&item_id=9675
2004-07-17 16:47:37 +00:00
rocky
e44bf7fb40 Make use of more CDIO_CDROM_LBA and CDIO_CDROM_MSF #defines. 2004-07-17 15:43:57 +00:00
rocky
7e18d89c8a Add common defines for some subchannel commands, and use them. 2004-07-17 15:31:00 +00:00
rocky
e0aa1848e4 Hoist common CD-TEXT routines. 2004-07-17 10:05:54 +00:00
rocky
d0379a08c1 Fix for Sunos and new CD-TEXT API. 2004-07-17 09:35:00 +00:00
rocky
88104fc60a Fix for Win32. 2004-07-17 09:34:30 +00:00
rocky
b02c3fa64f Win32 fixes for new CD-TEXT interface. 2004-07-17 09:12:21 +00:00
rocky
a94c2a2728 Add common routine to extract cdtext data. 2004-07-17 08:59:44 +00:00
rocky
d07ed75256 Corrections for new cdtext interface.
Some more precise track handling when the first track is not 1.
Some of this needs to be tested.
2004-07-17 02:43:41 +00:00
rocky
0c36493f8d Expand get_cdtext to include a track number. 0 = disc info. 2004-07-17 02:18:26 +00:00
rocky
ca69284de2 Add cdtext display to cd-info and adjust regression tests accordingly.
cd-read.c: don't try to print null strings.
2004-07-16 21:29:24 +00:00
rocky
03db2d51c5 Wasn't calling CD-TEXT win32 ioctl routine. CD-TEXT now works on win32 ioctl. 2004-07-16 13:55:08 +00:00
rocky
f4aaea4a83 insignificant changes 2004-07-16 11:37:12 +00:00
rocky
2fba3dc7ba CDB for READ_CD has only 12 bytes. 2004-07-16 03:06:53 +00:00
rocky
3a0c135aa5 Misplaced #endif 2004-07-16 02:52:30 +00:00
rocky
c87df9d500 Add CD-TEXT handling 2004-07-16 02:48:49 +00:00
rocky
cd94fb2f86 routine name change. 2004-07-16 02:09:10 +00:00
rocky
d7e71d96e3 Use more universal C style 2004-07-16 02:06:40 +00:00
rocky
3747be0b8b Finish get_MCN for aspi. Use conventions to make look more like
other SCSI passthrough routines.
2004-07-16 01:25:57 +00:00
rocky
d78dfc43ac Get MCN now works.
Retrieving CD TEXT no longer causes core dump. (It still doesn't give
useful info back though.)

Code cleanups.
2004-07-15 11:55:45 +00:00
rocky
c77831ff51 cmd -> cdb to match MMC terminology and Solaris naming. 2004-07-15 11:36:12 +00:00