I want to capture a signal in the kernel when it detects Power over Ethernet is connected.
I don't have GPIOs to do this business.
I am working on the Atheros chipset-based access point. It has a Realtek RTL8363SB Ethernet module. Is there a mechanism, interrupt, signal, or API in the kernel which detects from where it is getting power?
I have enabled CONFIG_POWER_SUPPLY
while building kernel v 2.6.36.