hasplmd prevents macOS Sierra from going to sleep and causes random Kernel Panics

howdytom
2 min readMar 10, 2018

I thought this might be worth sharing as my first story on Medium.

Recently I have experienced random Kernel Panics in Mac Sierra. My MacBook has been idle for 1–2 hours. As soon as I get back to work the screen remains black and unresponsive, although the MacBook is still running.

Background

After a crazy long investigation, including a clean install it turned out that a process called hasplmd prevents macOS from going to sleep and it causes random Kernel Panics. hasplmd is a rights management toolkit and it is related to X-Rite i1Profiler screen calibration hardware. hasplmd is used within AVID products as well. I wasn’t aware that i1Profiler also ships with a additional software Dongle from Aladdin. There is a known issue at X-Rite.com.

Updating this piece of junk dongle software didn’t resolve the issue. You will also notice endless system.log entries every 11 seconds which look like this: com.apple.xpc.launchd[1] (com.aladdin.aksusbd): Please switch away from OnDemand to KeepAlive.

Solution

I have completely uninstalled X-Rite i1 Profiler including ALL Aladdin leftovers. Here’s what help me to get rid of this annoying software. Be sure to create a backup first! Delete at your own risk!

  1. Execute the Uninstall i1Profiler AppleScript

2. Kill hasplmd process in Activity Monitor

3. Open System Preferences > Security & Privacy > Firewall > Firewall Options… > Remove hasplmd from connection list

4. Move the following files to the trash + Reboot macOS Sierra.

/Volumes/System/Library/Frameworks/XRiteDevice.framework
/Volumes/System/private/var/db/receipts/com.xrite.i1profiler.*
/Volumes/System/Library/LaunchDaemons/com.xrite.hasp.drivers.plist
/Volumes/System/Library/LaunchDaemons/com.aladdin.aksusbd.plist
/Volumes/System/Library/Application%20Support/CrashReporter/hasplmd_*.plist
/Volumes/System/Library/Application%20Support/X-Rite
/Volumes/System/Library/Application%20Support/HASP
/Volumes/System/Users/tom/Library/Preferences/com.xrite.device.xrdd.plist
/Volumes/System/Users/tom/Library/Application%20Support/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.xrite.xrd.softwareupdate.sfl
/Volumes/System/Users/tom/Library/Application%20Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.x-rite.i1profiler.sfl
/Volumes/System/Users/tom/Library/WebKit/Databases/___IndexedDB/com.x-rite.i1Profiler
/Volumes/System/Users/tom/Library/Cookies/com.x-rite.i1Profiler.binarycookies
/Volumes/System/private/etc/hasplm
/Volumes/System/usr/libexec/hasplmd
/Volumes/System/private/var/db/BootCaches/FFFFEEEE-DDDD-CCCC-BBBB-AAAA000000F8/app.com.x-rite.i1Profiler.playlist

--

--