Contribute
Register

HP Probook 4540s.....

Status
Not open for further replies.
What I'm doing wrong? Can you help me with this questions:
1. Should I delete all partion before installing, what file system should be? Could be the problem in HDD - I have 750 Gb.
2. What about virtualisation, should it be on or it does not metter? I can load defaults and what is needed to change in Bios, except videocard?
3. What is easy to first install Lion or ML and what version of build?
What be glad to hear any helping information...

1. I replaced the original HDD with an Intel SSD, created a single partition using Disk Utility (Mac OS Extended Journaled, GUID Partition Table).
2. Have no idea. I set Bios settings to default, then set HDD mode to AHCI and disabled switchable graphics.
3. I installed ML 10.8.2 using UniBeast method.
 
Hello, yes you can modify like in my part, but it really not make any sense or adjustment in general, only avoiding warning messages, not more. By the way, i just upgraded to 31 version of bios and can boot ML without errors. Maybe a little bit longer, but i think it's not about updated bios, it's because of 10.8.2 update. I plan to reapply all patches with new dsdt from new 31 bios later and make all things from scratch to bypass existed delay that i have now, while booting ML.

I updated my BIOS too. Version F. 31.

By the way, i just upgraded to 31 version of bios and can boot ML without errors.
Without DSDT erros or without dmesg errors?

There's a way to fix the "Initializer list shorter than declared package length" remarks. We have to specify the correct package lenght:

Code:
Package (0x1A)
{
    "Fan Always on while on AC Power", 
    "", 
    "\\System Configuration\\Device Configurations", 
    Zero, 
    One, 
    Zero, 
    0x0130, 
    0x03, 
    " ", 
    " ", 
    " ", 
    Zero, 
    "Enable", 
    0x02, 
    "Disable", 
    "Enable"
}

We have 16 objects within { }.
Replace Package (0x1A) with Package (0x10)
 
I updated my BIOS too. Version F. 31.


Without DSDT erros or without dmesg errors?

There's a way to fix the "Initializer list shorter than declared package length" remarks. We have to specify the correct package lenght:

Code:
Package (0x1A)
{
    "Fan Always on while on AC Power", 
    "", 
    "\\System Configuration\\Device Configurations", 
    Zero, 
    One, 
    Zero, 
    0x0130, 
    0x03, 
    " ", 
    " ", 
    " ", 
    Zero, 
    "Enable", 
    0x02, 
    "Disable", 
    "Enable"
}

We have 16 objects within { }.
Replace Package (0x1A) with Package (0x10)

That is not very wise. Don't fix those kind of warnings/remarks. It is very common for DSDT code to write values to the "empty" entries at the end (ie. the ones not initialized). If you run into that, the code will fail writing beyond the array bounds. Just ignore warnings/remarks/optimizations and pay attention only to errors.
 
I got HD 3000 fully working, but it was very unstable because it started to get Kernel panics (Voodoo..?) and hangs on boot. I remember having no DSDT and deleting all the graphics kexts (except intelHD). I haven't fixed it yet, will try your DSDT, thanks.


I need your help guys.
I purchased a HP 4540s laptop (B6N94EA) with i5-2450m CPU (sandy bridge) and Intel HD 3000 Graphics.

I'm trying to install Mountain Lion, but I get this error:

View attachment 40276

I fixed the problem by removing the /System/Library/Extension/IntelHD3000 kexts, but it isn't a real solution, because I never able to get QE/CI.

View attachment 40277

At least I know the problem is related to the GPU. I do not have other GPU in the computer (no nVidia or ATI cards). I set the BIOS to default settings.

Is there a way to solve that error message? Maybe insert something into the DSDT? I would be very grateful for any help. Thank you!

I generated a DSDT for my laptop and BIOS if it helps you. https://dl.dropbox.com/u/1924024/dsdt.aml
 
RehabMan thank you, your help is greatly appreciated.

Manci5 Do not use my DSDT, we have different BIOS version.
Try this without removing any kext:

Code:
defaults write /System/Library/Extensions/AppleIntelSNBGraphicsFB.kext/Contents/Info.plist IOPCIPrimaryMatch 0x1E3A8086

defaults write /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/Info.plist IOPCIPrimaryMatch 0x1C3A8086

cd /System/Library/Extensions

sudo chmod -R 755 AppleIntelSNBGraphicsFB.kext
sudo chown -R root:wheel AppleIntelSNBGraphicsFB.kext

sudo chmod -R 755 AppleIntelFramebufferCapri.kext
sudo chown -R root:wheel AppleIntelFramebufferCapri.kext
 
RehabMan, do you use default BIOS settings?
 
Another evening with 4740s... Many attempts to enable HD4000 kexts. I have read that for 4540s platform-id 01660003 works well. Well... using it on my 4740s i can see very garbled output - the image is scaled horizontally so I can see only the left half of desktop. And it is significantly distorted by red and green blinking vertical stripes. But it seems that acceleration works. Since the main difference between 4740s and 4540s is the resolution of the screen, I suspect that I need to enable some "Dual Link" stuff. Unfortunately, the standard dsdt fix:

"AAPL00,DualLink",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
}

does not change anything.

Any suggestions are highly appreciated.
 
That is not very wise. Don't fix those kind of warnings/remarks. It is very common for DSDT code to write values to the "empty" entries at the end (ie. the ones not initialized). If you run into that, the code will fail writing beyond the array bounds. Just ignore warnings/remarks/optimizations and pay attention only to errors.

I updated my BIOS to latest version. F. 31. No more "Initializer list shorter than declared package length" remarks :thumbup:

Although I'm unable to compile the DSDT with BIOS F. 31:

Code:
[*** iASL: Long input line, an error occurred at column 279 ***]
Error    4124 -    Invalid character (0x2E), expecting ASL keyword or name


dsdt.dsl  14049:         Name (BB2S, "                                                                                                                                                                                                                                           
[*** iASL: Long input line, an error occurred at column 280 ***]
Error    4124 -    Invalid character (0x2E), expecting ASL keyword or name

Any idea how to fix it? Here's my DSDT: https://dl.dropbox.com/u/1924024/dsdt.dsl
Thank you!
 
Rehabman I fixed that by removing the three dots:

Code:
        Name (BF2S, "                                                                                                                                                            ")
        Name (BB2S, "                                                                                                                                                                                                                                                               "...)

replaced with:

Code:
        Name (BF2S, "                                                                                                                                                            ")
        Name (BB2S, "                                                                                                                                                                                                                                                               ")



RehabMan what do you think sir, did I proceed correctly? I don't have the dots in my older BIOS DSDT.
 
Another evening with 4740s... Many attempts to enable HD4000 kexts. I have read that for 4540s platform-id 01660003 works well. Well... using it on my 4740s i can see very garbled output - the image is scaled horizontally so I can see only the left half of desktop. And it is significantly distorted by red and green blinking vertical stripes. But it seems that acceleration works. Since the main difference between 4740s and 4540s is the resolution of the screen, I suspect that I need to enable some "Dual Link" stuff. Unfortunately, the standard dsdt fix:

"AAPL00,DualLink",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
}

does not change anything.
Any suggestions are highly appreciated.

OK, just got my HD4000 working with full acceleration. The progress has been achieved by learning patches for 4730s HD. I have extracted its .aml from ProBook installer and found a difference in a parameter "hda-gfx". Its value was "onboard-2" instead of my "onboard-1". Whatever it means, after setting its value to "onboard-2" I have rebooted into a beautiful fully accelerated desktop. Currently, the _DSM method of my adapter looks as:

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x08)
{
"AAPL00,DualLink",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,ig-platform-id",
Buffer (0x04)
{
0x03, 0x00, 0x66, 0x01
},
"hda-gfx",
Buffer (0x0A)
{
"onboard-2"
},
"AAPL,snb-platform-id",
Buffer (0x04)
{
0x00, 0x00, 0x01, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Works to me.

So my current progress with 4740s:

1. Graphics works with the DSDT patch above (only integrated of course - discrete is turned off in BIOS)
2. Touchpad and keyboard - with PS/2 Keyboard/Mice from the latest Multibeast.
3. Ethernet with Lnx2Mac from the latest multibeast.

To be resolved before laptop will be a minimally usable to me:

1. USB ports - currently only one USB2.
2. Sound - probably VooDoo will help, but in my previous attempt it was really unstable and caused crashes on boot.
3. Sleep - just tried - black screen, fan noise, no resume.
 
Status
Not open for further replies.
Back
Top