Commit Graph

989 Commits

Author SHA1 Message Date
rocky
89d9cc10ef Output had been erroneously showing CD-RW write capability.
We also now show DVD-RW and DVD+RW capabilities.
2004-08-06 01:07:00 +00:00
rocky
b7486e83e9 Comment corrections. 2004-08-06 00:55:14 +00:00
rocky
dacdcc0eb0 cd-info.c: should not try to print out MCN for DVD's - they don't have any
such thing.

util.c: wasn't reading right/write parms when showing write capabilities.
	now also show DVD+RW and DVD-RW capabilities.
2004-08-06 00:53:58 +00:00
rocky
c5f87da3fd What's up. 2004-08-05 04:02:11 +00:00
rocky
476e01137a Don't need to call initialization of TOC here. Was done to mask a bug
somewhere else that has since (I think) been fixed.
2004-08-05 04:01:35 +00:00
rocky
ef9b5810fd As with Win32 was passing the wrong pointer (p_cdio instead of
p_env).  CD-TEXT now sometimes works on GNU/Linux!
2004-08-05 03:58:46 +00:00
rocky
0ef9d59d3c Up the timeout. Seems to work a little better. Probably also need
either to retry or try a timeout of 0.
2004-08-05 03:49:37 +00:00
rocky
f9fe21cb6a Was passing in the wrong pointer (p_cdio instead of p_env) 2004-08-05 02:58:46 +00:00
rocky
62d49b41f5 Initialization bugs. 2004-08-03 12:45:40 +00:00
imacintosh
3485f85eba Now uses DKIOCGMEDIAINFO to get discmode and handles Soalris media 2004-08-03 11:30:42 +00:00
rocky
37e8226f21 Compilation fix. 2004-08-01 11:51:20 +00:00
rocky
42fb992d30 Initialize ccb. Could this be the problem? 2004-08-01 11:36:35 +00:00
rocky
03562c49b2 Add GET_CONFIGURATION. 2004-08-01 11:29:13 +00:00
rocky
83f987275e scsi_mmc.c: doc change
FreeBSD: use generic routines more often. Initialize TOC before
getting drive capabilities (seems to be desired, not completely sure
or sure why this would be so.)
2004-08-01 11:28:00 +00:00
rocky
008d86d309 More in line with rest of MMC stuff. 2004-07-31 09:26:31 +00:00
rocky
4739862e2c source_name is now in gen. 2004-07-31 09:15:25 +00:00
rocky
0703acb771 Compilation fix. 2004-07-31 09:14:59 +00:00
rocky
b1616ea6d5 Add scsi_mmc_get_hwinfo. 2004-07-31 07:43:26 +00:00
rocky
3af90f3d7b message->psz_msg 2004-07-29 05:32:55 +00:00
rocky
ae7b480384 Small changes. 2004-07-29 05:32:11 +00:00
rocky
dc3073165c Add lengths of hardware vendor, model, and revision. 2004-07-29 05:31:27 +00:00
rocky
fbe0efc195 sample9: A program to show issuing a SCSI-MMC command.
sample8: cdio->p_cdio; update copyright
2004-07-29 05:26:46 +00:00
rocky
af2d3d31c0 Bug: passing wrong object. 2004-07-29 05:24:21 +00:00
rocky
2ba3136636 Use more common routines. ioctl - not tested. ASPI has bug probably
in running scsi command.
2004-07-29 04:14:44 +00:00
rocky
78f68a675a Convert to use generic routines for first track, num tracks and
getting discmode.
2004-07-29 02:48:55 +00:00
rocky
f0a6aadad4 compilation fix. 2004-07-29 02:27:04 +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
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