Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4274733pxu; Wed, 9 Dec 2020 12:47:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpuke1i5z/5TUxbCIcJk86bWCatBnlHki6Uf734aJb+mOjzU3ii9s2RjeW17VGFTJTvXEA X-Received: by 2002:a17:906:9588:: with SMTP id r8mr3539866ejx.148.1607546822963; Wed, 09 Dec 2020 12:47:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607546822; cv=none; d=google.com; s=arc-20160816; b=FlqcQRvzoRXhGGyASzdp0tx6iMOliIcGT70E/CMTkZ67wMOGcYNrK1TD0++eU01l72 Sb3yqrr7T2Ot8Nj+fOq0P3fqyJSRHko2cRI6DO4EjgMZKQOP/IC8lg/TmnVhWUJK5uF1 D2OZuO1uyoiLX6kbG7CRyUwRn2w8GFPrvSIQBWpAqUA1LA9ilkLkWhrYNq0hMjVA0pYk FJFfkzHsJVEYcKw9/evJU+tz+IfzS1/uUu383PsQ1cbSgDnXv0dZfMSdFr4N3yFsPVgC gZy7cS214GI1fxZvC3mrzWxuooJU5erPl/NaEJhpy6F9ixAuoZrX7IviFuNBOT+Yqog6 Q3RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=px583rNxcLVCvj+0lJD1li6qoadJs2bkY7h3W+2dEtM=; b=VAwaULEVYVlJ5RY3KMoDEzmriZ1fw7854nUVwStEiSWcUgFbYSIsqqWhAkRYyCuOpI q4pv2JMIvMpsRu+c3nSWTOMCbmMVHrhiOHAFDki7RaVDAThuTFFPG1s2iXsYTwiN6B/q RWLDhgLou43JsdfA/vzwBKaqBCeQHedDYUxQ/UVVznqG7ZIzkQswjkAIS9j8zq21TbIf aNugL+Xa2vhm5xVTAgP42aNoNR/+cmNdEnfQXGH0p7JMu3QROoE+/2sgQvOrvSisj7Re SS9fx9IGrAKZ51xUvjrkQVIRz+rtv9gASZncRkKlc9bawrETFu68p5PD1ZIG2UQsJ1jy 24gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si1489221edx.3.2020.12.09.12.46.39; Wed, 09 Dec 2020 12:47:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728648AbgLIU2d (ORCPT + 99 others); Wed, 9 Dec 2020 15:28:33 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35295 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387747AbgLIU2d (ORCPT ); Wed, 9 Dec 2020 15:28:33 -0500 X-Originating-IP: 82.255.60.242 Received: from [192.168.0.28] (lns-bzn-39-82-255-60-242.adsl.proxad.net [82.255.60.242]) (Authenticated sender: hadess@hadess.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 9CD77E0007; Wed, 9 Dec 2020 20:27:48 +0000 (UTC) Message-ID: <50264b155ddf8b677125b87a703a628f76518457.camel@hadess.net> Subject: Re: Bluetooth printer connection error From: Bastien Nocera To: Laurent Vivier , linux-bluetooth@vger.kernel.org Date: Wed, 09 Dec 2020 21:27:48 +0100 In-Reply-To: References: <3a6fa942-bec5-5e5f-391d-197d1c1eafa6@vivier.eu> <73236e71-781f-1dea-13d5-61fdc45d5e13@vivier.eu> <0eeb1a4a1254d00b2d1a8f77133af4d16857b266.camel@hadess.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.1 (3.38.1-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Wed, 2020-12-09 at 20:04 +0100, Laurent Vivier wrote: > Le 09/12/2020 à 12:34, Bastien Nocera a écrit : > > On Wed, 2020-12-09 at 12:14 +0100, Laurent Vivier wrote: > ... > > > > If the printer has uses the SPP or HCRP printing profiles, you > > > > should > > > > see it when using: > > > > /usr/lib/cups/backend/bluetooth > > > > without any arguments. > > > > > > As I don't see it once it is paired, I guess it is not using one > > > of > > > these profiles. > > > > I don't remember how this used to work, but you'll probably only > > see > > something if the printer is visible. > > > > You might be able to get the printer to work by adding: > > bluetooth://DC0D309023C7 > > as a printer in the printer settings of your favourite desktop > > environment, if it actually uses SPP. > > > > running the cups backend with: > > /usr/lib/cups/backend/bluetooth --get-deviceid > > bluetooth://DC0D309023C7 > > > > should show you whether it can get autoconfigured for CUPS use. > > > > Thank you Bastien, it's exactly what I needed to know. > > Correct me if I'm wrong but it seems there is a bug in the > cups/bluetooth > command: Sigh. No, it's not a bug, it's just that the cups tool was never ported from the bluez 4.x to the current bluez 5.x API... Until that's ported (if ever, given the low number of Bluetooth printers around...), you could try to extract the IEEE1284 ID using: sdptool records DC:0D:30:90:23:C7 But I'm not certain that this working is necessary to actually try a print. Have you tested that?