Jump to content

|Help| Trackpoint PS2 unload after sleep


  • Please log in to reply
2 replies to this topic

#1
XmodD

XmodD

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male
  • Location:Germany Cologe
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)
				    }
			    }


#2
pere

pere

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 718 posts
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)
									}
							}


#3
XmodD

XmodD

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male
  • Location:Germany Cologe
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)
				    }
			    }






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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