mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
smbios_data.py: Update Bluetooth defaults
2011 MacBook Air and Mac minis natively shipped with Bluetooth 4.0 modules: https://everymac.com/systems/by_capability/macs-with-bluetooth-different-bluetooth-capabilities.html This commit does not affect on-model building, as hardware detection is still enforced
This commit is contained in:
+10
-10
@@ -3,13 +3,13 @@ import enum
|
|||||||
|
|
||||||
class bluetooth_data(enum.IntEnum):
|
class bluetooth_data(enum.IntEnum):
|
||||||
# Bluetooth Chipsets
|
# Bluetooth Chipsets
|
||||||
NonApplicable = 0
|
NonApplicable = 0
|
||||||
BRCM2045 = 1 # TODO: Rename chipset, currently guessing MacPro1,1-3,1 name
|
APPLE_CSR = 1 # BT 2.0 - Apple rebranded CSR chipset
|
||||||
BRCM2046 = 2 # BT 2.1
|
BRCM2046 = 2 # BT 2.1
|
||||||
BRCM2070 = 3 # BT 2.1
|
BRCM2070 = 3 # BT 2.1
|
||||||
BRCM20702_v1 = 4 # BT 4.0 - 2012
|
BRCM20702_v1 = 4 # BT 4.0 - 2011/2012
|
||||||
BRCM20702_v2 = 5 # BT 4.0 - 2013+
|
BRCM20702_v2 = 5 # BT 4.0 - 2013+
|
||||||
BRCM20703 = 6 # BT 4.2
|
BRCM20703 = 6 # BT 4.2
|
||||||
BRCM20703_UART = 9 # BRCM20703 over UART, BT 4.2
|
BRCM20703_UART = 9 # BRCM20703 over UART, BT 4.2
|
||||||
UART = 10 # T2
|
UART = 10 # T2
|
||||||
PCIe = 20 # Apple Silicon
|
PCIe = 20 # Apple Silicon
|
||||||
|
|||||||
+21
-21
@@ -25,7 +25,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
||||||
"Max OS Supported": os_data.os_data.snow_leopard,
|
"Max OS Supported": os_data.os_data.snow_leopard,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 13,
|
"Screen Size": 13,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -45,7 +45,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.lion,
|
"Max OS Supported": os_data.os_data.lion,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 13,
|
"Screen Size": 13,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -65,7 +65,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.lion,
|
"Max OS Supported": os_data.os_data.lion,
|
||||||
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm43224,
|
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm43224,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 13,
|
"Screen Size": 13,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -335,7 +335,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
||||||
"Max OS Supported": os_data.os_data.high_sierra,
|
"Max OS Supported": os_data.os_data.high_sierra,
|
||||||
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2070,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM20702_v1,
|
||||||
"Screen Size": 11,
|
"Screen Size": 11,
|
||||||
"Ethernet Chipset": "Broadcom", # Set for Apple Thunderbolt Adapter
|
"Ethernet Chipset": "Broadcom", # Set for Apple Thunderbolt Adapter
|
||||||
"Stock GPUs": [
|
"Stock GPUs": [
|
||||||
@@ -352,7 +352,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
||||||
"Max OS Supported": os_data.os_data.high_sierra,
|
"Max OS Supported": os_data.os_data.high_sierra,
|
||||||
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2070,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM20702_v1,
|
||||||
"Screen Size": 13,
|
"Screen Size": 13,
|
||||||
"Ethernet Chipset": "Broadcom", # Set for Apple Thunderbolt Adapter
|
"Ethernet Chipset": "Broadcom", # Set for Apple Thunderbolt Adapter
|
||||||
"Stock GPUs": [
|
"Stock GPUs": [
|
||||||
@@ -591,7 +591,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
||||||
"Max OS Supported": os_data.os_data.snow_leopard,
|
"Max OS Supported": os_data.os_data.snow_leopard,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 15,
|
"Screen Size": 15,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -610,7 +610,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
||||||
"Max OS Supported": os_data.os_data.snow_leopard,
|
"Max OS Supported": os_data.os_data.snow_leopard,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 17,
|
"Screen Size": 17,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -629,7 +629,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.lion,
|
"Max OS Supported": os_data.os_data.lion,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 17,
|
"Screen Size": 17,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -648,7 +648,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.lion,
|
"Max OS Supported": os_data.os_data.lion,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 15,
|
"Screen Size": 15,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -667,7 +667,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.el_capitan,
|
"Max OS Supported": os_data.os_data.el_capitan,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 15, # Shipped with 17 as well
|
"Screen Size": 15, # Shipped with 17 as well
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -686,7 +686,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.el_capitan,
|
"Max OS Supported": os_data.os_data.el_capitan,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Screen Size": 15, # Shipped with 17 as well
|
"Screen Size": 15, # Shipped with 17 as well
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
@@ -1493,7 +1493,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
||||||
"Max OS Supported": os_data.os_data.snow_leopard,
|
"Max OS Supported": os_data.os_data.snow_leopard,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
"Stock GPUs": [
|
"Stock GPUs": [
|
||||||
device_probe.Intel.Archs.GMA_950
|
device_probe.Intel.Archs.GMA_950
|
||||||
@@ -1510,7 +1510,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.lion,
|
"Max OS Supported": os_data.os_data.lion,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
"Stock GPUs": [
|
"Stock GPUs": [
|
||||||
device_probe.Intel.Archs.GMA_950
|
device_probe.Intel.Archs.GMA_950
|
||||||
@@ -1561,7 +1561,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
||||||
"Max OS Supported": os_data.os_data.high_sierra,
|
"Max OS Supported": os_data.os_data.high_sierra,
|
||||||
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2070,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM20702_v1,
|
||||||
"Ethernet Chipset": "Broadcom",
|
"Ethernet Chipset": "Broadcom",
|
||||||
"Stock GPUs": [
|
"Stock GPUs": [
|
||||||
device_probe.Intel.Archs.Sandy_Bridge
|
device_probe.Intel.Archs.Sandy_Bridge
|
||||||
@@ -1577,7 +1577,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
||||||
"Max OS Supported": os_data.os_data.high_sierra,
|
"Max OS Supported": os_data.os_data.high_sierra,
|
||||||
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2070,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM20702_v1,
|
||||||
"Ethernet Chipset": "Broadcom",
|
"Ethernet Chipset": "Broadcom",
|
||||||
"Stock GPUs": [
|
"Stock GPUs": [
|
||||||
device_probe.Intel.Archs.Sandy_Bridge,
|
device_probe.Intel.Archs.Sandy_Bridge,
|
||||||
@@ -1594,7 +1594,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
"CPU Generation": cpu_data.cpu_data.sandy_bridge.value,
|
||||||
"Max OS Supported": os_data.os_data.high_sierra,
|
"Max OS Supported": os_data.os_data.high_sierra,
|
||||||
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm4360,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2070,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM20702_v1,
|
||||||
"Ethernet Chipset": "Broadcom",
|
"Ethernet Chipset": "Broadcom",
|
||||||
"Stock GPUs": [
|
"Stock GPUs": [
|
||||||
device_probe.Intel.Archs.Sandy_Bridge,
|
device_probe.Intel.Archs.Sandy_Bridge,
|
||||||
@@ -1689,7 +1689,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
||||||
"Max OS Supported": os_data.os_data.snow_leopard,
|
"Max OS Supported": os_data.os_data.snow_leopard,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
"Legacy iSight": True,
|
"Legacy iSight": True,
|
||||||
@@ -1708,7 +1708,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
"CPU Generation": cpu_data.cpu_data.yonah.value,
|
||||||
"Max OS Supported": os_data.os_data.snow_leopard,
|
"Max OS Supported": os_data.os_data.snow_leopard,
|
||||||
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
"Wireless Model": device_probe.Atheros.Chipsets.AirPortAtheros40,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Marvell",
|
"Ethernet Chipset": "Marvell",
|
||||||
"Legacy iSight": True,
|
"Legacy iSight": True,
|
||||||
@@ -2546,7 +2546,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.lion,
|
"Max OS Supported": os_data.os_data.lion,
|
||||||
"Wireless Model": None,
|
"Wireless Model": None,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Intel 80003ES2LAN",
|
"Ethernet Chipset": "Intel 80003ES2LAN",
|
||||||
"Socketed GPUs": "PCIe",
|
"Socketed GPUs": "PCIe",
|
||||||
@@ -2565,7 +2565,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
"CPU Generation": cpu_data.cpu_data.conroe.value,
|
||||||
"Max OS Supported": os_data.os_data.lion,
|
"Max OS Supported": os_data.os_data.lion,
|
||||||
"Wireless Model": None,
|
"Wireless Model": None,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Intel 80003ES2LAN",
|
"Ethernet Chipset": "Intel 80003ES2LAN",
|
||||||
"Socketed GPUs": "PCIe",
|
"Socketed GPUs": "PCIe",
|
||||||
@@ -2584,7 +2584,7 @@ smbios_dictionary = {
|
|||||||
"CPU Generation": cpu_data.cpu_data.penryn.value,
|
"CPU Generation": cpu_data.cpu_data.penryn.value,
|
||||||
"Max OS Supported": os_data.os_data.el_capitan,
|
"Max OS Supported": os_data.os_data.el_capitan,
|
||||||
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm43224,
|
"Wireless Model": device_probe.Broadcom.Chipsets.AirPortBrcm43224,
|
||||||
"Bluetooth Model": bluetooth_data.bluetooth_data.BRCM2045,
|
"Bluetooth Model": bluetooth_data.bluetooth_data.APPLE_CSR,
|
||||||
"UGA Graphics": True,
|
"UGA Graphics": True,
|
||||||
"Ethernet Chipset": "Intel 80003ES2LAN",
|
"Ethernet Chipset": "Intel 80003ES2LAN",
|
||||||
"Socketed GPUs": "PCIe",
|
"Socketed GPUs": "PCIe",
|
||||||
|
|||||||
Reference in New Issue
Block a user