rocky
805ce0d9ee
mode1 reading fixed up. Some cdio_error's turned into cdio_warn's as
...
we really shouldn't abort in the driver if there is an error
discovered but instead just return failure.
2004-06-25 20:45:41 +00:00
rocky
9e827ca7a4
Fill in LUN's on requests. Add common routine for
...
checking/initializing ASPI availability.
2004-06-25 01:47:06 +00:00
rocky
db0fc7dd4a
Non-critical cdio_error's changed to cdio_warn's or cdio_info as more
...
appropriate.
2004-06-24 07:51:51 +00:00
rocky
373fe1f196
Add getting UDF label and major/minor version numbers.
...
cd_types.c: also replace unsafe use of sprintf with strncpy.
2004-06-23 09:28:02 +00:00
rocky
36472b86ee
Update library numbers as per libtool documentation instructions.
...
libiso9660: added read_pvd routines.
libcdio: added cdio_get_drive_cap
2004-06-23 09:25:30 +00:00
rocky
c9ab763671
More (but not all) UDF stuff from the Xbox project.
2004-06-23 03:56:25 +00:00
rocky
19514ac59e
Clarification of 0xA0, 0xA2 and 0xAA.
2004-06-23 00:37:19 +00:00
thesin
49264257f4
Changed a few warns to debugs for release version
2004-06-22 15:05:39 +00:00
thesin
96480b82ca
Remove noisy debug code, or at least hide it for now
2004-06-22 04:35:50 +00:00
thesin
040e90eff8
OSX support works...now to get into the eject and drive caps next
2004-06-22 04:31:17 +00:00
rocky
3ebf6cc067
correct some of the many bugs (I hope)
2004-06-22 03:38:59 +00:00
rocky
90571332ba
Don't abort if we can't read the PVD.
2004-06-21 16:18:08 +00:00
rocky
29b6b6dd5f
Give string error message descriptions now.
2004-06-21 16:17:22 +00:00
rocky
a87aac092c
Can now get drive capabilities in ASPI driver
...
ASPI headers from win32.h moved to aspi32.h
some more cleanups.
2004-06-21 03:22:58 +00:00
rocky
bf964b72fd
Add boilerplate Makefiles for convenience
2004-06-20 15:35:31 +00:00
rocky
4185b45889
Add mode1 reading Lint changes, routine renaming to be like
...
others. More const's, fewer void *. Attempt drive detection.
There are still many bugs. The code is just a little less bogus.
2004-06-20 15:06:42 +00:00
rocky
e1808fb407
Lint-like things.
...
Add X-BOX detection courtesy of the xmbc project.
2004-06-19 19:15:15 +00:00
rocky
001bd6360b
Put the right suffix on ATAPI devices.
...
More const's, fewer void *'s.
2004-06-19 16:34:45 +00:00
rocky
03e7cde7fd
Add "c" at end of drive specification if not FreeBSD 5.x.
...
Handle not getting default drive more gracefully.
As always changes based on suggestions from Heiner.
2004-06-19 11:07:55 +00:00
rocky
3109e2935d
Add const's where possible.
...
Add cdio mode2 read routine.
2004-06-19 02:27:19 +00:00
rocky
a3de80d0ae
iso9660_iso_... -> iso9660_ifs_...
2004-06-19 00:15:44 +00:00
rocky
f126d236aa
iso9660*.{c,h}: Add PVD read for ISO 9660 images.
...
iso-info now shows this info.
2004-06-19 00:10:23 +00:00
rocky
b2f2e45d8c
Add some trivial routines to get volumeid, volumeset id, application id
...
and system id. Moved over from vcdimager.
Thanks to Stephan (mephisto..@...) for the suggestion.
2004-06-18 23:00:05 +00:00
rocky
bc484f1719
Fix bugs in merging with extractnrg.pl.
2004-06-18 22:55:24 +00:00
rocky
1028538fef
Ignore info where session is 0. At least for now.
2004-06-17 10:41:05 +00:00
rocky
e4df5a7623
Make sure we get TOC info for a single session. For new we can really
...
only deal with a single-session CD.
2004-06-17 03:24:39 +00:00
rocky
2bb59a4147
Note OSX LBA is cdio LSN.
2004-06-17 01:20:40 +00:00
rocky
4c910a3e0a
Don't need to set i_leadout twice.
2004-06-17 01:16:50 +00:00
rocky
48adac95ad
getFirstrack_osx and getNumberOfTracks_osx do duplicate scanning that
...
could be done when looking for the leadout track. Revised
code to removes these routines, consolidating the searching in one
loop.
To be *very* conservative, a first loop finds the positions of the
leadout, first track and last track. This code then doesn't assume
that the track numbers are in order. They could be given track 3, 2,
and then 1 or 2, 3, and then 1. Another loop then maps
first_track..last_track 0..number_of_tracks - 1
2004-06-17 01:15:17 +00:00
thesin
dc413f1582
Works with all burnt media, bought media is different some how. Still better then it was since it didn't work at all.
2004-06-16 04:51:29 +00:00
rocky
c287dcad09
Add more info from extractnrg.pl
2004-06-14 09:52:17 +00:00
rocky
e4971ecac5
Wait a minute - the 0xa2 *is* larger than CDIO_CD_MAX_TRACKS. But I guess
...
we still should consider ptrackDescriptors[i_descriptors].
2004-06-14 08:18:57 +00:00
rocky
8406974f64
Probably more correct.
2004-06-13 21:43:41 +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
6ea2ad3b66
Compilation lint
2004-06-12 18:45:54 +00:00
rocky
740fdb0e4a
Some of the needed changes for FreeBSD 5.x. More may be needed.
...
From Heiner - thanks!
2004-06-12 17:40:07 +00:00
rocky
bbc4248a3a
Use %2.2x rather than %.2x. Is there a difference?
2004-06-12 17:32:00 +00:00
rocky
f9da630e9d
Change a couple of places to use scsi_mmc.h more.
2004-06-09 10:59:42 +00:00
rocky
8eaf26a91d
Bug: wasn't adding drives with detected capability, but the first
...
drive on the list of drives. Don't know how this went undetected this long.
2004-06-07 00:24:45 +00:00
rocky
eca77ca5ce
Comment fixes.
2004-06-06 11:44:51 +00:00
rocky
8d0e6cd56e
Doc fix.
2004-06-06 11:38:33 +00:00
rocky
fe4a50c886
Remove another first track is 1 assumption.
2004-06-06 11:37:59 +00:00
rocky
c18f5a70b3
Remove another first_track = 1 assumption.
2004-06-06 11:30:48 +00:00
rocky
eed4e28a19
Back off of testing for unread TOC. Probably a good idea to do lazy
...
TOC reading.
2004-06-06 11:25:13 +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
729b48f1a8
Go back to two-digit format for minutes in MSF. CD's really can't have
...
more than 99 minutes in them. So we shouldn't give the illusion they
can.
2004-06-05 02:49:21 +00:00
rocky
0441b2f09d
CAM mode2 form1 and form2 reading fixes.
...
Default device lists default to CAM device name.
Simplify, correct and make more complete CAM support.
With the above we can finally use libcdio for cd-read, vcdimager and
probably vlc and xine.
Many thanks to Heiner.
2004-06-05 02:47:49 +00:00
rocky
8eb47a8c9d
Compilation fixes.
2004-06-03 12:37:54 +00:00
rocky
293747adb3
Fix all those *env = env after renaming; It should be *env = user_data.
2004-06-03 09:22:10 +00:00