Accelerometer sysfs paths

Thomas White taw at
Fri Mar 27 15:13:20 CET 2009

Hi there,

I've noticed that the commit e866878cd2a68e7ef46241f4317e[..] seems to
have changed the sysfs paths for the accelerometers from:




or, equivalently:

/sys/devices/platform/s3c2440-i2c/i2c-adapter:i2c-0 [chopped]

I had a quick look around for an announcement of this, but didn't find
one.  Perhaps I just missed it,in amongst all the other stuff going on

If someone (Balaji?) could confirm my findings, I'm happy to do things
like update the Wiki to include the information.

In a wider sense, I notice that our default configs have
"SYSFS_DEPRECATED_V2=y".  I wonder if we missed a trick here, by not
switching to the new layout when we switched to 2.6.28 and broke
everything anyway.  However, I don't see any immediate harm in using
the old layout (...?).


More information about the openmoko-kernel mailing list