On Tue, Apr 08, 2003 at 06:21:18PM +0200, Tomasz Torcz, BG wrote:
>
> Also, I had problem compiling via686a sensors into the kernel.
> First, it complained about missing i2c_detect(); I've
> replaced it by i2c_probe(); kernel has built and booted.
That was a Kconfig bug of mine in drivers/i2c/chips. A patch for this
has been posted to lkml in the past. And replacing i2c_detect() with
i2c_probe() _should_ work for you, it might not, I'm still trying to
work out the real differences...
> Only sysfs directory of sensor is empty :(
> It works with 2.4.x lm_sensors (via /proc of course).
What i2c bus driver are you using?
> /sys/bus/i2c/drivers:
> total 0
> drwxr-xr-x 4 root root 0 kwi 8 14:21 .
> drwxr-xr-x 4 root root 0 kwi 8 14:21 ..
> drwxr-xr-x 2 root root 0 kwi 8 14:21 VIA686A
> drwxr-xr-x 2 root root 0 kwi 8 14:21 i2c-dev dummy dr
Ah, need to go fix up that driver's name, thanks for pointing it out.
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:17 EST