LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2009, 01:39 AM   #1
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Rep: Reputation: Disabled
why is my cdrom drive tray closing so fast?


I thought I'd be smart and backup my Ubuntu setup CD. Taught me how NOT smart I am.

I have a single CDROM drive. When the CD copy is done, the tray automatically comes out, and immediately closes again. There's no time to change to the blank CD. I have tried using both gnomebaker and brassero...same results. Is there a setting I can change somewhere in Linux to change the speed of tray timing?

How do I make it pause 10 seconds before the tray closing?

Thanks in advance
 
Old 06-13-2009, 10:22 AM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
So can you not just open the CD tray again to put the blank in?
 
Old 06-13-2009, 04:36 PM   #3
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
arizonagroovejet, thanks for your reply. If I open the drive and replace the cd it interrupts the copy program and it stops. So, no, I can't just reopen the drive.
 
Old 06-13-2009, 10:25 PM   #4
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
it could be a bad contact where the drawer opens. or just a bad tempered cd dvd/drive
Boot the system & go in to the bios & see if it still does it.
 
Old 06-14-2009, 01:39 AM   #5
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
nigelc, thank you for your ideas

Quote:
it could be a bad contact where the drawer opens
It works perfectly manually...push the button and it works, so I don't suspect a bad contact.
Quote:
Boot the system & go in to the bios & see if it still does it.
Am I missing something or did you forget something? reboot and go into the bios...OK, then what do I change in the bios?

Last edited by joseph2020; 06-14-2009 at 03:10 AM.
 
Old 06-14-2009, 09:49 AM   #6
azc
LQ Newbie
 
Registered: Dec 2005
Posts: 11

Rep: Reputation: 3
As a work around, you may want to first make an image of the CD. Something like this:

Code:
dd if=/dev/scd0 of=filename.iso
(Remember to replace '/dev/sdc0' with your specific device.)

And then burn the ISO using whatever application you normally use.

This does not address the open/close issue, but you may at least get your backup copy.
 
Old 06-14-2009, 10:06 AM   #7
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
What does the command
Code:
eject
do for you? The programme you're using will either be using the same call that eject does, and if it does, then 'eject' will do the same, or uses their own, and if eject works fine, then it indicates a bug.

If a bug, file a report and script a solution using dd, perhaps something like:
Code:
#!/usr/bin/env bash

echo "Please unmount CD first"

dd if=/dev/scd0 of=/tmp/.scd_copy
eject
echo "Change Disk, hit anykey to continue"
read k
dd if=/tmp/.scd_copy of=/dev/scd0
rm /tmp/.scd_copy
exit
and run as root, replacing /dev/scd0 for your CDROM drive, should it be different (Essentially an extension of what azc said).

If not a bug, don't file a report, theres a problem on your system which is going to be a ballache to fix. In which case, use the above code, without the 'eject' and manually eject.
 
Old 06-19-2009, 02:16 AM   #8
joseph2020
Member
 
Registered: Mar 2009
Location: USA
Distribution: Ubuntu 12.04
Posts: 235

Original Poster
Rep: Reputation: Disabled
jamescondron, thank you for you informative reply:
Quote:
#!/usr/bin/env bash
azc, thank you for your easy to implement and functional answer.

Code:
dd if=/dev/scd0 of=filename.iso
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cdrom tray status freeindy Linux - Hardware 4 09-30-2008 01:30 PM
Lock CDROM tray SmilinJoeFission Linux - Hardware 4 10-19-2007 05:30 PM
CDROM drive antics - ejects tray on boot lrt2003 General 8 12-14-2004 12:30 AM
Fast tcp port closing: how to?? SuperSadSmile Linux - Networking 2 10-12-2004 10:41 AM
Closing applications to the system tray ThePenguin Linux - Newbie 1 09-06-2004 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration