[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: wbsio: Add support for Winbond W83627UHG
From:       Mike Belopuhov <mkb () crypt ! org ! ru>
Date:       2012-06-29 8:25:44
Message-ID: CAEWT5L_LyBPCT2+=QhQmzByxJJ2gJMzHE6vck=rb_YcSudoftw () mail ! gmail ! com
[Download RAW message or body]

On Fri, Jun 29, 2012 at 5:41 AM, Lawrence Teo <lteo@openbsd.org> wrote:
> This diff adds support for the Winbond W83627UHG chip, as found on the
> Lanner FW-7539 appliance.  This diff was ported from DragonFly BSD:
>
>
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/245ec76bc1613b22cf282
526fa9931e4c16e4237
>
> Here is the "sysctl hw.sensors" output on that Lanner appliance before
> the diff:
>
> $ sysctl -n kern.version
> OpenBSD 5.2-beta (GENERIC.MP) #338: Tue Jun 26 22:52:57 MDT 2012
>    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> $ sysctl hw.sensors
> hw.sensors.cpu0.temp0=13.00 degC
> hw.sensors.cpu1.temp0=13.00 degC
>
>
> And here's the output after the diff is applied:
>
> $ sysctl -n kern.version
> OpenBSD 5.2-beta (GENERIC.MP) #2: Thu Jun 28 16:14:19 EDT 2012
>    lteo@nori.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> $ sysctl hw.sensors
> hw.sensors.cpu0.temp0=13.00 degC
> hw.sensors.cpu1.temp0=13.00 degC
> hw.sensors.lm1.temp0=36.00 degC
> hw.sensors.lm1.temp1=29.00 degC
> hw.sensors.lm1.temp2=36.00 degC
> hw.sensors.lm1.fan1=4017 RPM
> hw.sensors.lm1.volt0=1.16 VDC (VCore)
> hw.sensors.lm1.volt1=4.96 VDC (+12V)
> hw.sensors.lm1.volt2=2.45 VDC (+3.3V)
> hw.sensors.lm1.volt3=2.40 VDC (+3.3V)
> hw.sensors.lm1.volt4=-8.79 VDC (-12V)
> hw.sensors.lm1.volt5=0.74 VDC
> hw.sensors.lm1.volt6=0.05 VDC
> hw.sensors.lm1.volt7=2.45 VDC (3.3VSB)
> hw.sensors.lm1.volt8=0.79 VDC (VBAT)
>
> $ dmesg | grep W83627
> wbsio0 at isa0 port 0x2e/2: W83627UHG rev 0x32
> lm1 at wbsio0 port 0xa10/8: W83627DHG
>
> Full dmesg at http://lteo.net/stuff/fw7539-dmesg.txt
>
> I am very new to this part of the code, and would really appreciate a
> review of the diff to make sure I did not miss anything.  Comments and
> feedback welcome too.
>
> Thank you!
> Lawrence
>
>

OK mikeb

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic