Jump to content

AppleNforceATA 1.0.4 SATA DVD FIX


Meowthra
 Share

4 posts in this topic

Recommended Posts

Support Hardware Updates and SATA DVD read FIX for OS X 10.6 Snow Leopard or later

 

Based on AnV 1.0.4 32/64 Version

 

 

Support hardware Updates list :

 

NFORCE

NFORCE2

NFORCE2 PRO

NFORCE3

NFORCE3 PRO

NFORCE MCP04

NFORCE CK804

NFORCE MCP51

NFORCE MCP55

NFORCE MCP61

NFORCE MCP65

NFORCE MCP67

NFORCE MCP73

NFORCE MCP77

NFORCE MCP79

NFORCE MCP89

 

HW info Reference From FreeBSD Source

 



 

 

 

SATA DVD Read/Write FIX

 

Modify the source where the function provideBusInfo :

 




IOReturn AppleNForceATA::provideBusInfo( IOATABusInfo * infoOut )
{
    DEBUG_LOG("%s::%s( %p, %p )\n", getName(), __FUNCTION__, this, infoOut);

    if ( infoOut == 0 )
    {
        DEBUG_LOG("%s: %s bad argument\n", getName(), __FUNCTION__);
        return -1;
    }

    infoOut->zeroData();

    if (fProvider->getHardwareType() == PCI_HW_SATA)
        infoOut->setSocketType( kInternalSATA );
    else
        infoOut->setSocketType( kInternalATASocket );

/*** SATA DVD-RW FIX Start ***/
    for ( UInt32 i = 0; i < kMaxDriveCount; i++ )
    {
        if ( _devInfo[i].type == kATADeviceType )
        {
            infoOut->setPIOModes( kPIOModeMask );
            infoOut->setDMAModes( kDMAModeMask );
            infoOut->setUltraModes( kUDMAModeMask );
        }
        else
        {
            infoOut->setPIOModes( kPIOModeMask );
        }
    }
/*** SATA DVD-RW FIX END ***/

    infoOut->setExtendedLBA( true );
    infoOut->setMaxBlocksExtended( 0x0800 );  // 2048 sectors for ext LBA
    //infoOut->setMaxBlocksExtended( 0x1000 ); // 4096 sectors for ext LBA

    UInt8 units = 0;
    if ( _devInfo[0].type != kUnknownATADeviceType ) units++;
    if ( _devInfo[1].type != kUnknownATADeviceType ) units++;
    infoOut->setUnits( units );

    return kATANoErr;
}




Let ATAPI device Settings PIO Mode Only (Not USE DMA or UDMA Mode)

 


This may be the nVidia chip problem.

ATAPI device does not support DMA Mode.

If ATAPI device Settings DMA mode. DVD Read/Write Fail.


 

nforce-SATA-DVD-FIX_zpsf13af46e.jpg


 

 

include kext & Source

nForceSATA-DVD-FIX-rev1.zip

  • Like 5
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
 Share

×
×
  • Create New...