From nobody Mon Nov 27 19:46:41 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SfGLV2JjYz52GpR for ; Mon, 27 Nov 2023 19:46:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SfGLT55lGz3X5s for ; Mon, 27 Nov 2023 19:46:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701114401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3Y2R4a73eOv1//asi8rWwFoBcoaD2DwVNymSynYEjO4=; b=TgpIoOshjFem31nDURFaZffLFVR58jxXVu9PyJJy7vPZAZYSrT3zFv3akzIOA3AgDYtwEw uWbJBhuFeTdYQeyOw4iSeTrOGD/ukMjtHfdZV37QXgmQTlalYZJcKJpFy6f4UHPVPFcXKE iV0TRQWkgpMtnETu4xpdo2eBHBIBEtOs3F/K57c6HOBkmsT9Dz/5kPBdwhTG+eWHov71j8 qM671rFw5drWaCaPozntaFNcYNO7apE1/u624ybMZlu15aRYhEl+kCykecHxBId+irnJvD UaPSrN2RRMN3N2f9maZFeN/14QDtnM91TR9BPqQwvdHh9n76TMya4evxn+FixQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701114401; a=rsa-sha256; cv=none; b=mXDDvNwx0G0TQyZKwAPlr8QWXpwbKeZBHM0M82UZZQFK1KopEPfa39nP3mpTrE3t/vuqqF sb3SMjHSsLDDF+9SWLKnUdsbie/3HCQRZbRZTXmDP+OprE6NL6cbnD3Ga26QOJsGx1WJya OqfqkpV57uvgkxEsLqFM6fw6uLx/ZCnFujMh5Qhk8XcWtp3miSUYqT870Jg0d7rZoJxo5A 4vtuhy0OUJSeNWbONpCrGLX2MXjgLggfc15D7Xnvoe/qkjH7lVLT26ZS80l1TZaQdq5ggw 4NuImik5kV2Tt/bo4KutsdLOzYMLlLdClgb4PTehmOsX324PAd+MJ4DbNib3mQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SfGLT48fBzrkX for ; Mon, 27 Nov 2023 19:46:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ARJkf5i093001 for ; Mon, 27 Nov 2023 19:46:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ARJkfRB093000 for virtualization@FreeBSD.org; Mon, 27 Nov 2023 19:46:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 275386] Bluetooth not working on bhyve guests Date: Mon, 27 Nov 2023 19:46:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zsolty_szasz@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275386 Bug ID: 275386 Summary: Bluetooth not working on bhyve guests Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: zsolty_szasz@yahoo.com Hi,=20 I setup bhyve by bhyve-vm. Host is FreeBSD 14.0-RELEASE. One of my guest is running FreeBSD 14.0-RELEASE. Here I would like to use a Bluetooth adapter = to connect to my speakers. For this I passthrough the following:=20 ppt2 2/0/0 Yes 400 Series Chipset USB 3.1 xHCI Compliant Host Controller to= the guest. Upon running the Guest the Bluetooth adapter is recognized:=20 #dmesg | grep ubt0 ubt0 on uhub1 ubt0: on usbus0 I continue to setup Bluetooth by following this guide: https://freebsdfoundation.org/freebsd-project/resourcesold/networking-basic= s-wifi-and-bluetooth/.=20 # service bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 # service bluetooth start ubt0 - OK! #hccontrol -n ubt0hci inquiry Inquiry result, num_responses=3D1 Inquiry result #0 BD_ADDR: EDIFIER_R1700BT <--- this is my speaker Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 24:04:28 Clock offset: 0x7536 Inquiry complete. Status: No error [00] # hccontrol -n ubt0hci create_connection EDIFIER_R1700BT # hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State EDIFIER_R1700BT 69 ACL 0 MAST NONE 0 0 OPEN # virtual_oss -C 2 -c 2 -r 44100 -b 16 -s 1024 -R /dev/null -P /dev/bluetooth/EDIFIER_R1700BT -d dsp hw.snd.basename_clone: 0 -> 0 virtual_oss: Could not create CUSE DSP device <--- this is what I get! # kldstat Id Refs Address Size Name 1 41 0xffffffff80200000 1d34598 kernel 2 1 0xffffffff81f35000 a2f8 ng_ubt.ko 3 3 0xffffffff81f40000 13f40 ng_hci.ko 4 5 0xffffffff81f54000 4318 ng_bluetooth.ko 5 7 0xffffffff81f59000 16cf0 netgraph.ko 6 1 0xffffffff81f70000 af50 cuse.ko 7 1 0xffffffff82618000 3360 uhid.ko 8 1 0xffffffff8261c000 4364 ums.ko 9 1 0xffffffff82621000 33c0 usbhid.ko 10 1 0xffffffff82625000 3380 hidbus.ko 11 1 0xffffffff82629000 e268 ng_l2cap.ko 12 1 0xffffffff82638000 1bf68 ng_btsocket.ko 13 1 0xffffffff82654000 38f8 ng_socket.ko 14 1 0xffffffff82658000 3558 fdescfs.ko I can't setting up Bluetooth! Something is missing. Facts:=20 1. If I pass the controller on my other guest which is running Windows10 th= en Bluetooth is working - which means passthrough is working. Only in FreeBSD = is not.=20 2. In past I used FreeBSD 14.0-CURRENT only and the adapter worked many many months - so the adapter is not broken. 3. I also have a wireless adapter - passing to guest is ok, setting up as A= P is ok but no wireless transmission.=20 Best regards, --=20 You are receiving this mail because: You are the assignee for the bug.=