On 06/18/2012 08:43 AM, Kejun Zhou wrote:
> Hi Daniel,
>
> I saw udevadm is used in pm-qa/cpuhotplug/cpuhotplug_07.sh
>
> 40
> 41 # damn ! udevadm is buffering the output, we have to use a temp file
> 42 # to retrieve the output
> 43 rm -f $TMPFILE
> 44 udevadm monitor --kernel --subsystem-match=cpu > $TMPFILE &
> 45 pid=$
>
> Integrating udevadm to Android system will make util-linux and udev
> being involved in Android system.
> Is there a substitute of udevadm?
I don't think so. You could write a simple C program listening on the