[Gta04-owner] Using BMP085
Neil Jerram
neil at ossau.homelinux.net
Fri May 25 23:34:47 CEST 2012
Christoph Mair <christoph.mair at gmail.com> writes:
> Hi Neil,
>
> The board file is not configured correctly to tell the kernel which
> bus the chip is connected to.
>
> Try: echo bmp085 0x77 > /sys/bus/i2c/devices/i2c-2/new_device
Hooray, it works, thank you:
gta04:~# echo bmp085 0x77 > /sys/bus/i2c/devices/i2c-2/new_device
gta04:~# find /sys -name "*pressure*"
/sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0077/pressure0_input
gta04:~# cat /sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0077/pressure0_input
92192
> I'm not sure if 0x77 was the correct I2C address, but in general this
> should make the chip available.
So is there a more correct fix that should go into the board file? (Or
possibly already has, since I'm still only running 3.2.0-gta04+.)
Neil
More information about the Gta04-owner
mailing list