[Gta04-owner] QtMoko patch to show pressure from BMP085 device
Neil Jerram
neil at ossau.homelinux.net
Wed May 30 10:54:46 CEST 2012
Christoph Mair <christoph.mair at gmail.com> writes:
>> root at neo:~# find /sys -name "*pressure*"
>> /sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0077/pressure0_input
>> root at neo:~#
>
> There should be at least be a /sys/bus/i2c/devices/2-0077/.. (or
> similar) path too.
You're right (of course, and as Radek has also found):
root at neo:~# cat /sys/bus/i2c/drivers/bmp085/2-0077/pressure0_input
92895
So I've learned something else new: "find" apparently isn't reliable for
finding everything under /sys.
Neil
More information about the Gta04-owner
mailing list