Jump to content
InsanelyMac Forum
  • Announcements

    • Allan

      Solution to create a topic or post.   04/24/2018

      Hello guys. The majority of you are having issues to create a topic or post here. This are a problem with our current theme InsanelyMac.  Now the theme will be the Default IPS. Sorry for any inconvenience.
np_

LaptopDisplay

Recommended Posts

ok here is for test LaptopDisplay.kext

 

it "should" work on any laptop nevermind what video card is

 

if work you should see class "LaptopPanelA" attached to "IOPanelDevice" in root device tree ( under IOACPIPlatformExpert )

 

also there should be IOBackLightDisplay class set for current display not "IODisplay" !

 

please test and report and do provide ioregs

 

thanks

 

compiled kext:

source code:

 

ps: ( read my notes in LaptopPanel.cpp for future hacking )

Share this post


Link to post
Share on other sites
Advertisement
ok here is for test LaptopDisplay.kext

 

it "should" work on any laptop nevermind what video card is

 

if work you should see class "LaptopPanelA" attached to "IOPanelDevice" in root device tree ( under IOACPIPlatformExpert )

 

also there should be IOBackLightDisplay class set for current display not "IODisplay" !

 

please test and report and do provide ioregs

 

thanks

 

 

Hey np_!

Great work again! ;)

Could you please clearify "any laptop"?

So do you mean every laptop, which means the new and the old (ATI Radeon 9600 and so on)

or do you mean all laptops with higher chips (ATI Radeon X1x00)?

 

Thanks!

 

cYa ~Neo

Share this post


Link to post
Share on other sites
Hey np_!

Great work again! ;)

Could you please clearify "any laptop"?

So do you mean every laptop, which means the new and the old (ATI Radeon 9600 and so on)

or do you mean all laptops with higher chips (ATI Radeon X1x00)?

 

Thanks!

 

cYa ~Neo

 

 

under "any" i do mean any laptop ( old or new ati or nvidia or whatever else video card )

Share this post


Link to post
Share on other sites
under "any" i do mean any laptop ( old or new ati or nvidia or whatever else video card )

 

Ah ok... I see

And this is a kind of Titan or does it "just" enable the laptop display?

Sorry for so many questions but I'm at work atm...

 

cYa ~Neo

Share this post


Link to post
Share on other sites

wow great job done, i cant test till my notebook doesnt have osx but i'll think of it once kiko make 3945ABG work ;)

 

Neo read ur pm i sent u one about NatitUni NV+ATi it doesnt handle X1600 PRO till u didnt put a menu for ATINDRV .5 and IONDRVSupport .5 in to the pkg. And i forgot to tell u remove the opengl what's the use? everybody is having it into there osx lol

 

btw np_ does it requires ATINDRV .5 and IONDRV .5 such as ATIinject was for X1600 mobility? i think so

Edited by cyclonefr

Share this post


Link to post
Share on other sites

hey _np

 

both your laptopdisplay.kext and nvidiaefi.kext can detect my display

 

but i get a bunch of errors from odd things and i cant load into the os

 

i get like usbf: something about diskarb

 

or sometimes something else

 

 

some how macvidia finds it tho

Share this post


Link to post
Share on other sites
hey _np

 

both your laptopdisplay.kext and nvidiaefi.kext can detect my display

 

but i get a bunch of errors from odd things and i cant load into the os

 

i get like usbf: something about diskarb

 

or sometimes something else

some how macvidia finds it tho

 

can you provide ioreg log ?

 

thanks!

 

np_

Share this post


Link to post
Share on other sites
btw np_ does it requires ATINDRV .5 and IONDRV .5 such as ATIinject was for X1600 mobility? i think so

 

only thing requested is laptop and OSX with last kernel

Share this post


Link to post
Share on other sites
ok here is for test LaptopDisplay.kext

 

it "should" work on any laptop nevermind what video card is

 

if work you should see class "LaptopPanelA" attached to "IOPanelDevice" in root device tree ( under IOACPIPlatformExpert )

 

also there should be IOBackLightDisplay class set for current display not "IODisplay" !

 

please test and report and do provide ioregs

 

thanks

 

Thanks, np_

I've been waiting for this..well..since last year :P

 

I'll get on it right away :(

Share this post


Link to post
Share on other sites

ok added source of it, so anyone can play:)

 

next on list is i2c interface class for ATI/NVIDIA

 

have a fun

 

np_

Share this post


Link to post
Share on other sites

root# kextload -t LaptopDisplay.kext

kernel extension LaptopDisplay.kext has problems:

Authentication failures:

{

"File owner/permissions are incorrect" = (

"/System/Library/Extensions/LaptopDisplay.kext"

"/System/Library/Extensions/LaptopDisplay.kext/Contents/Info.plist"

"/System/Library/Extensions/LaptopDisplay.kext/Contents"

"/System/Library/Extensions/LaptopDisplay.kext/Contents/MacOS/LaptopDisplay"

"/System/Library/Extensions/LaptopDisplay.kext/Contents/MacOS"

)

}

 

Disk permission ok

kache delete

After reboot Kext not load...

10.4.8 Asus A7j x1600 mobile

 

The system extension “/System/Library/Extensions/LaptopDisplay.kext“ was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.

Edited by starimage

Share this post


Link to post
Share on other sites
root# kextload -t LaptopDisplay.kext

kernel extension LaptopDisplay.kext has problems:

Authentication failures:

{

"File owner/permissions are incorrect" = (

"/System/Library/Extensions/LaptopDisplay.kext"

"/System/Library/Extensions/LaptopDisplay.kext/Contents/Info.plist"

"/System/Library/Extensions/LaptopDisplay.kext/Contents"

"/System/Library/Extensions/LaptopDisplay.kext/Contents/MacOS/LaptopDisplay"

"/System/Library/Extensions/LaptopDisplay.kext/Contents/MacOS"

)

}

 

Disk permission ok

kache delete

After reboot Kext not load...

10.4.8 Asus A7j x1600 mobile

 

please correct permissions manually and don't use diskutility.

 

You should do:

 

sudo chmod -R 755 /System/Library/Extensions/LaptopDisplay.kext

sudo chown -R root:wheel /System/Library/Extensions/LaptopDisplay.kext

sudo touch /System/Library/Extensions

 

then you may reboot. With me the LaptopDisplay.kext loads fine. But no output on LCD yet...

Share this post


Link to post
Share on other sites

I just dropped Laptopdisplay.kext into the extensions folder, corrected the permissions and cleared the cache.

Rebooted and my Sony Vaio still displayed the dreaded white screen :P

 

I couldn't find the class "LaptopPanelA" attached to "IOPanelDevice" in root device tree

IOBackLightDisplay class wasn't there either.

 

Anyway, thanks np_ for your continued effort on this problem :unsure:

 

ioreg_go6200tc.txt

Share this post


Link to post
Share on other sites

LaptopDisplay.kext loads fine

But... no change resolution

 

Type: Display

Bus: PCIe

VRAM (Total): 256 MB

Vendor: ATI (0x1002)

Device ID: 0x71c5

Revision ID: 0x0000

Displays:

Display:

Resolution: 1024 x 768

Depth: 32-bit Color

Core Image: Supported

Main Display: Yes

Mirror: Off

Online: Yes

Quartz Extreme: Supported

 

 

10.4.8 Asus A7j x1600

Native resolution 1400*900

Edited by starimage

Share this post


Link to post
Share on other sites
I just dropped Laptopdisplay.kext into the extensions folder, corrected the permissions and cleared the cache.

Rebooted and my Sony Vaio still displayed the dreaded white screen :P

 

I couldn't find the class "LaptopPanelA" attached to "IOPanelDevice" in root device tree

IOBackLightDisplay class wasn't there either.

 

Anyway, thanks np_ for your continued effort on this problem :unsure:

 

ioreg_go6200tc.txt

 

 

You should get your ioreg dumps with both the -l and -w0 flags...

 

At least your machine didn't hang.

Share this post


Link to post
Share on other sites
I just dropped Laptopdisplay.kext into the extensions folder, corrected the permissions and cleared the cache.

Rebooted and my Sony Vaio still displayed the dreaded white screen :guitar:

 

I couldn't find the class "LaptopPanelA" attached to "IOPanelDevice" in root device tree

IOBackLightDisplay class wasn't there either.

 

Anyway, thanks np_ for your continued effort on this problem :)

 

ioreg_go6200tc.txt

 

hey please use ioreg -l -w 1024 > ioreg_go6200.txt and post it again

 

in this one i can't seen a {censored} :)

 

thanks

Share this post


Link to post
Share on other sites

Hi np_,

 

here's my ioreg output. As I told you I had to remove the backlight-control key to have the machine boot. External display was attached but not correctly detected too. Sometimes it does sometimes it doesn't detect it ;)

 

Forget the attachment. You've got a pm with the url. Sorry.

Edited by Fernando Birra

Share this post


Link to post
Share on other sites

ok heres my updated status.

 

laptopdisplay.kext loads perfectly and detects my display and loads to desktop just fine.

 

 

once i put in titan.kext, everything loads fine and titan detects my graphics card. But it loads to a black screen with the OS running in the background.

 

We're getting very close i think.

 

 

heres my ioreg file

 

thanks

ioreg_go7600.txt

Share this post


Link to post
Share on other sites

I also got a white screen with LaptopDisplay.kext.

 

These are my system and ioreg log.

 

Jan 4 20:23:16 localhost kernel[0]: Matching service count = 2

Jan 4 20:23:16 localhost kernel[0]: Matching service count = 3

Jan 4 20:23:16 localhost kernel[0]: Matching service count = 3

Jan 4 20:23:16 localhost kernel[0]: Matching service count = 3

Jan 4 20:23:16 localhost kernel[0]: Matching service count = 3

Jan 4 20:23:16 localhost kernel[0]: Matching service count = 5

Jan 4 20:23:16 localhost kernel[0]: NVDANV40HAL loaded and registered.

Jan 4 20:23:16 localhost kernel[0]: IOPanelDevice: Machine Is Laptop!

Jan 4 20:23:16 localhost kernel[0]: IOPanelDevice: Registered OK!

Jan 4 20:23:16 localhost kernel[0]: NVDA::probe(VGA)

Jan 4 20:23:16 localhost kernel[0]: NVDA::start(VGA) <1>

 

 

I believe you will solve this problem, np_.

 

Thanks again.

ioreg_LaptopDisplay.txt

Share this post


Link to post
Share on other sites

looking at ioregs seems will need more work

 

is all because "LaptopPanel" class did not find corresponding DisplayVendorID-*.plist (System/Library/Displays/Overrides/**** ( all display info there is for AppleDisplay's hardcoded and one for "Generic ( any vendor ))

 

and there is no match

 

i can tell you from now, laptopdisplay.kext will not work with titan because there are key's need to be set in order ( but with natit + all property's need yes )

 

video driver to known that video card is "on boad" ie "build-in"

 

without that key onboard video card is treated like any other video card

 

and off course there will be "black screen" , "white screen" ..etc

 

now this even do not depend on EDID info

 

i have few ideas to make all this work and i will test under weekend

 

np_

 

ps: i need more ioreg logs from ATI on board video cards too

Share this post


Link to post
Share on other sites

ok i will ask you to test laptopdisplay.kext and provide ioregs

 

but without any titan or natit , even without any apple video driver

 

just IOGraphics and IONDRVSupport

 

thanks

 

np_

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.



  • Posts

    • Nouvelle mise à jour de sécurité... macOS High Sierra 10.13.4 (17E202)
    • I have Alpine ridge rev. 1 into a Gigabyte z270 gaming 5   i have lelets ssdt v2 right now which is working. As long as i boot with my Clarett on i can hot plug it freely but no sleep like I said. 
    • Hello! how are you? Friends, I would be very grateful if you could share with me the complete EFI, with what tool do you create the bootable USB? or direct by console + clover v2? I have 2 motherboards of you and I would like to rescue them installing High Sierra.   Hw:
      Xeon E5450
      GA-EP43T-S3L
      8GB DDR3
      Nvidia GT710 1GB   I have several new Hackintosh (UEFI), but old (Legacy) I have not been able to lift the installer, so I took from here, the BIOS + Files indications, I see the apple and the progress bar, but from there it does not move . Thank you!
    • Ok, the original ROM of the R9 280X should work as is without any kind of flash, that means it will work Out Of the Box, but you'll still have some ports not working, usually 1 or 2 ports! Now if you flashed your card with a modded ROM for OS X, it means, that the modded ROM will work for real Macs, like a Mac Pro 5,1 for exemple, but if it's what you did for your card, it will explain the freezes that you have, because that rom emulate EFI rom of the real Mac AMD cards. But in the case you just flashed a ROM that you downloaded from techpowerup for exemple,  it should work without any freeze if that rom is the propper one for your card!
×