You are not logged in.
Pages: 1
Hi,
I`m trying to compile and install acpi4asus, but i get these errors:
make
make -C driver
make[1]: Entering directory `/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver'
Kernel configuration :
CONFIG_BACKLIGHT_CLASS_DEVICE : [Y]
CONFIG_LEDS_CLASS : [M]
make -C /lib/modules/2.6.23-ARCH/build SUBDIRS=/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver modules
make[2]: Entering directory `/usr/src/linux-2.6.23-ARCH'
CC [M] /home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.o
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:210: warning: initialization from incompatible pointer type
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:226: error: unknown field 'owner' specified in initializer
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:226: warning: initialization makes integer from pointer without a cast
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:226: error: initializer element is not computable at load time
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:226: error: (near initialization for 'asusbl_data.brightness')
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:227: error: unknown field 'get_brightness' specified in initializer
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:227: warning: initialization makes integer from pointer without a cast
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:227: error: initializer element is not computable at load time
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:227: error: (near initialization for 'asusbl_data.max_brightness')
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:228: error: unknown field 'update_status' specified in initializer
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:228: warning: initialization makes integer from pointer without a cast
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:228: error: initializer element is not computable at load time
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:228: error: (near initialization for 'asusbl_data.power')
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c: In function 'lcd_blank':
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:396: error: 'struct backlight_device' has no member named 'sem'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:397: error: wrong type argument to unary exclamation mark
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:398: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:399: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:400: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:402: error: 'struct backlight_device' has no member named 'sem'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c: In function 'update_bl_status':
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:436: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:442: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c: In function 'asus_hotk_notify':
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:741: error: implicit declaration of function 'acpi_bus_generate_event'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c: In function 'asus_hotk_get_info':
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:867: error: 'ACPI_TABLE_ID_DSDT' undeclared (first use in this function)
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:867: error: (Each undeclared identifier is reported only once
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:867: error: for each function it appears in.)
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:867: warning: passing argument 3 of 'acpi_get_table' from incompatible pointer type
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c: In function 'asus_led_exit':
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1092: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1092: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1093: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1093: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1094: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1094: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1095: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1095: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1096: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1096: error: 'struct led_classdev' has no member named 'class_dev'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c: In function 'asus_backlight_init':
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1120: warning: passing argument 4 of 'backlight_device_register' from incompatible pointer type
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1131: error: 'struct backlight_device' has no member named 'sem'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1132: error: wrong type argument to unary exclamation mark
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1133: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1134: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1135: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1136: error: invalid type argument of '->'
/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.c:1138: error: 'struct backlight_device' has no member named 'sem'
make[3]: *** [/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver/asus-laptop.o] Error 1
make[2]: *** [_module_/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.23-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/ivo/Desktop/acpi4asus-0.41/acpi4asus-0.41/driver'
make: *** [build] Error 2
Asus A6M-Q050
Offline
It seems like the 0.41 version of acpi4asus only works for kernel version 2.6.20. For later kernels you have to download it from cvs.
Look here:
Offline
Check here: http://bbs.archlinux.org/viewtopic.php?id=38935
Offline
Tnx. I used that package from that topic and it worked.
Asus A6M-Q050
Offline
Pages: 1