Ticket #178 (closed defect: fixed)
oeventsd fails, sound not working
| Reported by: | quickdev | Owned by: | mickey |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | framework/controller | Version: | |
| Keywords: | Cc: |
Description
The python function os.listdir() is used to get the subsystem directory names. The order of the elements is defined by the filesystem,thus it can vary from setup to setup.
When oevents is loaded before opreferencesd, it fails, because oevents needs some preferences.
How to reproduce: Replace this two lines in controller.py
subsystems = [ entry for entry in os.listdir( path )
if os.path.isdir( "%s/%s" % ( path, entry ) ) ]
with
subsystems = ['ogpsd', 'ogsmd', 'opreferencesd', 'oeventsd', 'otimed', 'ophoned', 'ousaged', 'odeviced']
Change History
Note: See
TracTickets for help on using
tickets.

Is fixed with: http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=0f631a3dfa374726c31f72761d63bd76592e07a0;hp=d7079e5f2fe1b37d4fd992c9692070279ebde8f3