Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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
    
Well, my system always did. –  galath Jul 4 '11 at 12:49
    
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
2  
I suspect it's in the hdparm script somewhere, but I don't see a good way to disable just the optical drives. –  hbdgaf Apr 7 '12 at 21:36

2 Answers 2

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

 
discard

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.