Commit Graph

30 Commits

Author SHA1 Message Date
rocky
8e48c0ad7f Run a Multimedia command (MMC) specifying the CDB length.
The motivation here is for example ot use in is an undocumented
debug command for LG drives (namely E7), whose length is being
miscalculated by mmc_get_cmd_len(); it doesn't follow the usual
code number to length conventions. Patch supplied by SukkoPera.
2007-11-21 03:01:58 +00:00
rocky
3c49917550 Remove doxygen warnings. 2006-10-27 10:38:41 +00:00
rocky
c1f11393ac Add routine to get tray status (open/closed) and sample program.
Seems broken at least on SuSE 10.1 if not other GNU/Linux's though.
2006-10-11 12:38:17 +00:00
rocky
0c2b1bfa9e mmc: add mmc_close_tray().
mmc-tool: add option for close tray and to get mode-sense 2A data.
2006-04-12 09:30:14 +00:00
rocky
edc8056ec9 Clarify the difference betweeen speed as it is defined in the MMC spec
and drive unit speeds. Add a new mmc routine for the latter.
2006-04-04 02:06:12 +00:00
rocky
93bb7fdb74 More #defines become enums.
Add CDIO_MMC_GETPOS_LEN16. Is like CDIO_MMC_GETPOS_LEN16 with extra
position parameter.
2006-04-03 18:51:46 +00:00
rocky
202d2abdda Remove some deprecated things. 2006-02-16 20:09:27 +00:00
rocky
7f4e8140ae Turn one more set of #define into an enum 2005-10-21 11:27:09 +00:00
rocky
fa0848bf90 Try to regularize naming better. More mmc_ -> cdio_mmc_
Add more debug variables to be able to get at enum values in a debugger.
2005-10-21 11:13:54 +00:00
rocky
3b0b52ac52 Allow the MMC timeout to be adjusted by the application. 2005-06-26 18:29:49 +00:00
rocky
929770f419 Add routine to report MMC capabilities of a drive. Add that to the
cd-drive program.
2005-04-30 09:42:37 +00:00
rocky
2a11267eb9 Doxygen lint corrections. 2005-03-21 09:19:06 +00:00
rocky
8e8c54a457 Add MMC START STOP interface. 2005-03-09 10:23:01 +00:00
rocky
83601dc13e Add routine to turn audio status into a string. 2005-03-06 02:59:26 +00:00
rocky
3abb1badf9 audio.h: redo audio volume levels a little.
mmc.{c,h}: attempt to get audio ports/selections via MMC.
cd-info.c: show volume output levels in a cleaner fashion.
2005-03-02 04:23:59 +00:00
rocky
881d4fcf8f mmc.c: fix up read_audio_subchannel_mmc
audio.h: more direct field names
mmc.h: add mmc_subchannel_t;  scsi_mmc -> mmc
cdio-linux.c: remove deprecated from_bcd8
2005-03-01 10:53:15 +00:00
rocky
cd328dac84 Report ability to read MCN.
Add MMC routine to read audio subchannel.
2005-03-01 09:33:52 +00:00
rocky
47a5589e61 Add audio lineout controls (play, pause, volume control) 2005-03-01 00:41:34 +00:00
rocky
89ea3eb0e1 Allow C++ programs to issue mmc commands. 2005-02-19 11:45:03 +00:00
rocky
da62695b60 Move forward in getting better ISO-9660 reading by eliminating "Mode 1/2"
specification in API.
2005-02-17 07:03:36 +00:00
rocky
78a3f49868 Add routine for reading data independent of or mode1 and mode2 format.
Should help with ISO 9660 reading. Add generic MMC READ_CD routine.

Warning - even more breakage in some situations. (But there's promise
of an overall brighter future.)
2005-02-17 04:57:21 +00:00
rocky
e13dd6df2f Remove doxygen references to get_speed() routines. They don't exist
and seem to confuse people.
2005-02-12 15:27:22 +00:00
rocky
485d92f27d Correct CDB acronym. 2005-02-12 02:05:02 +00:00
rocky
e491ba74d6 Use solaris ioctl for blocksize set/get. Prototype corrections. 2005-02-10 11:23:08 +00:00
rocky
8296df8b3d Add generic mode_sense(), add cdio_have_atapi() and use these.
API number bumped
Add bool_3way_t (yes, nope, dunno)
2005-02-10 01:59:05 +00:00
rocky
3755da8d0c Add mode_sense6() and mode_sense10() MMC commands. Use them to
hopefully clean up code a little. Remove some unused MMC "private"
commands.

iso4 -> isofuzzy
2005-02-09 02:50:46 +00:00
rocky
a1c206fe3b Add enum for feature profiles. Add feature to string conversion routines. 2005-02-08 04:14:28 +00:00
rocky
b80ab25c6f Probably "interface" is reserved in some Windows contexts 2005-02-07 17:09:31 +00:00
rocky
ce6170ea9e Add more MMC features and profiles such as ones used by the Plextor
DVDR PX-716A
2005-02-07 12:06:29 +00:00
rocky
2860cea4cb lib/drivermmc.{c,h}: Add mmc_have_interface() to see if we've got SCSI
or ATAPI or whatever.

cdda_interface: Use mmc_have_inteface() we don't have anything for
this except in GNU/Linux. May reduce the unnecessary data_bigendianp()
calls which cause lots of disc reading.

Turn #defines for MMC Profiles into enumeration.
Add enumeration for "core" interface types

#include <cdio/scsi_mmc.h> -> #include <cdio/mmc.h>
2005-02-07 03:36:01 +00:00