buglabs/bug-osgi — Issue #9: Sysfs directory entry changed/removed for LCD module.
Author: kgilmer
Created: 2011-11-09 04:46:11+00:00
State: open

On OSGi start:

01.13 14:33:22 ERROR Bundle/Modlet error occurred: java.lang.IllegalArgumentException, Invalid sysfs directory: /sys/devices/platform/i2c_omap.3/i2c-3/3-0070/i2c-5/5-0017	[34]com.buglabs.bug.bmi (3.0.0)
01.13 14:33:22 ERROR java.lang.IllegalArgumentException: Invalid sysfs directory: /sys/devices/platform/i2c_omap.3/i2c-3/3-0070/i2c-5/5-0017
at com.buglabs.bug.sysfs.SysfsNode.(SysfsNode.java:25)
at com.buglabs.bug.module.lcd.ML8953Device.(ML8953Device.java:29)
at com.buglabs.bug.module.lcd.ML8953Device.getInstance(ML8953Device.java:56)
at com.buglabs.bug.module.lcd.ML8953AccelerometerImplementation.(ML8953AccelerometerImplementation.java:22)
at com.buglabs.bug.module.lcd.pub.LCDModlet.start(LCDModlet.java:80)
at com.buglabs.bug.bmi.BMIModuleEventHandler.handleEvent(BMIModuleEventHandler.java:112)
at com.buglabs.bug.bmi.Activator.coldPlug(Activator.java:163)
at com.buglabs.bug.bmi.Activator.frameworkEvent(Activator.java:369)
at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(Unknown Source)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(Unknown Source)
at org.apache.felix.framework.util.EventDispatcher.run(Unknown Source)
at org.apache.felix.framework.util.EventDispatcher.access$000(Unknown Source)
at org.apache.felix.framework.util.EventDispatcher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
[34]com.buglabs.bug.bmi (3.0.0)

On the BUG, the closest path that exists is: /sys/devices/platform/i2c_omap.3/i2c-3/3-0070/i2c-5/

cat /etc/buildinfo
BUG Linux Build Information
Version: 3.0.1003110016
Build Host: Linux darner 2.6.32-30-server #59-Ubuntu SMP Tue Mar 1 22:46:09 UTC 2011 x86_64 GNU/Linux
Build User: root
Build Time: Mon Oct 3 04:16:22 UTC 2011
Revision: 84b43f8