I am using i.mx28evk with kernel 3.10.32 mainline on the board. I am facing issue of udev not receiving the events from Ethernet driver. I tried to monitor the udev events using command :
root@imx28evk:~# udevadm monitor
custom logging function 0x17b9c registered
runtime dir '/var/run/udev'
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
[ 5772.113167] libphy: 800f0000.etherne:00 - Link is Down
[ 5774.193557] libphy: 800f0000.etherne:00 - Link is Up - 100/Full
//NO UDEV Events noticed disconnecting/connecting Ethernet 0
When I do plug/unplug the USB mass storgage I got lots of messages with udev events including action = add/remove. But with ethernet plugging/unplugging, I am not getting any messages.
I have also tried to find in the driver source under linux/driver/net/ethernet/freescale but couldnt able to find any api used to send uevent via kobject. Any comments on how to enable the udev events for Ethernet driver?