Re: obexd 0.29 and N900 PC Suite
From: Marcel J.E. Mol <hidden>
Date: 2010-07-30 20:49:43
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 [off-list ref] wrote:quoted
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