From nobody Fri Nov 10 14:27:52 2023 X-Original-To: freebsd-desktop@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 4SRh5F4j2Lz511t2 for ; Fri, 10 Nov 2023 14:28:33 +0000 (UTC) (envelope-from dr3mro@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SRh5D75gjz4bVJ for ; Fri, 10 Nov 2023 14:28:32 +0000 (UTC) (envelope-from dr3mro@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ePAF9UIM; spf=pass (mx1.freebsd.org: domain of dr3mro@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=dr3mro@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9c53e8b7cf4so348242466b.1 for ; Fri, 10 Nov 2023 06:28:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699626511; x=1700231311; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=1rMBeXArkbvScDQJlGoPwsK2EytvwzUG9MrEiJ83f+w=; b=ePAF9UIMRkrZuCN/Ge458IeZtA84xEw+eahgg+xBWlmizZ1E9yfh0ile3vzB4Ww7G5 YdFOrKT1Rjpy1i+W90nKoDD2QsFGV2dsj9shYMYA9pB50ryXkvvXpaBeoFHiN7QXGOF+ 1l7HeUJsI52h0TSFwDG6BFYGpmk9xeifvtOeYBeyvD2vGHy/djyq32jnLmyNcNFcmrav HzgjN/Oz8xJ4pBAIKigX3K+wMVHXWKtcjLZsyzCt4tEqOO7/GlS5th1yU6BqxYtvviz6 0XtoSE0AQWs9ZnTlZp0ARGcasXprEmkI1Ft2ee7GfBtXFGFUcTcwwSSddajhTzvkw6cE mrCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699626511; x=1700231311; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1rMBeXArkbvScDQJlGoPwsK2EytvwzUG9MrEiJ83f+w=; b=QSeG7M5+nmaAghDOu3AKA+ww9QgkU8VQRqHD0+GQ7048Ne3/nqnSsC11Zopo8mOJw2 TErbQ3RkHdD1NxHOmcvlF2s5Hcs/6gHImGPe6qtrgsqmQmn6n5M9uetOLApmMswRb0hX fHUN5OCVkJKXz/hMKxVeRCAVNd25fBfwbWSzD2syg87e1jGru2OwL9icmG7hECpFC/KM Q+OMqFRT8fGbOMJuP30AywvYxyouORyY0FP0mt4KREwSVwce8XQG2xf6viLqT4o7PfHj EJR7vush4LFW2FfXV8BFeHQ6HypxnfYlOTYgR9NEAU7h++vR2bwB9mUedu9c9Fsn49hx PfZw== X-Gm-Message-State: AOJu0YxeXtBXT4D+ZvPSs79uPO8wya7a1sKqGfG6EBLs3BtdLwnX34N5 W2mqa00K2taGVhcOnKf9OKqt1MhFPDh6g+5LTgm0oCzU9qQ= X-Google-Smtp-Source: AGHT+IGe4am4QSVZhScP1tAPbHM+KheVpxMKpZUlmZS3pO8xjeij7eM80AvgTcMmmWlgkykXAJprfkThM1OIUNUDXm4= X-Received: by 2002:a17:907:2da9:b0:9da:ef1a:958c with SMTP id gt41-20020a1709072da900b009daef1a958cmr7159423ejc.40.1699626510515; Fri, 10 Nov 2023 06:28:30 -0800 (PST) List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 From: "Dr. Amr Osman" Date: Fri, 10 Nov 2023 16:27:52 +0200 Message-ID: Subject: To: freebsd-desktop@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-2.00 / 15.00]; EMPTY_SUBJECT(1.00)[]; FROM_NAME_HAS_TITLE(1.00)[dr]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-desktop@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-desktop@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4SRh5D75gjz4bVJ X-Spamd-Bar: - I have WH-1000XM5 and I did connect it by following this procedure 1) run ``` # bluetooth-config scan ``` add add the headphone and make sure to name it 'headphone' .. now 3 files would be created in /etc/bluetooth ``` bthidd.conf hcsecd.conf hosts ``` now add those lines to /etc/rc.conf ``` #bt audio sndiod_enable="YES" bluetooth_enable="YES" sdpd_enable="YES" hcsecd_enable="YES" bthidd_enable="YES" bthidd_config="/etc/bluetooth/bthidd.conf" bthidd_hids="/var/db/bthidd.hids" virtual_oss_enable="YES" virtual_oss_configs="dsp" virtual_oss_dsp="-T /dev/sndstat -C 2 -c 2 -r 44100 -b 16 -s 1024 -R /dev/null -P /dev/bluetooth/headphone -d dsp -t vdsp.ctl" ``` now reboot and audio will work from headphone when you boot up the problem is I cannot control the output device every time I disconnect the headphone I need to disable those lines and reboot to restore audio from speakers any idea how to change the output device without reboot.! I use XFCE by the way Thanks Thank You Dr. Amr Osman