Versions in this module Expand all Collapse all v1 v1.3.1 Feb 6, 2019 Changes in this version + const Apropos + const MAXOPS + const Name + const Usage + var MaxFanTrays int + var MaxFansPerTray int + var Vdev [6]I2cDev + var VdevIo [6]I2cDev + var VpageByKey map[string]uint8 + var WrRegDv = make(map[string]string) + var WrRegFn = make(map[string]string) + var WrRegRng = make(map[string][]string) + var WrRegVal = make(map[string]string) + func DoI2cRpc() error + type Command struct + Init func() + func (*Command) Apropos() lang.Alt + func (*Command) Kind() cmd.Kind + func (*Command) String() string + func (*Command) Usage() string + func (c *Command) Close() error + func (c *Command) Main(...string) error + type I struct + Addr int + Bus int + BusSize i2c.SMBusSize + Data [34]byte + Delay int + InUse bool + RW i2c.RW + RegOffset uint8 + type I2cDev struct + Addr int + Bus int + MuxAddr int + MuxAddr2 int + MuxBus int + MuxBus2 int + MuxValue int + MuxValue2 int + func (h *I2cDev) CheckHostTemp() (string, error) + func (h *I2cDev) CheckQsfpTemp() (string, error) + func (h *I2cDev) FanCount(t uint8, i uint8) (uint16, error) + func (h *I2cDev) FanInit() error + func (h *I2cDev) FanIoInit() error + func (h *I2cDev) FrontTemp() (string, error) + func (h *I2cDev) GetFanControl() (string, error) + func (h *I2cDev) GetFanDuty() (uint8, error) + func (h *I2cDev) GetFanSpeed() (string, error) + func (h *I2cDev) GetHostTempTarget() (string, error) + func (h *I2cDev) GetHwmTarget() (uint16, error) + func (h *I2cDev) GetQsfpTempTarget() (string, error) + func (h *I2cDev) RearTemp() (string, error) + func (h *I2cDev) SetFanControl(w string) error + func (h *I2cDev) SetFanDuty(d uint8) error + func (h *I2cDev) SetFanSpeed(w string, l bool) error + func (h *I2cDev) SetHwmTarget(t string) error + func (h *I2cDev) SetLastSpeed() error + type I2cReq int + type Info struct + func (i *Info) Hset(args args.Hset, reply *reply.Hset) error + type R struct + D [34]byte + E error