Jump to content

gelomon

Members
  • Posts

    45
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by gelomon

  1. Apparently, It does make a difference. I do not have screenshots on my comparison as I'm too sleepy to take screenshots of testing but I found some interesting results:

    I removed undervolt and just use the SMBIOS

     

    Results were monitored using Intel Power Gadget

     

    MacBookPro11,4
    Base Frequency starts mostly at 2.6Ghz turbo upto 3Ghz
    Idle goes below upto 1.3ghz, stays at 1.4~1.5Ghz but always ramps up to 2.6Ghz

     

    MacBookPro11,1
    Base Frequency starts mostly at 1.7Ghz turbo 2.7Ghz upto 3Ghz
    Idle goes below upto 0.8hz(seldom), stays mostly at 1.16~1.2Ghz ramping up to 2Ghz if needed

     

    MacBookAir6,2
    Base Frequency starts mostly at 1.7Ghz turbo 2.7Ghz upto 3Ghz
    Idle goes below upto 1.20Ghz, stays mostly at 1.3~1.4Ghz ramping up to 2Ghz if needed

     

    I choose MacBookPro11,1

    I run a youtube playback test on microsoft edge browser starting at 95% battery charge upto 15% at 80% Brightness and 50% audio volume

     

    Total Runtime: 5 Hours

    Battery Consumed: 80%

     

    I limit the max charge of battery on bios to 95% and I don't want to fully drain this generic battery so I stopped already at 15%. see attached screenshot of my testing and current setup:

     

    1174156760_ScreenShot2023-01-04at7_44_57AM.thumb.png.af71feb7ecc8e2e73ec0115de639d851.png

     

    1040688064_ScreenShot2023-01-04at7_45_36AM.png.d025d233ea240eb3a28f3ed4239e39fc.png

    1369974109_ScreenShot2023-01-04at10_13_44AM.thumb.png.8587ad8983788a1e93384ccf8c9a4025.png1681926498_ScreenShot2023-01-04at10_12_12AM.thumb.png.d2d74f7a74e0477835258a4368ed11e0.png

     

  2. Thanks for the insights @Hervé! My new generic 54wHr battery is already half a month old and still no signs of utter crap. I just do not left this charging. My original dell battery was already bloated and was just handling about 30-45 mins of battery life.

     

     

    I have done most of the things now:

    • reduce brightness
    • working hibernation
    • revising CPU power settings (causes instability)
    • disabling turbo boost
    • already on SSD

    I have also done additional things:

    • set ASPM for other devices
      • L0s+L1 for ethernet port (not really using ethernet, I might set this to L1)
      • L1 for serial connection (can't disable device since this is not defined on ACPI)
      • L0s+L1 for SDCard reader
      • L0s+L1 for WiFi Card
      • Proper aspm heirarchy for port/devices
    • Blocked Loading of Serial Kext 1650XSerial
    • Cleanup of additional kexts (SMCSuperIO, SMCLightSensor, BrightnessFix (replaced with SSDT-BRT6))
    • Undervolt using VoltageShift >> zspherez / VoltageShift

     

     

    john@MacBook-Pro Release % voltageshift info
    ------------------------------------------------------
       VoltageShift Info Tool
    ------------------------------------------------------
    CPU voltage offset: -60mv
    GPU voltage offset: -30mv
    CPU Cache voltage offset: -60mv
    System Agency offset: 0mv
    Analogy I/O: 0mv
    Digital I/O: 0mv
    CPU BaseFreq: 2600, CPU MaxFreq(1/2/4): 3000/2700/2700 (mhz) Turbo_Disabled PL1: 18W PL2: 25W 
    CPU Freq: 1.7ghz, Voltage: 0.6561v, Power:pkg 7.92w /core 3.40w,Temp: 76 c
    

     

     

    Can't make sure yet the battery life improvement with this solution, but my hack seems more battery friendly compared to default settings. My last one to test was the SMBIOS, so far my candidates are:

    MacBookAir6,2

    MacBookPro11,1

     

    this is to be paired with -no_compat_check boot arg

     

    Current setup MacBookPro11,4 is a Haswell(HQ) maybe that's why default config was a battery hunger. CPU base Frequency is 2.6GHz, idles at 1.3Ghz but rarely stay there even on light load

  3. I have been optimizing my hack these past month and my target now was better battery consumption.

    My new battery (generic brand 54wHr) last about 2~3 hours on single charge and I think I might get better battery consumption with optimizations.

     

    I managed to make hibernation work ( mode 3 and 25 ) so I can save my battery health over time, (battery is much more expensive than SSD lol)

    My hack Hibernates 1 hour after sleep on battery, 4 hours when charging, and directly when battery hits 7%

     

    If you have suggestions or guides on how can I make my hack more battery friendly, kindly help me out

     

     

    On my hack I saw only few options on the Battery menu on System Preferences but what I saw on others on Monterey, they have way more options to tinker for better battery. Is this normal or there is something we need for this?

     

    E7440 Battery Settings

    1410365185_ScreenShot2023-01-02at1_09_55PM.png.df1d13ec9a355c77335efa578f34dee9.png

    Others:

    1381353480_LowPowerMode.png.a5bb22488f3b4727dfd7bb610433128e.thumb.png.84bd441b29556d40842d172535d8be1f.png

  4. Seems like the WWAN port has it's own Args passed. it is the only one passing the GPRW (0x09, 0x04)

     

    It's the only one passing the 0x09. I don't know why is this happening, but handling it on the SSDT-GPRW  fixed it. maybe it's the default thing on combo WWAN/mSATA port.

    I also tried disabling the default WiFi/BT mini-pcie port on BIOS but still instant wake happens.

     

    I am just happy now that this is the fix. I was worried and can't concentrate last time as the fans ramping up fast on instantwake lol

     

                    Device (PXSX)
                    {
                        Name (_ADR, Zero)  // _ADR: Address
                        Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
                        {
                            Return (GPRW (0x09, 0x04))
                        }
                    }

     

    • Like 1
  5. Do you also use the WWAN port used on your e7270? I think we have a confusion, my intel wifi card is working but it is on the original wifi/bt mini-pcie port.

    I also don't know why is this the case on my end. Maybe due to updated bios? I am on the latest a28 which was released on 2019.

     

    Thanks again for the inputs about how you fix the DSDT on your other hack. At first I planned to just rename on DSDT via Opencore but that would only be trivial when I can just edit the GPRW and add the new handling for other arguments present on my DSDT.

     

     

     

  6. Thanks @Jake Lo for the USBPorts, It's the same with my newly generated in which the Bluetooth was on port 07.

     

    Hi @Hervé, Thanks for some insights. I have solved the instant wake issue after multiple hours of debugging and checking what went wrong I finally found the issue and fixed it with just an SSDT Modification. I found out that it's not the USB port not supporting the bluetooth but the WiFi device itself. I also found that the SDCard Reader might also cause instant wake due to unhandled call.

     

    See below for the fix:

     

    Going back to the logs I got from pmset -g log we can see that it is reporting DarkWake cause is due to LID0 PXSX/Network

     

    2022-12-11 13:28:22 +0800 DarkWake            	DarkWake from Normal Sleep [CDN] : due to LID0 PXSX/Network Using AC (Charge:100%) 15 secs

     

    When checking IOReg and querying what device is on PXSX,

     

    ioreg -l | grep -i PXSX | grep -i acpi-path
        | |   |     |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/RP05@1c0004/PXSX@0"
        | |   |     |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/RP06@1c0005/PXSX@0"

     

    I checked hackintool to verify what device really is and found out that it is the Card Reader and the new BCM94360CS2 WiFi device.

     

    41696339_ScreenShot2022-12-12at9_33_10AM.thumb.png.dc904b30046455e8fa29872b449c8895.png

     

    Drilling more further to ACPI searching for this two devices, I found out that these devices are calling the _PRW Method 

    We can see below that both RP05.PXSX and RP06.PXSX calls the GPRW Method which we implemented via SSDT-E7440.aml

     

    RP05.PXSX

    1199593872_ScreenShot2022-12-12at10_02_15AM.thumb.png.ef3b81b23e3e8a3f24cc66dd99c1c077.png

     

    RP06.PXSX

    2010424724_ScreenShot2022-12-12at10_03_07AM.thumb.png.a2a96f6f47b230943c1fedcbbd3f1bbc.png

     

    By inspecting the devices, I found out that these GPRW calls are passing 0x69 and 0x09 respectively.

    I checked the SSDT-E7440.aml and found that these arguments are not handled by the SSDT.

     

    156662326_ScreenShot2022-12-12at10_13_28AM.thumb.png.5738d87799a1d149b873a34c5ff257eb.png

     

    I created more granular SSDTs for everything implemented on the SSDT-E7440.aml more easy debugging.

    I created SSDT-GPRW.aml which implements the the missing 0x69 and 0x09 I also included the original 0x6D and I removed the 0x0D (this is not called / passed anywhere on the DSDT).

    930000278_ScreenShot2022-12-12at10_21_49AM.thumb.png.2e41d2b6a57b4549958f5cb38cf22ff4.png

     

  7. I have created a new USB port Mapping. Mapped the new Bluetooth device on its new location, but still I got instant wake. I’m already running out of ideas on how to fix this issue.

     

    I was surprised, there was a USB device attached to the WWAN port. It was detected when I remapped the USB ports before posting my inquiry here.

     

    About the keyboard, that was the last assertion log after instant wake. I don’t know why it’s there. I got your point, I also don’t see any connection. 
     

    I will try digging into the port and see if I can find anything. Can you suggest other things I can check?

    See below remapped USB ports:1442435718_ScreenShot2022-12-11at8_52_13PM.thumb.png.8f7e60609633d9493e9520114c6c9790.png123971617_ScreenShot2022-12-11at8_52_58PM.thumb.png.9cfb83ed07225acef8adb52327e91f39.png

  8. Hello Everyone. It's me again. I have a lying BCM94360CS2 from my old hack Inspiron 5558 which reached it's end-of-life after 5ish years. Now I want to utilize it so I can minimize also using kexts on my hack. 

    I manage to fit with an adapter and a MHF4 cable (e7440 uses U.FL connection on default mini pcie card) and use it flawlessly enjoying the benefits, perfect handoff, airdrop, unlock with apple watch and faster wifi speeds and no bluetooth stutters.

     

    After sometime of enjoying, I closed the lid and the issue now appears. My laptop no has instant wake.

    Digging in some logs, this is the only thing I found. Nothing helpful.

     

    My hack sleep is working fine with Intel Wifi card

     

    2022-12-10 20:59:56 +0800 DarkWake            	DarkWake from Normal Sleep [CDN] : due to RTC LID0/Maintenance Using BATT (Charge:100%) 32 secs   
    2022-12-10 20:59:56 +0800 HibernateStats      	hibmode=0 standbydelaylow=10800 standbydelayhigh=86400                     	          48       
    2022-12-10 20:59:56 +0800 WakeTime            	WakeTime: 2.084 sec                         
    2022-12-11 13:28:22 +0800 DarkWake            	DarkWake from Normal Sleep [CDN] : due to LID0 PXSX/Network Using AC (Charge:100%) 15 secs   
    2022-12-11 13:28:22 +0800 WakeDetails         	DriverReason:XHC - DriverDetails:                                          
    2022-12-11 13:28:22 +0800 HibernateStats      	hibmode=0 standbydelaylow=10800 standbydelayhigh=86400                     	          182     
    2022-12-11 13:28:22 +0800 WakeTime            	WakeTime: 2.322 sec 
    

     

     

    Any help would be greatly appreciated

     

    This is my hack with the BCM94360CS2

    894837728_ScreenShot2022-12-11at4_54_14PM.thumb.png.fe34469c79199000d47e9db8e615198f.png1499514262_ScreenShot2022-12-11at4_51_40PM.thumb.png.a2554d0c01228d1ea714bbd4176519c0.png

    IMG_4629.thumb.jpg.a7efe0a00de0bccca71d75ddfec183a5.jpgairport-adapter.jpg.6cc7ccd5b0101cba1a843f73ffe86605.jpg

    Another confusing log from pmsert -g assertions. Keyboard was working fine and not causing instant wake on intel wifi card

     

     

    Assertion status system-wide:
       BackgroundTask                 0
       ApplePushServiceTask           0
       UserIsActive                   1
       PreventUserIdleDisplaySleep    0
       PreventSystemSleep             0
       ExternalMedia                  0
       PreventUserIdleSystemSleep     0
       NetworkClientActive            0
    Listed by owning process:
       pid 170(WindowServer): [0x0000001e0009806c] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:1000003c7 name:AppleUserHIDEventSe product:Keyboard eventType:3"  
    	Timeout will fire in 10800 secs Action=TimeoutActionRelease
    No kernel assertions.
    Idle sleep preventers: IODisplayWrangler

     

  9. How stable is Ventura on e7440? can you re-enable SIP after using OLCP?

    I avoided ventura and go straight to Monterey due to unsupported model.

    I'm using my hack for my dayjob so stability is my first concern. lol

    Also on my e7440, I need to add BigSurSDXC kext to make the sdcard reader work.

    I am still waiting for the adapter of BCM94360CS2  to fit in my e7440. 

  10. I would try to implement this if I got free time, but the main problem is I might have a faulty touchpad on my e7440 to begin with. My trackstick left / right /middle is not working just the trackstick itself. my right button on trackpad does not also work. smh

    If there will be any progress or development on the future, I will surely let you know 

    Scrolling slowly is due to finger detection. yup a bit jittery lol

     

    You can also try the original version from acidanthera if there are any difference you can experience. I just made the changes I done (maybe to cope up with faulty touchpad) but If you report that it's much better that Acid's version then I might request a PR on the repo for the Rushmore

  11. I type alot ( I work as a dev and I type alot). I always accidentally move the mouse which is annoying. Typing timeout does not apply to trackstick, it works even when I'm typing. lol

    USB Mouse is working fine without any issues even without VoodooPS2Mouse Kext on my laptop

  12. I will mark this issue now as solved. I have compiled the VoodoPS2 from source of Acidanthera putting back some codes that were removed and added some fixes for v3_v5 inputs. Now my touchpad is working great and is usable upto 3 fingers. No back scrolling, no Jittering, no Jumping. Only problem was the right click on the right button, it is not working but the 2 finger tap is working but not that responsive even the other 2 finger taps were removed. This is solved by disabling 2finger tap on preferences and I used better touchtool to set 2 finger tap as right click and it works fantastic.

     

     

  13. I am having a problematic right click. I have been using the bootpack from @Jake Lo and was running smoothly with Monterey. This is my only problem. Right click on the button does not work, right click with 2 fingers work but buggy (repetitive clicks back and forth). Scrolling also triggers right click. Also the touchpad was not recognized as touchpad

     

    What I have tried:

    • VoodooPS2Controller & VoodooPS2Controller-ALPS on bootpack - buggy right click, seems like right click and 2 finger scroll is mixed. when scrolling is disabled, I can trigger right click with 3 consecutive touchpad clicks
    • VoodooPS2Controller (Latest from acid) - Not working
    • Touchpad is working smoothly without issue on windows 11 (22H2) 

     

    I attached the sample screen recording of what's happening. I also attached the IOReg if that will help.

     

    My hack details:

    • e7440 i5
    • 12GB RAM
    • Alps v3 (as per boot logs but I'm not really sure)
    • Bios: A28
    • Monterey 12.6

     

    Regards,

    John

     

    Screen Recording 2022-11-25 at 9.42.53 AM.mov.zip John’s MacBook Pro.ioreg.zip

  14. @fan0, Apple has changed a lot of stuffs including PS2 code in macOS High Sierra. Hence, the right click value doesn't work, it instead opens up force close menu.

     

    Dinesh is working on it and will come up with an update soon. Also, just FYI, all other values work as they are written in ApplePS2SmartTouchpad documentation.

     

    Regards

     

    some values in the guide are wrong. i am employing trial and error to get the right values...

     

    3 - not working (supposed to be launcher)

    33 - Right Click

     

    I have the launcher menu and right click working on High Sierra, I'm not sure why you are experiencing that.

     

    See attached file for the my own used info.plist for your reference

     

    This info.plist also contains interim fix for:

    Mouse in inactive for 1-2 seconds after typing

    Backlight flickering when adjusting brightness up or down.

     

     

    Below for details of functions i set:

     

    Touchpad Shortcuts

     

    Tap

    1 finger - Click

    2 finger - Right Click

    3 finger - Middle Click

    4 finger - Fullscreen

    5 finger - Application Switcher

     

    Scroll

    2 finger - Scroll Up/Down/Left/Right

    Right edge Scroll Up/Down

     

    Swipe(4 Finger)

    Up - Mission Control

    Down - Application Windows

    Left/Right - Switch Desktop

     

    Swipe(3 Finger)

    Up - Launchpad

    Down - Desktop

    Left - Back

    Right - Forward

     

    Swipe(2 Finger Edge)

    R->L - Notification Center

    L->R - Show/Hide Dock

    Gelomon-info.plist.zip

    • Like 1
  15. Hello everyone. I have been using Smart touchpad for weeks now and loving it as I get near mac gestures on my hack for configuring it properly according to my taste. But i have some issues I want to resolve or if there are any suggestions you can give.

    1. Scroll speed(2 finger scroll and edge scroll) in some places are so fast(terminal, app store) compared to browsers, pdf, etc.

    2. Mouse in inactive for 1-2 seconds after typing. Most of the time it happens but sometimes it is not.

    3. Backlight flickering when adjusting brightness down or down. Screen flickers(i dont know if its the right word) it seems like it blinks when changing brightness via keyboard that appears like blinking.

    Thanks!

    UPDATE: Fixed some of my issue by just configuring the driver

     

    Problem 2: FIXED(interim) by disabling fine adjustments

     

    Problem 3: FIXED(interim) by setting TimeOutEnablesTPadAfterAccInput to 100

  16. Hello everyone. I have been using Smart touchpad for weeks now and loving it as I get near mac gestures on my hack for configuring it properly according to my taste. But i have some issues I want to resolve or if there are any suggestions you can give.

     

    1. Scroll speed(2 finger scroll and edge scroll) in some places are so fast(terminal, app store) compared to browsers, pdf, etc.

     

    2. Mouse in inactive for 1-2 seconds after typing. Most of the time it happens but sometimes it is not.

     

    3. Backlight flickering when adjusting brightness down or down. Screen flickers(i dont know if its the right word) it seems like it blinks when changing brightness via keyboard that appears like blinking.

     

    Thanks!

×
×
  • Create New...