Jump to content

BuXb

Members
  • Content Count

    1,465
  • Joined

  • Last visited


Reputation Activity

  1. Like
    BuXb reacted to headkaze in EFI Agent v1.3.2 (menu bar utility)   
    Source is now on Github here
  2. Like
    BuXb got a reaction from mnfesq in [RELEASE]: SleepOnLowBattery (“SOLB”)   
    SleepOnLowBattery (“SOLB”)
    by BugsB, based on a script by Toggi3 * + more code snippets from the www
     
    For those of us whose HackBook (or even real MacBook) doesn't automatically and properly go into power saving mode on very low battery but just powers down coldly, crashing macOS: “SOLB”, a small and RAM/ CPU wise very low footprint AppleScript based utility that checks the battery level every 2 minutes, running via daemon in the background.
     
    You can choose between two versions, either with or without sound. Both display a notification in the top right of your screen.
     
    Between ≤10 and >8% battery charge:

     
    Between ≤8 and >5% battery charge:

     
    On ≤ 5% battery charge you will see a 10 seconds countdown dialog box in 1 second intervals:

     

     
    which you can cancel, or have your your *ac*Book be sent to sleep when down to 0.
     
    The version with sound uses the pleasant macOS US female voice Allison. If the lady is not installed, you can download "her" via System Preferences, Accessibility, Speech (pane tab should get opened by the install script), click onto the two arrows to the right of System Voice, Customize, English (Unites States) -- Female, activate Allison, OK (macOS downloads voices to /System/Library/Speech/Voices - Allison consumes 120 MB).
     
    If you want to see/ see and listen first, disconnect your Mac from its power supply and double click the “run Demo” file in either folder, with or without sound.
     
    The launcher is installed per user, so one user can use the script with and another user the script without sound.
     
    Run your desired install.command, with or without sound. The script should be active right away without restart.
     
    Regarding the sound version, you can also:
    - download any other English voice of your liking and edit the name inside the script at the very top
    - download any language voice and translate the text inside the script
    Edit with Apple Script Editor, save, install, reboot.
     
    Tested working in macOS High Sierra 10.13.6, Mojave 10.14.6 and Catalina 10.15.2.
    Please feedback if this utility also works for you.
     
    If you have ideas, experience bugs, etc., please contribute as precise, succinct, productive and friendly as possible. In case of a bug, always include your version of macOS for me or others to try and help. Thank you.
     
    ENJOY
     
    VERSION HISTORY:
    2019-12-29 v. 1.2
        •    IMPROVEMENT: Script is now compatible with both, ACPIBatteryManager.kext and SMCBatteryManager.kext
    2019-11-15 v. 1.1
        •    BUG FIX: changed all occurrences of ExternalChargeCapable to ExternalConnected in all Apple Script .scpt files (SleepOnLowBattery.scpt, SleepOnLowBatterySound.scpt, demo.scpt) to restore functionality
        •    IMPROVEMENT: made queries of MaxCapacity and CurrentCapacity more compatible to work with hopefully any system
        •    NEW: added Catalina compatibility to install scripts; verified Mojave compatibility
        •    NEW: Sound script uses voice Allison if installed, otherwise automatically defaults back to another English standard voice (Daniel, Alex or Fred)
    2018-11-10 v.1.0
        •    initial version
     
    IDEAS TO IMPLEMENT IN FUTURE RELEASES:
    Have the sound version install script check if Allison is installed, and if not, offer to download and install it. Purely cosmetic: find a way to have the display notification in the top right of the screen not display the Script Editor icon but the one of the utility without turning the utility into an app but by maintaining a script to keep the load footprint low. This is currently neither possible with an Apple Script nor with an Apple Script Bundle file, only with the script compiled into an app. One possibility might be a Perl approach, if someone volunteers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * Thanks to Toggi3 for the base script:
    https://hints.macworld.com/article.php?story=20110219013713667
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    THE CODE (of the version with sound):
    install.command:
     
    LaunchAgent SleepOnLowBatterySound.plist:
     
    Script SleepOnLowBatterySound.scpt:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
     
    SleepOnLowBattery (SOLB) by BugsB v.1.2 (2019-12-29).zip
  3. Like
    BuXb reacted to boris1 in [RELEASE]: SleepOnLowBattery (“SOLB”)   
    Thank you. How can I modify it to go to hibernate or sleep if it’s idle for a long time or the battery is at a higher level, for example 50%?
  4. Like
    BuXb reacted to el coniglio in System Info, an app to get hardware and kexts info   
    Hello, I'm releasing the System Info app, developed by me based on oldnapalm's idea. It has two main uses, first as a hardware parser, as in this image:
     

     
     
    And second, linking devices to its related kext, as shown below:
     

     
    The application goal is, beyound helping the user to identify hardware, to generate a Hardware Compatibility List, which browser is available (still being finished) at http://olarila.com/kexts. The user can send kext information (name and version) and respective device ids to feed the system from inside the application, selecting the menu option "Transmit data", as in the image:
     

     
    I hope you find the software useful and help us back providing data to the HCL.
     
    Mac version download: SystemInfo.zip
     
    There is a version for windows that allow users to evaluate the hardware compatibility. Requires java JRE to run.
     

     
    Windows version download: SystemInfoWin.zip
     
    Linux version download: SystemInfo.tar.gz
     
    Icon meaning:
    - device was reported as working;
    - device was not reported, but devices in this class are not usually reported;
    - device was not reported, and devices in this class are usually reported.

    How to upload kexts
     

  5. Like
    BuXb reacted to fusion71au in [pre-release] macOS Catalina   
    @dosdude and @ASentientBot deliver the goods again for legacy machines with non metal cards .
     
    Successful upgrade to Catalina DP6_19A536g on my legacy Dell XPS M1530 Core2Duo laptop with Nvidia Tesla 8600M GT accelerated graphics...
     

     
    Prepared USB installer from full app with @dosdude's latest macOS Catalina Patcher v1.0.7 ---> boot to installer with Clover r5018, bypassing machine compatibility checks.  The patched InstallESD.dmg automatically installs the required legacy video kexts so no post install patching required.
     
    Also omits /System/Library/UserEventPlugins/com.apple.telemetry.plugin during the install, so we avoid any kps for Core2Duo CPUs.
  6. Like
    BuXb reacted to Sinetek in Sinetek's Driver for Realtek "RTSX" SDHC Card Readers   
    Hi folks, I know it's been a while.
    After doing some more study I realized what went wrong while writing my driver.
    Now I found a way to make power management (Machine sleep) a reality.
     
    Stay tuned! And thanks so much for the folks who pushed me to not give up on this!
  7. Like
    BuXb reacted to Sinetek in Sinetek's Driver for Realtek "RTSX" SDHC Card Readers   
    I'm highly jealous of your advanced SD technology there 
     
    I never thought this project would become what it is now. I'm having a ton of problems with the BSD driver and after writing to the original authors it seems like the best course of action now is to base off the Linux driver.
    Unfortunately I'm nowhere near a release yet, still working on writing that.
    I'm slowly starting to become an expert on the SD subsystem, lol
  8. Like
    BuXb reacted to Sinetek in Sinetek's Driver for Realtek "RTSX" SDHC Card Readers   
    I did more testing, and the OpenBSD driver sadly doesn't work quite right, even on OpenBSD itself.
    I'm getting occasional I/O errors on the card, and so we can't continue using it.
    One approach could be to rewrite the driver using reversed-engineered information from the Linux driver, and for that I have the pcie tracing output thankfully. Stuff like the PHY register config differs by chip and i'm not quite sure what's what ... probably i could program the chip blindly and send the commands to read write blocks
  9. Like
    BuXb got a reaction from buoo in How to get rid for good of forced "Upgrade to Catalina" notification in Mojave   
    This is a one-(double) click implementation of Rob Griffiths' "Remove the macOS Catalina guilt trip from macOS Mojave" over at his awesome macOS repertoire "The Robservatory". Just hit Install, input your password, hit ENTER/ RETURN, and that should be it.
     
    I added 'RunAtLoad' to the property list so it runs immediately during install, and on account log-in.
     
    The launch agent runs on a per user basis.
     
    If you still get a Upgrade to Catalina notification with Rob's "every day at 6am, noon, and 6pm" settings: I also supplied 4, 5 and 6 hrs scripts in the InstallerData folder. Simply copy the desired launch agent one level higher and run 'Install' again.
     
    A uninstaller is included, too.
     
    How does it run for you?
     
    Let's keep dwelling in Hayikwiir Mat'aar
    BuX
    v.1.0 2019-11-30
    No More Upgrade to Catalina Notification v.1.0 2019-11-30.zip
  10. Like
    BuXb got a reaction from buoo in How to get rid for good of forced "Upgrade to Catalina" notification in Mojave   
    This is a one-(double) click implementation of Rob Griffiths' "Remove the macOS Catalina guilt trip from macOS Mojave" over at his awesome macOS repertoire "The Robservatory". Just hit Install, input your password, hit ENTER/ RETURN, and that should be it.
     
    I added 'RunAtLoad' to the property list so it runs immediately during install, and on account log-in.
     
    The launch agent runs on a per user basis.
     
    If you still get a Upgrade to Catalina notification with Rob's "every day at 6am, noon, and 6pm" settings: I also supplied 4, 5 and 6 hrs scripts in the InstallerData folder. Simply copy the desired launch agent one level higher and run 'Install' again.
     
    A uninstaller is included, too.
     
    How does it run for you?
     
    Let's keep dwelling in Hayikwiir Mat'aar
    BuX
    v.1.0 2019-11-30
    No More Upgrade to Catalina Notification v.1.0 2019-11-30.zip
  11. Like
    BuXb reacted to Sinetek in Sinetek's Driver for Realtek "RTSX" SDHC Card Readers   
    macOS kext_rtsx
     
    Hi, making a new thread. This driver is for Realtek SDHC card readers on a pci/pcie bus, most commonly found in laptops.

    I would like to get testers. The driver is not yet finalized, but I'm making the tread now anyway since there was interest. expect this post to change in the future.
     
    [read below for current status]
     
     
    -- sinetek
     
     
    things to fix eventually
     
    - get more pci id's in plist
    - async task in its own thread instead of blocking the os
    - prealloc DMA buffer?
    - cards with sector_size != 512, haven't been tested at all.
    - clean up src. git push.
    - power management? what happens when you sleep the machine?
    - the eject button in finder is broken, do not use for now.
    - spams the syslog with debug messages. release config?
    - basic namespace pollution a bit out of hand
     
    Update 1:
     
    Power management support on the way: see post #43.
  12. Like
    BuXb reacted to Sinetek in Sinetek's Driver for Realtek "RTSX" SDHC Card Readers   
    hey folks! long time no see, but i have some positive news this time. i found out the proper way to implement this driver, so i'll be making a new attempt at it using the latest openbsd source.
    to make a long story short, i was instantiating all sorts of iokit objects improperly... dumb.
     
    today i worked on a proof of concept thinger to verify the macOS side of things, and that's confirmed working. so ya. like the messaging calls between my driver and the rest of the IOKit stack.

    it takes me a lot of time to write these drivers, if you would like to support my work, please kindly consider making a donation. with this driver it is possible we'll be able to boot macOS and use macOS on our SD cards
    wouldn't go far without all your help, if only testing!!
  13. Like
    BuXb got a reaction from mnfesq in [RELEASE]: SleepOnLowBattery (“SOLB”)   
    SleepOnLowBattery (“SOLB”)
    by BugsB, based on a script by Toggi3 * + more code snippets from the www
     
    For those of us whose HackBook (or even real MacBook) doesn't automatically and properly go into power saving mode on very low battery but just powers down coldly, crashing macOS: “SOLB”, a small and RAM/ CPU wise very low footprint AppleScript based utility that checks the battery level every 2 minutes, running via daemon in the background.
     
    You can choose between two versions, either with or without sound. Both display a notification in the top right of your screen.
     
    Between ≤10 and >8% battery charge:

     
    Between ≤8 and >5% battery charge:

     
    On ≤ 5% battery charge you will see a 10 seconds countdown dialog box in 1 second intervals:

     

     
    which you can cancel, or have your your *ac*Book be sent to sleep when down to 0.
     
    The version with sound uses the pleasant macOS US female voice Allison. If the lady is not installed, you can download "her" via System Preferences, Accessibility, Speech (pane tab should get opened by the install script), click onto the two arrows to the right of System Voice, Customize, English (Unites States) -- Female, activate Allison, OK (macOS downloads voices to /System/Library/Speech/Voices - Allison consumes 120 MB).
     
    If you want to see/ see and listen first, disconnect your Mac from its power supply and double click the “run Demo” file in either folder, with or without sound.
     
    The launcher is installed per user, so one user can use the script with and another user the script without sound.
     
    Run your desired install.command, with or without sound. The script should be active right away without restart.
     
    Regarding the sound version, you can also:
    - download any other English voice of your liking and edit the name inside the script at the very top
    - download any language voice and translate the text inside the script
    Edit with Apple Script Editor, save, install, reboot.
     
    Tested working in macOS High Sierra 10.13.6, Mojave 10.14.6 and Catalina 10.15.2.
    Please feedback if this utility also works for you.
     
    If you have ideas, experience bugs, etc., please contribute as precise, succinct, productive and friendly as possible. In case of a bug, always include your version of macOS for me or others to try and help. Thank you.
     
    ENJOY
     
    VERSION HISTORY:
    2019-12-29 v. 1.2
        •    IMPROVEMENT: Script is now compatible with both, ACPIBatteryManager.kext and SMCBatteryManager.kext
    2019-11-15 v. 1.1
        •    BUG FIX: changed all occurrences of ExternalChargeCapable to ExternalConnected in all Apple Script .scpt files (SleepOnLowBattery.scpt, SleepOnLowBatterySound.scpt, demo.scpt) to restore functionality
        •    IMPROVEMENT: made queries of MaxCapacity and CurrentCapacity more compatible to work with hopefully any system
        •    NEW: added Catalina compatibility to install scripts; verified Mojave compatibility
        •    NEW: Sound script uses voice Allison if installed, otherwise automatically defaults back to another English standard voice (Daniel, Alex or Fred)
    2018-11-10 v.1.0
        •    initial version
     
    IDEAS TO IMPLEMENT IN FUTURE RELEASES:
    Have the sound version install script check if Allison is installed, and if not, offer to download and install it. Purely cosmetic: find a way to have the display notification in the top right of the screen not display the Script Editor icon but the one of the utility without turning the utility into an app but by maintaining a script to keep the load footprint low. This is currently neither possible with an Apple Script nor with an Apple Script Bundle file, only with the script compiled into an app. One possibility might be a Perl approach, if someone volunteers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    * Thanks to Toggi3 for the base script:
    https://hints.macworld.com/article.php?story=20110219013713667
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    THE CODE (of the version with sound):
    install.command:
     
    LaunchAgent SleepOnLowBatterySound.plist:
     
    Script SleepOnLowBatterySound.scpt:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
     
    SleepOnLowBattery (SOLB) by BugsB v.1.2 (2019-12-29).zip
  14. Like
    BuXb reacted to vit9696 in AppleALC — dynamic AppleHDA patching   
    Hello,

    This is going to be a support/discussion topic of AppleALC on InsanelyMac. 
    AppleALC is a kernel extension allowing you to enable native apple HD audio without any filesystem modifications. It dynamically injects the necessary modifications to AppleHDA (and other kexts) including the
    layouts, and makes your audio work starting from the OS installation.
     
    It should be noted that AppleALC starting with version 1.1.0 requires Lilu.kext to be put in the same folder as AppleALC.kext. See this topic for more details.
     
    For quite some time we are trying to obtain the necessary information about AppleALC codec compatibility. If you use something, please, consider checking the compatibility table (do not worry, it is in English), and report (here) on your codec. We are also looking for all the possible revisions of the codec, if we do not have the revisions listed for your codec please report as well. Thanks for understanding. 
     
    The report is meant to contain:
    1. Laptop model/Motherboard model
    2. Codec name
    3. Layout used with the info what works for you (ideally if you try them all)
    4. OS X versions you tried
    5. Autogenerated Info.plist made with the help of this utility.
     
    All the details including the source code are available on github:
    https://github.com/vit9696/AppleALC
    Some short wiki articles explaining the usage are included.
     
    As for now the project is relatively immature without practically any codec support. But it should be pretty easy to add more of them, I am hoping for the support of the "community"
    If you have any issues, better report them on github for structural reasons.
  15. Like
    BuXb reacted to Slice in Clover Change Explanations   
    Rev 5094-5-gbe7ab87d (github)
    Implemented mask patching for kexts, kernel and boot.efi.
    Syntax is follow

     
    There are new fields MaskFind and MaskReplace which are bit mask. If they are absent then for backward compatibility old behavior consumed.
    If present
    MaskFind
    Some bit =1 means source must be same as find string. =0 means source may have any bit.
    If MaskFind is not set then full string must be exactly as find string.
    MaskReplace
    Some bit =1 means this bit will be replaced by replace string. =0 means source bit remains untouched.
    If MaskReplace is not set then full string will be replace.
     
    Example (joke)
    If you want to find all occurrence of word "clever" or "Clever" and replace it to "clover" or "Clover" correspondingly then you have to choose the pattern
    Find 43 6c 65 76 65 72
    MaskFind DF FF FF FF FF FF
    See 0xDF have bit 0x20 unset to not differ capital letter.
    Replace 43 6c 6f 76 65 72
    MaskReplace 00 00 FF 00 00 00
    So we set to replace only one letter.
    A mask len can be smaller then find/replace string. Zero will be assumed to fill the string. So for this example we can set
    MaskReplace 00 00 FF
     
    I thing we can use this method also for internal Clover patches like FakeCPUID to simplify patterns and make it more universal for future systems. Some next work requires.
     
    Rev 5094-6-gd139fa45
    One change.
    For MaskFind the default bits are 0xff so for the example above we can set
    MaskFind DF
    assuming all other bits should be 0xFF meaning strict correspondence of search string to pattern.
  16. Like
    BuXb reacted to Slice in Clover Change Explanations   
    Rev 5052
    Implemented a possibility to change injected kext. For example you want to text new version of VoodooPS2.kext while you have another one.
    Place new kext in folder /EFI/CLOVER/kexts/Off and your old kext in /EFI/CLOVER/kexts/Other as usual.
    Then go to menu and click disable one and enable another.
    Screenshots

     

     

     
    i.e. kexts in the folder Off are disabled by default.
  17. Like
    BuXb reacted to Slice in Clover Change Explanations   
    Here I propose all developer will publish their explanation of changes made.
     
    Only developers allowed to post here.
     
    Also there will be no questions and discussion. There is another thread "Clover general discussions" here.
     
    Previous change explanations up to revision 3088 is attached.
    ChangesHistory.rtfd.zip
     
     
    Next revisions up to current 3174 contains:
    1. Bugs eliminations.
    2. Speed improvements.
    3. Support for new hardware: DDR4, Haswell 5th, AMD Radeon, Nvidia, Intel Graphics.
    4. Approved kernel and kext patches.
    Nothing new for users.
  18. Like
    BuXb reacted to Slice in Clover General discussion   
    @loganMac
    Forget sf.net with 5070.
    Take 5096 from CloverHackyColor and install it with new prefPane and new CloverUpdater.
    All other questions will be resolved automatically.
  19. Thanks
    BuXb reacted to vector sigma in VirtualSMC — SMC Emulator   
    You have to enable IPG in the settings by clicking the gear. (HWMonitorSMC2.app)
  20. Like
    BuXb reacted to Slice in HWSensors3   
    Yes, there is.
  21. Like
    BuXb reacted to Slice in HWSensors3   
    I afraid Kozlek made it for 10.7+ systems. You may try also HWMonitorSMC version 1 which should work in 10.6 with minimum changes. May be just recompile it with SDK10.6.
  22. Like
    BuXb reacted to STLVNUB in HWSensors3   
    Well I suspect that nobody has tried on real HW let alone earlier OSX/Mac Os
    My Plan is to make HWMonitor compatible with SnowLeopard onward and iron out any bugs
    As you can see, it shows heaps more info on REAL Apple hardware
    Just need to fix some obvious bugs.
  23. Thanks
    BuXb reacted to Slice in HWSensors3   
    Look carefully. HWMonitor has no many features present in HWMonitorSMC2 such as Intel graphic power consumption, laptop battery amperage and many others.
  24. Like
    BuXb reacted to Slice in HWSensors3   
    It appears IPG must be installed for compilation the project. Now I have success and released revision 240.
  25. Like
    BuXb reacted to Slice in HWSensors3   
    Already done.
    The chip support done in rev 224, and compilation errors fixed in 237.
×