Archive for the ‘Mac’ Category
Posted by jpluimers on 2017/10/13
Just in case you have this driver installed:
$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
com.bresink.driver.BRESINKx86Monitoring (9.0)
[WayBack] Hardware Monitor Help shows how to remove it:
- Ensure you are logged in as user with administrative rights.
- Use the Finder to open the folder Library at the topmost level of your system volume, and inside it, the folder StartupItems. If the driver is still installed, you will see the folder BRESINKx86Monitoring at this location.
- Drag the folder BRESINKx86Monitoring to the Trash. OS X may ask for your administrator password.
–jeroen
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2017/08/28

CompuLab 4K Display Emulator (fit-Headless 4K)
The MacMini is a bit dumb as it won’t enable the GPU when there is no display attached. Which means headless operation is cumbersome as display rendering is very slow.
There are a few tricks of which the off-the-shelve HDMI solutions work best.
You can buy them at Amazon:

CompuLab Display Emulator (fit-Headless)
Sources:
Basically the trick to simulate a monitor with a dummy load works for other display connectors as well (most of them work fine with 75 ohm resistors, usually a bit lower or higher works just as well):
Read the rest of this entry »
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2017/08/11
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks | Leave a Comment »
Posted by jpluimers on 2017/08/07
I had the same issue as in sleep wake – Macbook Air – battery drains while sleeping (but not when shut down) – Ask Different which suddenly introduced itself in April 2016 after I had been running El Capitan (OS X 10.11) for a while.
The Mac didn’t have PowerNap active as I verified using How Power Nap works on your Mac – Apple Support
At first it looked like an SMC reset worked as explained by Reset the System Management Controller (SMC) on your Mac – Apple Support and mentioned in Mac Air loses 90% of battery overnight when in … | Apple Support Communities.
The Mac is indeed running Chrome, but I don’t like to turn that off before sleeping.
Executing pmset -g would show hibernatemode 3.
So I opted for the hibernate option as mentioned in the first link:
sudo pmset -a hibernatemode 25
This will take a bit longer to restore the memory from hibernate state, but saves a lot of frustration.
–jeroen
Posted in Apple, Mac, MacBook, MacBook-Air, Power User | Leave a Comment »
Posted by jpluimers on 2017/07/19
I’ve not tracked down the cause yet, but these seem to be related:
- The Mac OS X build of Atom IO
- WinBox v 3.4 WineBottle version from Winbox for Mac in an embedded Wine environment – Joshaven.com
- pbcopy / pbpaste that allow command-line copy/pasting
- none of these being able to copy/paste any more and return error level 1 like terminal – pbcopy exits code 1, no error message – Ask Different but not even running tmux or screen which means this solution does not apply: ChrisJohnsen/tmux-MacOSX-pasteboard: Notes and workarounds for accessing the Mac OS X pasteboard in tmux sessions.
- I didn’t have Mouse Keys turned on
- Other applications (Chrome, FireFox, TextEdit, Finder, etc) still being able to copy/paste between each other
I’ve “fixed” 4. by doing this as recommended at osx – Copy and Cut sometimes don’t work – Ask Different:
launchctl list | grep com.apple.pboard
If the pboard daemon is running, then stop and start it. If it’s not running, start it:
launchctl stop com.apple.pboard
launchctl start com.apple.pboard
Now 4. works again if I restart each application, 6. still works, but these applications still cannot copy/paste to 1. 2. and 3.
What does work is a full reboot, but that takes a while (especially Chrome re-loading lots of Windows: I need to get more organised here).
It might be that I need to restart each application in 6.
Grrr…..
–jeroen
Posted in *nix, *nix-tools, Apple, atom editor, Hardware, iMac, Internet, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MikroTik, Network-and-equipment, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, routers, Text Editors, tmux | 4 Comments »
Posted by jpluimers on 2017/07/03
For a Iiyama Монитор PL3070WQ 30″ LCD on a Retina MacBook Pro 15-inch Late 2013:
Display Port – works every time
via: 2560×1600 on Dell U3011 with new MacBook Pro – Ask Different
–jeroen
Read the rest of this entry »
Posted in Apple, Mac, MacBook, MacBook Retina, Power User | 1 Comment »
Posted by jpluimers on 2017/06/20
One day I need to research how to get the conversions right for this: How do I Check DHCP Lease info in terminal – Ars Technica OpenForum as I think that ipconfig getoption en0 lease_time gives me the value in a different format than date -r expects.
Also:
At T1 seconds (typically set to 0.5*lease_time) after the last successful renewal, the DHCP client attempts to renew it’s lease with the DHCP server that granted it’s current address via unicast. If unsuccessful, at T2 seconds (typically set to 0.875*lease_time) after the last renewal, the DHCP client attempts to rebind with any DHCP server via multicast.
–jeroen
Posted in Apple, bash, Development, Mac, Mac OS X / OS X / MacOS, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/06/12
You can use this package to install OS X on an empty partition, but perhaps more interestingly, you can also use it to upgrade existing OS X installations to a newer version of the OS X. There are many tools and workflows that support the installation of Apple packages; you can use these together with an OS X installation package to upgrade machines to the latest version of OS X.This is especially interesting when used with tools like Munki — you can automate the upgrade of a group of machines while still preserving user data, or offer an upgrade as a “Self-Service”-type option where a user can initiate an OS X upgrade themselves without needing to have administrative rights.
I will probably need this one day.
Source: munki/createOSXinstallPkg: Tools for packaging OS X installers
–jeroen
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2017/06/02
A while ago I had a “fzsftp could not be started” error using FileZilla on Mac OS X.
From the search results, it wasn’t exactly clear what I did wrong, as the “Show Package Contents” context menu showed “…/Contents/MacOS/fzsftp”
Then I remembered I got a bit confused with all the FileZilla updates coming out and renaming it to contain a version number (I do that with many applications so I can keep old versions allowing me to quickly revert to an older version if there are version compatibilities).
Renaming FileZilla.3.16.x.app back to FileZilla.app solved the issue: apparently FileZilla has a hardcoded dependency on exactly that name. I got there because of the hint about spaces in directories from this thread: fzsftp could not be started – FileZilla Forums
This was before Mac OS X El Capitan; with that version you have to set permissions correctly as well: fzsftp could not be started – Kruyswijk-ICT BV
–jeroen
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, Power User, Security | Leave a Comment »
Posted by jpluimers on 2017/03/31
In addition to my post about Mac OS X: restarting Google Drive when it shows a spinning wheel, restarting a hanging Tunnelblick is even easier:
killall Tunnelblick
open -a Tunnelblick
–jeroen
Posted in Apple, bash, Development, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »