Jump to content

Scorpy22

Members
  • Content count

    18
  • Joined

  • Last visited

About Scorpy22

  • Rank
    InsanelyMac Protégé
  1. Scorpy22

    Samsung R Series Notebooks

    I have the same laptop and I don't have this problem anymore, I deleted the AppleHDA.kext (make a backup first) then on you VoodooHDA info.plist, specify exactly the device id in the IOPCIMatch key (0xDevIDVenID)
  2. Scorpy22

    AnVAL (ACPI Loader)

    Hi valv, I tried version 5.0.8 with GenerateTStates=Yes, here is my bdmesg Config: [hd(0,2)/Extra/com.apple.Boot.plist] 3280 bytes. CPU: Intel® Core(tm) i3 CPU M 330 @ 2.13GHz CPU: Flex-Ratio = 16 CPU: Tjmax ~ 90¬∞C Temperature= ~ 38¬∞C CPU: Attempting to enable IDA Failed! CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0 CPU: Model/ExtModel/Stepping: 0x25/0x2/0x2 CPU: Multipliers x10: max=160, min=70 Turbo Ratio: 16/16/0/0 CPU: MaxDiv/CurrDiv: 0x0/0x0 CPU: TSCFreq: 2127MHz CPU: CPUFreq: 2127MHz CPU: FSBFreq: 132MHz CPU: Enhanced SpeedStep: 1 CPU: NoCores/NoThreads: 8/16 CPU: Features: 0x36d803a1 Chipset is UNKNOWN (pci id 0x448086) We have an NVIDIA Card Creating 2 Mode Tables New table with id : 0 New table with id : 1 First Standard VESA Table at offset 0x3f9c Second Standard VESA Table at offset 0x8cb2 Table #0 has 16 modes Table #1 has 27 modes Aspect Ratio is 4/3 Patching Table #0 : Mode 1024x768 -> 1024x768 (1047 1183 1343 770 776 805) Patching Table #1 : Mode 640x200 -> 640x359 (664 672 720 367 H- V+) Mode 640x350 -> 640x359 (664 678 720 367 H- V+) Mode 640x400 -> 640x359 (664 680 720 367 H- V+) Mode 640x480 -> 640x359 (669 685 720 367 H- V+) Mode 640x480 -> 640x359 (669 685 720 367 H- V+) Mode 800x600 -> 800x449 (836 852 900 461 H- V+) Mode 800x600 -> 800x449 (836 852 900 461 H- V+) Mode 1024x768 -> 1024x575 (1071 1087 1152 591 H- V+) Mode 1024x768 -> 1024x575 (1071 1087 1152 591 H- V+) Mode 1280x1024 -> 1280x719 (1343 1359 1440 742 H- V+) Mode 1280x1024 -> 1280x719 (1343 1359 1440 742 H- V+) Mode 1280x800 -> 1280x719 (1330 1346 1440 754 H- V-) Mode 1600x1200 -> 1600x899 (1674 1690 1800 924 H- V+) Mode 1360x768 -> 1360x764 (1407 1423 1530 771 H- V-) Darwin/x86 boot v5.0.132 - Chameleon v5.0.1 r665 Build date: 2010-12-22 22:26:21 3957MB memory VESA v3.0 14MB (NVIDIA) Scanning device 80...Press any key to enter startup options.(2) (1) Use keys to select the startup volume. hd(0,2) Snow Leopard hd(0,3) Windows Press Enter to start up Darwin/x86 with no options, or you can: Type -v and press Enter to start up with diagnostic messages Type ? and press Enter to learn about advanced startup options boot: hd(0,2) Snow Leopard hd(0,3) Windows Press Enter to start up the foreign OS. hd(0,3) Windows hd(0,2) Snow Leopard Press Enter to start up Darwin/x86 with no options, or you can: Type -v and press Enter to start up with diagnostic messages Type ? and press Enter to learn about advanced startup options boot: Config: [hd(0,2)/Extra/com.apple.Boot.plist] 3280 bytes. Setting boot-uuid to: D958D5C8-8D9C-3C12-8B77-0AD02394860B Closing VBios Table #0 : Freeing backup [OK] Table #0 : Freeing [OK] Table #1 : Freeing backup [OK] Table #1 : Freeing [OK] Freeing map [OK] Hibernate image is too old by 58449 seconds. Use ForceWake=y to override Loading Darwin 10.6 Loading kernel mach_kernel LoadDrivers: /Extra/Extensions.mkext LoadDrivers: /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext ACPI: [hd(0,2)/Extra/DSDT.aml] 40988 bytes. Using PCI-Root-UID value: 0 Slot: 0 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=Samsung PartNo=M471B5673FH0-CF8 SerialNo=97CA2836 Slot: 2 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=Samsung PartNo=M471B5673FH0-CF8 SerialNo=97CA279C Patched DMI Table Found SMBIOS System Information Table 1 Customizing SystemID with : 0097272a-d21d-b211-8000-94fce4ee992a efi_inject_get_devprop_string NULL trying stringdata ACPI: [hd(0,2)/Extra/DSDT.aml] 40988 bytes. Converted ACPI V1 FADT to ACPI V4 FADT FADT: changing Preferred_PM_Profile from 0x00 to 0x02 FADT: Restart Fix applied ! Found ACPI CPU: CPU0 Found ACPI CPU: CPU1 Found ACPI CPU: CPU2 Found ACPI CPU: CPU3 Found ACPI CPU: CPU4 Found ACPI CPU: CPU5 Found ACPI CPU: CPU6 Found ACPI CPU: CPU7 C-State: Adding 3 states: C1 C3 C6 Voltage: min= 700mV, max= 700mV Model detected: MacBookPro6,1 P-State: Added [Frequency 2112 MHz, FID 0x10] P-State: Added [Frequency 1980 MHz, FID 0xf] P-State: Added [Frequency 1848 MHz, FID 0xe] P-State: Added [Frequency 1716 MHz, FID 0xd] P-State: Added [Frequency 1584 MHz, FID 0xc] P-State: Added [Frequency 1452 MHz, FID 0xb] P-State: Added [Frequency 1320 MHz, FID 0xa] P-State: Added [Frequency 1188 MHz, FID 0x9] P-State: Added [Frequency 1056 MHz, FID 0x8] P-State: Added [Frequency 924 MHz, FID 0x7] P-State: [Frequency 792 MHz, FID 0x6] is over the limit. Removed! T-States: duty_offset=73, duty_width=79, Spanning bit 4 T-States: step=125 T-States: -125 states were succefully generated FADT: Restart Fix applied ! Patched ACPI version 2 DSDT Starting Darwin x86_64 Press any key to continue... Also, since this version has no embedded theme, I think that the slowness I described before is due to the GUI as it's seems OK with TUI.
  3. Scorpy22

    AnVAL (ACPI Loader)

    That's not what I meant by slow, for example when I set Timeout=2, I have to wait something like 8 seconds and there is a half-second delay between each printed line in the bootloader stage.
  4. Scorpy22

    AnVAL (ACPI Loader)

    Hello valv, I am using version 5.0.6 and this is my bdmesg: Config: [hd(0,2)/Extra/com.apple.Boot.plist] 3307 bytes. CPU: Intel® Core(tm) i3 CPU M 330 @ 2.13GHz Flex: 16 CPU: Tjmax ~ 90°C Temperature= ~ 57°C CPU: Attempting to enable IDA Failed! CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0 CPU: Model/ExtModel/Stepping: 0x25/0x2/0x2 CPU: Multipliers x10: max=160, min=70 Turbo Ratio: 16/16/0/0 CPU: MaxDiv/CurrDiv: 0x0/0x0 CPU: TSCFreq: 2127MHz CPU: CPUFreq: 2127MHz CPU: FSBFreq: 132MHz CPU: Enhanced SpeedStep: 1 CPU: NoCores/NoThreads: 8/16 CPU: Features: 0x36d803a1 Chipset is UNKNOWN (pci id 0x448086) We have an NVIDIA Card Creating 2 Mode Tables New table with id : 0 New table with id : 1 First Standard VESA Table at offset 0x3f9c Second Standard VESA Table at offset 0x8cb2 Table #0 has 16 modes Table #1 has 27 modes Aspect Ratio is 4/3 Patching Table #0 : Mode 1024x768 -> 1024x768 (1047 1183 1343 770 776 805) Patching Table #1 : Mode 640x200 -> 640x359 (664 672 720 367 H- V+) Mode 640x350 -> 640x359 (664 678 720 367 H- V+) Mode 640x400 -> 640x359 (664 680 720 367 H- V+) Mode 640x480 -> 640x359 (669 685 720 367 H- V+) Mode 640x480 -> 640x359 (669 685 720 367 H- V+) Mode 800x600 -> 800x449 (836 852 900 461 H- V+) Mode 800x600 -> 800x449 (836 852 900 461 H- V+) Mode 1024x768 -> 1024x575 (1071 1087 1152 591 H- V+) Mode 1024x768 -> 1024x575 (1071 1087 1152 591 H- V+) Mode 1280x1024 -> 1280x719 (1343 1359 1440 742 H- V+) Mode 1280x1024 -> 1280x719 (1343 1359 1440 742 H- V+) Mode 1280x800 -> 1280x719 (1330 1346 1440 754 H- V-) Mode 1600x1200 -> 1600x899 (1674 1690 1800 924 H- V+) Mode 1360x768 -> 1360x764 (1407 1423 1530 771 H- V-) Resolution : 1366x768 (Graphics Mode key) Found mode 1360x768 in VESA Table Config: [hd(0,2)/Extra/com.apple.Boot.plist] 3307 bytes. Setting boot-uuid to: D958D5C8-8D9C-3C12-8B77-0AD02394860B Closing VBios Table #0 : Freeing backup [OK] Table #0 : Freeing [OK] Table #1 : Freeing backup [OK] Table #1 : Freeing [OK] Freeing map [OK] Hibernate image is too old by 15509 seconds. Use ForceWake=y to override Loading Darwin 10.6 Loading kernel mach_kernel LoadDrivers: /Extra/Extensions.mkext LoadDrivers: /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext ACPI: [hd(0,2)/Extra/DSDT.aml] 41077 bytes. Using PCI-Root-UID value: 0 Slot: 0 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=Samsung PartNo=M471B5673FH0-CF8 SerialNo=97CA2836 Slot: 2 Type 24 2048MB (DDR3 SDRAM) 1066MHz Vendor=Samsung PartNo=M471B5673FH0-CF8 SerialNo=97CA279C Patched DMI Table Found SMBIOS System Information Table 1 Customizing SystemID with : 0097272a-d21d-b211-8000-94fce4ee992a efi_inject_get_devprop_string NULL trying stringdata ACPI: [hd(0,2)/Extra/DSDT.aml] 41077 bytes. Converted ACPI V1 FADT to ACPI V4 FADT FADT: changing Preferred_PM_Profile from 0x00 to 0x02 FADT: Restart Fix applied ! Found ACPI CPU: CPU0 Found ACPI CPU: CPU1 Found ACPI CPU: CPU2 Found ACPI CPU: CPU3 Found ACPI CPU: CPU4 Found ACPI CPU: CPU5 Found ACPI CPU: CPU6 Found ACPI CPU: CPU7 C-State: Adding 3 states: C1 C3 C6 [b]Voltage: min= 700mV, max= 700mV[/b] P-State: Added [Frequency 2112 MHz, FID 0x10] P-State: Added [Frequency 1980 MHz, FID 0xf] P-State: Added [Frequency 1848 MHz, FID 0xe] P-State: Added [Frequency 1716 MHz, FID 0xd] P-State: Added [Frequency 1584 MHz, FID 0xc] P-State: Added [Frequency 1452 MHz, FID 0xb] P-State: Added [Frequency 1320 MHz, FID 0xa] P-State: Added [Frequency 1188 MHz, FID 0x9] P-State: Added [Frequency 1056 MHz, FID 0x8] P-State: Added [Frequency 924 MHz, FID 0x7] P-State: [Frequency 792 MHz, FID 0x6] is over the limit. Removed! FADT: Restart Fix applied ! Patched ACPI version 2 DSDT Starting Darwin x86 Press any key to continue... Is the bold line significant ? I used GeneratePStates=yes and GenerateCStates=Yes, I can see fluctuations in MSR Tools, I would to know how I can check if C-States are working. Also, I find that the bootloader GUI is very slow (problem also exists in chameleon RC5) compared to another computer I use. Thanks.
  5. Scorpy22

    Samsung R Series Notebooks

    Can you explain the values you injected for the graphics part in the DSDT, specifically NVMT and pwm-info ?
  6. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    Does it work in 64bit mode, if so could you tell me where you found the source code ? Thanks
  7. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    On windows brightness is controlled via a software utility and there is about 8 ( I think it uses DSDT's values ) and Auto dim works.
  8. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    Right now I have 16 brightness levels, plus the 0 level.
  9. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    Brightness levels seem to be OK, as for the EDID I injected prior to all the attempts I made to get brightness control working because without it screen colours would be strange. Here is the brightness section on my IOReg Now I just need to map my brightness keys to Fn+Up and Fn+Down , I seem to remember that there was some info on this thread, a few pages back.
  10. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    SUCCESS !!! I managed to get brightness working on my laptop (Nvidia G310m) ! Although it doesn't use your kext, ivik, but I have used it a lot during my research and I think it is interesting information for other nvidia users. Now, before I get to how I did it, I'd like to warn you that I have just succeeded moments ago and I still need to check temperatures and other harmful factors that may cause harm to the hardware. Apparently, all it needed was the @0,pwm-info key injected, I took this key from a MacBookPro6,1 dump, Here, since our graphics card were similar and injected it via GFX strings. Additionally, I added a PNLF device to my DSDT ( usefulness is still to be tested ). Here is the Pnlf device: Device (PNLF) { Name (_HID, EisaId ("APP0002")) Name (_CID, "backlight") Name (_UID, 0x0A) Name (_STA, 0x0B) } And here is the injected part, you can inject it via DSDT or GFX string, it is your choice. You can look up information on how to do that on this forum. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key> <dict> <key>@0,AAPL,boot-display</key> <string>0x00000001</string> <key>@0,EDID</key> <data>AP///////wBMo0UyAAAAAAASAQCAIhN4Cof1lFdPjCcnUFQAAAABAQEBAQEBAQEBAQEBAQEBQRxWoFAAFjAwICUAWMIQAAAZAAAADwAAAAAAAAAAACOHAmQBAAAA/gBTQU1TVU5HCiAgICAgAAAA/gBMVE4xNTZBVDAyMDAwAHw=</data> <key>@0,backlight-control</key> <data>AQAAAA==</data> <key>@0,use-backlight-blanking</key> <data></data> <key>@1,can-hot-plug</key> <data></data> <key>@0,pwm-info</key> <data>AhgAZJBZAgAIUgAApRwAAAAEAAABAAAA</data> <key>AAPL,backlight-control</key> <data>AQAAAA==</data> <key>AAPL,aux-power-connected</key> <data>AQAAAA==</data> <key>@0,built-in</key> <string>0x01</string> <key>@0,compatible</key> <data>TlZEQSxOVk1hYwA=</data> <key>@0,device_type</key> <data>ZGlzcGxheQA=</data> <key>@0,display-cfg</key> <string>0x0036ffff</string> <key>@0,name</key> <data>TlZEQSxEaXNwbGF5LUEA</data> <key>@1,compatible</key> <data>TlZEQSxOVk1hYwA=</data> <key>@1,device_type</key> <data>ZGlzcGxheQA=</data> <key>@1,display-cfg</key> <string>0x013eff00</string> <key>@1,name</key> <data>TlZEQSxEaXNwbGF5LUIA</data> <key>AAPL,slot-name</key> <string>Slot-1</string> <key>NVCAP</key> <data>BAAAAAAAAQD+AAAAAAAACgAAAAA=</data> <key>NVPM</key> <data>AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</data> <key>VRAM,totalsize</key> <string>0x20000000</string> <key>device_type</key> <data>TlZEQSxQYXJlbnQA</data> <key>model</key> <data>R2VGb3JjZSBHMzEwTQA=</data> <key>rom-revision</key> <data>IEJJT1MA</data> </dict> </dict> </plist> It all began to work for me when I injected the @0,pwm-info key however some of the other keys may still be necessary (especially the keys concerning backlight). Again, this may be dangerous, be careful when or if you try this out. I am not responsible if this bricks your hardware
  11. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    Concerning the nvidia registers, I used to use a version of nvclock that I modified myself, it worked fine, however it also gave me random kernel panic at boot. That is why I am trying to find an alternative. About the OSYS, I will change them and then I'll get back to you, finally I don't know what you mean about my _BCL being wrong, it comes from a freshly extracted DSDT. Again, thanks for you help ( and your time)
  12. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    OK, still no panic, which is good . However I still can't change brightness with the utility or the menu applet ( still returns 100). I am going to try to disable the NVDIA driver, and reboot, I think it might be interfering. My current BRGT device Device (BRGT) { Name (_HID, EisaId ("APP0321")) Name (_CID, "brightness") Name (_UID, 0x0A) Name (_STA, 0x0B) Method (_BCL, 0, NotSerialized) { Store (One, VDRV) Return (Package (0x0A) { 0x50, 0x0D, 0x07, 0x0D, 0x14, 0x1E, 0x2D, 0x3C, 0x50, 0x64 }) } Method (_BCM, 1, NotSerialized) { ^^PCI0.P0P2.NVID.LCD._BCM (Arg0) } Method (_BQC, 0, NotSerialized) { Return (0x64) } } I have this in /var/log/kernel.log Acpi brightness levels:8, lowest brightness:7, highest brightness:100 GenericBrightness: Kernel Control Registered EDIT: Theory correct, without nvidia driver I can change the brightness with the menu applet
  13. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    It seems the KP problem is with the _BQC method, I edited it like you suggested and it doesn't KP anymore however the brightness still doesn't change and 'brightness get' always returns 100 ( as expected). I tried to change the brightness with the utility and the menu applet but no succes. Thanks for you help.
  14. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    Hello, I get a kernel panic with the second method ( All.zip ). I used this BRGT device: Device (BRGT) { Name (_HID, EisaId ("APP0321")) Name (_CID, "brightness") Name (_UID, 0x0A) Name (_STA, 0x0B) Method (_BCL, 0, NotSerialized) { Store (One, VDRV) Return (Package (0x0A) { 0x50, 0x0D, 0x07, 0x0D, 0x14, 0x1E, 0x2D, 0x3C, 0x50, 0x64 }) } Method (_BCM, 1, NotSerialized) { ^^PCI0.GFX0.DD02._BCM (Arg0) } Method (_BQC, 0, NotSerialized) { Return (BRTL) } } The kernel panic had GenericBrightness.kext in his backtrace. Is there anything I can do ? Thanks
  15. Scorpy22

    UPDATED 20.12. GenericBrightness.kext

    No changes with this DSDT, Here's my IOReg screenshot. Min, max, and value are at 0, I suppose the problem comes from here.
×