We will port w83792d.c to linux-2.6

Rudolf Marek R.Marek at sh.cvut.cz
Wed Apr 6 18:30:13 CEST 2005


Hello all,

How could this EVER worked????!!!!

outb_p(inb_p(SMB_HST_CNTL2) | (size << 3), SMB_HST_CNTL2);
MASK is missing !!!!

Please can you add to your driver this?

#define HST_CNTL2_SIZEMASK 0x38

outb_p( (inb_p(SMB_HST_CNTL2)&~HST_CNTL2_SIZEMASK) | (size << 3), SMB_HST_CNTL2);

I think then it should work.

i2cdump 0 0x50
i2cdump 0 0x50 c
i2cdump 0 0x50

and also

modprobe eeprom
sensors


Regards

Rudolf



More information about the lm-sensors mailing list