disable the cdrom in Ubuntu 11.10 OS
I have no use for a CD drive, ever. Yet it exists, consumes power, opens inadvertently when in its case or in my bed and makes noise whenever computer sleeps, wakes, shuts down or boots.
I would like to shut it out of existence. This will also be true if my next laptop has one too. But in this particular case I don't have the password to access the BIOS (hope it's not required).
udisks --show-info /dev/sr0 shows
drive: vendor: HL-DT-ST model: HL-DT-ST DVDRAM GSA-T50L revision: SC04 serial: MKS92IH3934 WWN: detachable: 0 can spindown: 0 rotational media: Yes, unknown rate write-cache: unknown ejectable: 1 adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2
detachable: 0 indicates what I want is not possible but I feel like I'm probably not the only one to find a CD drive useless and annoying. So maybe someone has an idea on how to do this.
I was about to test playing with files in
/sys/bus/scsi/devices/1:0:0:0/block/sr0/power but I'd like to avoid messing with stuff I can't really handle and that could make it unmountable but still annoying or worse.
Feel free to ask for more details.