Re: Problems evaluating WMI method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 30 September 2008 23:56:09 Duarte Silva wrote:
> wmi_evaluate_method("C3A72B38-D3EF-42D3-8CBB-D5A57049F66D", 1, 1, &in,
> &out);
>
> printk( KERN_INFO "QUERY %i\n", (u32)out.length);
>
> kfree(out.pointer);
>
> I get a output with a lenght of 24 and when I convert it to a acpi_object I
> get type integer. Result in dmesg
>
> QUERY 24

Ok, but what's the actual result?

e.g.

acpi_object *obj;

wmi_evaluate_method(guid, 1, 1, &in, &out);

obj = (union acpi_object *) out.pointer;

printk(KERN_INFO "RESULT %i\n", obj->value);

-Carlos
-- 
E-Mail: carlos@xxxxxxxxxxxxxxxxxxx
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux