[Gta04-owner] QtMoko patch to show pressure from BMP085 device

Neil Jerram neil at ossau.homelinux.net
Wed May 30 10:25:46 CEST 2012

NeilBrown <neilb at suse.de> writes:

> On Tue, 29 May 2012 18:49:54 +0200 Neil Jerram <neil at ossau.homelinux.net>
> wrote:
>> Sure, makes sense.  (Do you have a trick for checking all sysfs paths when
>> moving to a new kernel?  Maybe just "grep -r /sys *"?)
> Try to avoid using paths that start /sys/devices.
> Look for a link from /sys/class/ instead.  Or maybe /sys/bus/.  It is more
> likely to be stable. And shorter.

Thanks, I hadn't heard that before.

In the particular case of BMP085, though, there's unfortunately only
a /sys/devices path:

root at neo:~# find /sys -name "*pressure*"
root at neo:~# 


More information about the Gta04-owner mailing list