Jump to content

fluid | fixed

DSDT fixes for Gigabyte boards


  • Please log in to reply
1905 replies to this topic

#701
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 2,879 posts
  • Gender:Male
  • Location:UK

View Postkeeza, on Dec 7 2009, 08:38 AM, said:

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.

View Postkeeza, on Dec 7 2009, 08:38 AM, said:

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

View Postblackosx, on Dec 7 2009, 08:17 PM, said:

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
  • 2,879 posts
  • Gender:Male
  • Location:UK

View Postkeeza, on Dec 7 2009, 09:30 AM, said:

Looks like I've bricked my install, got too cocky!
How did you manage that?

#704
artimess

artimess

    InsanelyMac Protégé

  • Members
  • PipPip
  • 85 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


View PostMaster Chief, on Dec 7 2009, 05:35 AM, said:

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
  • 23 posts

View Postkeeza, on Dec 7 2009, 01:38 PM, said:

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
  • 85 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

View Postartimess, on Dec 7 2009, 06:57 PM, said:

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

View Postblackosx, on Dec 7 2009, 10:22 PM, said:

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
  • 2,879 posts
  • Gender:Male
  • Location:UK

View Postkeeza, on Dec 7 2009, 07:26 PM, said:

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

View Postkeeza, on Dec 7 2009, 08:26 PM, said:

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
  • 2,879 posts
  • Gender:Male
  • Location:UK

View PostMaster Chief, on Dec 7 2009, 11:24 PM, said:

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.

View PostMaster Chief, on Dec 7 2009, 11:24 PM, said:

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
  • 85 posts

View PostMaster Chief, on Dec 7 2009, 07:40 PM, said:

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
  • 264 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
  • 672 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

View Postmm67, on Dec 8 2009, 03:18 PM, said:

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.

View Postsk1nhead, on Dec 8 2009, 03:45 PM, said:

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
  • 672 posts
  • Gender:Male
  • Location:Finland

View Postsk1nhead, on Dec 8 2009, 05:45 PM, said:

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

View Postmm67, on Dec 8 2009, 11:00 AM, said:

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

View Postmm67, on Dec 8 2009, 05:00 PM, said:

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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