Thought it was time for a new thread.
I would actually like to get started on this sooner rather than later,
so I thought I'd throw this out, see if anyone can catch any problems
before I go anywhere. The layout is terrible, hope it makes sense.
The scripts and binary will be as one, but I've broken it down into WM5
and legacy because the earlier steps will be distinct
WM5
---
1)
device connected
hal match - @info.parent:info.linux.driver = rndis_host
or
@info.parent:pda.platform = pocketpc
2)
callout - shell script
ifconfig interface
finally call...
3)
hal-dccm --iface= --dev-ip= etc...
initiate device connection, read info packet
add info packet as properties to hal
add other properties to hal ref.
https://wiki.ubuntu.com/SyncIntegration/HalDesign
monitor hal for device disconnection
provide dbus method for clients requesting rapi connection
or
add interface to hal to do this, request passed to us
** can we do this if we are not an addon, need to check hal
docs
exits when hal flags device removed
legacy
------
1)
device connected
hal match - info.capabilities = serial
and
@info.parent:info.linux.driver = ipaq
2)
callout - shell script
bring up ppp on serial.device - most of this will come from synce-serial
scripts
** may have to bring up dccm before ppp
finally call...
3)
hal-dccm --legacy --dev-ip= etc...
wait for device connection, read info packet
add info packet as properties to hal
add other properties to hal re.
https://wiki.ubuntu.com/SyncIntegration/HalDesign
monitor hal for device disconnection
provide dbus method for clients requesting rapi connection
or
add interface to hal to do this, request passed to us
** can we do this if we are not an addon, need to check hal
docs
exits when hal flags device removed
Mostly it'll be a stripped down odccm, bundled with some scripting to do
the interface set up. Any comments ?
Mark
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
SynCE-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synce-devel