we are using i.mx25 processor with linux 2.6.31 for our product.
we need to get the fec PHY link status from user space for whenever change in the network cable like connection/removing.
we need to show it on my UI about network connection.
Please kindly give us the workaround to do that.
And sysfs interface also not updating the carrier value for connection and remove. it remains the same value only. value wont get changed.
we have used some utility like ethtool and mii-tool from userspace . it wont give the information about PHY link status.
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found
Settings for eth0:
No data available
what i need to do to done this?
This is high priority !!!