Jump to content
InsanelyMac Forum
Sign in to follow this  
XmodD

|Help| Trackpoint PS2 unload after sleep

Recommended Posts

I am using a ThinkPad x121e After Sleep my Trackpint is unloaded.

Can maybe someone tell me that I have to change so it is loaded like my keyboard again?

 

Is it maybe an IRQ conflict?

 

Device (PS2M)
		    {
			    Name (_HID, EisaId ("LEN0026"))
			    Name (_CID, EisaId ("PNP0F13"))
			    Name (_CRS, ResourceTemplate ()
			    {
				    IRQ (Edge, ActiveHigh, Exclusive, )
					    {12}
			    })
			    Name (_PRS, ResourceTemplate ()
			    {
				    StartDependentFn (0x00, 0x00)
				    {
					    IRQNoFlags ()
						    {12}
				    }
				    EndDependentFn ()
			    })
			    Method (MHID, 0, NotSerialized)
			    {
				    Store (0x1700AE30, _HID)
			    }
		    }

Share this post


Link to post
Share on other sites
Advertisement

Let´s begin adding the _STA method your are missing.

 

Device (PS2M)
						{
								Name (_HID, EisaId ("LEN0026"))
								Name (_CID, EisaId ("PNP0F13"))
								Method (_STA, 0, NotSerialized)
						   	 {
	   							   Return (0x0F)
								 }
								Name (_CRS, ResourceTemplate ()
								{
										IRQ (Edge, ActiveHigh, Exclusive, )
												{12}
								})
								Name (_PRS, ResourceTemplate ()
								{
										StartDependentFn (0x00, 0x00)
										{
												IRQNoFlags ()
														{12}
										}
										EndDependentFn ()
								})
								Method (MHID, 0, NotSerialized)
								{
										Store (0x1700AE30, _HID)
								}
						}

Share this post


Link to post
Share on other sites

OK I added

Method (_STA, 0, NotSerialized)

!!! OS X loads but after using the ps2 keyboard trackpoint/pad stopps working. Do u have an idea why they are stopping working? I was looking to other ThinkPad DSDTs they do not have

Device

 

(

PS2M

) etc.

 

 

 

How do they load theor PS2 dev? ???

 

 

thx

 

 

My dev:

 

 Device (PS2K)
		    {
			    Name (_HID, EisaId ("PNP0303"))
			    Name (_CRS, ResourceTemplate ()
			    {
				    IO (Decode16,
					    0x0060,			 // Range Minimum
					    0x0060,			 // Range Maximum
					    0x01,			   // Alignment
					    0x01,			   // Length
					    )
				    IO (Decode16,
					    0x0064,			 // Range Minimum
					    0x0064,			 // Range Maximum
					    0x01,			   // Alignment
					    0x01,			   // Length
					    )
				    IRQ (Edge, ActiveHigh, Exclusive, )
					    {12}
			    })
			    Name (_PRS, ResourceTemplate ()
			    {
				    StartDependentFn (0x00, 0x00)
				    {
					    FixedIO (
						    0x0060,			 // Address
						    0x01,			   // Length
						    )
					    FixedIO (
						    0x0064,			 // Address
						    0x01,			   // Length
						    )
					    IRQNoFlags ()
						    {12}
				    }
				    EndDependentFn ()
			    })
			    Method (_DSM, 4, NotSerialized)
			    {
				    Store (Package (0x02)
					    {
						    "AAPL,has-embedded-fn-keys",
						    Buffer (0x04)
						    {
							    0x01, 0x00, 0x00, 0x00
						    }
					    }, Local0)
				    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				    Return (Local0)
			    }
		    }
		    Device (PS2M)
		    {
			    Name (_HID, EisaId ("LEN0026"))
			    Name (_CID, EisaId ("PNP0F13"))
			    Method (_STA, 0, NotSerialized)
			    {
				    Return (0x0F)
			    }
			    Name (_CRS, ResourceTemplate ()
			    {
				    IRQ (Edge, ActiveHigh, Exclusive, )
					    {12}
			    })
			    Name (_PRS, ResourceTemplate ()
			    {
				    StartDependentFn (0x00, 0x00)
				    {
					    IRQNoFlags ()
						    {12}
				    }
				    EndDependentFn ()
			    })
			    Method (MHID, 0, NotSerialized)
			    {
				    Store (0x1700AE30, _HID)
			    }
		    }

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



×