[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: got dma working with hdpram



    "jeremy" == jeremy Petzold <jpetzold@earthlink.net> writes:


    jeremy> what do I need to uncoment? and do all I need to do is
    jeremy> insert hdparm -d1-c1 /dev/hdc ? if so where?

    jeremy> also I would like to get it working for hda so where would
    jeremy> I put that statement?

Change the following lines in the installed file you sent:

# hdparm optimization
# Switches on interrupts during transfers and does multi sector transfers
if command -v hdparm >/dev/null 2>&1; then
#   hdparm -q [PUT ARGS HERE]
   true
fi


to something like this


# hdparm optimization
# Switches on interrupts during transfers and does multi sector transfers
if command -v hdparm >/dev/null 2>&1; then
   hdparm -q -d1 -c1 /dev/hda
   hdparm -q -d1 -c1 /dev/hdc
fi

and so on. 

Cheers!
Shyamal



Reply to: