blocktrron / poemgr

7 stars 3 forks source link

poemgr: sleep through race condition regarding input type #3

Closed pktpls closed 2 years ago

pktpls commented 2 years ago

Thanks for this driver, tool and package :-)

The PoE chip might need a tiny moment before input detection. On a USW-Flex powered by an 802.3at injector (TL-POE160S), it initially reports a 802.3af input, which results in a low-balled power budget. After the following small nap, input is correctly read as 802.3at.

The low-balled power budget can be an actual problem. Example: the downstream PoE consumer is an 802.3af-to-passive converter (INS-3AF-O-G) which reports its maximum power draw of 12.6 W although the actual draw is much lower. That means without this fix, one little consumer device already exceeds the configured power budget.

blocktrron commented 2 years ago

Thanks. I've fixed up the comment style locally and pushed it to master.