[Bug 555828] Re: acerhk wont compile on lucid
** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: New => Confirmed -- Regression: flag "-pg" on /usr/src/$(uname -r)/Makefile prevents acerhk-source package from compiling, cutting internet access https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
@nicolas thanks for the great info. I manage to get kernel 32-21 up. and it works!! -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
oh. I actually could not boot up using 32-21, that's why 32-17:(. may be I got to scout further to see which works thanks a lot. regards -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
Currently I'm simply using 2.6.32-21 from lucid repositories. I don't use any other package than acerhk-source and its dependencies. -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
@nicolas, thanks for the reply. May I know which version of the kernel you are using? I seems to have problem after updated to ver33.03 and 34rc6. after I installed the build in /lib/module/uname-r is not linked. and after I linked and still got the following compilation error. did not get much luck:( make -C /lib/modules/`uname -r`/build SUBDIRS=/home/kjloh/acerhk-0.5.35 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.34-020634rc6' ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. WARNING: Symbol version dump /usr/src/linux-headers-2.6.34-020634rc6/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /home/kjloh/acerhk-0.5.35/acerhk.o cc1: error: include/generated/autoconf.h: No such file or directory /home/kjloh/acerhk-0.5.35/acerhk.c:39:26: error: linux/config.h: No such file or directory /home/kjloh/acerhk-0.5.35/acerhk.c:3149:2: error: #error This driver is only available for X86 architecture make[2]: *** [/home/kjloh/acerhk-0.5.35/acerhk.o] Error 1 make[1]: *** [_module_/home/kjloh/acerhk-0.5.35] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.34-020634rc6' make: *** [acerhk.ko] Error 2 -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
@kjloh: I don't know, if it works for me it should work for you. Try updating your system first (2.6.32-17 is an outdated kernel on Lucid) and then retry with #4. -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
I tried the changing Makefile approach but still get the following error during compilation: make -C /lib/modules/`uname -r`/build SUBDIRS=/home/kjloh/acerhk-0.5.35 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.32-17-generic' CC [M] /home/kjloh/acerhk-0.5.35/acerhk.o /home/kjloh/acerhk-0.5.35/acerhk.c: In function ‘call_bios_6xx’: /home/kjloh/acerhk-0.5.35/acerhk.c:584: error: bp cannot be used in asm here /home/kjloh/acerhk-0.5.35/acerhk.c: In function ‘set_mail_led’: /home/kjloh/acerhk-0.5.35/acerhk.c:814: warning: ‘regs’ may be used uninitialized in this function make[2]: *** [/home/kjloh/acerhk-0.5.35/acerhk.o] Error 1 make[1]: *** [_module_/home/kjloh/acerhk-0.5.35] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-17-generic' make: *** [acerhk.ko] Error 2 just wonder if there is any clue? thanks so much. regards, KJ -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
I managed to compile acerhk on Lucid, thanks to this comment: https://bugs.launchpad.net/ubuntu/+source/acerhk/+bug/456123/comments/16 In a nutshell, do the following: - open /usr/src/YOUR-KERNEL/Makefile - search for "pg" and comment out the line in which it is - run those commands to compile and install acerhk: cp /usr/src/acerhk.tar.bz2 /tmp cd /tmp tar -xf acerhk.tar.bz2 cd /tmp/modules/acerhk make sudo make install - finally, reverse the previous change in /usr/src/YOUR-KERNEL/Makefile (uncomment the line with "pg") And it works ! -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
Same bug here with an acer aspire 9500. For me it means that I can't use my keyboard shortcuts anymore (play/pause, next/previous track, mail, internet...) When I launch "sudo modprobe acer-wmi", it fails with: "FATAL: Error inserting acer_wmi (/lib/modules/2.6.32-21-generic/kernel/drivers/platform/x86/acer- wmi.ko): No such device" (however I'm not sure that acer-wmi manage keyboard shortcuts...) Any clue ? -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
** Changed in: acerhk (Ubuntu) Status: New => Confirmed -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
I too was frustrated by this, having struggled for months to get my laptop wifi running on Ubuntu before discovering acerhk, only to be facing the same problem again! However, I discovered that Acerhk appears to be no longer maintained. Instead, use acer-wmi. I have tried out the following and it works in Lucid rc and Karmic - probably in earlier versions too as acer-wmi has been round for a while. If you have acerhk, remove it with: sudo modprobe -r acerhk then install acer-wmi: sudo modprobe acer-wmi You should now be able to connect to your hub via Network Manager. On my FSC Amilo Li 2735, this works straight 'out of the box' on a fresh install with no ethernet connection, though some laptops possibly require extra drivers. To tidy up, and make wifi run automatically at start-up: sudo nano /etc/modules Delete 'acerhk' if present, and add 'acer-wmi' (without apostrophes) to the bottom of the text. Press Ctrl + O, then press Enter, then Ctrl + X to save and close. I also used Synaptics to remove acerhk and acerhkgui -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555828] Re: acerhk wont compile on lucid
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/43169323/Dependencies.txt -- acerhk wont compile on lucid https://bugs.launchpad.net/bugs/555828 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs