Difference between revisions of "User:Gordon/Optical Drive Testing Script/scratchpad"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
==Optical drive examination procedure== | ==Optical drive examination procedure== | ||
+ | # <code>wodim dev=/dev/sr0 -prcap</code> | ||
+ | #* Makes sure a drive is there | ||
+ | #* Gets a list of most capabilities | ||
+ | #* Does NOT distinguish DVD-R from DVD+R capability |
Revision as of 12:07, 9 January 2010
- http://club.myce.com/f34/dvd-rw-multisession-questions-306321/
- http://club.myce.com/f33/best-media-optical-drive-testing-306320/
- http://club.myce.com/f52/uniquely-iding-optical-discs-306323/
- http://fy.chalmers.se/~appro/linux/DVD+RW/
Dependencies
Ubuntu
- python-setuptools (?)
- python-virtualenv
- python-pip
- mercurial (won't be needed for a dpkg dependency, most likely)
- dvd+rw-tools (probably)
Python
(Hopefully) see pip-requirements.txt once the project is closer to completion, and automatically install all these with pip.
Development installation
- Install all Ubuntu dependencies
- cd to the dir where you want the virtualenv containing the code to live.
virtualenv --no-site-packages lazers
cd lazers
. bin/activate
pip install -E . yolk
(optional, but useful)pip install -E . cmdln
pip install -E . nose
(if you want to run the tests)mkdir src
cd src
hg clone http://bitbucket.org/gmfreegeek/lazers/
Optical drive examination procedure
wodim dev=/dev/sr0 -prcap
- Makes sure a drive is there
- Gets a list of most capabilities
- Does NOT distinguish DVD-R from DVD+R capability