apple_device_identifiers icon indicating copy to clipboard operation
apple_device_identifiers copied to clipboard

Add additional AirPort models

Open clo4 opened this issue 3 years ago • 3 comments

https://www.tonymacx86.com/threads/howto-use-ubuntu-as-a-mac-os-x-time-capsule.86371/post-533769

image

@drakebrian Possibly something you'd be interested in adding? I'll try to find some time to find additional sources too 🙂

clo4 avatar Mar 05 '22 09:03 clo4

I'm on it, I'll try and find some additional sources to confirm

drakebrian avatar Mar 06 '22 02:03 drakebrian

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!

clo4 avatar Mar 07 '22 03:03 clo4

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.

drakebrian avatar Mar 07 '22 13:03 drakebrian