I am new to udev.
I am using i.MX35 eval board with LTIB and kernel 2.6.31.
I have cross compiled udev-142 for i.MX35.
Then i copied "udevadm" to the board and executed as below
After this i plugged and unplugged the USB pendrive to USB hostport of the board. I was expecting the udev events and kernel events to happen and display messages accordingly.
But i was able to see only the kernel events happening no udev events happened.
I think i am missing something for udev events to trigger may be udev rules or something.
Please let me know what am i missing.
Below are the messages what I get. I get only kernel events not udevevents
root@freescale ~$ ./udevadm_142 monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[282033.257775] remove /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0 (usb)
KERNEL[282033.258096] remove /class/usb_device/usbdev1.4 (usb_device)
KERNEL[282033.258313] remove /devices/platform/fsl-ehci.0/usb1/1-1 (usb)
KERNEL[282035.367465] add /devices/platform/fsl-ehci.0/usb1/1-1 (usb)
KERNEL[282035.367743] add /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0 (usb)
KERNEL[282035.367936] add /class/usb_device/usbdev1.5 (usb_device)