Jump to content
InsanelyMac Forum
pandravec

JMicron36X PATA doesn't work after sleep, AHCI does

Recommended 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.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Cool! Do you have a link? Googled and didn't see anything yet.   Never mind... you're quick! I just noticed you updated it on the 1st page THANKS!!!!!!
    • I resolved the problem. Just set this coding in your config.plist:   "
      <key>KextsToPatch</key>
              <array>
                  <dict>
                      <key>Comment</key>
                      <string>USB 10.13.4+ by PMHeart</string>
                      <key>Disabled</key>
                      <false/>
                      <key>Find</key>
                      <data>
                      g32UDw+DlwQAAA==
                      </data>
                      <key>InfoPlistPatch</key>
                      <false/>
                      <key>MatchOS</key>
                      <string>10.13.x</string>
                      <key>Name</key>
                      <string>com.apple.driver.usb.AppleUSBXHCI</string>
                      <key>Replace</key>
                      <data>
                      g32UD5CQkJCQkA==
                      </data>
                  </dict>
              </array>     "
    • New Web Driver - 387.10.10.10.30.107 for 10.13.4 build 17E202
    • I guess having pre{max-height: 500px;overflow: auto;} in CSS was too much for IPS Devs' tast.  Until an admin has hands on this, you still can use stylish plugin to accomplish it.     In fact, it is pretty easy than it appears - Just apply a simple click on the codebox (it will highlight it), then 'delete' key.
    • all the possible frequencyes i have added seems to work fine at the moment, i have added a lot of different frequencyes to support better all kinds of professional applications, inclunding strange sampling rates and goes from 8khz up to 176.4 khz, unfortunately 192 khz does not seems to work even on cards which should support it like the audigy rx, but other frequencyes just works fine and at the moment i have tested only the sound blaster audigy rx and the audigy sb0090 (1st gen audigy) and i can confirm that all the frequencyes from 8khz up to 176.4 khz does work on that card, so i think that such frequencyes should work on all the audigy 2, 2sz, 4 cards as well, tomorrow i will test with my sound blaster live! cards and i will let you know, but here are also some photos (pro tip: use cmd + alt/opton + 4 and then press space to make a screenshot of a single window):


×