The eject button on the CD-Drive does not work for data CDs

Bug #36539 reported by Aaron Whitehouse
18
Affects Status Importance Assigned to Milestone
gnome-volume-manager (Ubuntu)
Fix Released
Medium
Martin Pitt
nautilus (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Dapper Flight 5 - Fully updated. I use a Dell Inspiron 510m, hardware ID:
(I can't find it any more! Where has it gone in Dapper???)

If a data CD is in the drive, one cannot eject it by pressing the button on the CD drive. With an audio CD it works as expected. My guess is that it has something to do with unmounting the volume (which isn't necessary for the audio CD).

In Breezy the button on the CD drive worked correctly for audio CDs but did nothing for data CDs, unless the volume was unmounted and then the eject button on the drive worked as it should.

If the icon is right-clicked then a dialogue appears saying "writing data to removable device" (a scary thing to see when it is a CD you don't want to write to...) and then the eject works correctly. If the eject hotkey (Fn+F10 for me) is pressed, then there is no dialogue box and it just ejects the CD.

My suggestion to solve this issue is to make the routine called in the following instances:
- right-clicking the icon and choosing eject
- pushing the button on the CD drive
- pressing the hotkey for eject
exactly the same. Surely it would be better to have them all use the same code and just get that code correct.

Any questions, just ask.

Revision history for this message
Paul Sladen (sladen) wrote :

I think:

  (1) drive-eject goes via HAL to gnome-volume-manager
  (2) KEY_EJECTCD is hooked via gnome-volume-manager
  (3) Right-Click goes from Nautilus to gnome-volume-manager

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

I confirm this one (long standing bug for every Linux user ;-) )

What info are needed here ? (NEEDINFO). It should just be "CONFIRMED".

Gnome related bug :
http://bugzilla.gnome.org/show_bug.cgi?id=330051 (altought it's perhaps not a GNOME bug)

Revision history for this message
Martijn vdS (martijn) wrote :

It's most likely a hardware bug: the 'Eject' button on most CD-ROM players doesn't send the proper signal.

On drives where it does, the disc gets unmounted and ejected properly, afaik.

Revision history for this message
Paul Sladen (sladen) wrote :

Trying on the drive here (which currently has something data-ish, like a Flight image burned on to it):

  paul@katu:~$ lshal -m
  storage_model_DW_225 condition EjectPressed =
  storage_model_DW_225 condition EjectPressed =
  storage_model_DW_225 condition EjectPressed =

so it's clearly getting as far as HAL, but is anyone listening? Nothing else happens.

Changed in gnome-volume-manager:
status: Needs Info → Confirmed
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

On my machine with Dapper Flight 5 in the drive:
$ lshal -m

Start monitoring devicelist:
-------------------------------------------------
storage_model_HL_DT_STCD_RW/DVD_ROM_GCC_4243N condition EjectPressed =
storage_model_HL_DT_STCD_RW/DVD_ROM_GCC_4243N condition EjectPressed =
storage_model_HL_DT_STCD_RW/DVD_ROM_GCC_4243N condition EjectPressed =
storage_model_HL_DT_STCD_RW/DVD_ROM_GCC_4243N condition EjectPressed =
storage_model_HL_DT_STCD_RW/DVD_ROM_GCC_4243N condition EjectPressed =

Revision history for this message
Jim Louvau (jlouvau) wrote :

NEC 3550's:

Start monitoring devicelist:
-------------------------------------------------
volume_label_Ubuntu_6_06_i386 added
volume_label_Ubuntu_6_06_i386 property volume.mount_point = '/media/cdrom0'
volume_label_Ubuntu_6_06_i386 property volume.is_mounted = true
storage_model__NEC_DVD_RW_ND_3550A condition EjectPressed =

Samsung 224B:

Start monitoring devicelist:
-------------------------------------------------
volume_label_Ubuntu_6_06_i386 added
volume_label_Ubuntu_6_06_i386 property volume.mount_point = '/media/cdrom1'
volume_label_Ubuntu_6_06_i386 property volume.is_mounted = true
storage_model_SAMSUNG_CD_R/RW_DRIVE_SW_224B condition EjectPressed =

It seems that we have a trend :-) HAL definitely "sees" the button press but nobody's doing anything with it. Time to quit blaming the drives.

Revision history for this message
Martin Pitt (pitti) wrote :

Closing nautilus task, this is a gnome-volume-manager bug.

Changed in nautilus:
status: Unconfirmed → Rejected
Martin Pitt (pitti)
Changed in gnome-volume-manager:
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 gnome-volume-manager (1.5.15-0ubuntu6) dapper; urgency=low
 .
   * debian/patches/03_no_gnome_mount.patch: Fix the reinitialization of the
     'gnome-mount' variable (which we abuse to contain 'pmount-hal', 'pumount',
      or 'eject', depending on the current operation). Fixes handling of CD
      drive eject buttons. Closes: LP#3653

Changed in gnome-volume-manager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.