Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Dell Ubuntu Support
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Dell Ubuntu Support
Got a Dell powered by Ubuntu? Or thinking about getting one? Discuss it here.

 
Thread Tools Display Modes
Old March 11th, 2008   #1
havanahjoe
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 7
[SOLVED] Dell m1530 Eject button not working

I haven't seen anyone have this issue anywhere so I'm posting here to try and get some help.

The eject button on my m1530 does not work under Ubuntu 7.10 Gutsy. All the other buttons work fine, I got them working with Amarok. I can eject by assigning another shortcut key without a problem, but when I go to Keyboard Shortcuts under Preferences and try to assign the eject button to the eject function, the button only blinks and it is not registered by the configuration manager.

It glows/blinks about 16 times and then turns off and nothing ever happens.

Does everyone else have their eject button working on their XPS laptops? I assume the key function is called xf86audioeject, but I can't edit the setting manually through "Keyboard Shortcuts" because it always capture the key combination.

Does anyone know what configuration file can be edited to change this manually?
havanahjoe is offline   Reply With Quote
Old March 19th, 2008   #2
havanahjoe
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 7
Re: Dell m1530 Eject button not working

I just re-installed Ubuntu root due to my root partition getting corrupted. I still am unable to use the eject button when in X, but it works if I use the button while booting up or while in the BIOS or in Vista of course.

No one experiences this on their m1530??
havanahjoe is offline   Reply With Quote
Old March 19th, 2008   #3
forceofnature
Just Give Me the Beans!
 
Join Date: Dec 2007
Beans: 55
Re: Dell m1530 Eject button not working

I have the m1330 and it does the same thing. I have had it eject using the button before but I think the problem is that it is not getting the instruction to unmount the drive. I just right click on the drive and then click eject which works. There must be some way to reprogram the key to eject a disk properly.
forceofnature is offline   Reply With Quote
Old March 20th, 2008   #4
havanahjoe
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 7
Re: Dell m1530 Eject button not working

Actually you are correct. If I umount /mnt/cdrom and then press the eject button it works. I guess we need a script that needs to issue the umount command and then eject the cd.
havanahjoe is offline   Reply With Quote
Old March 20th, 2008   #5
havanahjoe
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 7
Re: Dell m1530 Eject button not working

If you run lshal -m on a terminal you can monitor the HAL messages that are generated. All the media keys except the eject button generate an event. I guess the eject button is directly wired to the DVD drive so it can't umount and then eject and will only eject if the drive is not mounted.
havanahjoe is offline   Reply With Quote
Old March 20th, 2008   #6
havanahjoe
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 7
Re: Dell m1530 Eject button not working

Well, found a solution for the problem.

Since Linux locks the drive when a CD is mounted, the hardwired Eject button will not work unless we get rid of this lock. I found this thread that explains how to do it:

http://ubuntuforums.org//showthread.php?t=115499

Once you run that command, the OS won't lock the cdrom anymore and you will be able to eject the CD or DVD with the eject button ANYTIME. This will also generate a warning from Gnome about unsafe device removal.

Maybe in future versions this will be fixed. It seems that some drives don't report this properly, so maybe future versions will support our DVD drive better and will allow ejecting without this patch.

For now, anyone wanting to eject their media without assigning a key combination to Gnome (I had assigned Ctrl + E for example) can follow the example above to get a work around.
havanahjoe is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:47 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry