HAL POLICY HELP

Salatiel Filho salatiel.filho at gmail.com
Sun Feb 5 06:00:41 PST 2006


have a motorola v635 mobile and i wanna set my hald to mount it on
/media/v635 with sync option.
My lsusb shows :
idVendor 0x22b8 Motorola PCS
idProduct 0x4810 E398 Storage

so i mkdir /usr/share/hal/usr/share/hal/fdi/policy/90userpolicies
and created /usr/share/hal/usr/share/hal/fdi/policy/90userpolicies/1-v635.fdi
containing :

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.bus" string="usb">
<match key="usb.vendor_id" int="0x22b8">
<match key="usb.product_id" int="0x4810">
<merge key="volume.policy.desired_mount_point" type="string">v635</merge>
<merge key="storage.policy.default.mount_option.sync" type="bool">true</merge>
</match>
</match>
</match>
</device>
</deviceinfo>

restarted hald but it didn't work. I still ge my phone mounted on
/media/usbdisk with no sync option.
What did i make wrong ?


--
"O maior prazer do inteligente é bancar o  idiota
  diante de um  idiota que banca o inteligente".


More information about the hal mailing list