Jump to content

LaptopDisplay


  • Please log in to reply
428 replies to this topic

#1
np_

np_

  • Retired Developers
  • 339 posts
  • Gender:Male
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 )

#2
~Neo

~Neo

    The installer man. Formerly known as "NeoPheus"

  • Retired Developers
  • 644 posts
  • Gender:Male
  • Location:Germany

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

#3
np_

np_

  • Retired Developers
  • 339 posts
  • Gender:Male

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 )

#4
~Neo

~Neo

    The installer man. Formerly known as "NeoPheus"

  • Retired Developers
  • 644 posts
  • Gender:Male
  • Location:Germany

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

#5
jrrjrr

jrrjrr

    InsanelyMac Sage

  • Donators
  • 289 posts
  • Location:NJ, USA
np_

What kernel version(s) should this be compatible with?

#6
cyclonefr

cyclonefr

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,751 posts
  • Gender:Male
  • Location:Paris, France
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, 04 January 2007 - 08:39 AM.


#7
buhgock

buhgock

    InsanelyMac Protégé

  • Members
  • PipPip
  • 57 posts
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

#8
np_

np_

  • Retired Developers
  • 339 posts
  • Gender:Male

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_

#9
np_

np_

  • Retired Developers
  • 339 posts
  • Gender:Male

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

#10
Ezhoon

Ezhoon

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 281 posts
  • Gender:Male

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 :(

#11
np_

np_

  • Retired Developers
  • 339 posts
  • Gender:Male
ok added source of it, so anyone can play:)

next on list is i2c interface class for ATI/NVIDIA

have a fun

np_

#12
razorrazor

razorrazor

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
np_ U are master!!! I'll play with it too, thanks and keep going RESPECT! :(

RAZ

#13
starimage

starimage

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
  • Gender:Male
  • Location:Russia
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, 04 January 2007 - 12:16 PM.


#14
Fernando Birra

Fernando Birra

    InsanelyMac Protégé

  • Members
  • PipPip
  • 92 posts

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...

#15
Ezhoon

Ezhoon

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 281 posts
  • Gender:Male
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:

Attached File  ioreg_go6200tc.txt   28.48KB   558 downloads

#16
starimage

starimage

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
  • Gender:Male
  • Location:Russia
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, 04 January 2007 - 12:31 PM.


#17
Fernando Birra

Fernando Birra

    InsanelyMac Protégé

  • Members
  • PipPip
  • 92 posts

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:

Attached File  ioreg_go6200tc.txt   28.48KB   558 downloads



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

At least your machine didn't hang.

#18
np_

np_

  • Retired Developers
  • 339 posts
  • Gender:Male

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 :)

Attached File  ioreg_go6200tc.txt   28.48KB   558 downloads


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

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

thanks

#19
Fernando Birra

Fernando Birra

    InsanelyMac Protégé

  • Members
  • PipPip
  • 92 posts
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, 04 January 2007 - 05:29 PM.


#20
Ezhoon

Ezhoon

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 281 posts
  • Gender:Male

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

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

thanks

OK..here we go again ;)

Attached File  ioreg_go6200tc.txt   243.33KB   294 downloads





0 user(s) are reading this topic

0 members, 0 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