Closed yangbonis closed 2 years ago
is.notready
should still be 1 if open() fails. Maybe start with is.notready = 1
and set it to 0 if ioctl(..) == CDS_DISC_OK
?
is.notready
should still be 1 if open() fails. Maybe start withis.notready = 1
and set it to 0 ifioctl(..) == CDS_DISC_OK
?
you are right, already update.
You're absolutely right; please check https://github.com/openSUSE/hwinfo/pull/109.
hwinfo --cdrom can close the open tray, correct it