Possible support for the SMSC SCH5317? (found on HP dc7700 hardware)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Juerg Haefliger wrote:
> Simon,
> 
> If you feel adventurous, you can add device ID 0x85 to the smsc47b397
> driver which also supports the sch5037 chip. You'd have to modify it
> as follows:
> 
> static int __init smsc47b397_find(unsigned short *addr)
> {
>        u8 id, rev;
> 
>        superio_enter();
>        id = superio_inb(SUPERIO_REG_DEVID);
> 
> -        if ((id != 0x6f) && (id != 0x81)) {
> +        if ((id != 0x6f) && (id != 0x81) && (id != 0x85)) {
>                superio_exit();
>                return -ENODEV;
>        }
> 
Did this, and the chip is found, but the numbers I get back look wrong:

dmesg output from the module:
smsc47b397: found SMSC LPC47B397-NC (base address 0x0480, revision 2)

sensors output:

# sensors
smsc47b397-isa-0480
Adapter: ISA adapter
temp1:       +44?C
temp2:       +53?C
temp3:       +26?C
temp4:      -128?C
fan1:     2011 RPM
fan2:       82 RPM
fan3:     1262 RPM
fan4:     1095 RPM

temp1 and temp2 both look likely for CPU, while temp3 might well be
system temperature. temp4 is completely out, and I'm not sure how I'd
relate the fan speeds to the fans in the system (I have a fan in the
front, a CPU fan, and a fan in the PSU.
-- 
Thanks for the help,

Simon Farnsworth





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux