Skip to contentSkip to conversation

How to change DVD-ROM speed?

DISCUSSION Jesse Pollard 3 participants 3 messages Jun 27, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 18 lines · Jeffrey W. Baker
Quoted 16 lines
Quoted 16 lines · Jeffrey W. Baker
Quoted 9 lines

I am trying to change the spin rate of my IDE DVD-ROM drive. My system is an Apple PowerBook G4, and I am using kernel 2.4. I want the drive to spin at 1X when I watch movies. Currently, it spins at its highest speed, which is very loud and a large power load.

/proc/sys/dev/cdrom/info indicates that the speed of the drive can be changed. I use hdparm -E 1 /dev/dvd to attempt to set the speed, and it reports success. However, the drive continues to spin at its highest speed.

Linux still uses the old-style SET_SPEED command, which is probably not supported correctly by your newer drive. Just checking, I see latest Mt Fuji only lists it for CD-RW. For DVD, we're supposed to do SET_STREAMING to specify such requirements.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Feel free to implement it :-)

I will be happy to :) Should I hang conditional code off the existing ioctl (CDROM_SELECT_SPEED, ide_cdrom_select_speed) or use a new one?

Excellent. I'd say use the same ioctl if you can, but default to using SET_STREAMING for DVD drives.

As long as it still works for the combo drives - CD/CD-RW/DVD Sony VIAO high end laptops, Toshiba has one, maybe others by now.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]

Any opinions expressed are solely my own.

#1 lore raw
Quoted 2 lines · Jesse Pollard

As long as it still works for the combo drives - CD/CD-RW/DVD Sony VIAO high end laptops, Toshiba has one, maybe others by now.

OK when I send the patch I'll assume you will test it :)

#2 lore raw
In reply to Jesse Pollard
Quoted 5 lines · Jesse Pollard
Quoted 2 lines

Excellent. I'd say use the same ioctl if you can, but default to using SET_STREAMING for DVD drives.

As long as it still works for the combo drives - CD/CD-RW/DVD Sony VIAO high end laptops, Toshiba has one, maybe others by now.

As long as it has the DVD features, SET_STREAMING must be supported. So provided that the combos adhere to that part of the spec (ha), it will work.

Signature · 1 line
Jens Axboe