LKML Archive on
help / color / mirror / Atom feed
* Throttling DVD spin rate on powerbook
@ 2001-10-08  5:03 Jeffrey W. Baker
  0 siblings, 0 replies; only message in thread
From: Jeffrey W. Baker @ 2001-10-08  5:03 UTC (permalink / raw)
  To: linux-kernel

Hi again,

A few months ago I tried to change the kernel to allow changing the spin
rate of my DVD drive.  Normally this is done with hdparm -E n where n is
the spin rate.  But, the drive expects a SET STREAMING command (Mt.  Fuji
rev. 0.90 section 13.44) where the kernel is currently sending a SET CD
SPEED command.

So far my attempts to make the kernel send the SET STREAMING command have
resulted only in resetting the ATA bus.  That's bad :(

The thing that I'm not clear on is that the specification calls for a
28-byte performance descriptor to be sent along with the command.  The SET
CD SPEED command doesn't require this.  For SET STREAMING, the performance
descriptor tells the beginning and ending blocks of relevance, and the
requested reading and writing speeds.

I'm really not clear about how to send this extra 28-byte payload along
with the command.  It seems like I should be able to just stick it in
pc.buffer, set pc.buflen to 28, and send it down the chute with
cdrom_queue_packet_command(), but as I've said the only result to date has
been to reset the ATA bus.

I appreciate any help you guys can throw out.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-08  5:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08  5:03 Throttling DVD spin rate on powerbook Jeffrey W. Baker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).