Re: Is controlling DVD speeds via SET_STREAMING supported?

From: David Härdeman
Date: Sat Nov 20 2004 - 11:46:53 EST


On Sat, Nov 20, 2004 at 05:30:54PM +0100, Jan Engelhardt wrote:
I doubt hdparm works on CD/DVD drives.
What is setspeed doing, internally?

Well, hdparm does work for CD drives (hdparm -E), but not for CD/DVD combo drives...

And also, the tools I was thinking of isn't called setspeed...it's called setcd, and it uses ioctl(fd, CDROM_SELECT_SPEED, speed) which doesn't work on DVD players apparently. The same goes for the other tools I've tested ("hdparm -E" and "eject -x").


My CD drives spin at "normal" (no more than speed 8) when playing CD-DA,
if I am listening to Ogg, I manually spin it down by using "calm-cdrom".
( http://linux01.org:2222/f/UHXT/sbin/src/calm-cdrom.c )

Which also uses the above mentioned ioctl...

Re,
David

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/