halevt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Halevt-dev] Using parent values in exec attribute


From: Marcus Habermehl
Subject: [Halevt-dev] Using parent values in exec attribute
Date: Sun, 21 Mar 2010 17:01:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100319 Thunderbird/3.0.3

Hi.

Is it possible to use the values of parent devices in an exec attribute?

The documentation says it's possible to use it in the match attribute. But if I'm try to use it in the exec attribute I get UNKNOWN.

As example:

<halevt:Device match="hal.info.parent.hal.storage.drive_type = sd_mmc">
<halevt:Insertion exec="echo &quot;$hal.block.storage_device.hal.storage.vendor$&quot; &gt; /tmp/insertion"/>
</halevt:Device>


Greetings
Marcus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]