linaro-pm-wg team mailing list archive
-
linaro-pm-wg team
-
Mailing list archive
-
Message #00198
Re: Would you tell me a substitute of udevadm?
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
udev netlink socket, add it to the testsuite and remove udevadm.
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Follow ups
References