Add additional AirPort models
https://www.tonymacx86.com/threads/howto-use-ubuntu-as-a-mac-os-x-time-capsule.86371/post-533769
@drakebrian Possibly something you'd be interested in adding? I'll try to find some time to find additional sources too 🙂
I'm on it, I'll try and find some additional sources to confirm
Okay! Progress. Adapted from this AskUbuntu answer, we also have these IDs:
AirPort4,102
AirPort4,107
AirPort5,104
AirPort5,105
AirPort5,108
AirPort5,114
AirPort5,117
AirPort6,106
AirPort7,120
For a human-readable (ish) version, run:
plutil -convert json /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist -o info.json
So we can get the devices "UITypeDescription" but that's not super helpful since ideally we want a 1:1 name-to-id mapping... time to find another way to get these product names!
Funny, I came across the same plist dump in my research. Here's what I am thinking the mapping is, but not quite ready to commit it:
AirPort Express
- AirPort4,102 - Airport Express 802.11g (1st generation)
AirPort Extreme
- AirPort5,104 - Original
- AirPort5,105 - 1st generation, 2nd generation (model A1143)
- AirPort5,108 - 3rd generation
- AirPort5,114 - 4th generation
- AirPort5,117 - 5th generation
- AirPort7,120 - 6th generation
AirPort Time Capsule
- AirPort6,106 - 1st generation
- TimeCapsule8,119 - 2nd generation
I think the generic AirPort4 and AirPort5 I have come across in a few places is a placeholder for the whole product line.