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
rocky
c029b9df1a
Bogosity fixup for Solaris. Could be better.
2004-03-06 05:04:41 +00:00
rocky
2ec587c433
Back off some of the modularization until we figure out what's gone wrong.
2003-10-14 04:44:52 +00:00
rocky
270017add7
Need to provide get_devices when not compiling for Solaris too.
2003-10-03 02:46:32 +00:00
rocky
c45bc0958e
Add Solaris get_devices.
2003-10-03 02:35:33 +00:00
rocky
3c5888e31d
Replace techno-wizard message "Get MCN" with more layman "Media Catalog Number"
2003-09-27 23:29:29 +00:00
rocky
49c44c3b74
read_audio_sectors done better.
2003-09-26 09:11:19 +00:00
rocky
dd05f2e6ad
Change interface for read_audio_sectors.
2003-09-20 12:34:02 +00:00
rocky
63af058973
Use new common scsi_mmc.h.
2003-09-14 09:34:17 +00:00
rocky
833bc3d21d
Note TOC's initialized so we don't reread. Add some int's to unsigned.
2003-09-01 15:11:36 +00:00
rocky
c7703d2fd1
Small comment change.
2003-07-27 22:52:22 +00:00
rocky
8b22196efe
Bug in eject: need to close internal file descriptor before ejecting.
...
eject interface now nulls cdio pointer after a sucessful eject.
2003-05-16 07:18:27 +00:00
rocky
adfb8564c9
tests -> test
...
All public includes are included via #include <cdio/....h> rather than
#include "....h"
(removed -I $top_srcdir/include/cdio)
2003-04-22 12:09:08 +00:00
rocky
ea8c916e60
Move used #include <string.h> outside of conditional compilation since
...
strdup's used to get default device.
2003-04-11 17:31:50 +00:00
rocky
de359d9b4b
read_mode_audio_sector now works.
2003-04-10 07:19:43 +00:00
rocky
aa9d1b517f
get_default_device with NULL will get device *without* trying to open
...
cd. Add read_audio call.
2003-04-10 04:13:41 +00:00
rocky
d058b02d94
Revise for changed sector.h
2003-04-08 10:17:56 +00:00
rocky
797d0c3c98
Change sector.h constants, yet again. This time for Herbert Valiero Riedel.
2003-04-06 17:57:20 +00:00
rocky
fe31b5baa6
Use new sector.h constants. More changes will no doubt follow.
2003-04-06 06:45:13 +00:00
rocky
62d12714b1
More common routiens and structures moved to cdio_generic.c or
...
cdio_private.h respectively.
2003-03-30 13:01:22 +00:00
rocky
60e9f15876
Small lint-like errors. Solaris now works again with new read/lseek
...
functions.
2003-03-29 21:13:55 +00:00