Jump to content

Changing PCIRootUID in DSDT?


  • Please log in to reply
6 replies to this topic

#1
XLR

XLR

    2cores1cpu.mov

  • Donators
  • 889 posts
  • Location:חולון

Please help me to change PCIRootUID value in DSDT from 0 to 1, iDon't understand how to do this correctly...

        Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A08"))
            Name (_CID, EisaId ("PNP0A03"))
            Name (_ADR, Zero)
            Method (^BN00, 0, NotSerialized)
            {
                Return (Zero)
            }
            Method (_BBN, 0, NotSerialized)
            {
                Return (BN00 ())
            }
            Name (_UID, Zero)
            Method (_PRT, 0, NotSerialized)
            {
                If (PICM)
                {
                    Return (AR00 ())
                }
                Return (PR00 ())
            }
            OperationRegion (HBUS, PCI_Config, Zero, 0x0100)
            Field (HBUS, DWordAcc, NoLock, Preserve)
            {

Thanks in advance.



#2
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 538 posts
  • Gender:Male

Why do you want it to be 1? As far as I know OS X requires a value of 0.

The required change would be:

Name (_UID, One)


#3
XLR

XLR

    2cores1cpu.mov

  • Donators
  • 889 posts
  • Location:חולון

It says "Name already exists in scope"...

fOmWVF3.png



#4
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 538 posts
  • Gender:Male

If you refer to your screenshot, delete line 1740. _UID is already set in line 1731.


  • XLR likes this

#5
XLR

XLR

    2cores1cpu.mov

  • Donators
  • 889 posts
  • Location:חולון

Yes, it worked! Thanks a lot for your help! :)



#6
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 538 posts
  • Gender:Male

Glad it worked. May I ask why you changed it?



#7
XLR

XLR

    2cores1cpu.mov

  • Donators
  • 889 posts
  • Location:חולון

It's for a new GFX card, the old GT210 was working fine on UID=0 but the new GTX650 needs UID=1.

I know it can be changed in bootloader configuration but i prefer the DSDT route. Thanks again for the help:)







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