2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
에뮬레이터 USB 패스 스루 가이드
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 페이지에서는 AAOS 에뮬레이터에서 USB 패스스루를 사용하여 블루투스 주변기기를 사용 설정하는 방법을 설명합니다.
Asus USB-BT400 블루투스 4.0 USB 어댑터를 사용하여 USB 패스 스루 연결을 설정합니다. 이는 Android 13 이상에 적용됩니다.
- 도구를 Linux 호스트 머신에 연결합니다.
기기가 의도한 대로 작동하는지 확인하려면 lsusb
명령어를 실행합니다.
Asus BT-400 어댑터의 VendorId(0x0b05)
및 ProductId (0x17cb)
값이 표시됩니다.
$ lsusb
Bus 001 Device 010: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth
usb-passthrough 정보로 에뮬레이터를 실행합니다.
$ emulator -cores 4 -memory 6144 -usb-passthrough vendorid=0x0b05,productid=0x17cb
테스트된 동글은 다음과 같습니다.
다른 동글이 작동할 수도 있지만 테스트되지 않았습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-03-26(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-26(UTC)"],[],[],null,["# Emulator USB passthrough guide\n\nThis page describes how to enable Bluetooth peripherals with USB passthrough for\nthe AAOS emulator.\n\nUse The Asus USB-BT400 Bluetooth 4.0 USB adapter to set up the USB passthrough\nconnection. This applies for Android 13 and higher.\n\n1. Connect the dongle to the Linux host machine.\n2. To confirm the device functions as intended, run the `lsusb` command.\n Values for the `VendorId(0x0b05)` and `ProductId (0x17cb)` of the Asus\n BT-400 adapter are displayed.\n\n $ lsusb\n\n Bus 001 Device 010: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth\n\n3. Launch the emulator with the usb-passthrough information.\n\n $ emulator -cores 4 -memory 6144 -usb-passthrough vendorid=0x0b05,productid=0x17cb\n\nThe dongles tested are:\n\n- [ASUS USB-BT400 USB Adapter](https://www.asus.com/us/Networking-IoT-Servers/Adapters/All-series/USBBT400/)\n\nOther dongles may work, however, not tested."]]