![]() |
Can't detect i2c device
I have a real time clock on my motherboard that I'd like to use. It's connected via the SMBus which is normally registered as i2c-0 during boot. I'm using this driver for it, it patches and compiles fine and registers the i2c driver during boot.
However I'm not having any luck instantiating the device. I've added the following to the code for my mainboard: Code:
static struct i2c_board_info i2c_board_info[] __initdata = {I've also tried registering the device from user space. Instead of calling i2c_register_board_info during boot I run Code:
echo rtc-isl12024 0x57 > /sys/bus/i2c/devices/i2c-0/new_deviceI'm doing this on a Gentoo 2.6.33 realtime kernel. Any ideas? What could I be doing wrong? |
| All times are GMT -5. The time now is 04:08 PM. |