Adding fdi files

David Zeuthen david at fubar.dk
Sun Jul 4 10:18:01 PDT 2004


On Sat, 2004-07-03 at 00:46 -0700, Eric Butler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm trying to get an FDI file to work, here's what I've got:
> 
> # cat /usr/local/share/hal/fdi/20freedesktop/canon-digital-s400.fdi
> <?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="0x4a9">
> ~        <match key="usb.product_id" int="0x3075">
> ~          <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>
> 

Except for the '~' characters this looks right - I guess you based this
on the canon-digital-ixus-v.fdi file, right?

> I'm 1001% sure all this information is correct, however after
> restarting hald and hooking my camera up, no addional properties are
> merged.
> 
> The complete lshal output (taken while camera is connected) is at
> http://extremeboredom.net/Stuff/lshal.txt.
> 
> At least one other person I talked to in #freedesktop seemed to have
> this or a very similar problem.
> 

Yeah, lot's of people seem to have this problem and this is frustrating
since it has always worked for me. 

In fact I saw Joe Shaw having this problem at GUADEC when I sat next to
him and he found that doing an autogen.sh on the sources then make and
'make install' solved it. Please see if this helps, otherwise I'll
instrument the sources with some debug information.

Many thanks,
David



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



More information about the Hal mailing list