hal fdi issue

Tang Ke tangk at lemote.com
Fri Mar 26 07:20:59 PDT 2010


On 2010年03月26日 17:31, Paul Menzel wrote:
> Am Freitag, den 26.03.2010, 17:24 +0800 schrieb Tang Ke:
>    
>> On 2010年03月26日 17:17, Paul Menzel wrote:
>>      
>>> [Please do just send plain text messages.]
>>>        
> I emphasize it once more, please do not send HTML messages.
>
>    
>>> Am Freitag, den 26.03.2010, 14:59 +0800 schrieb Tang Ke:
>>>        
>>>> I add the next line
>>>> to /usr/share/hal/fdi/policy/10osvendor/10-test.fdi and test the hal.
>>>> <deviceinfo version="0.2">
>>>>    <device>
>>>>      <match key="info.udi" string="/org/freedesktop/Hal/devices/computer">
>>>>        <append key="system.hardware.vendor" type="string">Lemote</append>
>>>>        <append key="system.hardware.version" type="string">YeeLoong 8.9</append>
>>>>      </match>
>>>>    </device>
>>>> </deviceinfo>
>>>> then I run the /etc/init.d/hal stop and /etc/init.d/hal start
>>>> so. lshal can get the information about Lemote.
>>>> but when I delete the file.
>>>> and run the /etc/init.d/hal stop and /etc/init.d/hal start
>>>> the information about Lemote is only exists.
>>>>          
>>> Could you rephrase that last sentence please. I do not understand, what
>>> your problem is.
>>>        
>> I stop the hal daemon,and delete the 10-test.fdi,but when I start the
>> hal daemon,or reboot the machine,
>> the Lemote information is exists again.
>>
>>      
>>>> WHY?
>>>>          
> As far as I know FDI information are cached. Please search for
> »fdi-cache« on the Web and report back if it worked.
>
>
>    
thanks,I googled it and found the file located with 
/var/cache/hald/fdi-cache,
so when I delete it, It will ok.
thanks.
> Thanks,
>
> Paul
>    
>
>
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
>    



More information about the hal mailing list