Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F235C433EF for ; Wed, 1 Dec 2021 22:07:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353329AbhLAWLM (ORCPT ); Wed, 1 Dec 2021 17:11:12 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:48409 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234903AbhLAWLK (ORCPT ); Wed, 1 Dec 2021 17:11:10 -0500 Received: from [192.168.0.2] (ip5f5aecd9.dynamic.kabel-deutschland.de [95.90.236.217]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 27F5161EA1921; Wed, 1 Dec 2021 23:07:47 +0100 (CET) Message-ID: Date: Wed, 1 Dec 2021 23:07:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Unable to transfer big files to Nokia N9 Content-Language: en-US To: Luiz Augusto von Dentz Cc: Marcel Holtmann , Johan Hedberg , linux-bluetooth@vger.kernel.org, LKML References: From: Paul Menzel In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Luiz, Thank you for your quick reply. Am 01.12.21 um 19:29 schrieb Luiz Augusto von Dentz: > On Wed, Dec 1, 2021 at 9:39 AM Paul Menzel wrote: >> For the first time, I wanted to transfer a 2 MB PDF file from a Dell >> Latitude E7250 with Debian sid/unstable with Linux 5.16-rc1 to a Nokia >> N9 (MeeGo/Harmattan). Using the package *bluez-obexd* 5.61-1 and GNOME >> 41, the device was found, and paired fine. Then I selected to transfer >> the 2 MB file, and after starting for a second, it timed out after the >> progress bar moves forward ones and failed. >> >> The systemd journal contains: >> >> obexd[21139]: Transfer(0x56243fe4f790) Error: Timed out waiting for response >> >> Testing with a a 5 byte test text file, worked fine. Also testing with a >> Galaly M32, both files were transferred without problems (though slowly >> with 32 KB/s.) >> >> Trying to connect to the device with bluetoothctl failed for me, and the >> journal contained, it failed. >> >> $ bluetoothctl >> Agent registered >> [bluetooth]# connect 40:98:4E:5B:CE:XX >> Attempting to connect to 40:98:4E:5B:CE:XX >> Failed to connect: org.bluez.Error.Failed >> >> bluetoothd[21104]: src/service.c:btd_service_connect() a2dp-source profile connect failed for 40:98:4E:5B:CE:B3: Protocol not available >> >> As the Nokia N9 was once pretty popular in the Linux community, I am >> pretty sure, it used to work fine in the past, and there is some >> regression. It’d be great, if you could give me some hints how to >> further debug the issue. > > We will need some logs, obexd and btmon, if possible. I only managed to get the btmon trace [1]. I did `sudo modprobe -r btusb` and `sudo btmon -w /dev/shm/trace.log`. Linux messages: [29880.100381] calling btusb_driver_init+0x0/0x1000 [btusb] @ 28716 [29880.239603] usbcore: registered new interface driver btusb [29880.239608] initcall btusb_driver_init+0x0/0x1000 [btusb] returned 0 after 135952 usecs [29880.240706] Bluetooth: hci0: unexpected event for opcode 0x0500 [29880.241598] Bluetooth: hci0: Legacy ROM 2.5 revision 1.0 build 3 week 17 2014 [29880.241605] Bluetooth: hci0: Intel device is already patched. patch num: 32 From the system journal: Dez 01 22:52:19 ersatz obexd[21139]: Transfer(0x56243fe53dd0) Error: Timed out waiting for response Kind regards, Paul [1]: https://owww.molgen.mpg.de/~pmenzel/trace.log.7z