Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to tell if the CD drawer is closed, with a disc present, on FreeBSD 8.

Back in FreeBSD6, I could use cdcontrol status volume which would return "No volume level info available" until there was a disk present.

In FreeBSD 8, it returns "Left volume = 255, right volume = 255" no matter if a disc is there or not.

share|improve this question
up vote 0 down vote accepted

I seem to have a knack for figuring out my problem, just after posting here on SU.

In this case, it turns out that cdcontrol needs the /dev/cd0 (ATAPI interface) to provide that little status message "No volume level info available".

A simple kldload atapicam and it was working as I remember it. (and added to my loader.conf, of course)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .