Ahoj všem, opět vás prosím o radu s nefunkční wifi.
Mám NB Asus X51H s Atherosem, nainstalovaný driver madwifi, ale nemůžu chytit žádnou bezdrátovou síť. Zdá se mi že problém není v ovladačích, ale jen v tom že se mi nezapíná wifina. Pro zapnutí mám klasické HW tlačítko ale po jeho stisknutí se jen zapíná/vypína bluetooth. Mám nainstalovaný balík ACPI-support co je v Ubuntu od základu a skoro všechny ostatní asusácké funkce (sleep, brightness, mute,...) mi fungují. Zkusil jsem stáhnout ACPI4ASUS-0.41, ale nedaří se mi to zkompilovat.
zipule@Holy:~$ cd acpi4asus-0.41/
zipule@Holy:~/acpi4asus-0.41$ sudo make
[sudo] password for zipule:
make -C driver
make[1]: Entering directory `/home/zipule/acpi4asus-0.41/driver'
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.27-9-generic/build SUBDIRS=/home/zipule/acpi4asus-0.41/driver modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
CC [M] /home/zipule/acpi4asus-0.41/driver/asus-laptop.o
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:210: warning: initialization from incompatible pointer type
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:226: error: unknown field ‘owner’ specified in initializer
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:226: warning: initialization makes integer from pointer without a cast
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:227: error: unknown field ‘get_brightness’ specified in initializer
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:227: warning: initialization makes integer from pointer without a cast
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:228: error: unknown field ‘update_status’ specified in initializer
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:228: warning: initialization makes integer from pointer without a cast
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c: In function ‘lcd_blank’:
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:396: error: ‘struct backlight_device’ has no member named ‘sem’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:397: error: wrong type argument to unary exclamation mark
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:398: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:399: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:400: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:402: error: ‘struct backlight_device’ has no member named ‘sem’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c: In function ‘update_bl_status’:
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:436: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:442: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c: In function ‘asus_hotk_notify’:
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:741: error: implicit declaration of function ‘acpi_bus_generate_event’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c: In function ‘asus_hotk_get_info’:
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:867: error: ‘ACPI_TABLE_ID_DSDT’ undeclared (first use in this function)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:867: error: (Each undeclared identifier is reported only once
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:867: error: for each function it appears in.)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:867: warning: passing argument 3 of ‘acpi_get_table’ from incompatible pointer type
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c: In function ‘asus_led_exit’:
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1092: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1092: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1093: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1093: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1094: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1094: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1095: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1095: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1096: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1096: error: ‘struct led_classdev’ has no member named ‘class_dev’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c: In function ‘asus_backlight_init’:
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1120: warning: passing argument 4 of ‘backlight_device_register’ from incompatible pointer type
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1131: error: ‘struct backlight_device’ has no member named ‘sem’
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1132: error: wrong type argument to unary exclamation mark
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1133: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1134: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1135: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1136: error: invalid type argument of ‘->’ (have ‘struct backlight_properties’)
/home/zipule/acpi4asus-0.41/driver/asus-laptop.c:1138: error: ‘struct backlight_device’ has no member named ‘sem’
make[3]: *** [/home/zipule/acpi4asus-0.41/driver/asus-laptop.o] Error 1
make[2]: *** [_module_/home/zipule/acpi4asus-0.41/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/zipule/acpi4asus-0.41/driver'
make: *** [build] Error 2
Má někdo s tímhle nějaké zkušenosti a mohl by mi poradit? Díky.