lkml.org 
[lkml]   [2001]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectThrottling DVD spin rate on powerbook
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.

-jwb

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

\
 
 \ /
  Last update: 2005-03-22 13:04    [W:0.029 / U:0.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site