Jump to content

LaptopDisplay


np_
 Share

429 posts in this topic

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 )

Link to comment
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

 

 

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

Link to comment
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 )

Link to comment
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

Link to comment
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
Link to comment
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

Link to comment
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_

Link to comment
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 :(

Link to comment
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
Link to comment
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...

Link to comment
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

Link to comment
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
Link to comment
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.

Link to comment
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

Link to comment
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
Link to comment
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

Link to comment
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

Link to comment
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

Link to comment
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_

Link to comment
Share on other sites

 Share

×
×
  • Create New...