rozbehanie acpi

Sekcia: Hardware a Drivery 02.07.2008 | 20:56
Avatar Tomáš ubuntu 7.04  Používateľ
Ahojte potrebujem nainstalovat acpi4asus balik no ked zacnem s make napise toto :

Kernel configuration :
CONFIG_BACKLIGHT_CLASS_DEVICE : [[: 1: ==: unexpected operator
[: 1: ==: unexpected operator
]
CONFIG_LEDS_CLASS : [[: 1: ==: unexpected operator
[: 1: ==: unexpected operator
]
make -C /lib/modules/2.6.22-15-generic/build SUBDIRS=/home/krcho/Desktop/acpi4asus-0.41/driver modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-15-generic'
CC [M] /home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.o
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:226: error: unknown field ‘owner’ specified in initializer
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:226: warning: initialization makes integer from pointer without a cast
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:227: error: unknown field ‘get_brightness’ specified in initializer
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:227: warning: initialization makes integer from pointer without a cast
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:228: error: unknown field ‘update_status’ specified in initializer
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:228: warning: initialization makes integer from pointer without a cast
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c: In function ‘lcd_blank’:
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:396: error: ‘struct backlight_device’ has no member named ‘sem’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:397: error: wrong type argument to unary exclamation mark
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:398: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:399: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:400: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:402: error: ‘struct backlight_device’ has no member named ‘sem’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c: In function ‘update_bl_status’:
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:436: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:442: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c: In function ‘asus_hotk_get_info’:
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:867: error: ‘ACPI_TABLE_ID_DSDT’ undeclared (first use in this function)
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:867: error: (Each undeclared identifier is reported only once
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:867: error: for each function it appears in.)
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:867: warning: passing argument 3 of ‘acpi_get_table’ from incompatible pointer type
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c: In function ‘asus_backlight_init’:
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1120: warning: passing argument 4 of ‘backlight_device_register’ from incompatible pointer type
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1131: error: ‘struct backlight_device’ has no member named ‘sem’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1132: error: wrong type argument to unary exclamation mark
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1133: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1134: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1135: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1136: error: invalid type argument of ‘->’
/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.c:1138: error: ‘struct backlight_device’ has no member named ‘sem’
make[3]: *** [/home/krcho/Desktop/acpi4asus-0.41/driver/asus-laptop.o] Chyba 1
make[2]: *** [_module_/home/krcho/Desktop/acpi4asus-0.41/driver] Chyba 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
make[1]: *** [default] Chyba 2
make[1]: Leaving directory `/home/krcho/Desktop/acpi4asus-0.41/driver'
make: *** [build] Chyba 2

neviem co mam teraz robit...nefunguju mi tlacitka na vypinanie wifi a ledky preto som to chcel dodatocne spojazdnit...zatial vypinam wifi zhodenim ndiswrappera...
    • Re: rozbehanie acpi 03.07.2008 | 20:52
      kain   Návštevník
      dost asi zalezi aku verziu acpi4asus chces skompilovat voci akemu jadru. Tvoje verzie vyzeraju OK. Skus sa pozriet ci tam nemas readme a ci ti nieco nechyba (napr. kernel source - headers nemusia).