Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp653027ybl; Wed, 8 Jan 2020 03:41:58 -0800 (PST) X-Google-Smtp-Source: APXvYqwQ8Vx4NAiCYnR40ZQgIK6t6m/H9Oy+3YX65d6RIz3ucKkYQn0Knji0E0DC3XrgqcjOWJyr X-Received: by 2002:a9d:7ac9:: with SMTP id m9mr3690729otn.80.1578483718040; Wed, 08 Jan 2020 03:41:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578483718; cv=none; d=google.com; s=arc-20160816; b=08Nvm+q4IqozP+du0E/ECeICtyGhBsNWSRj8HvopuKDY9mVil8FydBiA29lXsd08Jr xI9buYoKn3wcBjaK2Yzl3Tmm/7EFw8qBDT7S2S/NxgIZRdg8dJky8CvHnCL1mStf73QE nPxwqVs1RtOUwV6VLhJ00Ws+Zc8sJifkCfFNXMleo48niGoxXbBa59sDAD7ygpZvRXKU PQWvSH4N8jgbkghhgPLv81Jv93QkWl/z0TLYWgwnQB3kpp5Rc0nbGaCuCE1m2oMeKdp0 zo506VHTChLkrPR7bE+HwCv1oqdxX0bqygtq/HmYjQU6zUdhnCQvoUldtl0PpQG2W53J 0tvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Be/pnF33rUdHWEv3KFW00cmh9iwQFsZJq3ec00lxSCw=; b=hgXGM1S1PTy1oIip/vcvxtS98s8t6mlJKwyA96YpvJVUpLpuEHG3Mwgq6iFuJjEy+Z uUaOo+sd6KrJpSbIoxaabIk0mfnGgBA+2Ugi9TrtK76gFkBqMgUJZ0JMog9Lu701ftPj 0CLA4sbbFgtAfzZa3hhy+hxL26HlYoArM5bcnd70PRAvFkaJTq2oNFjQxSBr1mky+BY3 R0s8AwiaYLUDSOHwO9uGv1lt2UA071uyDfQ0SKaoN9aVLFi/ukkl9N8AlLl7rkJu7bpu ZQd0/Gu0W3hapBcLQk7EPRvRYOkUJGnBfuPslj5q2JKdxmNP5/LkDxUKaPrh4PR+pt9F 9hvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tah0V5nL; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k131si1602682oia.64.2020.01.08.03.41.34; Wed, 08 Jan 2020 03:41:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tah0V5nL; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 S1726852AbgAHLlD (ORCPT + 99 others); Wed, 8 Jan 2020 06:41:03 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:42551 "EHLO mail-wr1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbgAHLlD (ORCPT ); Wed, 8 Jan 2020 06:41:03 -0500 Received: by mail-wr1-f44.google.com with SMTP id q6so2987173wro.9 for ; Wed, 08 Jan 2020 03:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Be/pnF33rUdHWEv3KFW00cmh9iwQFsZJq3ec00lxSCw=; b=tah0V5nLyQoA8HBXgEFM0RtlEsE3LKDs60gIEl0LvTmpe1DwoF/RHU1NSQlVxgXsu0 eaMG+Wt1Jf9AMmdHVhdtHi+fkY8fLfbf9n80TCgsubMfhygJx0wuDi08aHTmaikUhKkR SvUVQJi/8yz42t20JuCSd1Yon/dwygkskcPKtv1YEs9/LeTS4W7BFEfVQz7/jbPtt9Gb AmSIUVTHe4GPo3If7VX5j4GgceS67r2HwAXjN6x6vPjc/I456KrT52ODqwNGwqK6a8uk zjqvDneKrRyMpZcwzZkWix4mDzocpFm3BcR/VkneZu0FoJtVyQblj056wTO+TpNSFY2E 8ipw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Be/pnF33rUdHWEv3KFW00cmh9iwQFsZJq3ec00lxSCw=; b=VmYZsOOAyQFSO8l1obLVfmeWAwW7Ab3XyA7uIBHgTXl5+8NPxRhSNFbbQFdHcrhnzl KLAdVzDX53991sy0l3+gaMObj1J3DRlaoRyoOvVNY2RmEhgBO1RZTIRsqbaaxxdTHqIV oCAJcxAXdXyLzhgzxlV0HEYYiHfclmqycA0kfWUY2mNfNiKAtME8Y8WzBD7Rmc3sUXP9 ZcMhMae5yRi1/1t47gluVMNi3CN09zJGK36cI+tv8NeDZXvPgMvrKUWvrMRKTskk2Ua3 4ZndBiDeiy8HF8LWckcn0yZyUhpFEpLA1ZNZhijKiuFEf6IVsbAhfiBV5IRSxP+blCTC 2iiA== X-Gm-Message-State: APjAAAWtTUcmtPLCF6TnyHAvFrWD/+8yq7Ugq2nbRL/+07UASU89dcca 8ft8aFY2Ro2HPLq4q063lfFLetqY X-Received: by 2002:a5d:6441:: with SMTP id d1mr4068049wrw.93.1578483661235; Wed, 08 Jan 2020 03:41:01 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id v8sm3928564wrw.2.2020.01.08.03.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 03:41:00 -0800 (PST) Date: Wed, 8 Jan 2020 12:40:59 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: ofono@ofono.org, Denis Kenzior Cc: linux-bluetooth@vger.kernel.org Subject: Re: HSP/HFP ofono bluetooth support for Linux desktop Message-ID: <20200108114059.fbypyps6f3nb4ckv@pali> References: <20200107192311.efit6zftt27encdc@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200107192311.efit6zftt27encdc@pali> User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org CCing also bluez developers as they may be interested in discussion how is HSP/HFP going to be implemented and used on Linux desktop. On Tuesday 07 January 2020 20:23:11 Pali Rohár wrote: > Hello! > > Denis wanted from me to start a new thread, so I'm doing it. > > As I wrote in different thread current state of HSP and HFP bluetooth > profiles on Linux desktop is in very bad state, specially usage of SCO > audio connection for audio applications (e.g. pulseaudio). See all > details in that email. I proposed a solution for it via hsphfpd daemon > with its prototype implementation, but Denis wrote that ofono could be a > better solution. > > Part of HSP and HFP bluetooth profiles is AT socket connection which > needs to handle, parse and interpret all needed AT commands. > > ofono project seems to be a candidate for handling AT socket on Linux > desktop, but in current state it is unusable. For audio application > (pulseaudio) there are required following features which ofono currently > missing: > > * ability to connect HFP profiles in HF role without any modem > (desktop computers do not have to have any modem). ofono currently > does not support establishing HFP connection in HF role when computer > does not have any modem > > * support for HSP profiles (in both HS and AG roles). ofono currently > does not support HSP profile at all > > These two missing features are main blockers why ofono is unusable for > desktop/laptop usage as AT parser/handler for bluetooth HSP/HFP > profiles. > > Denis wrote that fixing first issue would be possible by automatically > registering some fake dummy modem (when there is no in system) and > connecting it with HFP profile in HF role. > > Do you have a reasonable solution also for second issue? > > If above two issue could be solved I can write a list of all other > issues which are needed to be solved for providing HSP/HFP support on > Linux desktops. > -- Pali Rohár pali.rohar@gmail.com