Carl-Daniel Hailfinger wrote

> My cdrom drive is /dev/hdc. Modify the snippet below to fit your
> needs and insert it into .ivman/IvmConfigConditions.xml:
> 
>     <ivm:Match name="hal.block.device" value="/dev/hdc">
>         <ivm:Condition name="EjectPressed" exec="/usr/bin/halmount -u 
> '$hal.block.device$'" />
>         <ivm:Condition name="EjectPressed" exec="/usr/bin/eject 
> '$hal.block.device$'" />
>     </ivm:Match>

That's strange here. Pressing the button works sometimes, sometimes not.
That's with or without the code added to IvmConfigConditions.xml. When
it does not work, I don't even see any reaction in the logfile (called
ivman with -d) when presing the button. Just like the event didn't
reach ivman. However, when it works, it works even without the code
in IvmConfigConditions.xml. This is very confusing :-)

cu,
Frank


-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to