Indeed the CDROM_DRIVE_STATUS ioctl in the current intrepid kernel now actually closes the CD-ROM door instead of just saying "tray open/no CD". Reproducible with
perl -e 'open F, "/dev/scd0"; ioctl (F, 0x5326, 0x7fffffff);'
It also happens with using "0" as argument, so it doesn't depend on the flags you pass.
Indeed the CDROM_DRIVE_STATUS ioctl in the current intrepid kernel now actually closes the CD-ROM door instead of just saying "tray open/no CD". Reproducible with
perl -e 'open F, "/dev/scd0"; ioctl (F, 0x5326, 0x7fffffff);'
It also happens with using "0" as argument, so it doesn't depend on the flags you pass.