I can usually use dmesg
soon after bootup to display hardware info that my kernel loads. After my system has been up for a while however, dmesg
no longer produces anything of value concerning hardware. How can I find out my hardware specifics, such as what kind of CD ROM drive I have, that is usually found by dmesg
?
For SATA and ATA drives
atacontrol info ata#
where # is the channel number found byatacontrol list
For SCSI drives and those passed through with
atapicam
you can pull info withcamcontrol inq dev0
where dev0 is the device name (like cd0, or da0 for hard drives). Andcamcontrol devlist
will list all the devices.This lists very detailed information about all hardware including the CD/DVD drive. ( note this is on linux however I suspect there is a freeBSD port/equivalent )