NetBSD-Bugs archive

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

Re: kern/40420: adding SMSC LPC47M192 hardware monitor at SMBus



On May 3,  6:32pm, Takahiro Hayashi wrote:
}
} >Number:         40420
} >Category:       kern
} >Synopsis:       adding SMSC LPC47M192 hardware monitor at SMBus
} >Description:
}       This patch adds SMSC LPC47M192 hardware monitor at SMBus
}       to the kernel.
}       For example, envstat(8) will display:
} 
} % envstat
}                    Current  CritMax  CritMin  CritCap     Unit
} [smsctemp0]
}          +2.5V:      2.568                                   V
}           Vccp:      1.156                                   V
}          +3.3V:      3.287                                   V
}            +5V:      4.980                                   V
}           +12V:     12.327                                   V
}            Vcc:      3.304                                   V
}          +1.5V:      1.587                                   V
}          +1.8V:      1.784                                   V
}   Remote Temp1:     46.000                                degC
}   Ambient Temp:     38.000                                degC
}   Remote Temp2:     41.000                                degC
} % dmesg | grep smsctemp
} smsctemp0 at iic0 addr 0x2d: LPC47M192 hardware monitor
} % 
} 
}       I tested on Intel D945GCLF and D945GCLF2 on i386/amd64.
}       This patch does not support fan monitoring.
} 
} >How-To-Repeat:
} >Fix:
}       apply this patch and add line "smsctemp* at iic? addr 0x2d"
}       to the kernel configuration file.
} 
} [snip]
} --- /dev/null 2009-01-04 00:00:53.000000000 +0900
} +++ sys/dev/i2c/smsctemp.c    2009-01-17 14:42:13.000000000 +0900
} @@ -0,0 +1,334 @@
} +/* $NetBSD$ */
} +
} +/*
} + * Redistribution and use in source and binary forms, with or without
} + * modification, are permitted provided that the following conditions
} [snip]

     There is no copyright line (i.e. there is no indication of who is
granting the licence.  Unfortunately, without a proper copyright to go
along with the licence the code can't be imported.

}-- End of excerpt from Takahiro Hayashi


Home | Main Index | Thread Index | Old Index