Jump to content

epitorus

Members
  • Content count

    9
  • Joined

  • Last visited

About epitorus

  • Rank
    InsanelyMac Protégé
  1. Some tracks for VAIO display support

    I tried AML overriding by adding in the Device(LCD) of Device(NGFX) some methods so that Leopard may be able to recognize the LCD, but it seems that there s no effect. Here is the ACPI specification : http://acpi.info/ here is the original AML code taken from another laptop, and the internal screen work with QE/CI. Device ([color="#ff00ff"]LCD[/color]) { Method (_ADR, 0, NotSerialized) { Return (0x0110) } Method (MXMX, 1, NotSerialized) { Return (One) } Method (_DCS, 0, NotSerialized) { If (LCDA) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (LCDA) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } } for instance, we can determine the difference between a vaio AML and another computer's AML. For my part, I have no computer with Internal screen working. By the way, you can notice that at boot time in verbose mode, NGFX : specific family matching fails. how does Leopard find the name of the Graphics Device in the AML???
  2. Some tracks for VAIO display support

    there's nothing to choose, AppleACPIPlatform.kext is a driver provided by OS X iPC 10.5.6 this is the DSDT method of the device SNC, which allows me to switch the video output under ubuntu 8.10 Method (SODV, 1, NotSerialized) { DBGC (0xF6, 0x80, BCEN) If (LNotEqual (DSEN, Zero)) { Return (Ones) } Store (Arg0, AODV) If (LNot (And (AODV, CADD))) { Store (One, AODV) } If (LNotEqual (CADD, PADD)) { Store (CADD, PADD) Notify (PCI0, Zero) Notify (PEGP, Zero) Sleep (0x02EE) } Notify (GFX0, 0x80) Notify (^^^PEGP.NGFX, 0x80) DBGC (0xF6, 0x81, BCEN) Return (Zero) } I modify this so that there is only the line Notify (GFX0, 0x80) I compiled the dsl file, copied in initramfstool, then I made a "dpkgreconfigure" and it's enough to switch the video output under ubuntu 8.10. (with the driver and program I provided) but under OS X 10.5.6, nothing happen, but I know "SODV" the method is executed by evaluateInteger, since if I put Return(0x01020304) in the dsl file , I see 0x01020304 as result So there are several questions: does OS X support full ACPI ? does the NVidia Driver turn off the power of the LCD on its own?
  3. Some tracks for VAIO display support

    you have to recompile the code and modify the info.plist in the project and put the version of AppleACPIPlatform inside, I don't remember (1.2.4???)
  4. Some tracks for VAIO display support

    in the folder build/Release of the archive there is a kext : VaioSNC.kext to test to view the message of the driver, in a terminal make: tail -f /var/logs/system.log to load the driver, in another terminal make: sudo cp -R VaioSNC.kext /tmp sudo kextload -v /tmp/VaioSNC.kext to unload the driver make : sudo kextunload /tmp/VaioSNC.kext ...
  5. Some tracks for VAIO display support

    Hello I started to write a little driver KEXT to switch the screen under Leopard iDeneb 10.5.5 using XCode I used the class IOACPIPlatformDevice but although there's no crash, the screen doesn't switch. I know that the method "SODV" in the SNC device is found, because when I evaluate an object that doesn't exist, the function evaluateObject returns an error. here the source code project hope this works someday... VaioSNC.zip
  6. Some tracks for VAIO display support

    hello, nvidia vaio owners, I discovered a few days ago something very interesting. Under Ubuntu I managed to redirect the video signal using SNC : either in the LCD either in the VGA port or both. Now there is a hope to make this internal screen to work. compile sony_acpi_mod load the driver to test this driver under unbuntu 8.10, please remove the sony-laptop driver from the memory, sonypi as well then compile switchScreen run it or you can type in a console echo -n "1" > /proc/acpi/sony/sodv sony_acpi_mod.zip switchScreen.c.zip
  7. Some tracks for VAIO display support

    I made some trace in the code source and I notice that after a "sudo insmod sony_acpi.ko", the function "sony_acpi_add" is not executed. In fact in ubuntu 8.10 you have to stop the driver "sony_laptop" and "sonypi", by deleting the two drivers and restarting the machine for example. Then you can test. But for me there is no "brightness" file in /proc/acpi/sony. I think my vaio (VGN-NR21Z) doesn't support it, maybe.
  8. Some tracks for VAIO display support

    Hello, I started to search how the linux driver "sony_acpi" works under linux (ubuntu 8.10) , I load the sony_acpi.ko successfully. But then there is no "brightness" file in /proc/acpi/sony . I would like to test wether setting up the brightness while the lcd is off will turn on the the lcd. I would like to make this driver to work under linux to test under this os, and make some test before porting it under os x. Here the attached source of sony_acpi. sonyacpi_0.1.zip
  9. hi! I've got the same problem. To solve this, I boot on the installation and I type : -v rd=disk1s3 disk1s3 is my second dd and 3rd partition I hope I help you, (but with my vaio VGN-NR21Z No QE/CI on internal lcd)
×