Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199615 - xfce-base/thunar - Error message when ejecting mounted CD using physical button
Summary: xfce-base/thunar - Error message when ejecting mounted CD using physical button
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: XFCE Team
URL: http://bugzilla.xfce.org/show_bug.cgi...
Whiteboard:
Keywords:
: 199889 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-19 02:16 UTC by Jonathan Slark
Modified: 2009-06-17 00:11 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (exo-0.3.4.ebuild,1.63 KB, patch)
2008-03-13 20:16 UTC, Michael Perlov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Slark 2007-11-19 02:16:26 UTC
Whenever I try and eject a CD that has been mounted using the button on the CD player itself I get an error message.  Right clicking the CD icon and selecting eject will unmount and eject the drive no problem.  If the drive is unmounted prior to pressing the button the CD is ejected with no error message.

Reproducible: Always

Steps to Reproduce:
1. Insert a CD with files on it
2. Mount the CD
3. Press eject button on the CD player

Actual Results:  
I get the following error message:
Failed to eject "/org/freedesktop/Hal/devices/storage_model_NEC_DVD_RW_ND_3500AG".
Given device "/org/freedesktop/Hal/devices/storage_model_NEC_DVD_RW_ND_3500AG" is not a volume or drive.

Expected Results:  
CD device unmounted and CD ejected with no error message.

The bug has been discussed at the link about and a patch proposed.  I'll try the patch in a local overlay and see if it fixes the problem.
Comment 1 Jonathan Slark 2007-11-19 02:46:24 UTC
I just tried the patch by Jani Monoses in a local overlay of xfce-base/thunar-0.8.0 from the URL above and it appears to fix the problem.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-21 11:26:01 UTC
*** Bug 199889 has been marked as a duplicate of this bug. ***
Comment 3 nm (RETIRED) gentoo-dev 2008-02-22 00:59:28 UTC
The patch[1] posted by Alex on the upstream bug[2] works for me. No more annoying popups or having to become root in order to eject discs.

Until xfce gets a new exo release out the door, can Alex's patch be added to the Gentoo exo ebuild? Without it, users get intensely frustrated because of exo/hal stupidity. :)



[1] http://bugzilla.xfce.org/attachment.cgi?id=1360
[2] http://bugzilla.xfce.org/show_bug.cgi?id=2968
Comment 4 Michael Perlov 2008-03-13 20:16:30 UTC
Created attachment 146057 [details, diff]
ebuild

Need exo-alt-eject.patch from http://bugzilla.xfce.org/attachment.cgi?id=1360 in ${FILESDIR}
Comment 5 Christoph Mende (RETIRED) gentoo-dev 2008-09-21 23:10:30 UTC
waiting for too long on an upstream decision now, added Alex' patch
Comment 6 Opportunist 2009-04-21 11:21:58 UTC
i have this problem with exo 0.3.101 and thunar 1.0.1
Comment 7 Sasha Medvedev 2009-06-15 06:51:11 UTC
I have the same issue with exo-0.3.101-r1. To fix this I simply add patch from 0.3.2 to exo-0.3.101-r1 ebuild.

# diff /usr/portage/xfce-extra/exo/exo-0.3.101-r1.ebuild exo-0.3.101-r1.ebuild
29c29,30
< XFCE4_PATCHES="${FILESDIR}/exo-0.3.101-iocharset.patch"
---
> XFCE4_PATCHES="${FILESDIR}/exo-0.3.101-iocharset.patch /
> 	       ${FILESDIR}/exo-0.3.4-eject.patch"
Comment 8 Jacek Sowiński 2009-06-17 00:11:03 UTC
(In reply to comment #7)
> # diff /usr/portage/xfce-extra/exo/exo-0.3.101-r1.ebuild exo-0.3.101-r1.ebuild
> 29c29,30
> < XFCE4_PATCHES="${FILESDIR}/exo-0.3.101-iocharset.patch"
> ---
> > XFCE4_PATCHES="${FILESDIR}/exo-0.3.101-iocharset.patch /
> > 	       ${FILESDIR}/exo-0.3.4-eject.patch"

It works fine for me.