Skip to contentSkip to conversation

SOLVED: Re: Motherboard Fujitsu D-3076-S

lm-sensors Holger Bürger 1 participant 1 message Aug 8, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

problem solved.
Thank you very much.
I will also report this procedure to FUJITSU support, so they can update the HOWTOs provided under the following link.

ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Products/Mainboards/Industrial&ExtendedLifetime/D3071-S_D3076-S/IndustrialTools_D307x-S/Linux_SystemMonitoring&Watchdog-Driver/

Regards

Holger B.

Am 08.08.2013 14:32, schrieb Hans de Goede:

Quoted 46 lines

Hi,

Quoted 7 lines · Holger Bürger

Hi,

Quoted 2 lines

Yes you can simply remove the line in question, and the 2 lines remove it, so remove the following lines:

But I have more errors then.

Yes, it now passes building sch56xx-common.c, and moves on to another file which has other issues.

Quoted 4 lines

make -C /lib/modules/2.6.18-348.el5/build M=/root/test modules

Quoted 8 lines

make[1]: Entering directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'

   CC [M]  /root/test/sch56xx-common.o
   CC [M]  /root/test/sch5636.o

/root/test/sch5636.c: In function »show_in_value«:
/root/test/sch5636.c:189: Fehler: Implizite Deklaration der Funktion »DIV_ROUND_CLOSEST«

To fix this replace (at line 189):

        val = DIV_ROUND_CLOSEST(
                data->in[attr->index] *
SCH5636_REG_IN_FACTORS[attr->index],
                255);

With:

    val = data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index] /

255;

Quoted 5 lines

/root/test/sch5636.c: In function »sch5636_remove«:
/root/test/sch5636.c:392: Warnung: Übergabe des Arguments 1 von »hwmon_device_unregister« von inkompatiblem Zeigertyp /root/test/sch5636.c: In function »sch5636_probe«:
/root/test/sch5636.c:505: Warnung: Zuweisung von inkompatiblem Zeigertyp

Quoted 7 lines

These 2 warnings can be ignored.

You likely need to make the same change in sch5627.c

Regards,

Hans

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors