[Gta04-owner] QtMoko patch to show pressure from BMP085 device
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*"
>> 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
So I've learned something else new: "find" apparently isn't reliable for
finding everything under /sys.
More information about the Gta04-owner