From: Xavier V. <xav...@fr...> - 2005-02-24 20:35:22
|
Hello Francisco ! Just answering de i2c-stuff 'cause I'm in a hurry by now ... > I didn't get to work my sensors.. they seem not to be detected well.. > altough my lmsensors is working ok.. i tried kernel modules and compiled > in.. i have a via mini-itx board.. with "vt1211-isa-6000" chip.. anyway > i get this: > Feb 23 18:50:32 scarpiera LCD4Linux[2364]: i2c_sensors: unable to > autodetect i2c sensors! > uhm.. how does he autedetect this?? You should read the doc on the wiki (lcd4linux.bulix.org) : - if you have a 2.4.x kernel, L4L looks in /proc/sys/dev/sensors/ and hopes to find a link to the sensors. Be sure to have /proc mounted and i2c-proc loaded (if I recall well) - if you have a 2.6.x kernel, L4L looks in /sys/bus/i2c/devices/ and tries to find an entry with a temp_input1. The only reason for it to fail is not to have a temp_input1 provided by your driver. Browse /sys/bus/i2c/devices/ directories to guess. Oh ! And if you don't have /sys mounted, it'll fail :) If you find your sensors via procfs or sysfs and L4L fails, you can force the detection with the i2c_sensors-path configuration token, for example: * for sysfs: i2c_sensors-path '/sys/bus/i2c/devices/0-6000/' * for procfs: i2c_sensors-path '/proc/sys/dev/sensors/via686a-isa-6000' Bye ! -- Xavier VELLO <xav...@fr...> |