Pickle is applied to save the order of i2c adapters at installation. With pickle removed, it just checks the order of i2c buses every time it needs.
Modify get_psu_presence(). Move read() and close() to "try: ... except IOError:" To avoid when read port present sysfs fail. This exception will let sfputil.py to exit. So "sfputil show eeprom" can't show other port status.
* Verified as5812_54t platfrom, except SDK and monitor. Signed-off-by: roy_lee <roy_lee@accton.com> * Add as5812-54t to build its debian package. Signed-off-by: roy_lee <roy_lee@accton.com> * Use the right cpld read/write api. Signed-off-by: roy_lee <roy_lee@accton.com> * Update device paths. Signed-off-by: roy_lee <roy_lee@accton.com> * update psu driver, correct python lib location. Signed-off-by: roy_lee <roy_lee@accton.com> * Give a default return value. Signed-off-by: roy_lee <roy_lee@accton.com>