Jump to content

DSDT fixes for Gigabyte boards


  • Please log in to reply
1908 replies to this topic

#701
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,160 posts
  • Gender:Male
  • Location:UK

If I run lspci the only unknown device I get is
01:00.0 VGA compatible controller [0300]: nVidia Corporation Unknown device [10de:0615] (rev a2)

Under lspci before sleep I get about 12.

Yeah, my previous post was from reading my 'lspci-before-sleep' too.
The unknown devices I have appear after Subsystem:

The 'lspci-before-sleep' output doesn't show the Subsystem field.

Maybe I need to install Lynx?

I haven't installed Lynx, only the lspci with myhack lspci installer.

#702
keeza

keeza

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Sydney Australia

Yeah, my previous post was from reading my 'lspci-before-sleep' too.
The unknown devices I have appear after Subsystem:

The 'lspci-before-sleep' output doesn't show the Subsystem field.


I haven't installed Lynx, only the lspci with myhack lspci installer.


Looks like I've bricked my install, got too cocky!

#703
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,160 posts
  • Gender:Male
  • Location:UK

Looks like I've bricked my install, got too cocky!

How did you manage that?

#704
artimess

artimess

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
Thanks Master Chief I do appreciate your fast reply, I am truly grateful for your generosity of sharing your knowledge and know how with us.
Artimess


Here ya go:

OperationRegion (LPC0, PCI_Config, 0x80, 0x75)Field (LPC0, AnyAcc, NoLock, Preserve){    IOD0,   8,    IOD1,   8,            Offset (0x08),		// 0x88    Z000,   1,            Offset (0x20),		// 0xA0        ,   10,    XPME,   1,            Offset (0x24),		// 0xA4    AG3E,   1,            Offset (0x70),		// 0xF0    RAEN,   1,        ,   13,    RCBA,   18}


Got it. I also have 0 now. The darn thing didn't load the latest version since I had two of them.



#705
SunKi

SunKi

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

tried it - I get a download failed error (see attached pic)

Maybe I need to install Lynx?


You must do thus:

sudo update-pciids

#706
artimess

artimess

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
Master Chief,
In your code I have the following:
Name (GCSA, 0x042F57) // Default Base Address (0x03FB47) + Offset (0x3410).   OperationRegion (GCSR, SystemMemory, GCSA, One) // General Control and Status Register (ICH9R-316972.pdf / 10.1.75 / page 385)    Field (GCSR, ByteAcc, NoLock, Preserve)    {        FLRC,   8    }

Could you please tell me where should I look to get my SystemMemory Default Base address?

Thanks in Advance,
Artimess,
PS:I apologize for my simplistic (dumb) questions.

#707
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

Master Chief,
In your code I have the following:

Name (GCSA, 0x042F57) // Default Base Address (0x03FB47) + Offset (0x3410).   OperationRegion (GCSR, SystemMemory, GCSA, One) // General Control and Status Register (ICH9R-316972.pdf / 10.1.75 / page 385)    Field (GCSR, ByteAcc, NoLock, Preserve)    {        FLRC,   8    }

Could you please tell me where should I look to get my SystemMemory Default Base address?

Thanks in Advance,
Artimess,
PS:I apologize for my simplistic (dumb) questions.

Oh. I thought to have removed it. I used it for testing only. Anyway. Replace this:
RAEN, 1,
, 13,
RCBA, 18
with:
RCBA,   32

And dump it with:
Method (_DSM, 4, NotSerialized)
{
	Store (Package (0x02)
	{
		"RCBA",
		 RCBA
	}, Local0)
	MCDP (Arg2, RefOf (Local0))
	Return (Local0)
}
In say Device (LPCB). Now reboot and look at the value. A bit cumbersome (clumsy) maybe, I know, but a lot easier than getting a debug kernel to work ;)

#708
keeza

keeza

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Sydney Australia

How did you manage that?


By tinkering with the info.plist contained within GeforceGa kext... ;)

I have my Leopard install and a backup partition to recover from so all should be sweet.

#709
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,160 posts
  • Gender:Male
  • Location:UK

I have my Leopard install and a backup partition to recover from so all should be sweet.

Quite right....That's good build practice :)
And good advice for anyone here who hasn't got one.

#710
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

By tinkering with the info.plist contained within GeforceGa kext... :)

I have my Leopard install and a backup partition to recover from so all should be sweet.

Wait! Are you going to restore, from a backup/second drive, just because one single file (this Info.plist) is broken? Nah. There must be more to it. Right?

Edit: DSDT V3.3 has been released a few minutes ago. Another 1005 bytes down the drain.

#711
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,160 posts
  • Gender:Male
  • Location:UK

Wait! Are you going to restore, from a backup/second drive, just because one single file (this Info.plist) is broken? Nah. There must be more to it. Right?

I read it as he was just going to boot in to his backup partition and copy the original file back, not a full restore.

Edit: DSDT V3.3 has been released a few minutes ago. Another 1005 bytes down the drain.

Fantastic. Even more good work, again. Thank you :wacko:

#712
artimess

artimess

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts

Oh. I thought to have removed it. I used it for testing only. Anyway. Replace this:

RAEN, 1,
 , 13,
 RCBA, 18
with:
RCBA,   32

And dump it with:
Method (_DSM, 4, NotSerialized)
 {
	 Store (Package (0x02)
	 {
		 "RCBA",
		  RCBA
	 }, Local0)
	 MCDP (Arg2, RefOf (Local0))
	 Return (Local0)
 }
In say Device (LPCB). Now reboot and look at the value. A bit cumbersome (clumsy) maybe, I know, but a lot easier than getting a debug kernel to work :)

Master Chief,
Thanks to the hints I got from you, I fixed my dsdt and it works fine. My biggest problem was how to consolidate your newly defined OperationRegions of yours with mine. Ones again many thanks for your help.
Artimess

#713
kdawg

kdawg

    InsanelyMac Legend

  • Donators
  • 508 posts
  • Gender:Male
  • Location:Boston, MA
So I was poking around the web researching OS X SMC keys and what their functions might be. I came across these links.

Link 1
Link 2

They speculate that LSSB, LSOF, LSSS and MSDW are related to halt, restart and setting power states. I can also see that Netkas includes these keys in his fakesmc.kext but it's not completely obvious what they do.

Does anyone have any insight on this?

#714
anibalin

anibalin

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 278 posts
@kdawg thats interesting. That could explain why dsmos was more friendly with shutdown/restart. Ever after fakesmc things have been more bumpy in that sense.

#715
mm67

mm67

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 673 posts
  • Gender:Male
  • Location:Finland
What is the current status of using an Apple keyboard or a USB2.0 hub connected mouse or keyboard for wake up ?

#716
sk1nhead

sk1nhead

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Location:Manila

What is the current status of using an Apple keyboard or a USB2.0 hub connected mouse or keyboard for wake up ?


at least on my end and the few others who posted here, still NO wake up by pressing any key on Apple Wired Aluminum KB slim (w/o number keys) and extended only, older apple keyboard's are fine..

note: Gigabyte mobo only.

#717
asadev

asadev

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
Same here with the extended alu keyboard.

at least on my end and the few others who posted here, still NO wake up by pressing any key on Apple Wired Aluminum KB slim (w/o number keys) and extended only, older apple keyboard's are fine..

note: Gigabyte mobo only.



#718
mm67

mm67

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 673 posts
  • Gender:Male
  • Location:Finland

at least on my end and the few others who posted here, still NO wake up by pressing any key on Apple Wired Aluminum KB slim (w/o number keys) and extended only, older apple keyboard's are fine..

note: Gigabyte mobo only.


I just got mine working. I got so interested in why USB2.0 hubs wouldn't work that I went out to buy one :whistle: Now I can wake up using both my aluminium keyboard and a mouse connected to powered USB2.0 hub.

#719
kdawg

kdawg

    InsanelyMac Legend

  • Donators
  • 508 posts
  • Gender:Male
  • Location:Boston, MA

I just got mine working. I got so interested in why USB2.0 hubs wouldn't work that I went out to buy one :D Now I can wake up using both my aluminium keyboard and a mouse connected to powered USB2.0 hub.


Is it the hub that lets you wake via the keyboard of some DSDT patch?

#720
sk1nhead

sk1nhead

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Location:Manila

I just got mine working. I got so interested in why USB2.0 hubs wouldn't work that I went out to buy one :D Now I can wake up using both my aluminium keyboard and a mouse connected to powered USB2.0 hub.


WOW! so your aluminum KB is working just by plugging it on a USB hub? mind showing a pic of that 'special' hub hehe? i have two 4-port hub here (Belkin and a chinese brand) and both of them don't work..

i have no problem waking from a wired mouse though may it be connected to a hub or directly to my machine.





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