I am not sure that this upstream fix will help.  It makes the udev scan
effectively dependant on whether there is a current profile reported by
the drive.  The drive in the cases we have documented are reporting a
profile, indeed if they were not we would not be attempting the TOC read
and later.  Notethe ID_CDROM_MEDIA_<type>=1 in each report below:

  ID_CDROM=1
  ID_CDROM_DVD=1
  ID_CDROM_MRW=1
  ID_CDROM_MRW_W=1
  ID_CDROM_MEDIA_CD=1
  ID_CDROM_MEDIA_STATE=blank
  ID_CDROM_MEDIA_SESSION_NEXT=2894
  ID_CDROM_MEDIA_SESSION_COUNT=19194
  ID_CDROM_MEDIA_TRACK_COUNT=47323

and:

  ID_CDROM=1
  ID_CDROM_DVD=1
  ID_CDROM_MEDIA_DVD=1
  ID_CDROM_MEDIA_STATE=blank
  ID_CDROM_MEDIA_SESSION_NEXT=55296
  ID_CDROM_MEDIA_SESSION_COUNT=45312
  ID_CDROM_MEDIA_TRACK_COUNT=20736

This is patently an error and one which appears to be coming direct from
the drive.  It is reporting itself still as containing something when it
does not.

Before the upstream fix we could have elided the TRACK_COUNT when the
device reported blank but that will not work following the upstream
change.

-- 
CD-ROM tray closes automatically after eject 
https://bugs.launchpad.net/bugs/356631
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to