[maemo-developers] Can anyone tell me how the N900 vibrator driver works?

From: Neal H. Walfield neal at walfield.org
Date: Sat Jul 9 13:15:09 EEST 2011
At Fri, 08 Jul 2011 14:03:48 +0800,
Jonathan Wilson wrote:
> 
> ICD2 policy plugins never went anywhere, I dont think I can make them do 
> what I thought they could and would need to clone the entire icd2 binary 
> (and given how hard cloning any binary is, even simple ones, that's not 
> something I plan to try)

Rather than cloning ICD2, it might be easier to just reimplement the
ICD2 dbus interface [1].  This could be done either within
NetworkManager or as another program that just translates the ICD2
interface into NetworkManager calls.

  [1] http://maemo.org/api_refs/5.0/5.0-final/icd2/group__dbus__api.html

From experience, working with ICD2 is rather annoying due to a lack of
documentation and subtle bugs (e.g.,
https://bugs.maemo.org/show_bug.cgi?id=10710).

Based on my experience abstracting NetworkManager and ICD2's
interfaces for Woodchuck [2], I expect such an implementation to be
doable, but require a few thousand lines of code.

  [2] http://maemo.org/api_refs/5.0/5.0-final/icd2/group__dbus__api.html

Neal
More information about the maemo-developers mailing list