All of lore.kernel.org
 help / color / mirror / Atom feed
* obexd 0.29 and N900 PC Suite
@ 2010-07-27 11:27 Harald Schmitt
  2010-07-27 13:03 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Schmitt @ 2010-07-27 11:27 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org

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

Best regards,
Harald

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: obexd 0.29 and N900 PC Suite
  2010-07-27 11:27 Harald Schmitt
@ 2010-07-27 13:03 ` Luiz Augusto von Dentz
  2010-07-29 15:36   ` Harald Schmitt
  0 siblings, 1 reply; 7+ messages in thread
From: Luiz Augusto von Dentz @ 2010-07-27 13:03 UTC (permalink / raw)
  To: Harald Schmitt; +Cc: linux-bluetooth@vger.kernel.org

Hi,

On Tue, Jul 27, 2010 at 2:27 PM, Harald Schmitt <linux@hschmitt.de> 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

-- 
Luiz Augusto von Dentz
Computer Engineer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: obexd 0.29 and N900 PC Suite
  2010-07-27 13:03 ` Luiz Augusto von Dentz
@ 2010-07-29 15:36   ` Harald Schmitt
  0 siblings, 0 replies; 7+ messages in thread
From: Harald Schmitt @ 2010-07-29 15:36 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth@vger.kernel.org

Hi,

Am 27.07.2010 15:03, schrieb Luiz Augusto von Dentz:
> Hi,
>
> On Tue, Jul 27, 2010 at 2:27 PM, Harald Schmitt<linux@hschmitt.de>  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".

--
Harald Schmitt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: obexd 0.29 and N900 PC Suite
       [not found] ` <AANLkTi=WSgMe86k-h=_HdzsPTZ=rK5ab5O9mYf8C6jnc@xxxxxxxxxxxxxx>
@ 2010-07-29 18:16   ` Marcel J.E. Mol
  2010-07-30 10:29     ` Harald Schmitt
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel J.E. Mol @ 2010-07-29 18:16 UTC (permalink / raw)
  To: linux-bluetooth

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset*=utf-8''%E2%80%9Cus-ascii, Size: 2486 bytes --]

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<linux@xxxxxxxxxxx>  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".
> 
> --
> Harald Schmitt

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?

-Marcel
-- 
     ======--------         Marcel J.E. Mol                MESA Consulting B.V.
    =======---------        ph. +31-(0)6-54724868          P.O. Box 112
    =======---------        marcel@mesa.nl                 2630 AC  Nootdorp
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____
 They couldn't think of a number,           Linux user 1148  --  counter.li.org
    so they gave me a name!  -- Rupert Hine  --  www.ruperthine.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: obexd 0.29 and N900 PC Suite
  2010-07-29 18:16   ` obexd 0.29 and N900 PC Suite Marcel J.E. Mol
@ 2010-07-30 10:29     ` Harald Schmitt
  2010-07-30 15:08       ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Schmitt @ 2010-07-30 10:29 UTC (permalink / raw)
  To: Marcel J.E. Mol; +Cc: linux-bluetooth, Luiz Augusto von Dentz

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<linux@xxxxxxxxxxx>   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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: obexd 0.29 and N900 PC Suite
  2010-07-30 10:29     ` Harald Schmitt
@ 2010-07-30 15:08       ` Luiz Augusto von Dentz
  2010-07-30 20:49         ` Marcel J.E. Mol
  0 siblings, 1 reply; 7+ messages in thread
From: Luiz Augusto von Dentz @ 2010-07-30 15:08 UTC (permalink / raw)
  To: Harald Schmitt; +Cc: Marcel J.E. Mol, linux-bluetooth

Hi,

On Fri, Jul 30, 2010 at 1:29 PM, Harald Schmitt <linux@hschmitt.de> wrote:
> 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?

Hmm it may work with that but I would first just revert the patch I
suggest other day since without that part there could be some other
components still sending SIGUSR1 to obexd which might kill it, maybe I
can just reintroduce SIGUSR1 and then have a config option saying
which method to use for usb cable detection. What do you guys think?

In future I really want a standard way to do the cable detection, I
guess udev + libusb could be a better alternative.

-- 
Luiz Augusto von Dentz
Computer Engineer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: obexd 0.29 and N900 PC Suite
  2010-07-30 15:08       ` Luiz Augusto von Dentz
@ 2010-07-30 20:49         ` Marcel J.E. Mol
  0 siblings, 0 replies; 7+ messages in thread
From: Marcel J.E. Mol @ 2010-07-30 20:49 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: Harald Schmitt, linux-bluetooth

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset*=utf-8''%E2%80%9Cus-ascii, Size: 1827 bytes --]

On Fri, Jul 30, 2010 at 06:08:23PM +0300, Luiz Augusto von Dentz wrote:
> Hi,
> 
> On Fri, Jul 30, 2010 at 1:29 PM, Harald Schmitt <linux@hschmitt.de> wrote:
> > 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?
> 
> Hmm it may work with that but I would first just revert the patch I
> suggest other day since without that part there could be some other
> components still sending SIGUSR1 to obexd which might kill it, maybe I
> can just reintroduce SIGUSR1 and then have a config option saying
> which method to use for usb cable detection. What do you guys think?

Well, I just tested the dbus method on the n900 with an obexd 0.29 
(including the updates I already posted here plus a few other updates
including a basic IRMC server implementation) and pcsuite seems to 
work fine. But I did not test extensively (contact/calendar download
work file and file browsing too).

I don't know if there are other tools using signalling to obexd, maybe
people from the nokia n900/maemo group can tell...

-Marcel
-- 
     ======--------         Marcel J.E. Mol                MESA Consulting B.V.
    =======---------        ph. +31-(0)6-54724868          P.O. Box 112
    =======---------        marcel@mesa.nl                 2630 AC  Nootdorp
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____
 They couldn't think of a number,           Linux user 1148  --  counter.li.org
    so they gave me a name!  -- Rupert Hine  --  www.ruperthine.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-30 20:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4C4EC2B5.2030204@xxxxxxxxxxx>
     [not found] ` <AANLkTi=WSgMe86k-h=_HdzsPTZ=rK5ab5O9mYf8C6jnc@xxxxxxxxxxxxxx>
2010-07-29 18:16   ` obexd 0.29 and N900 PC Suite Marcel J.E. Mol
2010-07-30 10:29     ` Harald Schmitt
2010-07-30 15:08       ` Luiz Augusto von Dentz
2010-07-30 20:49         ` Marcel J.E. Mol
2010-07-27 11:27 Harald Schmitt
2010-07-27 13:03 ` Luiz Augusto von Dentz
2010-07-29 15:36   ` Harald Schmitt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.