Since upgrading to 10.5.7 I've had a variety of problems (SMBIOS mostly, ethernet driver not always initializing), but this one really has me stumped. I have a LaunchDaemon that runs at boot to set the brightness to 100%. However, it now fails at boot - but works fine later on. Here's the LaunchDaemon:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.eee.brightness</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/set-brightness.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
And here is the script itself:
#!/bin/sh
PCI_ID=`reggie_se -x -D PentiumM 2>&1 | grep -i "Display controller" | awk '{print $1}' | awk '{sub(/\.+$/, "");print}'`
reggie_se -D PCI -i $PCI_ID -w 255 -a 0xF4 -B 32
Nothing much to it. However, the main reggie_se statement is failing at boot, with the following in the kernel messages:
5/28/09 10:00:01 PM local.eee.brightness[55] WARNING: Could not determine processor information.
5/28/09 10:00:01 PM local.eee.brightness[55] WARNING: Could not determine memory controller information.
5/28/09 10:00:01 PM local.eee.brightness[55] WARNING: Could not determine Operating System information.
Nearby, the following messages are also present:
5/28/09 10:00:03 PM kernel VGA: family specific matching fails
5/28/09 10:00:03 PM kernel display: family specific matching fails
It looks to me like it's choking because the display drivers haven't been loaded yet or something. Could this be related to my SMBIOS issues, or is this something else entirely?
I'm using Chameleon 2.0rc1 with its default SMBIOS info; I haven't found a suitable smbios.plist yet. Previously I used PC_EFI v9 and SMBIOSEnabler.kext under 10.5.6, but that doesn't work at all under 10.5.7.