Public bug reported:

According to the Linux CDROM standard, querying a CDROM drive's
CDROM_DRIVE_STATUS via ioctl should give various drive states such as
TRAY_OPEN, NO_DISC, DISC_OK, etc.

Under Ubuntu 8.04.1 with kernel 2.6.24, ioctl always returns TRAY_OPEN
until a cd is inserted, at which point if the cd is readable it will
report DISC_OK. Thus, a closed tray with no cd will report TRAY_OPEN.

This has been reported at the debian level (http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=447337) and even reported earlier here in ubuntu
(#210819). A patch was distributed upstream and kernel 2.6.25 contains
this fix. At the ubuntu level, the response to this bug was to wait for
Intrepid's kernel to see if the issue is fixed, and according to #210819
this issue is resolved in 2.6.25.

However, this bug is still present in 8.04.1. Will this bugfix be
backported?

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  According to the Linux CDROM standard, querying a CDROM drive's
  CDROM_DRIVE_STATUS via ioctl should give various drive states such as
  TRAY_OPEN, NO_DISC, DISC_OK, etc.
  
  Under Ubuntu 8.04.1 with kernel 2.6.24, ioctl always returns TRAY_OPEN
  until a cd is inserted, at which point if the cd is readable it will
  report DISC_OK. Thus, a closed tray with no cd will report TRAY_OPEN.
  
  This has been reported at the debian level (http://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=447337) and even reported earlier here in ubuntu
- (#210819). A patch was distributed upstream and kernel 2.6.26 contains
+ (#210819). A patch was distributed upstream and kernel 2.6.25 contains
  this fix. At the ubuntu level, the response to this bug was to wait for
  Intrepid's kernel to see if the issue is fixed, and according to #210819
- this issue is resolved in 2.6.26.
+ this issue is resolved in 2.6.25.
  
  However, this bug is still present in 8.04.1. Will this bugfix be
  backported?

-- 
ioctl fails to send status NO_DISC for SCSI CDROM drives
https://bugs.launchpad.net/bugs/308863
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to