Jump to content

DSDT fixes for Gigabyte boards


iSoprano
 Share

1,908 posts in this topic

Recommended Posts

yeah I know i only have C1, probably why I never paid attention to the other part, so after cutting it, looks like:

 

			Method (_CST, 0, NotSerialized)
		{
			Return (Package (0x04)
			{
				0x03, 
				Package (0x04)
				{
					ResourceTemplate ()
					{
						Register (FFixedHW, 
							0x01,			   // Bit Width
							0x02,			   // Bit Offset
							0x0000000000000000, // Address
							0x01,			   // Access Size
							)
					}, 

					One, 
					One, 
					0x03E8
				}
			})
		}

yes?

 

edit: output gives

./dsdt_fixed.txt 75: Return (Package (0x04)

Remark 5048 - ^ Initializer list shorter than declared package length

 

what should that package value be

Link to comment
Share on other sites

yeah I know i only have C1, probably why I never paid attention to the other part, so after cutting it, looks like:

 

			Method (_CST, 0, NotSerialized)
		{
			Return (Package (0x04)
			{
				0x03, 
				Package (0x04)
				{
					ResourceTemplate ()
					{
						Register (FFixedHW, 
							0x01,			   // Bit Width
							0x02,			   // Bit Offset
							0x0000000000000000, // Address
							0x01,			   // Access Size
							)
					}, 

					One, 
					One, 
					0x03E8
				}
			})
		}

yes?

 

Almost, this will work

			Method (_CST, 0, NotSerialized)
		{
			Return (Package (0x02)
			{
				0x01, 
				Package (0x04)
				{
					ResourceTemplate ()
					{
						Register (FFixedHW, 
							0x01,			   // Bit Width
							0x02,			   // Bit Offset
							0x0000000000000000, // Address
							0x01,			   // Access Size
							)
					}, 

					One, 
					One, 
					0x03E8
				}
			})
		}

 

And of course you only need one these under CPU0. CPU1, CPU2 AND CPU3 can refer to it using Alias

Link to comment
Share on other sites

Almost, this will work

			Method (_CST, 0, NotSerialized)
		   {
			   Return (Package (0x02)
			   {
				   0x01, 
				   Package (0x04)
				   {
					   ResourceTemplate ()
					   {
						   Register (FFixedHW, 
							   0x01,			   // Bit Width
							   0x02,			   // Bit Offset
							   0x0000000000000000, // Address
							   0x01,			   // Access Size
							   )
					   }, 

					   One, 
					   One, 
					   0x03E8
				   }
			   })
		   }

 

And of course you only need one these under CPU0. CPU1, CPU2 AND CPU3 can refer to it using Alias

 

So which is correct for the Access Size here you have 0x01 and in the earlier post when changing to the Name CST... kdawg has 0x00 in it.

 

   Name (CST, Package (0x04)
	 {
		 0x03,
		 Package (0x04){ResourceTemplate (){Register (FFixedHW,0x01,0x02,0x0000000000000000,0x00,)},One,One,0x03E8},
		 Package (0x04){ResourceTemplate (){Register (SystemIO,0x08,0x00,0x0000000000000414, ,)},0x02,One,0x01F4},
		 Package (0x04){ResourceTemplate (){Register (SystemIO,0x08,0x00,0x0000000000000415, ,)},0x03,0x55,0xFA}
	 })

Link to comment
Share on other sites

So which is correct for the Access Size here you have 0x01 and in the earlier post when changing to the Name CST... kdawg has 0x00 in it.

 

   Name (CST, Package (0x04)
	 {
		 0x03,
		 Package (0x04){ResourceTemplate (){Register (FFixedHW,0x01,0x02,0x0000000000000000,0x00,)},One,One,0x03E8},
		 Package (0x04){ResourceTemplate (){Register (SystemIO,0x08,0x00,0x0000000000000414, ,)},0x02,One,0x01F4},
		 Package (0x04){ResourceTemplate (){Register (SystemIO,0x08,0x00,0x0000000000000415, ,)},0x03,0x55,0xFA}
	 })

 

Bit 0: Set to 1 if HW-coordinated

Bit 1: Set to 1 if OSPM should use Bus Master avoidance for this C-state

 

That it what Intel Processor Vendor-Specific ACPI says about that value. I think 0 or blank would be correct, blank is what my original SSDT uses. 0 equals blank here.

Link to comment
Share on other sites

Bit 0: Set to 1 if HW-coordinated

Bit 1: Set to 1 if OSPM should use Bus Master avoidance for this C-state

 

That it what Intel Processor Vendor-Specific ACPI says about that value. I think 0 or blank would be correct, blank is what my original SSDT uses.

 

Alright that is what mine used as well so I'll stick with that, thanks.

Link to comment
Share on other sites

All my thanks to all geniuses for sharing your knowledge to us!

Now my hack seems to be perfect one!

 

@mm67,

Could I have a question?

I have everything working with your DSDT.

But when I put HDEF, got slower start up.

Please show me how do you inject sound?

Link to comment
Share on other sites

All my thanks to all geniuses for sharing your knowledge to us!

Now my hack seems to be perfect one!

 

@mm67,

Could I have a question?

I have everything working with your DSDT.

But when I put HDEF, got slower start up.

Please show me how do you inject sound?

 

I use USB audio to avoid such problems :unsure:

Link to comment
Share on other sites

I use USB audio to avoid such problems :)

 

mm67, do you ever get a message like this on boot?

12/10/09 6:19:23 AM	kernel	SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x00, ASC = 0x00, ASCQ = 0x00

It happens whenever I leave a USB drive plugged in on boot. Seems it might be related to USB drives that have embedded unwritable partitions on them. The kind of drives that have the drivers/software built in.

Link to comment
Share on other sites

mm67, do you ever get a message like this on boot?
12/10/09 6:19:23 AM	kernel	SAM Multimedia: READ or WRITE failed, SENSE_KEY = 0x00, ASC = 0x00, ASCQ = 0x00

It happens whenever I leave a USB drive plugged in on boot. Seems it might be related to USB drives that have embedded unwritable partitions on them. The kind of drives that have the drivers/software built in.

 

No, I have never seen a message like that

Link to comment
Share on other sites

Thnx again mm67 for this new insight in dsdt...

I have edited it for my system with audio, video, sata etc.

I can't get the ethernet under pex2 to remove en0 error for time-machine, always compilation error

Is it possible that you can take a look at my dsdt to see how i cant get lan in?

 

 

  Device (LAN)
               {
                   Name (_ADR, Zero)
                   Name (_PRW, Package (0x02)
                   {
                       0x0B, 
                       0x04
                   })
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x04)
                           {
                               "built-in", 
                               Buffer (One)
                               {
                                   0x01
                               }, 

                               "device_type", 
                               Buffer (0x09)
                               {
                                   "ethernet"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)

 

also temps are 3c higher but who care's

shutdown works great

 

T.

dsdt.dsl_mm67_test_thijmus.zip

Link to comment
Share on other sites

Thnx again mm67 for this new insight in dsdt...

I have edited it for my system with audio, video, sata etc.

I can't get the ethernet under pex2 to remove en0 error for time-machine, always compilation error

Is it possible that you can take a look at my dsdt to see how i cant get lan in?

 

 

  Device (LAN)
               {
                   Name (_ADR, Zero)
                   Name (_PRW, Package (0x02)
                   {
                       0x0B, 
                       0x04
                   })
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x04)
                           {
                               "built-in", 
                               Buffer (One)
                               {
                                   0x01
                               }, 

                               "device_type", 
                               Buffer (0x09)
                               {
                                   "ethernet"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)

 

also temps are 3c higher but who care's

shutdown works great

 

T.

 

Try this one

dsdt.dsl.zip

Link to comment
Share on other sites

@mm67, Which one is your usb sound dongle, i would like to get one and also get rid of of those assertion errors from my 889a.

 

Thanks dude

 

I have one of these : http://www.m-audio.com/products/en_us/Transit.html

and my other rig uses this : http://www.terratec.net/en/products/Aureon...MK_II_2120.html

 

If you just want something simple and cheap then I would go for this : http://www.terratec.net/en/products/Aureon...l_USB_9842.html

Link to comment
Share on other sites

I have one of these : http://www.m-audio.com/products/en_us/Transit.html

and my other rig uses this : http://www.terratec.net/en/products/Aureon...MK_II_2120.html

 

If you just want something simple and cheap then I would go for this : http://www.terratec.net/en/products/Aureon...l_USB_9842.html

 

Thanks a bunch, i couldn't get more detailed answer. I will probably go with MKII, m-audio is top-notch but yes, expensive, so MKII would be nice and optimal solution.

Link to comment
Share on other sites

Thanks a bunch, i couldn't get more detailed answer. I will probably go with MKII, m-audio is top-notch but yes, expensive, so MKII would be nice and optimal solution.

 

Just remember that if you use analog connection with MkII then you get only 2-ch output, using digital out should give you 5.1 channels. Now testing new Chameleon ;)

Link to comment
Share on other sites

I have one of these : http://www.m-audio.com/products/en_us/Transit.html

and my other rig uses this : http://www.terratec.net/en/products/Aureon...MK_II_2120.html

 

If you just want something simple and cheap then I would go for this : http://www.terratec.net/en/products/Aureon...l_USB_9842.html

 

Do you get any weird popping with the USB audio devices? I use this from Logitech. I think it's a problem with the speakers itself. I'm not the only one experiencing the problem with this model.

Link to comment
Share on other sites

I have one of these : http://www.m-audio.com/products/en_us/Transit.html

and my other rig uses this : http://www.terratec.net/en/products/Aureon...MK_II_2120.html

 

If you just want something simple and cheap then I would go for this : http://www.terratec.net/en/products/Aureon...l_USB_9842.html

Pretty neat hardware. May I ask where you use it for? Was the audio that slow for you at boot time, or was the quality – or should I say lack there of – a problem for you?

Link to comment
Share on other sites

Pretty neat hardware. May I ask where you use it for? Was the audio that slow for you at boot time, or was the quality – or should I say lack there of – a problem for you?

 

I actually didn't buy these for my Hacks, I bought these when I was trying to find an optimal sound system for my MythTv based htpc system. Terratec one is real nice, it works out of the box on Windows, Linux and OS X, no need to install any drivers on any of those.

Link to comment
Share on other sites

I actually didn't buy these for my Hacks, I bought these when I was trying to find an optimal sound system for my MythTv based htpc system. Terratec one is real nice, it works out of the box on Windows, Linux and OS X, no need to install any drivers on any of those.

 

do you have any sync problems with audio/video playback

 

T.

Link to comment
Share on other sites

 Share

×
×
  • Create New...