rocky
19991ded7b
add psz_ to hwinfo type.
...
_cdio_linux.c: go back to using SCSI MMC drive cap routine.
2004-08-27 11:53:38 +00:00
rocky
945338288f
Add constant variable to indicate which OS driver we've got in build.
2004-08-27 11:23:40 +00:00
rocky
7454e4375e
Add a couple of routines to pass back the driver used in getting a
...
drive. Speeds up a little the task of opening the drive. Is now used
in cd-drive and cd-info.
2004-08-27 04:17:08 +00:00
rocky
758f954e1f
Expose hwinfo call as a cdio command. It was SCSI-MMC. This may help
...
on OSX.
2004-08-27 02:50:13 +00:00
rocky
993ec7356f
Add a couple of "features".
...
freebsd_ioctl.c: hopefully less-erroneous MCN extraction.
2004-08-10 02:29:46 +00:00
rocky
1fb9bce71d
Add more feature codes.
2004-08-07 03:25:25 +00:00
rocky
18411a8764
util.*, cd-drive: Add feature listing to cd-drives.
...
sample10.c: More feature information printed
scsi_mmc.h: more doxygen comments about features.
2004-08-07 01:48:36 +00:00
rocky
331c244177
small changes.
2004-08-06 22:13:14 +00:00
rocky
32a4b63410
Add more feature definitions.
2004-08-06 22:08:07 +00:00
rocky
50da1b5c16
Fill out GET_CONFIGURATION - add some feature info and return types.
2004-08-06 11:55:16 +00:00
rocky
b7486e83e9
Comment corrections.
2004-08-06 00:55:14 +00:00
rocky
03562c49b2
Add GET_CONFIGURATION.
2004-08-01 11:29:13 +00:00
rocky
b1616ea6d5
Add scsi_mmc_get_hwinfo.
2004-07-31 07:43:26 +00:00
rocky
dc3073165c
Add lengths of hardware vendor, model, and revision.
2004-07-29 05:31:27 +00:00
rocky
0d8a3e2a82
Tighten code by putting more generic routines in cdio_generic:
...
to get first track number and number of tracks
to get discmode
everybody now has gen.i_tracks and gen.i_first_track.
test/* format of output changed yet again.
2004-07-29 02:16:20 +00:00
rocky
e606f025a0
Add discmode to string array. Simplifies some code a bit.
2004-07-28 22:03:35 +00:00
rocky
5c26700f3e
Make setting read lengths more precise (and correct).
2004-07-28 11:45:21 +00:00
rocky
7716188c38
Make sure milliseconds get converted to seconds if needed.
...
Some function renaming, and a typo in a DVD book type.
2004-07-28 01:09:59 +00:00
rocky
c0c0077f3d
Yet more alternate "_generic" to simplify CD-ROM drivers (like all of them
...
except Windows) were there is in fact only one MMC passthrough command.
2004-07-27 02:45:16 +00:00
rocky
db337e5665
More consolidation of code by adding routines to scsi_mmc.
2004-07-27 01:06:01 +00:00
rocky
50532e7025
Try to make get_dvd_physical a common routine. (Haven't tested yet.)
2004-07-26 03:58:25 +00:00
rocky
20e8974df8
Big change!
...
We now are starting to have universal MMC routines. To do this we need
to have function pointers to the OS-specific MMC send/run command.
Expect some breakage. Down the line though this will increase code reuse,
reliabilty, and make the library more user-customizable.
2004-07-26 02:54:37 +00:00
rocky
fd5e6d1243
Reduce overall number of CD disc modes. I thing the main purpose
...
that will be used is to separate CD Audio from CD Data, XA and DVD's.
On GNU/Linux it seems that the implementation is a bit artificial.
2004-07-25 18:37:09 +00:00
rocky
39ed5a3421
Typo
2004-07-25 16:38:05 +00:00
rocky
457035e939
Add dvd.h to list of includes.
2004-07-25 16:35:29 +00:00
rocky
1166763851
Typo
2004-07-25 15:46:40 +00:00
rocky
62b7ad9eaf
Definitions for DVD access.
2004-07-25 11:18:05 +00:00
rocky
f7348fbddc
Changes to facilitate DVD detection.
2004-07-25 03:17:47 +00:00
rocky
1dfdba7b7d
sector.h: add more DVD types.
...
_cdio_linux.c: Add ability in GNU/Linux to determine if a drive has a
DVD in it.
cd-info: show the drive type.
2004-07-25 03:05:18 +00:00
rocky
8ec061202a
freebsd: add scsi_mmc_cmd_run and use it.
...
Others: small changes.
2004-07-24 05:42:09 +00:00
rocky
46afdac583
Formatting and small name change.
2004-07-23 11:29:49 +00:00
rocky
3263eeefae
Work on SCSI MMC layer. Some things may be broken.
2004-07-22 09:52:17 +00:00
rocky
69da7d3a65
Add more SCSI MMC-3 commands
2004-07-21 11:07:27 +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
8a99889f49
Add READTOC format defines.
2004-07-19 01:13:31 +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
7e18d89c8a
Add common defines for some subchannel commands, and use them.
2004-07-17 15:31:00 +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
e8f04eb128
MS Windows compilation fixes.
2004-07-12 03:34:14 +00:00
rocky
0d3c10c775
Redo CD-TEXT handling. First minimally working version for CD bin/cue
...
and cdrdao images.
2004-07-11 14:25:07 +00:00
rocky
13af656fea
Hoist common track mode, disk format and disk flags into sector.h
...
Hoist track information into image.h
2004-07-10 02:17:57 +00:00
rocky
b525effb95
Pull out mmssff_to_lba routine and fix bug when in error reporting
...
when frame >= 100.
Add msf3_to_lba and use that where possible (win32_ioctl.c for
example).
2004-07-10 01:21:19 +00:00
rocky
b692bdc694
API version change. If it's not already it will be with planned
...
CDTEXT changes, capability return changes and get_default drive
returning the driver used.
2004-07-09 10:05:36 +00:00
rocky
0a905205c7
Small changes.
2004-07-09 01:34:16 +00:00
rocky
ed6f60868d
Start to merge in cue parsing from cuetools. Also moves forward CDTEXT
...
from a different direction.
2004-07-09 01:05:31 +00:00
rocky
4058457e52
Sun drive capabilities improved. Sun and Windows ASPI use common
...
MODE_SENSE defines defines now.
2004-07-08 06:29:45 +00:00
rocky
65fd7d3b43
Regularize MMC commands more. Add ALLOW_PREVENT_MEDIUM.
...
Start CDTEXT. _cdio_linux.c: better at reporting errors.
2004-07-08 01:27:57 +00:00