Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26721rwd; Wed, 17 May 2023 14:06:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QwIF2I3QU4fuP5Yd/MFbOw4pau0w/oTMcwDU4gCzZb8kkTRSgOV6o5ZMlNy1MLdNDGpdH X-Received: by 2002:a17:902:b210:b0:1ac:5d9b:d971 with SMTP id t16-20020a170902b21000b001ac5d9bd971mr3217748plr.34.1684357565400; Wed, 17 May 2023 14:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684357565; cv=none; d=google.com; s=arc-20160816; b=lYgOoj/NTmU4kFWEmgtr42Uk5g16fm/vT1qUKQdsOAyyP2YzwBmE3HKf76OgV3u11y z57h8MJ5vQmGC62d/EkVCpdeQ2CbSPdLAqUEnJDKP7TWoOE28pnM2XCH63ZCqmtx1S2N J4TEt/QXAGqlyIiks+xANYoPnackeI3Vl9q1D4SBNKOK7TOkyJionfHBy8FT0QC1BG7Q m6j7a83wmwgiuRyJsb+60X5Ijg9/9IJrMlU79cqom6bYiztGcmVExszIGccy+GmIinUZ r7AVvX6bzWHb9AG8WalwPaZg1hBGxOcCDj3V74WgBaj1OylMzRvxzkqi7i7MEjSqZYAY jyuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=eIS5fDkn8KI1qYSftwLQktaKZQujRLCh64jZZ24yp2Y=; b=oamQnHvdrQmEwSKqDICZKyPURxh4LyBPw6GxP1UKm+8dUaZTp7BHUcYgXtHy3Wszyg Zgttiyou9BlWX7X9pOL4y7pBxY7FD4sIhE+FrIVkp/XWOUBidPNAcKLQQq6zQNfuJi6i jXq3GeHqgVdcl8R7/+fYVIei0c+KiL59gmq8t+xrWsCZ8BXbMfoFfr/Ujn/dumdbgh3l pN76GP/lzW04YLCc+KnPQLX3WGfWnXLyH7SJuaC4n+SXQZOoXDf8k1ysbYcLHDbrCZAi nTxfUXXcsLY/G8ygtvzxtyJcr3wbtuBOBA7FcLg6MK6QZ9xc3T0c1y7UzjAEnP3ponVi cIew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=H624y5Vn; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a170903230400b001ae141947acsi9131769plh.183.2023.05.17.14.05.15; Wed, 17 May 2023 14:06:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=H624y5Vn; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbjEQUyG (ORCPT + 99 others); Wed, 17 May 2023 16:54:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjEQUyF (ORCPT ); Wed, 17 May 2023 16:54:05 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E69A9106 for ; Wed, 17 May 2023 13:54:03 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2af0eb50b4aso7956791fa.2 for ; Wed, 17 May 2023 13:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684356842; x=1686948842; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eIS5fDkn8KI1qYSftwLQktaKZQujRLCh64jZZ24yp2Y=; b=H624y5Vn2JRxdiiWYnNhKdTVZ4CfCz+Nv+tByfwbqTYg75XNh2ppT4rsnV85YTswh4 gxnh6tgYZdUnZzheVmWNCgCa/ChRDERwXlBhzqkuOd5V+GBI+OpZznEkVrtkx6NMfAxc lXQOq6oRARRNWCYaE5BdrZ+jtseFgrIkctQVjMfDRiP1Rw0spmzCq2W+p6sDzif/wwY9 LZNKJTy1l9HaF0uhFas1xsyQRtqcMMa0LABG9kBe4vkLduMMC+YJoxnx+vZNBVtoX7Ck nOGMIyYlBNnMAqpTZtwZ/VOaz83O029IZuPuPhaQd8NXjjwHotcJlGEJm7JVEdX4idJG DuOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684356842; x=1686948842; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eIS5fDkn8KI1qYSftwLQktaKZQujRLCh64jZZ24yp2Y=; b=l9HqLkK0sSE89QtSAPhWh/gAjzmTNvC/p9zXBipK6PLn87915uKBfOEwKWjSfdleJS eDamSDPqn9qFd7m+lsH5klTOo2RyjSv4sl7fS8krFjC1MVPyhOgeEtNqUzhk5FVvemHf +jjps3m3/XysqMRcB35dC5PQFOiRly8M9mX1TtfinisiSeKfwWCIjCeJi+J+mMCuivZw BOUyuHDcSHiOWerptsDWo9lFXXVwd122dNJ8jv0NFF35ixcSk9krBflbWdAgWgqi3TiQ y6d4wT6SPtBx6Ot4Q2DflTLbU8sGRj0Nk1xzPy0HyYGpKTz7P4NeoSV0AC5+0dmkd+an cBrw== X-Gm-Message-State: AC+VfDwJSOkMWiSnCwTuz/Fsl+E8Yrg2977quq1NY307eTXldJeD1HDS djnBivYxxf38cnndxhfYZ4zCFzVZBe9KfPi3097nQCKDMi8= X-Received: by 2002:a2e:b605:0:b0:2a9:f589:1b0 with SMTP id r5-20020a2eb605000000b002a9f58901b0mr10323020ljn.15.1684356841714; Wed, 17 May 2023 13:54:01 -0700 (PDT) MIME-Version: 1.0 References: <645fc6ce.630a0220.1799b.9542@mx.google.com> <87eda7c7bdb8479f6233b6709e5c21de0535fdfc.camel@iki.fi> <25523ad612ce4491281743bc8d5a6ccf7673aa76.camel@iki.fi> In-Reply-To: <25523ad612ce4491281743bc8d5a6ccf7673aa76.camel@iki.fi> From: Luiz Augusto von Dentz Date: Wed, 17 May 2023 13:53:49 -0700 Message-ID: Subject: Re: [BlueZ,v3,1/2] test-runner: revert udevd and audio support To: Pauli Virtanen Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Pauli, On Wed, May 17, 2023 at 1:30=E2=80=AFPM Pauli Virtanen wrote: > > Hi Luiz, > > ke, 2023-05-17 kello 12:34 -0700, Luiz Augusto von Dentz kirjoitti: > > Hi Pauli, > > > > On Mon, May 15, 2023 at 1:30=E2=80=AFPM Pauli Virtanen wro= te: > > > > > > Hi Luiz, > > > > > > ma, 2023-05-15 kello 13:01 -0700, Luiz Augusto von Dentz kirjoitti: > > > > Hi Pauli, > > > > > > > > On Sat, May 13, 2023 at 10:41=E2=80=AFAM = wrote: > > > > > > > > > > This is automated email and please do not reply to this email! > > > > > > > > > > Dear submitter, > > > > > > > > > > Thank you for submitting the patches to the linux bluetooth maili= ng list. > > > > > This is a CI test results with your patch series: > > > > > PW Link:https://patchwork.kernel.org/project/bluetooth/list/?seri= es=3D747273 > > > > > > > > > > ---Test result--- > > > > > > > > > > Test Summary: > > > > > CheckPatch FAIL 1.14 seconds > > > > > GitLint PASS 0.52 seconds > > > > > BuildEll PASS 26.21 seconds > > > > > BluezMake PASS 745.32 seconds > > > > > MakeCheck PASS 11.04 seconds > > > > > MakeDistcheck PASS 151.18 seconds > > > > > CheckValgrind PASS 243.86 seconds > > > > > CheckSmatch PASS 326.99 seconds > > > > > bluezmakeextell PASS 98.83 seconds > > > > > IncrementalBuild PASS 1262.88 seconds > > > > > ScanBuild WARNING 964.73 seconds > > > > > > > > > > Details > > > > > ############################## > > > > > Test: CheckPatch - FAIL > > > > > Desc: Run checkpatch.pl script > > > > > Output: > > > > > [BlueZ,v3,1/2] test-runner: revert udevd and audio support > > > > > WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '91a48af52efb0751fab= 396b2b9026c9186b10b88', maybe rebased or not pulled? > > > > > #49: > > > > > This reverts commit 91a48af52efb0751fab396b2b9026c9186b10b88 > > > > > > > > > > WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'e20e7e0b05c7edb7425= 5c9b092916ac5bb99c97f', maybe rebased or not pulled? > > > > > #50: > > > > > This reverts commit e20e7e0b05c7edb74255c9b092916ac5bb99c97f > > > > > > > > > > /github/workspace/src/src/13240258.patch total: 0 errors, 2 warni= ngs, 193 lines checked > > > > > > > > > > NOTE: For some of the reported defects, checkpatch may be able to > > > > > mechanically convert to the typical style using --fix or --= fix-inplace. > > > > > > > > > > /github/workspace/src/src/13240258.patch has style problems, plea= se review. > > > > > > > > > > NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_S= TRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPL= IT_STRING SSCANF_TO_KSTRTO > > > > > > > > > > NOTE: If any of the errors are false positives, please report > > > > > them to the maintainer, see CHECKPATCH in MAINTAINERS. > > > > > > > > > > > > > > > ############################## > > > > > Test: ScanBuild - WARNING > > > > > Desc: Run Scan Build > > > > > Output: > > > > > tools/test-runner.c:924:2: warning: 2nd function call argument is= an uninitialized value > > > > > printf("Running command %s\n", cmdname ? cmdname : argv[0= ]); > > > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~ > > > > > 1 warning generated. > > > > > > > > > > > > > > > > > > > > --- > > > > > Regards, > > > > > Linux Bluetooth > > > > > > > > I tried running on fedora but it looks like something is missing in= my setup: > > > > > > > > [E][00003.767959] spa.dbus | [ dbus.c: 329 > > > > impl_connection_get()] Failed to connect to session bus: Unable to > > > > autolaun1 > > > > [E][00003.769967] mod.portal | [ module-portal.c: 326 > > > > pipewire__module_init()] Failed to connect to session bus: > > > > Input/output error > > > > > > I have those two "errors" too, they should be harmless as the xdg- > > > desktop-portal module is optional. With `test-runner -d -l -A` you > > > should get the Bluetooth endpoints to appear. > > > > > > Removing the mod.portal from the configuration can't be done with dro= p- > > > in config files currently, and I didn't want to include a full config > > > file here as it has some tens of lines of mandatory boilerplate. > > > > Ok, looks like it configuring the endpoints: > > > > https://gist.github.com/Vudentz/0d8851e719affd9f2dc1f4081ce32fb7 > > > > That said I probably need to compile pipewire from source in order to > > have the LE Audio endpoints registered, btw do you have any > > instructions on how to build it, do I need to build wireplumber as > > well? > > Should be along these lines to install under $PWD/install and enable > BAP parts: > > git clone https://gitlab.freedesktop.org/pipewire/pipewire.git > cd pipewire > LDFLAGS=3D"-Wl,-rpath=3D$PWD/install/lib64" \ > meson setup builddir --prefix=3D$PWD/install \ > -Dsystemd-user-service=3Ddisabled \ > -Dudevrulesdir=3D$PWD/install/lib/udev/rules.d \ > -Dbluez5-codec-lc3=3Denabled > meson install -C builddir > > Meson will clone and install Wireplumber too. Turning experimental on > in src/main.conf and it should give > > $ ./tools/test-runner -d -l --audio=3D/home/pauli/tmp/pipewire/install/bi= n/pipewire -k../linux/arch/x86_64/boot/bzImage sleep 5 > ... > bluetoothd[29]: profiles/audio/media.c:endpoint_init_pac() PAC :1.1:/Medi= aEndpointLE/BAPSource/lc3 registered > bluetoothd[29]: Endpoint registered: sender=3D:1.1 path=3D/MediaEndpointL= E/BAPSource/lc3 > bluetoothd[29]: profiles/audio/media.c:client_ready_cb() Media applicatio= n registered: :1.1:/MediaEndpointLE > ... Thanks, something is not quite right for me since I don't see any objects on MediaEndpointLE: https://gist.github.com/Vudentz/242e4e2bfb8907acfdfdf18b458eec1d Ive used the following command line though to use a real controller: sudo tools/test-runner -u -d -A/home/vudentz/git/pipewire/install/bin/pipewire -k ~/git/linux/arch/x86/boot/bzImage -- /bin/bash Starting with -l instead of -u didn't seem to fix the problem either, starting bluetoothctl -e does work though: bluetoothd[35]: profiles/audio/media.c:endpoint_init_pac() PAC :1.2:/local/endpoint/ep2 registered bluetoothd[35]: Endpoint registered: sender=3D:1.2 path=3D/local/endpoint/e= p2 > -- > Pauli Virtanen --=20 Luiz Augusto von Dentz