return type

Phi Tran Phi.Tran at Sun.COM
Wed Jan 23 11:31:34 PST 2008


Phi Tran wrote:
> Phi Tran wrote:
> 
>>Hi,
>>
>>I'm curious where the return value type uint32 is being set for the
>>following interface?
>>
>># dbus-send --system --print-reply --dest=org.freedesktop.Hal
>>`hal-find-by-capability --capability laptop_panel`
>>org.freedesktop.Hal.Device.LaptopPanel.GetBrightness
>>method return sender=:1.1 -> dest=:1.80 reply_serial=2
>>    uint32 5
>>
>>The function has the method_signature 'i' for the input type, but I 
>>couldn't find where uint32 type for the return value is being set.
> 
> 
> I meant for GetBrightness, the method_signature is '' (void) and
> SetBrightness is '' (int32).

Also, this case is when laptop_panel.access_method isn't custom so
it uses the fdi 10-laptop-panel-mgt-policy.fdi and none of the addons.

> 
> 
>>Thanks,
>>
>>Phi
>>_______________________________________________
>>hal mailing list
>>hal at lists.freedesktop.org
>>http://lists.freedesktop.org/mailman/listinfo/hal
>>
> 
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
> 



More information about the hal mailing list