Return-Path: MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?Q?Fran=C3=A7ois_Beaufort?= Date: Tue, 21 Jun 2016 22:34:19 +0200 Message-ID: Subject: Re: Cached device in a weird place To: BlueZ development Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: And sometimes, when I run "remove *" command and make sure "devices" returns nothing, I still can see this device in /var/lib/bluetooth/A4\:17\:31\:78\:A6\:04/. Any idea? On Tue, Jun 21, 2016 at 10:27 PM, François Beaufort wrote: > As I was explaining to sjanc in #bluez, I've noticed some weird > behaviour regarding some cached device and I think I found one reason > today. > As you can see below, a device called tis9E is found in "devices" > command while I have removed all devices with "remove *" command > previously and not seen this device for a long time. > > I wonder now where this comes from. > How such an old device would come back from the dead like that? > > Thanks in advance, > Francois. > > --- > > localhost / # bluetoothctl > [NEW] Controller A4:17:31:78:A6:04 Chromebook_0A65 [default] > [NEW] Device C7:78:B4:5F:FA:DF tis9E > [bluetooth]# devices > Device C7:78:B4:5F:FA:DF tis9E > > --- > > localhost bluetooth # more > /var/lib/bluetooth/A4\:17\:31\:78\:A6\:04/C7\:78\:B4\:5F\:FA\:DF/info > [General] > Name=tis9E > AddressType=static > SupportedTechnologies=LE; > Trusted=false > Blocked=false > > --- > > localhost bluetooth # more > /var/lib/bluetooth/A4\:17\:31\:78\:A6\:04/cache/C7\:78\:B4\:5F\:FA\:DF/ > more: stat of /var/lib/bluetooth/A4:17:31:78:A6:04/cache/C7:78:B4:5F:FA:DF/ > failed: No such file or directory