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: dbus, freerunner, freesmartphone, freesmartphone.org, fso, gsoc, neo1973, odeviced, openmoko
My Tweets
- read-a-story-book time... 6 hours ago
- @g33f i sooo wish it was :D... *hic* 7 hours ago
- @cnu you know, you didn't have to explicitly link that status here... *sigh*... neenga nallavaraa, kettavaraa? 7 hours ago
- @mohitranka :P 7 hours ago
- @cnu or you could use raman :D 7 hours ago
Blogroll
Moi
Categories
- art (2)
- bleh (11)
- College (17)
- embedded (19)
- Events (10)
- FOSS and Linux (62)
- freesmartphone.org (14)
- Government (3)
- gsoc (14)
- Harry potter (1)
- Life (33)
- linux (31)
- Logs (14)
- neo1973 (21)
- odeviced (14)
- openmoko (32)
- Politics (1)
- programming (7)
- Python (16)
- qtopia (1)
- Rants (27)
- Tips (16)
- Uncategorized (5)

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