Jump to content

HP 6520s, 6720s, 6820s, 550 SL Install Package

* * * * * 1 votes

  • Please log in to reply
1443 replies to this topic

#1141
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine
I have jast checked list of loaded kexts in lion:
$ kextstat | grep Air
   52	0 0x1119000  0x178000   0x177000   com.apple.driver.AirPortBrcm43224 (500.36.11) <51 39 14 7 5 4 3 1>

But at the same time I have no driver installed in profiler... And wifi dosent work.

This is :censored2: magic.

I have tried to fake ID via DSDT, with adding this to AirPort device:
Method (_DSM, 4, NotSerialized){    Store (Package (0x02)    {        "device-id",  Buffer (0x04) {0x11,0x43,0x00,0x00 }     }, Local0)    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))       Return (Local0)}

But also no luck... - system detects it as 4312 (seems OS reads this info from device)

Next try will be change Product ID in ssb-sprom (in same way, as rebranding). to try different subsystem product id.
upd: no luck with 0x0087 id .. (in snow ok. in lion - no change) :blink:
@BlackCH if you have copy of your ssb_sprom, can you post it?

#1142
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,485 posts
  • Gender:Male
  • Location:Tru, Venezuela
Believe me, I have tried before to buy the 4328, many times in different ways with no luck in two previous cards on lion: 4312 and 4315. Both rebranded and working perfect in Snow, BUT the problem as you have my friend, no loading the 10.7 drivers for functionality in "PCI cards section" at all. So, my conclusion was about some relationship between the device ID + Revision + firmware (in the hardware) required for a/b/g cards, which should be capable to full load the ONLY ONE driver made by Apple for this group of WiFi cards (a/b/g and N together), I mean the AirPortBrcm43224.kext (BlackCH's card load natively)... because the AirPortBrcm4311.kext for the rest of third-party old 43xx cards present in Snow, do not exist in Lion. IMHO is a id-firmware-rev incompatibility problem with our old cards, reported around insanelymac & other hackintosh forums.

#1143
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

@BlackCH if you have copy of your ssb_sprom, can you post it?


No, I dont have it... Maybe in a few days I can try to dump it.
I leave my IOreg:
Attached File  IOreg_lion.zip   291.62KB   27 downloads

#1144
maxlife

maxlife

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
I have installed iatkos s3 v2 on my notebook hp 6720s
But i have usb and graphic card not installed.
The graphic card id the model x3100 with id 2a12.
Someone can explain to how i should be install to resolve the problem?
I read the first page of this thread but i dont understand.
My confusion is on dsdt, kext, other package? I shuold reinstall mac or can upgrade the driver?
Please if someone help me is very appreciated.
Thanks

Max

#1145
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine
I have tried different DSDT injections with rebranded BCM4312, but no luck in 10.7.
So I have replaced my broadcom card, with AR5BXB72 from macbook pro - it works excellent in both systems =).

@maxlife:
Read again - there are step by step manual(in archive with boot-cd).

@juanerson:
What progress in fixing thermal zones in DSDT for lion, and could you share your results?
I wanna try too fix them: can you describe what parts in dsdt have need fix(as 16bit IO in EC for battery)?

@All who take part in development:
And I have an idea, probably will be good to use github for developing fixes for our system - what does you think about this?

#1146
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

And I have an idea, probably will be good to use github for developing fixes for our system - what does you think about this?

I dont know how it works, but it sounds good!

About thermal zones: there are a couple of registers in EC that regulates the fan (I figure that with RW everything when I implemented fan reading; I cannot remember which are the registers right now). I think is a good start to change those to 8 bit

I dont know how far is juanerson with his code, but would be good to have a look on what he is doing...

#1147
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,485 posts
  • Gender:Male
  • Location:Tru, Venezuela
Please sorry, but nothing important to say at moment after many attempts. I think we can try to fake the "Hardware FAN control/influence" if exist at least five (5) registers from EC, to replace each "Active Cooling" interface, actually addressed from thermal conditions (ThermalZones), and the reason why is because none of his "PowerResources (C3B2 to C3B6)" are working due to the new ACPIPlatform, that's the big problem IMHO. I mean, the system don't read anything from the "FAN devices (C3B7 to C3BB)" because is missing the Power Resources objects "Name (_PR0", which are called from the main involved SSDT Table = ThermalZone (TZ1 for penryn, or TZ0 for merom). So, maybe we "only" need a compatible/fixed new driver, remember AppleACPIThermal.kext bring "pure Software Control". BTW, I will keep fighting about it. Good Luck.

#1148
Zprood

Zprood

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts
  • Gender:Male
  • Location:CHN
Hi, I think there is a possible to do it, after few days searching and with one of my friend help, i handle this mess issue.
As i describe before, OSX doesn't recognize well about TZ or EmbeddedControl, so when boots up system fan doesn't spin at all, or it runs at lowest/highest speed. This doesn't fit ACPI control logical.

By reading from the topic ACPIMonitor for projectosx forum, i follow the king's suggest that find fan control register with RW app under windows. But mine is different with the kings cause he has two register about fan, one is fan control, like 0x00--close, 0x01 open, and another is fan tachometer. The register of laptop is just one, the address is 0xB5, by set 0x28 decimal is 40 fan close, set 0x30 decimal 48 fan open and run lowest speed. Also it has more value which increase with temp of cpu.

So, i find OSX can't perform with dsdt default set cause it was mess up by OEM, what i do is write the right value to the 0xB5 to make OSX can implement the set logical. The result turns out true. I guess hp can use that too, more info read this Click and #94.

#1149
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

So, maybe we "only" need a compatible/fixed new driver, remember AppleACPIThermal.kext bring "pure Software Control". BTW, I will keep fighting about it. Good Luck.

In case someone wants to have a look, here are the sources for ACPIThermal kext (from apple open source). 1.5A from 10.4 and 101.3.1 from 10.4.9:

Attached Files



#1150
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine

By reading from the topic ACPIMonitor for projectosx forum, i follow the king's suggest that find fan control register with RW app under windows.

Good idea...

I have found some values related to Fan control in EC device:

C1FA - minimum fan speed limit(by default it is 20%, but when temperature is critical goes to 100%)
C1FB - fan control (controlled from TZ)
C1FC - current fan speed

I have tried to control fan speed by writing values(with DirectIO) to C1FA and C1FB - and it works, for example:
- to set 50% fan speed we need to write 50 to C1FB(0xd6 in EC);
- to set minimum fan speed at 30%(no matter what we write to C1FB) write 30 to C1AF.

Now i am going to find out where is system temperatures(it seams i can find them in methods that are changing fan speed).

In case someone wants to have a look, here are the sources for ACPIThermal kext (from apple open source). 1.5A from 10.4 and 101.3.1 from 10.4.9:


I am not sure, but it seams to be non-ACPI driver for PowerPC, which is working through i2c bus.. =(
I have tried to find ACPIThermal sources - but, no luck.

#1151
Zprood

Zprood

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts
  • Gender:Male
  • Location:CHN

Good idea...

I have found some values related to Fan control in EC device:

C1FA - minimum fan speed limit(by default it is 20%, but when temperature is critical goes to 100%)
C1FB - fan control (controlled from TZ)
C1FC - current fan speed

I have tried to control fan speed by writing values(with DirectIO) to C1FA and C1FB - and it works, for example:
- to set 50% fan speed we need to write 50 to C1FB(0xd6 in EC);
- to set minimum fan speed at 30%(no matter what we write to C1FB) write 30 to C1AF.

Now i am going to find out where is system temperatures(it seams i can find them in methods that are changing fan speed).

Great, the 50 is dec of temp, you can try different value and find some suitable. Then, you can set them to C1FB, and compare with the value read from cpu temp register. Good luck.

#1152
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

Good idea...

I have found some values related to Fan control in EC device:

C1FA - minimum fan speed limit(by default it is 20%, but when temperature is critical goes to 100%)
C1FB - fan control (controlled from TZ)
C1FC - current fan speed

I have tried to control fan speed by writing values(with DirectIO) to C1FA and C1FB - and it works, for example:
- to set 50% fan speed we need to write 50 to C1FB(0xd6 in EC);
- to set minimum fan speed at 30%(no matter what we write to C1FB) write 30 to C1AF.

Now i am going to find out where is system temperatures(it seams i can find them in methods that are changing fan speed).


Thats very good! In the worst case we could implement an app to control the fan manually...
Remember there is a part of the TZ code on the SSDT tables (SSDT1 I think)

I thought those were the ACPIThermal sources (I downloaded them from the i386 folder), sorry! I will dig about this....

#1153
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,485 posts
  • Gender:Male
  • Location:Tru, Venezuela
Guys I like the idea... and by this way I think at the end we will should obtain two (2) DSDTs. Therefore, for the work, attached the two (2) SSDT tables (from windows, to compare with OS X) related to the Main ThermalZone (TZ0 or TZ1), both tables fixed to compile, just in case are ready for copy-paste (or export) to the DSDT:

1) Firmware-SSDT TZ0 (Backup T5470): For Merom CPUs. See Top Header say "HPQMRM", where MRM = Merom. AppleACPIThermal bring five (5) thermalzones (TZ0, 1, 3, 4, 5) on Snow Leopard (see IOReg), and on Lion "only" by using the old ACPIPlatform driver - for ACPI specification (3.0 & lower) support.
Notes: For export to DSDT is very important, than we need to replace the entire "ThermalZone TZ1" in our DSDT v0.20 (take it as base), because as you can see this main SSDT table have his own little TZ1. But all declarations keep intact.

2) Firmware-SSDT TZ1: For Penryn CPUs. "HPQPRN". AppleACPIThermal bring four (4) thermalzones (TZ1, 3, 4, 5) on Snow Leopard (see IOReg), and on Lion "only" by using the old ACPIPlatform driver - for ACPI specification (3.0 & lower) support.
Notes: No need another change in the DSDT to import the code from this SSDT table. So, logically will not exist any reference to TZ0 code in the resultant DSDT. Just add the "Thermalzone TZ1" before TZ3. And also I prefer to add the C39E and the C39F methods in both cases at end of the Scope TZ, to forget about this SSDT table... at same time to use the flag "DropSSDT=Yes" in Boot.plist, or delete (comment out) each "External" caller (to TZ1, C39E & C39F) near to the DSDT top.

Attached Files



#1154
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine
About driver for thermal zone...
I have tried to write own driver - it works on snow, but get KP in lion..

I am not good in IOKit programming and this is my first driver, so - now it is too buggy for use, but it can be helpful for testing our DSDT...

And probably later(when it will be without bugs) it can replace ACPIThermal from tiger which we are using...


Also about old ACPIThermal (which we are using in snow) - it seams that in lion it can not load only active cooling parameters...

Attached Files



#1155
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,485 posts
  • Gender:Male
  • Location:Tru, Venezuela

About driver for thermal zone...
I have tried to write own driver - it works on snow, but get KP in lion..

"IOKitPersonalities" and "OSBundleLibraries (Dependencies)" in "Info.plist" are very important to properly load (w/o KP) this particular driver from the ACPIPlatform vanilla configuration. Therefore, just in case, for 10.7 those parts should be as follow:
IOKitPersonalities</key>
<dict>
<key>Thermal Zone</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleACPIThermal</string>
<key>IOClass</key>
<string>AppleACPIThermalZone</string>
<key>IONameMatch</key>
<string>thermal-zone</string>
<key>IOProviderClass</key>
<string>IOACPIPlatformDevice</string>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.driver.AppleACPIPlatform</key>
<string>1.4</string>
<key>com.apple.iokit.IOACPIFamily</key>
<string>1.0.0d1</string>
<key>com.apple.kpi.iokit</key>
<string>7.0</string>
<key>com.apple.kpi.libkern</key>
<string>8.0.0d0</string>
<key>com.apple.kpi.mach</key>
<string>8.0.0d0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist> _linenums:0'><key>IOKitPersonalities</key> <dict> <key>Thermal Zone</key> <dict> <key>CFBundleIdentifier</key> <string>com.apple.driver.AppleACPIThermal</string> <key>IOClass</key> <string>AppleACPIThermalZone</string> <key>IONameMatch</key> <string>thermal-zone</string> <key>IOProviderClass</key> <string>IOACPIPlatformDevice</string> </dict> </dict> <key>OSBundleLibraries</key> <dict> <key>com.apple.driver.AppleACPIPlatform</key> <string>1.4</string> <key>com.apple.iokit.IOACPIFamily</key> <string>1.0.0d1</string> <key>com.apple.kpi.iokit</key> <string>7.0</string> <key>com.apple.kpi.libkern</key> <string>8.0.0d0</string> <key>com.apple.kpi.mach</key> <string>8.0.0d0</string> </dict> <key>OSBundleRequired</key> <string>Root</string></dict></plist>

Also about old ACPIThermal (which we are using in snow) - it seams that in lion it can not load only active cooling parameters...

YES BUDDY, BUT PLEASE, AS I SAID TWO POST BEFORE, THE "ACTIVE COOLING" THING ON LION IS BECAUSE THE NEW AppleACPIPlatform.kext is NOT READING/LOADING ANY "POWER RESOURCE OBJECT (C3B2 to C3B6)", ALSO YOU CAN SEE THE SAME PROBLEM IN OIREG FOR THE PS2M DEVICE. THEREFORE THE NEGATIVE IMPACT AT THIS POINT FOR THE AppleACPIThermal.kext DRIVER IS BECAUSE CAN'T READ ANYTHING FROM THE "FAN DEVICES (C3B7 to C3BB)" BECAUSE ARE MISSING THE P.R.O. WHICH ARE DEFINED BY "Name (_PR0"... REFERRED FOR EXAMPLE IN THE PAGE 238 OF ACPIspec40a.pdf. REPEAT, IMHO "POWER RESOURCES" IS THE PROBLEM. BTW, THANK YOU MATE, WONDERFUL EFFORT.

#1156
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

About driver for thermal zone...
I have tried to write own driver - it works on snow, but get KP in lion..
I am not good in IOKit programming and this is my first driver, so - now it is too buggy for use, but it can be helpful for testing our DSDT...

Great effort! keep it up! :(
You should contact prasys; he ported the thermal driver from tiger to snow... he could give you some ideas

#1157
robi62

robi62

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 264 posts
  • Gender:Male
  • Location:Javea Spain

Believe me, I have tried before to buy the 4328, many times in different ways with no luck in two previous cards on lion: 4312 and 4315. Both rebranded and working perfect in Snow, BUT the problem as you have my friend, no loading the 10.7 drivers for functionality in "PCI cards section" at all. So, my conclusion was about some relationship between the device ID + Revision + firmware (in the hardware) required for a/b/g cards, which should be capable to full load the ONLY ONE driver made by Apple for this group of WiFi cards (a/b/g and N together), I mean the AirPortBrcm43224.kext (BlackCH's card load natively)... because the AirPortBrcm4311.kext for the rest of third-party old 43xx cards present in Snow, do not exist in Lion. IMHO is a id-firmware-rev incompatibility problem with our old cards, reported around insanelymac & other hackintosh forums.


Hi I had a problem with bcm4311 in lion but solved it with this kext


http://forum.osxlati...-with-ethernet/

Original thread was from here

http://www.tonymacx8...hp?f=19&t=26924

this is all plist of supported models

string>pci106b,4e</string>
<string>pci14e4,4300</string>
<string>pci14e4,4301</string>
<string>pci14e4,4302</string>
<string>pci14e4,4303</string>
<string>pci14e4,4304</string>
<string>pci14e4,4305</string>
<string>pci14e4,4306</string>
<string>pci14e4,4307</string>
<string>pci14e4,4308</string>
<string>pci14e4,4309</string>
<string>pci14e4,4310</string>
<string>pci14e4,4311</string>
<string>pci14e4,4312</string>
<string>pci14e4,4313</string>
<string>pci14e4,4313</string>
<string>pci14e4,4314</string>
<string>pci14e4,4315</string>
<string>pci14e4,4316</string>
<string>pci14e4,4317</string>
<string>pci14e4,4318</string>
<string>pci14e4,4319</string>
<string>pci14e4,431a</string>
<string>pci14e4,4320</string>
<string>pci14e4,4321</string>
<string>pci14e4,4322</string>
<string>pci14e4,4323</string>
<string>pci14e4,4324</string>
<string>pci14e4,4325</string>
<string>pci14e4,4326</string>
<string>pci14e4,4327</string>
<string>pci14e4,4328</string>
<string>pci14e4,4329</string>
<string>pci14e4,4330</string>
<string>pci14e4,4331</string>
<string>pci14e4,4332</string>
<string>pci14e4,4333</string>
<string>pci14e4,4334</string>
<string>pci14e4,4335</string>
<string>pci14e4,4336</string>
<string>pci14e4,4337</string>
<string>pci14e4,4338</string>
<string>pci14e4,4339</string>
<string>pci14e4,4340</string>
<string>pci14e4,4341</string>
<string>pci14e4,4342</string>
<string>pci14e4,4343</string>
<string>pci14e4,4344</string>
<string>pci14e4,4345</string>
<string>pci14e4,4346</string>
<string>pci14e4,4347</string>
<string>pci14e4,4348</string>
<string>pci14e4,4349</string>
<string>pci14e4,4350</string>
<string>pci14e4,4351</string>
<string>pci14e4,4352</string>
<string>pci14e4,4353</string>
<string>pci14e4,4354</string>
<string>pci14e4,4355</string>
<string>pci14e4,4356</string>
<string>pci14e4,4357</string>
<string>pci14e4,4358</string>
<string>pci14e4,4359</string>
<string>pci14e4,4360</string>
<string>pci14e4,4361</string>
<string>pci14e4,4362</string>
<string>pci14e4,4363</string>
<string>pci14e4,4364</string>
<string>pci14e4,4365</string>
<string>pci14e4,4366</string>
<string>pci14e4,4367</string>
<string>pci14e4,4368</string>
<string>pci14e4,4369</string>
<string>pci14e4,4370</string>
<string>pci14e4,4371</string>
<string>pci14e4,4372</string>
<string>pci14e4,4373</string>
<string>pci14e4,4374</string>
<string>pci14e4,4375</string>
<string>pci14e4,4376</string>
<string>pci14e4,4377</string>
<string>pci14e4,4378</string>
<string>pci14e4,4379</string>
<string>pci14e4,4380</string>
<string>pci14e4,4381</string>
<string>pci14e4,4382</string>
<string>pci14e4,4383</string>
<string>pci14e4,4384</string>
<string>pci14e4,4385</string>
<string>pci14e4,4386</string>
<string>pci14e4,4387</string>
<string>pci14e4,4388</string>
<string>pci14e4,4389</string>
<string>pci14e4,4390</string>
<string>pci14e4,4391</string>
<string>pci14e4,4392</string>
<string>pci14e4,4393</string>
<string>pci14e4,4394</string>
<string>pci14e4,4395</string>
<string>pci14e4,4396</string>
<string>pci14e4,4397</string>
<string>pci14e4,4398</string>
<string>pci14e4,4399</string>
<string>pci14e4,432b</string>
<string>pci14e4,432c</string>
<string>pci14e4,432d</string>
<string>pci14e4,4342</string>


And here is the kext
You have to delete I080211 family kext

Attached File  Broadcom43XXFamilyrev2.kext.zip   4.31MB   97 downloads

Let me know

Edited by robi62, 11 September 2011 - 09:28 PM.


#1158
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine

Guys I like the idea... and by this way I think at the end we will should obtain two (2) DSDTs. Therefore, for the work, attached the two (2) SSDT tables (from windows, to compare with OS X) related to the Main ThermalZone (TZ0 or TZ1), both tables fixed to compile, just in case are ready for copy-paste (or export) to the DSDT.

Thanks. I have used this.

"IOKitPersonalities" and "OSBundleLibraries (Dependencies)" in "Info.plist" are very important to properly load (w/o KP) this particular driver from the ACPIPlatform vanilla configuration.


No, the problem was in trying to read 16 value as 32 bit...

Hi I had a problem with bcm4311 in lion but solved it with this kext


Where it cames from - which osx version or who is author?

And good news about Active Cooling in Lion - Now it works for me.

The problem was in _ALx methods in thermal zone - them returns NULL in lion, but must return fan devices list.

So I have added methods to thermal zone:
- EALx - to enable cooling for _ACx
- DALx - to disable cooling for _ACx

And writed driver to use them(works in lion and snow).

Enjoy!

Attached Files



#1159
robi62

robi62

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 264 posts
  • Gender:Male
  • Location:Javea Spain
[quote name='ThirdSmile' date='Sep 12 2011, 01:04 AM' post='1747344']
Thanks. I have used this.


QUOTE (robi62 @ Sep 11 2011, 06:51 PM)
Hi I had a problem with bcm4311 in lion but solved it with this kext


Where it cames from - which osx version or who is author?

works in both 10.6 and lion,it comes from tonymacx86

#1160
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

And good news about Active Cooling in Lion - Now it works for me.

The problem was in _ALx methods in thermal zone - them returns NULL in lion, but must return fan devices list.

So I have added methods to thermal zone:
- EALx - to enable cooling for _ACx
- DALx - to disable cooling for _ACx

And writed driver to use them(works in lion and snow).

Enjoy!

Excellent! I will try it tonight
Thanks a lot!

Can someone upload vanilla ACPIPlatform.kext from Lion for me please?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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