A few days gone by, and endless wrestling with git wherein I was not able to push code. Turned out, I was using the wrong URL to push ..doh!
But anyway, the code is beginning to stabilise a bit (Read no unexpected segfaults, only expected ones..). The last few days were spent in changing the method names in accordance with OTAPI naming conventions after my mentor went through my code.
There is also another important change. The sysfs nodes for backlight and power plugins were hardcoded in their configuration files. So, I came up with some helpers that creates DBus paths automatically based on the device class which they belong to. Here’s a picture of today’s code in action,
Notice the d-feet DBus debugger towards the lower left? It shows all the automatically created DBus object paths based on the device class which the plugin stands for. And the terminal to the right shows some debug messages. Note how odeviced spits out the current battery status viz. “Charging, Discharging”. The corresponding “battery-status-changed” DBus signal is emitted as well (along with “low-battery-warning” signal which *ahem* is emitted when battery is low).
For more follow this thread..
Filed under: FOSS and Linux, Logs, embedded, freesmartphone.org, gsoc, linux, neo1973, odeviced, openmoko | Leave a Comment
Tags: openmoko, neo1973, gsoc, odeviced, freerunner, dbus, freesmartphone, fso, freesmartphone.org
Categories
Twitter Updates
- popcorn 1 day ago
- #roddick takes the first set.. #wimbledon 1 day ago
- oops.. mea culpa... it was a round of trick questions :P 2 days ago
- wtf... electricity was invented???! #mtvindia connect #fail 2 days ago
- Back from #drupal chennai meet.. @ubuntuslave talked about his #gsoc code. Netlink office was swankily modern.. :/ 2 days ago
Archives
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
Blogroll
Meta
Pages

No Responses Yet to “odeviced: More sysfs abuse (Screenshot attached! :P)”