Contribute
Register

Lenovo T460s - El Capitan

Status
Not open for further replies.
do your buttons (near nob) do left/right click properly? mine all do left click. the ClickPad is fine. just the 3 actual buttons.

anyway, I added some code for this ClickPad in VoodooPS2Controller.kext (TrackPad) to do the left/right click for those buttons.
 
Last edited:
do your buttons (near nob) do left/right click properly? mine all do left click. the ClickPad is fine. just the 3 actual buttons.

anyway, I added some code for this ClickPad in VoodooPS2Controller.kext (TrackPad) to do the left/right click for those buttons.

I like to use the trackpoint, so I'm using this fork of the VoodooPS2Controller -> https://github.com/jcsnider/OS-X-Voodoo-PS2-Controller
 
do your buttons (near nob) do left/right click properly? mine all do left click. the ClickPad is fine. just the 3 actual buttons.

anyway, I added some code for this ClickPad in VoodooPS2Controller.kext (TrackPad) to do the left/right click for those buttons.
I'm using the latest version of voodoops2controller, and it's working oob
 
nice. yeah good idea to not hard code the devices as in my barebones script.

nabisco - i was bringing down en0 (ethernet) too for the heck of. my wifi (not BT) is on en1. but i will update my script to determine the devices! Note: with the combo card, the wifi shows ups as a PCI device and BT shows up as a USB

Just disabling/enabling wifi didn't seem to work for me. Now I unload/load the following in rc.sleep/rc.wakeup

com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
com.apple.iokit.IOBluetoothHostControllerUSBTransport

Seem to work so far, monitoring if there're side effects...

BTW, what "sleepenabler" you guys using? I'm using sleepwatcher -> http://www.bernhard-baehr.de, works fine, don't need another kext..
 
@nabisco - yup. that the sleep enabler i am using too.can you share your final scripts? maybe i should try the kext unload thing. otherwise still getting a stuck BT on occasion - but as often.

#!/bin/bash

ethd=$( networksetup -listallhardwareports | awk '$3=="Ethernet" {getline; print $2}')
wifi=$( networksetup -listallhardwareports | awk '$3=="Wi-Fi" {getline; print $2}')


ifconfig $ethd down
networksetup -setairportpower $wifi off

exit
 
here is VoodooPS2Controller based on RehabMan's v1.8.24 - but adapted for newer clickPad with buttons - i.e. the T460.
feel free to test out!

Note: i inject some PS2K properties to indentify the system as LENOVO T460 which then picks up on a few default overrides in the TrackPad kext etc (for example, slow down the button etc)

attachement removed - current files on are posted on another other location now

$cat SSDT-PS2K-T460.dsl

// tjl - add T460 identifier
DefinitionBlock ("", "SSDT", 2, "PS2K", "T460", 0)
{
External(\_SB.PCI0, DeviceObj)
External(\_SB.PCI0.LPC, DeviceObj)

External(\_SB.PCI0.LPC.PS2K, DeviceObj)
Scope (\_SB.PCI0.LPC.PS2K)
{
// Select specific items in VoodooPS2Controller
Method(_DSM, 4)
{
If (!Arg2) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"RM,oem-id", "LENOVO",
"RM,oem-table-id", "T460",
})
}
}
}
//EOF

 
Last edited:
here is VoodooPS2Controller based on RehabMan's v1.8.24 - but adapted for newer clickPad with buttons - i.e. the T460.
feel free to test out!

Note: i inject some PS2K properties to indentify the system as LENOVO T460 which then picks up on a few default overrides in the TrackPad kext etc (for example, slow down the button etc)

$cat SSDT-PS2K-T460.dsl

// tjl - add T460 identifier
DefinitionBlock ("", "SSDT", 2, "PS2K", "T460", 0)
{
External(\_SB.PCI0, DeviceObj)
External(\_SB.PCI0.LPC, DeviceObj)

External(\_SB.PCI0.LPC.PS2K, DeviceObj)
Scope (\_SB.PCI0.LPC.PS2K)
{
// Select specific items in VoodooPS2Controller
Method(_DSM, 4)
{
If (!Arg2) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"RM,oem-id", "LENOVO",
"RM,oem-table-id", "T460",
})
}
}
}
//EOF

Do you have a github fork showing your changes?
 
can you share your final scripts?

In my rc.sleep, I added:
kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
kextunload -b com.apple.iokit.IOBluetoothHostControllerUSBTransport

then in rc.wakeup, I added:
kextload -b com.apple.iokit.IOBluetoothHostControllerUSBTransport
kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport

When I run kextstat, I see that the kext were not really unloaded/loaded, but somehow I have bluetooth back consistently after short sleep, still have problem after long sleep....

Anyway, found I have a faulty RAM ... random reboots, and confirmed by running Lenovo's diagnostic from BIOS ... very disappointing to encounter this on brand new hardware :( . Now I can't trust anything I downloaded/compiled... gonna start over once I get it replaced.
 
i got my T460 fairly far along the Hack path over the last 2 weeks. i will post my results and the beginning of a guide on another famous hack website soon... but i wanted post what i know and what i can learn from others that have been working on the T460 longer. (about 2-3 weeks on/off for me)

I leveraged 3 sources:
1) Rehabman's work - kexts and methods for HP Probook 4x0 G3 Skylake
2) shmilee's work on T450
3) my work on T420

using Clover and my dsdt is partly patched with some fixes with patchmatic and the rest are SSDT hot patches.

one key is/was using EmuVariable-64.efi..

major things working:
Ethernet
USB3 ports all working
trackpad - VoodooPS2
panel backlight - intelBacklight
battery - has 2 batteries - so combined using BATC method.
audio with VoodooHDA.
sleep/wake - had to create a patch for lid close to initiate sleep (modified method _Q2B)

a few things to go:
1) full gfx not there yet - so not using IntelAcellerators. don't know what the DVMT pre-allocated memory is set to?
2) replace VoodooHDA with AppleHDA.
3) replace wifi/bt card - using USB for now.

Hello, how do you use EmuVariable-64.efi ??

I'm trying to Hackinstosh T460 but still I cannot, by the moment I'm in "waiting for dsmos".
 
Status
Not open for further replies.
Back
Top