nikon coolpix 885 ptp fdi trouble

Mattias Eriksson snaggen at acc.umu.se
Mon Jun 21 12:30:55 PDT 2004


Hi,

I created the fdi file nikon-coolpix-885-ptp.fdi to enable proper
detection of my camera in ptp-mode with gnome-colume manager. The fdi
file looks like this:

<?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="0x04b0">
        <match key="usb.product_id" int="0x0112">
          <merge key="info.category" type="string">camera</merge>
          <merge key="info.capabilities" type="string">camera</merge>
          <merge key="info.persistent" type="bool">true</merge>
        </match>
      </match>
    </match>
  </device>
</deviceinfo>


When I restart hal, start gnome-volume-manager and start the camera I
get the folowing output from gnome-volume-manager:

libhal.c 800 : Error sending msg: No property info.capabilities on
device with id
/org/freedesktop/Hal/devices/usb_4b0_112_100_-1_000005313251
libhal.c 800 : Error sending msg: No property info.capabilities on
device with id
/org/freedesktop/Hal/devices/usbif_usb_4b0_112_100_-1_000005313251_0


I can set the properties by hand doing:
hal-set-property --key info.capabilities --string camera --udi
/org/freedesktop/Hal/devices/usb_4b0_112_100_-1_000005313251


I created the fdi file by copying the canon camera fdi file and just
modified the usb vendor and product id. Shouldn't that be 0.026-1enough,
or is there some bug with hal?

I use hal version 0.2.92 from debian unstable with udev 0.026. 
Any ideas what is going wrong?

//Snaggen, cc me since I'm not on the list.



_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list