Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.