info.callouts.add usage

Mangus ml at deprecated.it
Mon Feb 13 14:21:48 PST 2006


I'm trying to launch an application when my Sony camera
-PTP Mode - is plugged on my system.
Lshal --monitor reports this when inserted

usb_device_54c_4e_noserial added
usb_device_54c_4e_noserial_if0 added
usb_device_54c_4e_noserial_usbraw added

Is this fdi file supposed to work?
<device>
    <match key="info.bus" string="usb">
      <match key="usb.vendor_id" int="0x054c">
        <match key="usb.product_id" int="0x004e">
          <merge key="info.category" type="string">camera</merge>
          <merge key="info.capabilities" type="string">camera</merge>
          <!--merge key="camera.access_method" 
type="string">libgphoto2</merge-->
                <append key="info.callouts.add" 
type="strlist">/opt/kde/bin/digikamwrapper</append>
        </match>
      </match>
    </match>
  </device>

using Hal 056 , kernel 2.6.15.4 , udev 084

Thanks for the hints.


--
Be cool, get Slack

Fede


More information about the hal mailing list