Hi Chunhao, > I have one question when I read the document > lm_sensors/doc/developers/new_drivers: > > * Be sure that SYSCTL and ALARM definitions in the driver are > > bracketed by the special comments so that the > > kernel/include/sensors.h file, which is generated > > automatically, contains your definitions. > > (for chip drivers only) > The kernel/include/sensors.h should be generated automatically, > But I don't know how to generate it. I have bracketed the SYSCTL and > ALARM definitions in the driver w83792d.c, Could you give me the > method of generating it? You simply have to place the w83792d.c in kernel/chips and add a line for it in kernel/chips/Module.mk: KERNELCHIPSTARGETS += $(MODULE_DIR)/w83792d.o Add that line right after the one for smbus-arp and it should be OK. -- Jean Delvare http://khali.linux-fr.org/