Jump to content

JMicron36X PATA doesn't work after sleep, AHCI does

PATA Sleep Jmicron

  • Please log in to reply
No replies to this topic

#1
pandravec

pandravec

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Hi, i would appreciate some help, after many hours I'm definitely lost. I have PCIe sata card with Jmicron363 chip which has both PATA and SATA ports. The SATA ports work with King's FIX for AHCI mode with AppleAHCIPort.kext and also the PATA port works with JMicronATA.kext.

lspci looks like this:

0b:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 03)
0b:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 03)

, but after the wake from sleep, it seems that the PATA port looses power (or maybe only IDE Timing) and is gone and only restart reenables the IDE device:

0b:00.0 SATA controller [0106]: JMicron Technology Corp. 20360/20363 Serial ATA Controller [197b:2363] (rev 03)
0b:00.1 Unknown class [ffff]: Illegal Vendor ID Unknown device [ffff:ffff] (rev ff)


In _WAK method i store values back to SATA port (JM0) to reenable AHCI, maybe I only need to know the right values for IDE port, but I could't find JMicron datasheet anywhere.

Store (0xB3, \_SB.PCI0.P0PA.EHUB.DPT5.JM0.M1)
Store (0xA1, \_SB.PCI0.P0PA.EHUB.DPT5.JM0.M2)
Store (0xC2, \_SB.PCI0.P0PA.EHUB.DPT5.JM0.M3)


Message in kernel log:
kernel[0]: pci restore waited for JM1 fail

Thank you.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy