chirhoxi
July 10th, 2009, 05:19 PM
[Background]
I have a older model of the mac mini running Ubuntu 8.10. This particular mini is using the "Santa Rosa" chipset and more specific to my issue is using the 82801GBH I/O controller hub (http://www.intel.com/design/chipsets/datashts/307013.htm) On this mac mini I can successfully get it to reboot after power is restored following a power failure. This is done by setting the proper register on the I/O controller hub via this command
sudo setpci -s 0:1f.0 0xa4.b=0
referenced from (http://www.mythic-beasts.com/support/macminicolo_howto.html).
However, I am running Ubuntu 8.04 on the newest 2009 revision of the mac mini. This mac mini uses the NVIDIA 9400M G chipset (http://www.appleinsider.com/articles/08/10/17/inside_the_new_macbooks_firewire_usb_and_the_nvidi a_controller.html). I can not find any references from a full days efforts on google of anyone getting the newer mac mini's to reboot after power is restored from a power failure.
[Problem]
I can not find any datasheets/documentation/specification on the NVIDIA chipset used in the newer mac mini in regards to I/O control registers and power management registers so that I can know the proper register to set and what value to set it.
[Information]
On the older mac mini the out put of lspci is:
#>lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
This device [00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)] is the one that I set the AFTER_G3 bit in register 0xa4 and everything works like it should. When power is lost and then restored the system boots.
On the newer mac mini the output of lspci is
#> lspci
00:00.0 Host bridge: nVidia Corporation Unknown device 0a82 (rev b1)
00:00.1 RAM memory: nVidia Corporation Unknown device 0a88 (rev b1)
00:03.0 ISA bridge: nVidia Corporation Unknown device 0aae (rev b2)
00:03.1 RAM memory: nVidia Corporation Unknown device 0aa4 (rev b1)
00:03.2 SMBus: nVidia Corporation Unknown device 0aa2 (rev b1)
00:03.3 RAM memory: nVidia Corporation Unknown device 0a89 (rev b1)
00:03.4 RAM memory: nVidia Corporation Unknown device 0a98 (rev b1)
00:03.5 Co-processor: nVidia Corporation Unknown device 0aa3 (rev b1)
00:04.0 USB Controller: nVidia Corporation Unknown device 0aa5 (rev b1)
00:04.1 USB Controller: nVidia Corporation Unknown device 0aa6 (rev b1)
00:06.0 USB Controller: nVidia Corporation Unknown device 0aa7 (rev b1)
00:06.1 USB Controller: nVidia Corporation Unknown device 0aa9 (rev b1)
00:08.0 Audio device: nVidia Corporation Unknown device 0ac0 (rev b1)
00:09.0 PCI bridge: nVidia Corporation Unknown device 0aab (rev b1)
00:0a.0 Ethernet controller: nVidia Corporation Unknown device 0ab0 (rev b1)
00:0b.0 IDE interface: nVidia Corporation Unknown device 0ab5 (rev b1)
00:10.0 PCI bridge: nVidia Corporation Unknown device 0aa0 (rev b1)
00:15.0 PCI bridge: nVidia Corporation Unknown device 0ac6 (rev b1)
00:16.0 PCI bridge: nVidia Corporation Unknown device 0ac7 (rev b1)
02:00.0 VGA compatible controller: nVidia Corporation Unknown device 0861 (rev b1)
03:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 05)
04:00.0 FireWire (IEEE 1394): Agere Systems Unknown device 5901 (rev 07)
If I assume that the register layout in Intel and NVIDIA's chipsets are the same then I would just set the device [00:03.0 ISA bridge: nVidia Corporation Unknown device 0aae (rev b2)] with a command such as
sudo setpci -s 00:03.0 0xa4.b=0
However the world is not so perfect and this doesn't work. Has anyone had experience with this? I simply need to know what register in the chipset to change via setpci command. Does anyone know which register in the nvidia 9400m (NVIDIA MCP79 chipset family) is used for Power Management, specifically boot on power restore following a power failure.
Thanks in advanced.
I have a older model of the mac mini running Ubuntu 8.10. This particular mini is using the "Santa Rosa" chipset and more specific to my issue is using the 82801GBH I/O controller hub (http://www.intel.com/design/chipsets/datashts/307013.htm) On this mac mini I can successfully get it to reboot after power is restored following a power failure. This is done by setting the proper register on the I/O controller hub via this command
sudo setpci -s 0:1f.0 0xa4.b=0
referenced from (http://www.mythic-beasts.com/support/macminicolo_howto.html).
However, I am running Ubuntu 8.04 on the newest 2009 revision of the mac mini. This mac mini uses the NVIDIA 9400M G chipset (http://www.appleinsider.com/articles/08/10/17/inside_the_new_macbooks_firewire_usb_and_the_nvidi a_controller.html). I can not find any references from a full days efforts on google of anyone getting the newer mac mini's to reboot after power is restored from a power failure.
[Problem]
I can not find any datasheets/documentation/specification on the NVIDIA chipset used in the newer mac mini in regards to I/O control registers and power management registers so that I can know the proper register to set and what value to set it.
[Information]
On the older mac mini the out put of lspci is:
#>lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
This device [00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)] is the one that I set the AFTER_G3 bit in register 0xa4 and everything works like it should. When power is lost and then restored the system boots.
On the newer mac mini the output of lspci is
#> lspci
00:00.0 Host bridge: nVidia Corporation Unknown device 0a82 (rev b1)
00:00.1 RAM memory: nVidia Corporation Unknown device 0a88 (rev b1)
00:03.0 ISA bridge: nVidia Corporation Unknown device 0aae (rev b2)
00:03.1 RAM memory: nVidia Corporation Unknown device 0aa4 (rev b1)
00:03.2 SMBus: nVidia Corporation Unknown device 0aa2 (rev b1)
00:03.3 RAM memory: nVidia Corporation Unknown device 0a89 (rev b1)
00:03.4 RAM memory: nVidia Corporation Unknown device 0a98 (rev b1)
00:03.5 Co-processor: nVidia Corporation Unknown device 0aa3 (rev b1)
00:04.0 USB Controller: nVidia Corporation Unknown device 0aa5 (rev b1)
00:04.1 USB Controller: nVidia Corporation Unknown device 0aa6 (rev b1)
00:06.0 USB Controller: nVidia Corporation Unknown device 0aa7 (rev b1)
00:06.1 USB Controller: nVidia Corporation Unknown device 0aa9 (rev b1)
00:08.0 Audio device: nVidia Corporation Unknown device 0ac0 (rev b1)
00:09.0 PCI bridge: nVidia Corporation Unknown device 0aab (rev b1)
00:0a.0 Ethernet controller: nVidia Corporation Unknown device 0ab0 (rev b1)
00:0b.0 IDE interface: nVidia Corporation Unknown device 0ab5 (rev b1)
00:10.0 PCI bridge: nVidia Corporation Unknown device 0aa0 (rev b1)
00:15.0 PCI bridge: nVidia Corporation Unknown device 0ac6 (rev b1)
00:16.0 PCI bridge: nVidia Corporation Unknown device 0ac7 (rev b1)
02:00.0 VGA compatible controller: nVidia Corporation Unknown device 0861 (rev b1)
03:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 05)
04:00.0 FireWire (IEEE 1394): Agere Systems Unknown device 5901 (rev 07)
If I assume that the register layout in Intel and NVIDIA's chipsets are the same then I would just set the device [00:03.0 ISA bridge: nVidia Corporation Unknown device 0aae (rev b2)] with a command such as
sudo setpci -s 00:03.0 0xa4.b=0
However the world is not so perfect and this doesn't work. Has anyone had experience with this? I simply need to know what register in the chipset to change via setpci command. Does anyone know which register in the nvidia 9400m (NVIDIA MCP79 chipset family) is used for Power Management, specifically boot on power restore following a power failure.
Thanks in advanced.