From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4C52A995.8080205@hschmitt.de> Date: Fri, 30 Jul 2010 12:29:41 +0200 From: Harald Schmitt MIME-Version: 1.0 To: "Marcel J.E. Mol" CC: linux-bluetooth@vger.kernel.org, Luiz Augusto von Dentz Subject: Re: obexd 0.29 and N900 PC Suite References: <4C4EC2B5.2030204@xxxxxxxxxxx> <20100729181649.GA9339@joshua.mesa.nl> In-Reply-To: <20100729181649.GA9339@joshua.mesa.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Am 29.07.2010 20:16, schrieb Marcel J.E. Mol: > On Thu, Jul 29, 2010 at 05:36:48PM +0200, Harald Schmitt wrote: >> Hi, >> >> Am 27.07.2010 15:03, schrieb Luiz Augusto von Dentz: >> >> Hi, >> >> On Tue, Jul 27, 2010 at 2:27 PM, Harald Schmitt wrote: >> >> Hi, >> >> there are several users who test obexd 0.29 on the Nokia N900 running Maemo >> in order to have PBAP support. There are success reports with PBAP, but at >> the same time they cannot usb sync via Nokia PC Suite anymore. Is there any >> chance to get PC Suite working again in a future obexd version or does this >> depend on a non free Nokia code? >> Can you give any hints where to look at? >> In a forum a user posted success (with 0.19) and failure (with 0.29) logs: >> http://talk.maemo.org/showthread.php?p=763550#post763550 >> >> First thanks a lot for this feedback, I wasn't aware that there were >> somebody trying to use newer version of obexd in N900, I will take a >> look how I can make usb compatible with N900, actually it should be >> just as bluetooth and work no matter which platform you are using but >> we are not there yet :( >> >> In the meantime you can try reverting the patch bellow and see if it helps: >> >> http://git.kernel.org/?p=bluetooth/obexd.git;a=commitdiff;h=6f56a4355585eb29535782f977ba545cc41dd382 >> >> Thanks for the hint. I built a package from 0.29, the patches from meego.gitorious.org and the reverted patch. Some from the community tested it and PC Suite via USB did work. Of course obexd had to be started with the added option "--capability !/usr/bin/gen-obex-capability.sh". >> > > It seems the patch revert a conversion from unix signaling to dbus signaling. > The pcsuite-enable.sh script uses a unix signal to tell obexd a pcsuite > connection is requested. > Apperantly in meego this will be done using dbus.. > > Can't we convert pcsuite-enable.sh to also use dbus instead of reverting > the patch? Can you help us out her Luiz? > I have testes following command and it seems to work: dbus-send --system --type=signal / com.meego.usb_moded.sig_usb_state_ind string:'ovi_suite' If one would just add this line to pcsuite-enable.sh under the SIGUSR1 then both types of obexd would work? Luiz could you confirm this? Do we also need a dbus-command for disconnect with string:'USB disconnected' in pcsuite-disable.sh? -- Harald