Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > dfac976cbf97ed23f97f00a43845305e > files > 26

halevt-0.1.5-3mdv2010.0.i586.rpm

<?xml version="1.0" encoding="UTF-8"?>
<halevt:Configuration version="0.1" xmlns:halevt="http://www.environnement.ens.fr/perso/dumas/halevt.html">

<!-- 
You have to create a mount point with correct ownership.
You should also have to activate "user_allow_other" in the fuse configuration
file.
  mkdir /mnt/mtpfs
  chown halevt:plugdev /mnt/mtpfs
-->

<halevt:Device match="hal.info.category = portable_audio_player">
   <halevt:Insertion exec="mtpfs /mnt/mtpfs -o sync -o allow_other"/>
</halevt:Device>

<halevt:Device match="hal.info.category = portable_audio_player">
   <halevt:OnInit exec="mtpfs /mnt/mtpfs -o sync -o allow_other"/>
</halevt:Device>

<!-- It is not clear that it is used since the device may have 
already gone -->
<halevt:Device match="hal.info.category = portable_audio_player">
   <halevt:Removal exec="fusermount -u /mnt/mtpfs"/>
</halevt:Device>