스크립트에서 사용할 명령에서 Apple USB 키보드 일련 번호를 검색하고 싶습니다.
어떤 명령을 사용할 수 있습니까?
답변
나는 네가 할 수 있다고 생각하지 않는다. 귀하가 양철통 get은 System Profiler를 통해 사용할 수 있습니다. system_profiler SPUSBDataType
, 내 맥북 반환합니다 :
Apple Internal Keyboard / Trackpad:
Product ID: 0x0259
Vendor ID: 0x05ac (Apple Inc.)
Version: 2.24
Speed: Up to 12 Mb/sec
Manufacturer: Apple Inc.
Location ID: 0x14400000 / 3
Current Available (mA): 1000
Current Required (mA): 40
Extra Operating Current (mA): 0
Built-In: Yes