CozmoNate / HWSensors

HWSensors is a software bundle that includes drivers and applications that allow you to access information from hardware sensors available on your Mac
658 stars 133 forks source link

Potential support for the SMSC SCH53x7 chip on HP Workstations? #336

Open pharillion opened 8 years ago

pharillion commented 8 years ago

Greetings to Kozlek and all other intrepid developers and experimenters contributing to these threads.

I’ve long known that my HPz400 workstation - running El Capitan and Sierra - contains an SMSC SCH5327 (rev B) Super-IO chip. Since SMSC don’t seem to make the appropriate data sheets publicly available this is currently unsupported by either of the two main HWSensors branches.

However, poking about under Ubuntu I discovered that lm-sensors does seem to support this chipset and several others from SMSC, notably the

SMSC LPC47B397-NC SMSC SCH5307-NS SMSC SCH5317

via its smsc47b397 kernel module. I’m guessing that my SCH5327 is register compatible with the supported SCH5317 as loading the appropriate module gets me sensible temperature and fan speed readings under Ubuntu, at least if minus values / missing sensors are discounted.

Trying family `SMSC'... Yes

Found `SMSC SCH5317 Super IO'   Success!

(address 0x480, driver `smsc47b397')

Driver `smsc47b397':

hpz400@ubuntu:~$ sensors

smsc47b397-isa-0480 Adapter: ISA adapter fan1:        1288 RPM fan2:           0 RPM fan3:           0 RPM fan4:        1624 RPM temp1:        -50.0°C   temp2:        +21.0°C   temp3:        +64.0°C   temp4:       -128.0°C  

Perhaps more importantly there is a data sheet contributed by Mark Hoffman and Craig Kelly describing how to read the various registers. This mentions the Compaq dc7100 so it seems possible that this SMSC family is used across a number of HP / Compaq models.

https://www.kernel.org/doc/Documentation/hwmon/smsc47b397

I know that adding support for a new family of Super IO controllers involves a great deal of work - certainly this is far beyond my very rudimentary skills in this area, but I’m aware from participation in forums elsewhere that there is an active community of users running OSX on the HPz400/z600/z800 workstation family so I’m certain there would be a lot of interest if it might be possible to extend the capabilities of HWMonitor to support the SuperIO chip they all include.

Finally I’d like to offer my services as tester should anyone feel motivated to take this on.

Many thanks for reading thus far.

shanmanoj commented 6 years ago

i cleaned my pc and replace 3 capacitors they were damage , after the service it works properly and i tried ubuntu os also there . next day i tried to switch on but it didnt on . then i remove motheboard and check it, there is a chip numbered as SMSC SCH5317-NS its heating too much
anyone know that issue please help me as soon as posible