I am using beaglebone black with kernel 3.8.13-00726-g023e57d-dirty 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@beaglebone:~# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
[ 2763.754848] libphy: 4a101000.mdio:00 - Link is Down
[ 2767.973869] libphy: 4a101000.mdio: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/ 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?