On Tue, 27 Nov 2001 15:23:14 +0100, Walter Zimmer wrote:

>
>Any solutions, hints, pointers, experiences, demonstration code
>to write it by myself ?
>

Supposedly the new kernels have a raw interface to the filesystem. 
Perhaps it has an IOCTL that lets you issue commands as well.

Other than that I suggest you look at 'hdparam'.  Its lets you set
things like dma mode, spin down the harddrive, and other drive
specific stuff so its talking the drive somehow.

Another issue is going ot be hacking the IDE driver code so it
dosen't totaly barf when it gets a bogus partition read and remove
the device from the device list.

A new ide device may be needed.

I guess you could always just give yourself iopermissions to the ide
interface and issue the commands with in() and out(). 

I would love to help you with this since I have a flash or 2 in the
same condition.  However I am about to leave on a buisness trip for
the rest of the week and I am not sure what kind of net access I will
have.  I'll try to hook back up with you next week when I return.


--
Richard A. Smith                         Bitworks, Inc.               
[EMAIL PROTECTED]               501.846.5777                        
Sr. Design Engineer        http://www.bitworks.com   



--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to