add device information for latest ios devices

- iPhone9,[1-4] (gpu)
- iPhone10,[1-6] (cpu)
- iPhone11,2 iPhone11,4 iPhone11,6 iPhone11,8 (model, cpu, gpu)
- iPad6,11 iPad6,12 (cpu, gpu)
- iPad7,[1-4] (cpu)
- iPad7,[5-6] (model, cpu, gpu)
- iPad8,[1-8] (model, cpu)
- iPad11,[1-4] (model, cpu)

source:
https://en.wikipedia.org/wiki/List_of_iOS_devices
This commit is contained in:
jkhsjdhjs 2019-04-16 03:35:51 +02:00
parent b7ffa9e9bf
commit fa3684b395
No known key found for this signature in database
GPG Key ID: BAC6ADBAB7D576CC
1 changed files with 40 additions and 17 deletions

View File

@ -1085,16 +1085,21 @@ get_model() {
"iPad2,"[1-4]): "iPad 2" ;; "iPad2,"[1-4]): "iPad 2" ;;
"iPad3,"[1-3]): "iPad 3" ;; "iPad3,"[1-3]): "iPad 3" ;;
"iPad3,"[4-6]): "iPad 4" ;; "iPad3,"[4-6]): "iPad 4" ;;
"iPad7,"[5-6]): "iPad 6" ;;
"iPad4,"[1-3]): "iPad Air" ;; "iPad4,"[1-3]): "iPad Air" ;;
"iPad5,"[3-4]): "iPad Air 2" ;; "iPad5,"[3-4]): "iPad Air 2" ;;
"iPad11,"[3-4]): "iPad Air 3" ;;
"iPad6,"[7-8]): "iPad Pro (12.9 Inch)" ;; "iPad6,"[7-8]): "iPad Pro (12.9 Inch)" ;;
"iPad6,"[3-4]): "iPad Pro (9.7 Inch)" ;; "iPad6,"[3-4]): "iPad Pro (9.7 Inch)" ;;
"iPad7,"[1-2]): "iPad Pro 2 (12.9 Inch)" ;; "iPad7,"[1-2]): "iPad Pro 2 (12.9 Inch)" ;;
"iPad7,"[3-4]): "iPad Pro (10.5 Inch)" ;; "iPad7,"[3-4]): "iPad Pro (10.5 Inch)" ;;
"iPad8,"[1-4]): "iPad Pro (11 Inch)" ;;
"iPad8,"[5-8]): "iPad Pro 3 (12.9 Inch)" ;;
"iPad2,"[5-7]): "iPad mini" ;; "iPad2,"[5-7]): "iPad mini" ;;
"iPad4,"[4-6]): "iPad mini 2" ;; "iPad4,"[4-6]): "iPad mini 2" ;;
"iPad4,"[7-9]): "iPad mini 3" ;; "iPad4,"[7-9]): "iPad mini 3" ;;
"iPad5,"[1-2]): "iPad mini 4" ;; "iPad5,"[1-2]): "iPad mini 4" ;;
"iPad11,"[1-2]): "iPad mini 5" ;;
"iPad6,11" | "iPad 6,12") "iPad6,11" | "iPad 6,12")
: "iPad 5" : "iPad 5"
@ -1113,12 +1118,15 @@ get_model() {
"iPhone8,1"): "iPhone 6s" ;; "iPhone8,1"): "iPhone 6s" ;;
"iPhone8,2"): "iPhone 6s Plus" ;; "iPhone8,2"): "iPhone 6s Plus" ;;
"iPhone8,4"): "iPhone SE" ;; "iPhone8,4"): "iPhone SE" ;;
"iPhone11,2"): "iPhone XS" ;;
"iPhone11,8"): "iPhone XR" ;;
"iPhone9,1" | "iPhone9,3"): "iPhone 7" ;; "iPhone9,1" | "iPhone9,3"): "iPhone 7" ;;
"iPhone9,2" | "iPhone9,4"): "iPhone 7 Plus" ;; "iPhone9,2" | "iPhone9,4"): "iPhone 7 Plus" ;;
"iPhone10,1" | "iPhone10,4"): "iPhone 8" ;; "iPhone10,1" | "iPhone10,4"): "iPhone 8" ;;
"iPhone10,2" | "iPhone10,5"): "iPhone 8 Plus" ;; "iPhone10,2" | "iPhone10,5"): "iPhone 8 Plus" ;;
"iPhone10,3" | "iPhone10,6"): "iPhone X" ;; "iPhone10,3" | "iPhone10,6"): "iPhone X" ;;
"iPhone11,4" | "iPhone11,6"): "iPhone XS Max" ;;
"iPod1,1"): "iPod touch" ;; "iPod1,1"): "iPod touch" ;;
"ipod2,1"): "iPod touch 2G" ;; "ipod2,1"): "iPod touch 2G" ;;
@ -1873,8 +1881,10 @@ get_cpu() {
"iPhone5,"[1-4]): "Apple A6 (2) @ 1.3GHz" ;; "iPhone5,"[1-4]): "Apple A6 (2) @ 1.3GHz" ;;
"iPhone6,"[1-2]): "Apple A7 (2) @ 1.3GHz" ;; "iPhone6,"[1-2]): "Apple A7 (2) @ 1.3GHz" ;;
"iPhone7,"[1-2]): "Apple A8 (2) @ 1.4GHz" ;; "iPhone7,"[1-2]): "Apple A8 (2) @ 1.4GHz" ;;
"iPhone8,"[1-4]): "Apple A9 (2) @ 1.85GHz" ;; "iPhone8,"[1-4] | "iPad6,11" | "iPad6,12"): "Apple A9 (2) @ 1.85GHz" ;;
"iPhone9,"[1-4]): "Apple A10 Fusion (4) @ 2.34GHz" ;; "iPhone9,"[1-4] | "iPad7,"[5-6]): "Apple A10 Fusion (4) @ 2.34GHz" ;;
"iPhone10,"[1-6]): "Apple A11 (6) @ 2.39GHz" ;;
"iPhone11,2" | "iPhone11,4" | "iPhone11,6" | "iPhone11,8" | "iPad11,"[1-4]): "Apple A12 (6) @ 2.49GHz" ;;
"iPod2,1"): "Samsung S5L8720 (1) @ 533MHz" ;; "iPod2,1"): "Samsung S5L8720 (1) @ 533MHz" ;;
"iPod3,1"): "Samsung S5L8922 (1) @ 600MHz" ;; "iPod3,1"): "Samsung S5L8922 (1) @ 600MHz" ;;
"iPod7,1"): "Apple A8 (2) @ 1.1GHz" ;; "iPod7,1"): "Apple A8 (2) @ 1.1GHz" ;;
@ -1888,6 +1898,8 @@ get_cpu() {
"iPad5,"[3-4]): "Apple A8X (3) @ 1.5GHz" ;; "iPad5,"[3-4]): "Apple A8X (3) @ 1.5GHz" ;;
"iPad6,"[3-4]): "Apple A9X (2) @ 2.16GHz" ;; "iPad6,"[3-4]): "Apple A9X (2) @ 2.16GHz" ;;
"iPad6,"[7-8]): "Apple A9X (2) @ 2.26GHz" ;; "iPad6,"[7-8]): "Apple A9X (2) @ 2.26GHz" ;;
"iPad7,"[1-4]): "Apple A10X (6) @ 2.39GHz" ;;
"iPad8,"[1-8]): "Apple A12X (8) @ 2.49GHz" ;;
esac esac
cpu="$_" cpu="$_"
;; ;;
@ -2183,7 +2195,6 @@ get_gpu() {
case "$kernel_machine" in case "$kernel_machine" in
"iPhone1,"[1-2]): "PowerVR MBX Lite 3D" ;; "iPhone1,"[1-2]): "PowerVR MBX Lite 3D" ;;
"iPhone5,"[1-4]): "PowerVR SGX543MP3" ;; "iPhone5,"[1-4]): "PowerVR SGX543MP3" ;;
"iPhone8,"[1-4]): "PowerVR GT7600" ;;
"iPad3,"[1-3]): "PowerVR SGX534MP4" ;; "iPad3,"[1-3]): "PowerVR SGX534MP4" ;;
"iPad3,"[4-6]): "PowerVR SGX554MP4" ;; "iPad3,"[4-6]): "PowerVR SGX554MP4" ;;
"iPad5,"[3-4]): "PowerVR GXA6850" ;; "iPad5,"[3-4]): "PowerVR GXA6850" ;;
@ -2205,6 +2216,18 @@ get_gpu() {
: "PowerVR GX6450" : "PowerVR GX6450"
;; ;;
"iPhone8,"[1-4] | "iPad6,11" | "iPad6,12")
: "PowerVR GT7600"
;;
"iPhone9,"[1-4] | "iPad7,"[5-6])
: "PowerVR GT7600 Plus"
;;
"iPhone11,2" | "iPhone11,4" | "iPhone11,6" | "iPhone11,8")
: "G11P"
;;
"iPod1,1" | "iPod2,1") "iPod1,1" | "iPod2,1")
: "PowerVR MBX Lite" : "PowerVR MBX Lite"
;; ;;