On 21-5-2010 17:16, Joachim Ott wrote: > This message is from a frameworkd subsystem, it is writing to both > /sys/bus/platform/devices/neo1973-pm-gps.0/pwron and > /sys/bus/platform/devices/neo1973-pm-gps.0/power_on (that saves some > if-statements) and thus you see that error message.
IMO this is bad programming. As far as I know the location of those pseudofiles are determined by the kernel. That means that it's safe to assume the location won't change during the life of the process. Why not check which one exists at startup, and use that? That'll save a lot of unneeded logging (not to mention confusion) and spare a bit of battery life. > Not needed. If you want, you can write a patch for > /usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/om.py > and send it to shr-devel. I'll see what I can do. On 21-5-2010 17:46, Sebastian Spaeth wrote: > And it has been confusing people ever since. I recall at least 20 bug > reports that suspect that output of being guilty for something bad :-(. That's probably because of the bad logging. If something isn't a warning (which this isn't) it shouldn't be logged as such. > I hope GPS works now? I don't have my FR with me so I cannot test it, > but I think it works for me in current shr-t. Yes, it works fine after installing fso-gpsd. No idea how that one got uninstalled, though. Regards, Sybren _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
