Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,271 posts in this topic

Recommended Posts

i am doing many tries with switchresx but no lucky. For example if i boot always with

 

 

i have lowered pixel clock and tried many combination, more soft, more hard, but nothing, problem is always the same, the same always.

Link to comment
Share on other sites

Hi everyone, 

I had created my USB installer (10.8.3) with the Kogen's tutorial of the first post and yesterday I've installed the tluck's ZIP files to the ESP of my USB, then I've re-installed the system (10.8.3).

As I already had downloaded the 10.9 to an external HD, all that I did was to double click on it, right from the external HD, after check the files, it restarted the computer and I choose the 10.9 installer at the boot.

 

For my surprise, this worked pretty much better. 

 

Now, I have all the applications which require Apple ID working fine. The only things that didn't work yet was the sound, the USB 3.0 and Flash videos just play some seconds and freeze.

What do you recommend for solving that?

I'm afraid to install Extra folder with AppleHDA and things go wrong after reboot... 

 

 

Thanks, Kogen and tluck, and all for the hard work!

 

p.s.: almost forgot to tell you, Brightness control are working perfect with ScrLk to decrease and Pause to increase. I had an issue before, when the screen came off, it always came so bright to the point I should restart to control again. Now, with your help, it's working fine! :D

Link to comment
Share on other sites

@Fabiano_Nomad - it sounds like you did not install the custom kexts from my zip file to your /System/Library/Extensions folder. 

the zip contains kexts for 10.8.5 - i would upgrade to this level and then install the kexts to your HD according to the instructions (kext wizard is a good way). /Extra is not used by clover.

Link to comment
Share on other sites

Clover will inject kexts if they don't exist in /S/L/E but they may conflict and not actually be used. you can certainly leave kexts on ESP and have Clover inject them. There are 2 that conflict with existing kexts: AppleHDA and BroadcomBluetooth.  you can just move these out of /S/L/E to say /Temp and test clover is injecting the alternative kexts. you should have sound then!

Link to comment
Share on other sites

Clover will inject kexts if they don't exist in /S/L/E but they may conflict and not actually be used. you can certainly leave kexts on ESP and have Clover inject them. There are 2 that conflict with existing kexts: AppleHDA and BroadcomBluetooth.  you can just move these out of /S/L/E to say /Temp and test clover is injecting the alternative kexts. you should have sound then!

YEAH!! \o/

 

You're the man! 

 

Now, only left to work USB 3.0, the mini wi-fi card DW 1510 I gave up to try to make it work... Lenovo put some kind of locking which verifies the wi-fi as not original and don't let it work.

Link to comment
Share on other sites

Hmm,

I just updated to Mavericks and now I have some problems. (Using the dsdt from tlucks bundle)

The first one: When I press the "Mute Vol" button, the system freezes. (Manually turning down volume to 0 works)

 

The second one: Sleep does not really work, the Power LED flashes but nothing happens.

 

I looked through the latest posts, but I havent really seen anyone else with this problem.

I installed OSX on my 2nd HDD, maybe that is the problem?

 

Another annoying problem is scrolling. In most apps scrolling works like on windows. But using firefox it doesnt really work, I get this thing, that you also have in windows without drivers. http://0.tqn.com/d/webdesign/1/0/r/H/1/cursor_all-scroll_ie.gif

PS: Does anyone know how this guy got multitouch?

Link to comment
Share on other sites

Yeah i believe there is more multi gesture support than we are taking advantage in the default configuration. Rehabman changed the implementation to be more flexible in the later revs but it may require some mapping changes? I would particularly like to use the swipe left/right thing. i hope someone can figure it out! 

 

Anyway, I reposted a zip today that has a few minor changes since the October version.

 

10-Nov-2013

  • Updated Clover to b2293
  • Made high-res vs low-res config.plist and DSDT more consistent - difference is EDID and DualLink
  • Revised EDID and DSDT for 1600x900 - added 50Mhz option
  • Added folder for Displays/Overrides (for more natural color gamma curves and more screen size options) in this zip

One thing i suggest folks try ... boot with MBR USB instead of UEFI on HD

I have been booting CloverEFI MBR on a USB vs the HD for the last week or so and this seems to resolves a number of the very annoying UEFI issues - but i still get all the benefits of Clover. For example, my system always sleeps vs somes goes in limbo land. It always shuts all the way down. and the mute doesn't total hang it.

 

No other changes as the same EFI/Clover folder is copied to the USB EFI folder... takes about 2 seconds longer but i have a much more stable system. here is how i built the USB: 

 

1) format USB MBR with 1 fat32 partition 

2) install clover like in picture (below)

3) copy/replace /Volumes/USB/EFI/CLOVER with same folder from HD - that is the ESP/EFI/CLOVER

4) in bios, make boot from USB 1st choice - instead of UEFI Cloverx64.efi (2nd choice)

post-954945-0-90674700-1384106919_thumb.png

 

I did a lot of fiddling the EDIDs over the last week. So i think i know definitively why the 1600x900 default EDID was broken. i spent too much time looking at detailed timings and in the end found out what was causing the drastic VRSYNC/buffer hang messages. The problem was  in the EDID "basic timings" section - the built-in AUO EDID had a bogus string. i looked at MAC EDID and the one Lenovo installs for Windows... and could see a pattern!

 

the symptoms were sometime it boots up with white/blank screen. GFX splotches, glitches and stalls were common. Especially when using mission control or moving windows around it would really hang up - sometimes never to recover. well the EDID from LGD for 1600x900 fixed all that --- but know i know why!!! To prove it (3rd Take!) I was able to take the built-in EDID and just change 90 to 80 and everything worked fine - which happened to have 2 sets of detailed timings. So then i decided to rebuild the EDID and add a 2nd set of detailed timings. so now it has 60 and 50 Hz

 

post-954945-0-38229800-1384106648_thumb.png

Built-in EDID from AUO (mfg)

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 af 3e 21 00 00 00 00 21 14
version:         01 04
basic params:    90 1f 11 78 02
 
Lenovo EDID from LCD driver for windows:
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 ae a1 40 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
 
Final working EDID for 14" 1600x900 based on LGD:
 
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 e4 e2 02 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
chroma info:     33 85 99 56 55 91 27 17 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    80 25 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 2:    40 1f 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 3:    00 00 00 fe 00 4c 65 6e 6f 76 6f 0a 20 20 20 20 20 20
descriptor 4:    00 00 00 fe 00 31 36 30 30 78 39 30 30 0a 20 20 20 20
extensions:      00
checksum:        c7
 
Manufacturer: LGD Model 2e2 Serial Number 0
Made week 1 of 2010
EDID version: 1.3
Digital display
Maximum image size: 31 cm x 17 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 96.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
Detailed mode: Clock 80.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
ASCII string: Lenovo
ASCII string: 1600x900
Checksum: 0xc7 (valid)
EDID block does NOT conform to EDID 1.3!
Missing name descriptor
Missing monitor ranges
 
 
 
  • Like 3
Link to comment
Share on other sites

@vapayo - great.  thanks for feedback.

 

the VoodooPS2controller works for 2 finger scrolling by default. but for 3+ fingers, i think there is some keyboard mapping that may have to happen? 

look in the VoodooPSController Plugins folder and there are 3 kexts - the keyboard Info.plist has some swipe settings.

  • Like 1
Link to comment
Share on other sites

@tluck-

I installed latest pack and used your suggestion about MBR USB, and the sleep is much better (perfect so far). The mute problem was resolved with the latest pack, even without MBR USB boot.

Why would this make a difference, booting from an USB? It is loading the same Clover and configuration, right?

Link to comment
Share on other sites

 

Yeah i believe there is more multi gesture support than we are taking advantage in the default configuration. Rehabman changed the implementation to be more flexible in the later revs but it may require some mapping changes? I would particularly like to use the swipe left/right thing. i hope someone can figure it out! 

 

Anyway, I reposted a zip today that has a few minor changes since the October version.

 

10-Nov-2013

  • Updated Clover to b2293
  • Made high-res vs low-res config.plist and DSDT more consistent - difference is EDID and DualLink
  • Revised EDID and DSDT for 1600x900 - added 50Mhz option
  • Added folder for Displays/Overrides (for more natural color gamma curves and more screen size options) in this zip

One thing i suggest folks try ... boot with MBR USB instead of UEFI on HD

I have been booting CloverEFI MBR on a USB vs the HD for the last week or so and this seems to resolves a number of the very annoying UEFI issues - but i still get all the benefits of Clover. For example, my system always sleeps vs somes goes in limbo land. It always shuts all the way down. and the mute doesn't total hang it.

 

No other changes as the same EFI/Clover folder is copied to the USB EFI folder... takes about 2 seconds longer but i have a much more stable system. here is how i built the USB: 

 

1) format USB MBR with 1 fat32 partition 

2) install clover like in picture (below)

3) copy/replace /Volumes/USB/EFI/CLOVER with same folder from HD - that is the ESP/EFI/CLOVER

4) in bios, make boot from USB 1st choice - instead of UEFI Cloverx64.efi (2nd choice)

 

I did a lot of fiddling the EDIDs over the last week. So i think i know definitively why the 1600x900 default EDID was broken. i spent too much time looking at detailed timings and in the end found out what was causing the drastic VRSYNC/buffer hang messages. The problem was  in the EDID "basic timings" section - the built-in AUO EDID had a bogus string. i looked at MAC EDID and the one Lenovo installs for Windows... and could see a pattern!

 

the symptoms were sometime it boots up with white/blank screen. GFX splotches, glitches and stalls were common. Especially when using mission control or moving windows around it would really hang up - sometimes never to recover. well the EDID from LGD for 1600x900 fixed all that --- but know i know why!!! To prove it (3rd Take!) I was able to take the built-in EDID and just change 90 to 80 and everything worked fine - which happened to have 2 sets of detailed timings. So then i decided to rebuild the EDID and add a 2nd set of detailed timings. so now it has 60 and 50 Hz

 

attachicon.gifScreen Shot 2013-11-10 at 12.47.56 PM.png

Built-in EDID from AUO (mfg)

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 af 3e 21 00 00 00 00 21 14
version:         01 04
basic params:    90 1f 11 78 02
 
Lenovo EDID from LCD driver for windows:
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 ae a1 40 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
 
Final working EDID for 14" 1600x900 based on LGD:
 
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 e4 e2 02 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
chroma info:     33 85 99 56 55 91 27 17 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    80 25 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 2:    40 1f 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 3:    00 00 00 fe 00 4c 65 6e 6f 76 6f 0a 20 20 20 20 20 20
descriptor 4:    00 00 00 fe 00 31 36 30 30 78 39 30 30 0a 20 20 20 20
extensions:      00
checksum:        c7
 
Manufacturer: LGD Model 2e2 Serial Number 0
Made week 1 of 2010
EDID version: 1.3
Digital display
Maximum image size: 31 cm x 17 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 96.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
Detailed mode: Clock 80.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
ASCII string: Lenovo
ASCII string: 1600x900
Checksum: 0xc7 (valid)
EDID block does NOT conform to EDID 1.3!
Missing name descriptor
Missing monitor ranges
 
 
 

 

Hi, i want make another try, can you pass me a new edid with these fixes?

Do you have changed only panel size and timing? Because i think to have make already these tries..

Link to comment
Share on other sites

ok so to make use of 3+ finger swipes was very easy. the swipes will send certain key strokes and all you have to do is map them to something using the system keyboard prefs. it took me longer to finger out how to swipe on the small pad. left/right swipe are best detected by touching 3 fingers and swipe in the direction fingers are pointing vs sliding hand sideways.  from his notes:

  • Swipe Up, Down, Left, Right are now assigned by default to the following keyboard combinations: Control+Command+UpArrow, Control+Command+DownArrow, Control+Command+LeftArrow, Control+Command+RightArrow. This should work better with international keyboards. You will need to use System Preferences -> Keyboard -> Keyboard Shortcuts to adjust to assign these keys to your desired actions. If you were using three finger swipe left and right for back/forward in your web browser, you will need to reconfigure these actions via the Info.plist or use a program like KeyRemap4MacBook to remap the keys generated to the keys used by your browser for forward/back (that's what I plan to do).

I chose to change what keys the swipes send in Info.plist. i just changed left/right swipe to match Command+[ and Command+] which are what Safari and Finder use for Back/Forward.

i changed Info.plist here: 

/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents

from

$ diff Info.plist Info.orig.plist 

56c56

< <string>37 d, 21 d, 21 u, 37 u</string>

---

> <string>3b d, 37 d, 7b d, 7b u, 37 u, 3b u</string>

58c58

< <string>37 d, 1e d, 1e u, 37 u</string>

---

> <string>3b d, 37 d, 7c d, 7c u, 37 u, 3b u</string>

  • Like 2
Link to comment
Share on other sites

@smith@@ - well here is a generated EDID 17" 1600x900 you could try. i took your EDID and then plugged in the timings from my EDID keeping your panel sizes for 17" .

 

00FFFFFFFFFFFF000DAF1917000000000513010380261678EA08059D5853972915505400000001010101010101010101010101010101F82A409A61840C30402A33007ED710000018000000000000000000000000000000000000000000FE003137222031363030783930300A0000000000000000000000000000000000000041

__________________________________________________________________________________________
EDID Block 0, Bytes 0-127
128 BYTES OF EDID CODE:
         0   1   2   3   4   5   6   7   8   9
      ________________________________________
  0  |  00  FF  FF  FF  FF  FF  FF  00  0D  AF
 10  |  19  17  00  00  00  00  05  13  01  03
 20  |  80  26  16  78  EA  08  05  9D  58  53
 30  |  97  29  15  50  54  00  00  00  01  01
 40  |  01  01  01  01  01  01  01  01  01  01
 50  |  01  01  01  01  F8  2A  40  9A  61  84
 60  |  0C  30  40  2A  33  00  7E  D7  10  00
 70  |  00  18  00  00  00  00  00  00  00  00
 80  |  00  00  00  00  00  00  00  00  00  00
 90  |  00  00  00  FE  00  31  37  22  20  31
100  |  36  30  30  78  39  30  30  0A  00  00
110  |  00  00  00  00  00  00  00  00  00  00
120  |  00  00  00  00  00  00  00  41
______________________________________________________________________
(08-09)  ID Manufacturer Name ________________  = CMO
(11-10)  Product ID Code _____________________  = 1719
(12-15)  Last 5 Digits of Serial Number ______  = Not Used
(16)     Week of Manufacture _________________  = 05
(17)     Year of Manufacture _________________  = 2009
(10-17)  Complete Serial Number ______________  = See Descriptor Block
(18)     EDID Version Number _________________  = 1
(19)     EDID Revision Number ________________  = 3
(20)     VIDEO INPUT DEFINITION:
         Digital Signal
         Non - VESA DFP 1.x Compatible                        
                        
(21)     Maximum Horizontal Image Size ________________    =  380 mm
(22)     Maximum Vertical Image Size __________________    =  220 mm
(23)     Display Gamma ________________________________    =  2.20
(24)     Power Management and Supported Feature(s):
         Stand-By, Suspend, Active Off/Very Low Power, 
         Preferred Timing Mode
         Display Type = R/G/B Color
(25-34)  CHROMA INFO:
         Red X - 0.613 Green X - 0.326 Blue X - 0.160 White X - 0.313
         Red Y - 0.344 Green Y - 0.590 Blue Y - 0.082 White Y - 0.329
(35)     ESTABLISHED TIMING I:
(36)     ESTABLISHED TIMING II:
(37)     Manufacturer's Reserved Timing:
           None Specified
(38-53)  Standard Timing Identification:
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
         Not Used
______________________________________________________________________
(54-71) Detailed Timing / Descriptor Block 1:
                  1600x900  Pixel Clock: 110.00 MHz
______________________________________________________________________
         Horizontal Image Size: 382 mm     Vertical Image Size: 215 mm
         Refreshed Mode: Non-Interlaced    Normal Display - No Stereo
 
Horizontal:
         Active Time: 1600 pixels          Blanking Time: 410 pixels
         Sync Offset: 64 pixels            Sync Pulse Width: 42 pixels
         Border: 0 pixels                  Frequency: 54.73 KHz
 
Vertical:
         Active Time: 900 lines            Blanking Time: 12 lines
         Sync Offset: 3 lines              Sync Pulse Width: 3 lines
         Border: 0 lines                   Frequency: 60.01 Hz
 
Digital Separate, Horizontal Polarity (-) Vertical Polarity (-)
 
 
______________________________________________________________________
(72-89) Detailed Timing / Descriptor Block 2:
 
         
 
 
______________________________________________________________________
(90-107) Detailed Timing / Descriptor Block 3:
 
         ASCII Data:
         17" 1600x900
 
 
______________________________________________________________________
(108-125) Detailed Timing / Descriptor Block 4:
 
         
 
 
(126)    
(127)                       
  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...