lkml.org 
[lkml]   [2001]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
On Feb 05 2001, Jens Axboe wrote:
> ioctl(cd_fd, CDROM_SELECT_SPEED, speed);

I'd like to thank everybody that replied either on the list
and privately. I didn't know that I could just use the /proc
entries to change the IDE driver speed with a simple:

echo current_speed:4 > /proc/ide/hdc/settings

(Thanks Mark for this).

I'd also like to thank Andries about the tip on the mount
option. I didn't find anything in the util-linux (mount)
manpage before I asked (I'm using Debian potato's util-linux
2.10q-1).

The option that I chose was to cook a little proggie to call
the ioctl to set the speed. This is the most flexible solution
(as it doesn't involve messing with fstab or being root to
pass the mount option to mount). Thanks, Jens!

Thank you all very, very much for the amazing (and fast) help!


[]s, Roger...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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