Jump to content

GIGABYTE amd board EHCI and UHCI


sirbow2
 Share

5 posts in this topic

Recommended Posts

ok so im patching this dsdt for the usual fixes found in DSDTSE. the gigabyte board has USB0-6 and i deleted 5 + 6 because there were no intel dev ids for them? should i put them back?

DeviceIDs

Intel

USB1 - 0x2830

USB2 - 0x2831

USB3 - 0x2832

USB4 - 0x2834

USB5 - 0x2835

EHC1 - 0x2836

EHC2 - 0x283a

 

but their is not UHCI or ECHI to be found. without a patch for it, the usb devices act up. should i add intel gigabyte EHCI and UHCI? i got another gigbyte AMD DSDT just to look at and it didnt have UHCI or EHCI either.

Link to comment
Share on other sites

ok while i waiting for a reply i put EHCI UHCI and UHC0-6 from my other mobo in keeping the paths ofc. ex (0x00140001) the usb stuff was made by MC (Masterchief) should i go back or should i keep it as is?

 

original with ID injected:

			Device (USB6)
		{
			Name (_ADR, 0x00140005)
			Name (_PRW, Package (0x02)
			{
				0x0B, 
				0x03
			})
			Method (_S3D, 0, NotSerialized)
			{
				If (LEqual (OSFL, 0x02))
				{
					Return (0x02)
				}
				Else
				{
					Return (0x03)
				}
			}

			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x0f)
					{
						"device-id",
						Buffer (0x04)
						{
							0x34, 0x3A, 0x35, 0x28  //the values below
						},
						"AAPL,clock-id",   // property needed for sleep support
						Buffer (One)
						{
							0x0a  
						},

							"built-in",
							Buffer ()
							{
									0x00
							},

						  "device_type",   //not sure it is useful
						  Buffer (0x05)
						  {
							  "EHCI"
						  },


						"AAPL,current-available",
						0x04B0,
						"AAPL,current-extra",
						0x02BC,
						"AAPL,current-in-sleep",  // to solve a problem with sleep when stick is inserted
						0x03E8,

						Buffer (0x01)
						{
							0x00
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}
		}

 

OR

 

stuff from MC /My 890gpa-ud3h DSDT

Device (UHC6)
		{
			Name (_ADR, 0x00140005)
			OperationRegion (BAR0, PCI_Config, 0xC4, One)
			Field (BAR0, ByteAcc, NoLock, Preserve)
			{
				USBW,   2, 
						Offset (0x01)
			}

			Method (_S3D, 0, NotSerialized)
			{
				Return (0x02)
			}

			Method (_PSW, 1, NotSerialized)
			{
				If (Arg0)
				{
					Store (0x03, USBW)
				}
				Else
				{
					Store (Zero, USBW)
				}
			}

			Name (_PRW, Package (0x02)
			{
				0x20, 
				0x04
			})
			Method (_DSM, 4, NotSerialized)
			{
				Return (MCID (Arg2, 0x3A39))
			}
		}

		Device (EHCI)
		{
			Name (_ADR, 0x001D0007)
			OperationRegion (PMCS, PCI_Config, 0x54, 0x02)
			Field (PMCS, WordAcc, NoLock, Preserve)
			{
					,   15, 
				PMES,   1
			}

			OperationRegion (PWCR, PCI_Config, 0x62, 0x02)
			Field (PWCR, AnyAcc, NoLock, Preserve)
			{
				URE2,   9
			}

			Method (_PSW, 1, NotSerialized)
			{
				If (LEqual (Arg0, Zero))
				{
					Store (Zero, URE2)
				}

				If (LEqual (Arg0, One))
				{
					Store (0x01FF, URE2)
				}
			}

			Name (_PRW, Package (0x02)
			{
				0x0D, 
				0x03
			})
			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x04)
					{
						"device-id", 
						Buffer (0x04)
						{
							0x3A, 0x29, 0x00, 0x00
						}, 

						"AAPL,clock-id", 
						Buffer (One)
						{
							0x01
						}
					}, Local0)
				MCDP (Arg2, RefOf (Local0))
				Return (Local0)
			}
		}

		Device (UHCI)
		{
			Name (_ADR, 0x001A0007)
			OperationRegion (PMCS, PCI_Config, 0x54, 0x02)
			Field (PMCS, WordAcc, NoLock, Preserve)
			{
					,   15, 
				PMES,   1
			}

			OperationRegion (PWCR, PCI_Config, 0x62, 0x02)
			Field (PWCR, AnyAcc, NoLock, Preserve)
			{
				URE2,   9
			}

			Method (_PSW, 1, NotSerialized)
			{
				If (LEqual (Arg0, Zero))
				{
					Store (Zero, URE2)
				}

				If (LEqual (Arg0, One))
				{
					Store (0x01FF, URE2)
				}
			}

			Name (_PRW, Package (0x02)
			{
				0x0D, 
				0x03
			})
			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x04)
					{
						"device-id", 
						Buffer (0x04)
						{
							0x3C, 0x29, 0x00, 0x00
						}, 

						"AAPL,clock-id", 
						Buffer (One)
						{
							0x02
						}
					}, Local0)
				MCDP (Arg2, RefOf (Local0))
				Return (Local0)
			}
		}

Link to comment
Share on other sites

EHCI

 

use

 

"AAPL,clock-id",

Buffer (One)

{

0x01

}

 

and

 

"AAPL,clock-id",

Buffer (One)

{

0x02

}

 

Only

try it

 

IDs Intel in AMD not solves

Link to comment
Share on other sites

Device (EHCI)
		{
			Name (_ADR, 0x001D0007)
			OperationRegion (PMCS, PCI_Config, 0x54, 0x02)
			Field (PMCS, WordAcc, NoLock, Preserve)
			{
					,   15, 
				PMES,   1
			}

			OperationRegion (PWCR, PCI_Config, 0x62, 0x02)
			Field (PWCR, AnyAcc, NoLock, Preserve)
			{
				URE2,   9
			}

			Method (_PSW, 1, NotSerialized)
			{
				If (LEqual (Arg0, Zero))
				{
					Store (Zero, URE2)
				}

				If (LEqual (Arg0, One))
				{
					Store (0x01FF, URE2)
				}
			}

			Name (_PRW, Package (0x02)
			{
				0x0D, 
				0x03
			})
			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x04)
					{
						"AAPL,clock-id", 
						Buffer (One)
						{
							0x01
						}

						"AAPL,clock-id", 
						Buffer (One)
						{
							0x02
						}
					}, Local0)
				MCDP (Arg2, RefOf (Local0))
				Return (Local0)
			}
		}

same for uhci, remove dev id, add aapl

 

liek that right?

 

and then the UHCI and UHC0-6 Devies too?

Link to comment
Share on other sites

 Share

×
×
  • Create New...