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.