This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform/broadcom/sonic-platform-modules-accton/as9716-32d
jostar-yang 3e7228d45c
[AS9716-32D]Support multi PSU SN in PDDF (#8214)
Add needed code to pddf_custom_psu.c to deal with multi PSU and get SN.

How to verify it
Plugin new PSU (3Y) and test,

```
root@sonic:/sys/bus/i2c/drivers/psu/9-0050# cat psu_serial_num
S0A000X601919000013
root@sonic:/sys/bus/i2c/drivers/psu/9-0050# cat psu_model_name
YESM1300AM
root@sonic:/home/admin# pddf_psuutil mfrinfo
PSU Status Manufacturer ID Model Serial Fan Airflow Direction

PSU1 NOT OK 3Y POWER YESM1300AM S0A000X601919000007 exhaust
PSU2 OK 3Y POWER YESM1300AM S0A000X601919000013 exhaust
```

Co-authored-by: Jostar Yang <jostar_yang@accton.com.tw>
2021-07-24 16:30:11 -07:00
..
classes [devices]: Add to support thermal plan in as9716 platform (#3409) 2019-09-06 15:11:46 -07:00
modules [AS9716-32D]Support multi PSU SN in PDDF (#8214) 2021-07-24 16:30:11 -07:00
service [as9716-32d] Add to support PDDF (#6902) 2021-04-14 14:43:52 -07:00
sonic_platform [as9716-32d] Add to support PDDF (#6902) 2021-04-14 14:43:52 -07:00
utils [as9716-32d] Add to support PDDF (#6902) 2021-04-14 14:43:52 -07:00
setup.py [devices]: Add support as9716 platform (#2993) 2019-06-28 21:53:06 -07:00
sonic_platform_setup.py [as9716-32d] Add to support PDDF (#6902) 2021-04-14 14:43:52 -07:00