Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After resuming from suspend, my laptop performs a check on the CD drive. I currently do not use it that much, so I am wondering if there is a way I can disable the said check after my laptop resumes its status from suspend mode?

I have looked at how it suspends, but I don't know what program I should look at in /usr/lib/pm-utils/sleep.d.

share|improve this question
What is the reason for that? most systems (at least in my knowledge) do not do that unless there is something in it before suspend. – RolandiXor Jul 4 '11 at 4:05
What do you mean "performs a check"? – psusi Jul 15 '11 at 17:33
A click in the CD drive. The same noise we hear after inserting a disk. – galath Jul 15 '11 at 20:21
I suspect it's in the hdparm script somewhere, but I don't see a good way to disable just the optical drives. – RobotHumans Apr 7 '12 at 21:36
Perhaps a BIOS setting? Have you tried there? – Jorge M. Treviño May 4 '12 at 18:07

Disabling CDROM

mv /lib/modules/$(uname -r)/kernel/drivers/cdrom/cdrom.ko /root

share|improve this answer

If you check your system Bios on startup, check your boot order. I am not a big techie but that would be the first thing I would check. Move it down the boot order so it hits your hard drive first. Good luck.

share|improve this answer
I could be wrong but I doubt this is BIOS driven as wake-from-suspend tends to be well after the boot sequence (unlike a fresh boot or a wake-from-hibernate). – Oli Oct 23 '12 at 11:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.