Replace ioreg hack with system_profiler