Commit Graph

1462 Commits

Author SHA1 Message Date
rocky
e606f025a0 Add discmode to string array. Simplifies some code a bit. 2004-07-28 22:03:35 +00:00
rocky
9ad07fbd2a Add CD-TEXT example. Note existence of MMC interface. 2004-07-28 22:02:55 +00:00
rocky
eeb8ecada1 Bug in generic run_scsi_cmd_win32ioctl: wasn't copying CDB in
and wasn't setting length.
2004-07-28 16:51:15 +00:00
rocky
5c26700f3e Make setting read lengths more precise (and correct). 2004-07-28 11:45:21 +00:00
rocky
257a956093 compilation fixes 2004-07-28 03:17:56 +00:00
rocky
6041f8ae47 msecs 2 secs cleanup 2004-07-28 01:55:03 +00:00
rocky
de50ea25de Typo in fn name. 2004-07-28 01:14:42 +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
b2acdb3e8e fixes for DVD handling 2004-07-27 18:57:04 +00:00
rocky
0d82e6b92b Add CD-TEXT 2004-07-27 16:51:14 +00:00
rocky
f78187653c Add disc mode and small bug fixes 2004-07-27 16:36:59 +00:00
rocky
9b1b59144f Best guess of how to do scsi_mmc_run_cmd. Thanks to Steven M. Schultz 2004-07-27 15:02:01 +00:00
rocky
ee9634bc43 compilation fixes 2004-07-27 13:10:20 +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
8e3c103b71 Misc consolidation fixes. Some mode2 reading seems broken still. 2004-07-27 02:21:23 +00:00
rocky
2b67971152 Compilation fixes. Added get_discmode. 2004-07-27 01:36:37 +00:00
rocky
3153e68a3c compilation typo 2004-07-27 01:23:27 +00:00
rocky
db337e5665 More consolidation of code by adding routines to scsi_mmc. 2004-07-27 01:06:01 +00:00
rocky
46d287060c Don't use the cdtext_set_field macro any more. 2004-07-26 11:25:51 +00:00
rocky
8000e161a2 get_dvd_physical common routine now works. 2004-07-26 04:33:21 +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
1b15e56374 Start to break out routines into a device-callable routine as well
as a publically callable routine. The device-callable routine will
be able to change the passthrough routine as M$ has two distinct
routines for aspi and ioctl.
2004-07-26 03:39:55 +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
cf5ec43903 Got test backwards. 2004-07-25 23:32:15 +00:00
rocky
20b4fe48c7 Add ioctl disc mode detection. - Not fully tested yet. 2004-07-25 22:33:54 +00:00
rocky
a0f928de45 Disc mode detection done for aspi. 2004-07-25 21:43:30 +00:00
rocky
9f6a77d296 Enumeration has changed. 2004-07-25 20:59:29 +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
5f36bce150 Pedantic ordering. 2004-07-25 17:35:02 +00:00
rocky
fbb7806979 MSWindows: add DVD type determination.
cd-info.c: poor disc-mode error message string
2004-07-25 17:32:19 +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
336970c6e3 We use p_env now. 2004-07-25 16:16:55 +00:00
rocky
dce714ce56 Typo and small formatting changes. 2004-07-25 15:47:11 +00:00
rocky
1166763851 Typo 2004-07-25 15:46:40 +00:00
rocky
98cd2e0e62 Remove duplicate toc_init field and use gen.toc_init like other
drivers use.
2004-07-25 15:40:02 +00:00
rocky
85b8e52fe0 Better testing to see if TOC is initialized by read_toc_linux before
using info based on that.

Order of routines alphabetized a little bit better.
2004-07-25 15:29:51 +00:00
rocky
bc90454ca4 Some weird problem when --no-cddb and libcddb was not around. I'd
rather switch than fight it.
2004-07-25 11:32:33 +00:00
rocky
62b7ad9eaf Definitions for DVD access. 2004-07-25 11:18:05 +00:00
rocky
18d135a99b Set initialization of TOC when that's done. Test for TOC
initialization success in routines that depend on that.
2004-07-25 11:15:08 +00:00
rocky
a7fcd6e83e Compilation fix: run_scsi_cmd is no longer static. 2004-07-25 10:26:22 +00:00
rocky
7e31efeba4 Not sure if we can have a MCN on a CD-DATA filesystem, but I know we
can have one on a CD-DA. So remove it from the ISO and add it to the
CD-DA.  Also isofs-m1 is now reports that it is a CD-DATA CD since
that's what it is.
2004-07-25 09:57:04 +00:00
rocky
803470bfe1 Add some checks for failed initialization and NULL pointers. Thanks
to Steve Schultz.
2004-07-25 09:39:40 +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
b4cea7fd9e Add get_disc_mode to image readers.
Add it in cd-info display.
Update regression tests.

I'm not sure disc_mode is all that helpful or correct.
2004-07-24 14:23:37 +00:00
rocky
c81ea6b678 FreeBSD compilation fixes. 2004-07-24 11:50:50 +00:00
rocky
2a29e4c84a sample8 program shows CD-TEXT and Disc mode info. 2004-07-24 06:11:30 +00:00
rocky
04cb45f9ee Allow scsi mmc commands to get invoked from outside (for CAM access). 2004-07-24 06:06:22 +00:00
rocky
3087bc0784 Add get_drive_cap and generic get_mcn routines. 2004-07-24 05:57:20 +00:00