rocky
c8000d60e9
_cdio_osx.c: first attempt at issuing general SCSI-MMC passthrough command.
...
others: small changes.
2004-08-16 00:52:53 +00:00
rocky
6725196b0f
lib/*.c: create and use get_cdtext_generic.
...
lib/generic.h: prototypes for _cdio_generic.c (move out of _cdio_private.h)
example/sample10.c, src/util.c: small print format improvement
2004-08-10 11:58:14 +00:00
rocky
2da73da448
compilation fix
2004-08-10 03:10:46 +00:00
rocky
e39890f7c8
1st attempt to reduce duplicate CD-Text code. (It works on GNU/Linux)...
2004-08-10 03:03:27 +00:00
rocky
87f0c9334f
Add b_cdtext_init and b_cdtext_error to generic structure. If we
...
can't read cdtext once, mark as an error and don't try to read again.
2004-08-07 22:58:51 +00:00
imacintosh
3485f85eba
Now uses DKIOCGMEDIAINFO to get discmode and handles Soalris media
2004-08-03 11:30:42 +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
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
2b67971152
Compilation fixes. Added get_discmode.
2004-07-27 01:36:37 +00:00
rocky
db337e5665
More consolidation of code by adding routines to scsi_mmc.
2004-07-27 01:06:01 +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
3263eeefae
Work on SCSI MMC layer. Some things may be broken.
2004-07-22 09:52:17 +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
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
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
d0379a08c1
Fix for Sunos and new CD-TEXT API.
2004-07-17 09:35:00 +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
f4aaea4a83
insignificant changes
2004-07-16 11:37:12 +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
268d5c9926
Closer to getting CDTEXT working.
2004-07-15 04:03:52 +00:00
rocky
e4a0a1fa82
Small changes.
2004-07-08 06:33:22 +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
29c858060f
#define changed name. Fix compilation error.
2004-07-08 05:19:27 +00:00
rocky
b8ee659109
Compilation fix. Remove magic number 100. Use common mmc routine for
...
drive capabilites.
2004-06-27 21:57:45 +00:00
rocky
e21255ec1a
Reduce cut and paste - add common routine, to _cdio_generic.c:
...
cdio_read_mode1_sector.
2004-06-26 00:39:00 +00:00
rocky
238b74ab7f
fewer error exits in drivers. Instead, a failure code is returned.
2004-06-25 21:10:36 +00:00
rocky
b0164d215f
Move include of glob.h inside conditional Solaris include since that's
...
only where it is needed. configure on cygwin erroneously sets
HAVE_GLOB_H and although that too should be fixed, there's no reason
to have that failure cause one here.
2004-06-13 20:38:58 +00:00
rocky
eca77ca5ce
Comment fixes.
2004-06-06 11:44:51 +00:00
rocky
fe4a50c886
Remove another first track is 1 assumption.
2004-06-06 11:37:59 +00:00
rocky
b3f588e60b
Compilation fixes.
2004-06-06 10:54:22 +00:00
rocky
0bb7fadf26
More work on removing assumption that first_track is 1.
2004-06-06 10:50:55 +00:00
rocky
5e2642af4b
Remove some of the bogus assume 1 is first track.
...
Renamings: env -> user_data
_obj -> env
2004-06-02 00:43:53 +00:00
rocky
376e021218
Hopefully improve names. "user_data" comes from user. "env" an
...
environment is really what this is. "obj" is just to vague.
2004-05-31 12:29:09 +00:00
rocky
aab600b46a
Make scsi_mmc.h public.
2004-05-10 03:28:51 +00:00
rocky
ed8e9b08ad
Detect disc-image and don't open this device driver for that.
2004-05-06 01:08:43 +00:00
rocky
c9982234a0
Compilation fixes after adjustments.
2004-04-30 22:27:59 +00:00
rocky
a77be90ba4
Compilation fixes.
2004-04-30 07:07:49 +00:00
rocky
7f8cefed11
Add cdio_open_am to allow specifying an access method use for
...
reading/controlling CD.
2004-04-30 06:54:15 +00:00
rocky
20974d4568
CDIO_DRIVE -> CDIO_DRIVE_CAP
2004-04-25 14:07:23 +00:00
rocky
36507b3c10
get_mcn paramater is const.
...
solaris: failed attempt to get mcn and drive capabilities. Some
boilerplate routines used.
scsi_mmc: more defines.
src/cd-drive.c: bugfix when cdio is null
src/util.c: small enhancement.
2004-04-25 03:52:37 +00:00
rocky
6d6fbfcfa6
From Ian MacIntosh:
...
Modifications that it doesn't use the uscsi commands anymore and so
all IDE and SCSI drives go through the same code path - a major
simplification.
This works with all the CD drives that work with Solaris (IDE or SCSI)
as the ioctl's for CDROMCDXA in Solaris just end up doing uscsi calls
anyway, but directly from the kernel. The added advantage of not using
uscsi is that the user doesn't need to be root - which is important in
Sunray environments.
2004-03-16 12:18:32 +00:00
rocky
af2c12ddc1
regularize variable names mode{1,2}_form2 -> b_form2
2004-03-06 18:22:07 +00:00