हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
एम्युलेटर के यूएसबी पासथ्रू की गाइड
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस पेज पर, AAOS एमुलेटर के लिए यूएसबी पासथ्रू की मदद से ब्लूटूथ डिवाइसों को चालू करने का तरीका बताया गया है.
यूएसबी पासथ्रू कनेक्शन सेट अप करने के लिए, Asus USB-BT400 ब्लूटूथ 4.0 यूएसबी अडैप्टर का इस्तेमाल करें. यह सुविधा, 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
यूएसबी-पासथ्रू की जानकारी के साथ एम्युलेटर लॉन्च करें.
$ emulator -cores 4 -memory 6144 -usb-passthrough vendorid=0x0b05,productid=0x17cb
जिन डॉन्गल की जांच की गई है वे ये हैं:
अन्य डॉंगल काम कर सकते हैं, लेकिन उनकी जांच नहीं की गई है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, 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."]]