Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragonfly_bsd [2018/12/29 17:46] – beandog | dragonfly_bsd [2019/05/24 21:57] (current) – [DragonFly BSD] beandog | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| The default device for the optical drive is ''/ | The default device for the optical drive is ''/ | ||
| + | |||
| + | It not already installed, you will need automake and autoconf: | ||
| + | |||
| + | < | ||
| + | pkg install autoconf automake pkgconf | ||
| + | </ | ||
| ==== dvd_info ==== | ==== dvd_info ==== | ||
| Line 15: | Line 21: | ||
| </ | </ | ||
| - | It not already installed, you will need automake and autoconf: | ||
| - | |||
| - | < | ||
| - | pkg install autoconf automake | ||
| - | </ | ||
| Download the source code from github, and build: | Download the source code from github, and build: | ||
| Line 43: | Line 44: | ||
| ./configure | ./configure | ||
| make | make | ||
| + | </ | ||
| + | |||
| + | ==== research notes ==== | ||
| + | |||
| + | < | ||
| + | man 4 cd: | ||
| + | |||
| + | CDIOCRESET | ||
| + | CDIOCSETDEBUG | ||
| + | CDIOCCLRDEBUG Turn on (off) debugging for the appropriate device. | ||
| + | |||
| + | CDIOCSTART | ||
| + | CDIOCSTOP Tell the drive to spin-up (-down) the CD-ROM. | ||
| + | |||
| + | CDIOCALLOW | ||
| + | CDIOCPREVENT Tell the drive to allow (prevent) manual ejection of the CD-ROM disc. Not all drives support this feature. | ||
| + | |||
| + | |||
| + | CDIOCEJECT | ||
| + | |||
| + | CDIOCCLOSE | ||
| + | |||
| + | man 9 cd: | ||
| + | |||
| + | | ||
| + | attach time to see if there is a disk in the drive and | ||
| + | find out what size it is. This flag is currently | ||
| + | unimplemented in the CAM cd driver. | ||
| + | |||
| + | | ||
| + | the drive on what features it supports. | ||
| + | information is returned in the following structure: | ||
| + | |||
| + | struct ioc_capability { | ||
| + | u_long | ||
| + | #define CDDOPLAYTRK | ||
| + | /* Can play tracks/ | ||
| + | #define CDDOPLAYMSF | ||
| + | /* Can play msf to msf */ | ||
| + | #define CDDOPLAYBLOCKS | ||
| + | /* Can play range of blocks */ | ||
| + | #define CDDOPAUSE | ||
| + | /* Output can be paused */ | ||
| + | #define CDDORESUME | ||
| + | /* Output can be resumed */ | ||
| + | #define CDDORESET | ||
| + | /* Drive can be completely reset */ | ||
| + | #define CDDOSTART | ||
| + | /* Audio can be started */ | ||
| + | #define CDDOSTOP | ||
| + | /* Audio can be stopped */ | ||
| + | #define CDDOPITCH | ||
| + | /* Audio pitch can be changed */ | ||
| + | |||
| + | u_long | ||
| + | #define CDREADVOLUME | ||
| + | /* Volume settings can be read */ | ||
| + | #define CDSETVOLUME | ||
| + | /* Volume settings can be set */ | ||
| + | #define CDSETMONO | ||
| + | /* Output can be set to mono */ | ||
| + | #define CDSETSTEREO | ||
| + | /* Output can be set to stereo (def) */ | ||
| + | #define CDSETLEFT | ||
| + | /* Output can be set to left only */ | ||
| + | #define CDSETRIGHT | ||
| + | /* Output can be set to right only */ | ||
| + | #define CDSETMUTE | ||
| + | /* Output can be muted */ | ||
| + | #define CDSETPATCH | ||
| + | /* Direct routing control allowed */ | ||
| + | |||
| + | u_long | ||
| + | #define CDDOEJECT | ||
| + | /* The tray can be opened */ | ||
| + | #define CDDOCLOSE | ||
| + | /* The tray can be closed */ | ||
| + | #define CDDOLOCK | ||
| + | /* The tray can be locked */ | ||
| + | #define CDREADHEADER | ||
| + | /* Can read Table of Contents */ | ||
| + | #define CDREADENTRIES | ||
| + | /* Can read TOC Entries */ | ||
| + | #define CDREADSUBQ | ||
| + | /* Can read Subchannel info */ | ||
| + | #define CDREADRW | ||
| + | /* Can read subcodes R-W */ | ||
| + | #define CDHASDEBUG | ||
| + | /* The tray has dynamic debugging */ | ||
| + | }; | ||
| + | |||
| </ | </ | ||