On Wed, 2008-01-23 at 21:14 +0100, Ochal Christophe wrote:
> On Tue, 2008-01-22 at 23:20 +0000, Mark Ellis wrote:
> > On Tue, 2008-01-22 at 20:23 +0100, Ochal Christophe wrote:
> 
> > > This is on a different computer (my laptop), my initial goal was to test
> > > it over bluetooth, but it seems it won't even connect over the USB cable
> > > (unless i manually run odccm -f)
> > > 
> > > According to syslog entries, the negotiations for the IP address take
> > > place, and it's only then that the PDA will display the error, clicking
> > > ok on that error ends the connection between the host computer and the
> > > PDA.
> > > 
> > > At first i suspected my ppp config to be messed up due to earlier tests
> > > involving bluetooth, but even purging ppp & reïnstalling it doesn't aid,
> > > the only thing that remains is how udev calls odccm i suppose, i
> > > couldn't find any errors in the logs i looked at (unless i missed
> > > something obvious)
> > > 
> > > Cheers,
> > > 
> > 
> > I may be misunderstanding what you are doing, but you have to run odccm
> > manually or in a bootscript. Udev fires up the serial connection but has
> > no control over odccm. Does that help ?
> 
> Yes, actually, it does :) The reason it worked on the first PC was
> simply because i still had vdccm lingering arround in my system (it was
> launched at login), removing this makes both machines behave identicly.
> 
> Are there plans on removing the requirement on running odccm manually?
> 

My package installs a bootscript in /etc/init.d. I haven't set it up to
run after installation because dealing with upgrades is slightly
complicated, but it's easy to do it yourself. Run the following

update-rc.d odccm defaults 30 70

to set up the links so odccm is run automatically at boot. The output
you would see when running it in the foreground (the -f flag) is then
sent to the system logs.

I've been working on a hal integrated dccm which should make this all a
bit easier but it's not quite complete yet. If you feel brave I'm going
to build a package for it soon.

> > As an aside, I have got a connection over bluetooth to work, but it
> > wasn't easy, mostly because I knew almost nothing about bluetooth at the
> > time :)
> 
> I've been using bluetooth connections for awhile now (with the
> depricated dccm) without any real issue's, that part was actually pretty
> well documented on the old synce site ;)
> 

Should be much the same with odccm.

Mark


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to