Karmic: cannot compile acerhk-source. No rule to make target kernel/bounds.c.

Bug #456123 reported by moma
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
acerhk (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: acerhk-source

Hello,

I have Fujitsu Siemens AMILO laptop and need desperately to compile the acerhk-source module. It is vital for activation of WLAN in this laptop model.

This posting has more background about this: http://newyork.ubuntuforums.org/showthread.php?t=1294262

So I try to compile the acerhk-source modle, but it fails with error message "No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'."

I do this:
$ sudo apt-get install build-essential linux-headers-$(uname -r)

$ sudo apt-get install acerhk-source

It will install the source tar-balls in the /usr/src/ director.
Let's unpack them.

$ cd /usr/src

$ sudo tar -xvjf acerhk.tar.bz2

Compile the acerhk source
$ cd modules/acerhk

$ sudo make

make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make[1]: *** [prepare0] Error 2
--------------

Please help.

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: moma 1401 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 16'
   Mixer name : 'Realtek ALC861-VD'
   Components : 'HDA:10ec0862,173410fb,00100001 HDA:10573055,173410fb,00100700'
   Controls : 14
   Simple ctrls : 9
Date: Tue Oct 20 10:25:09 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=c227fdae-6e11-42ce-a414-8e280d80ea78
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: FUJITSU SIEMENS AMILO Li 1718
Package: linux-headers-2.6.31-14-generic 2.6.31-14.48 [modified: usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.fixdep.cmd usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.docproc.cmd usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.hash.cmd usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.conf.o.cmd usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.kxgettext.o.cmd usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.zconf.tab.o.cmd usr/src/linux-headers-2.6.31-14-generic/include/linux/autoconf.h usr/src/linux-headers-2.6.31-14-generic/include/linux/utsrelease.h usr/src/linux-headers-2.6.31-14-generic/include/config/auto.conf.cmd usr/src/linux-headers-2.6.31-14-generic/include/config/auto.conf usr/src/linux-headers-2.6.31-14-generic/include/config/kernel.release]
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=UUID=8ac1bb29-22eb-42a7-96da-d2a827a5b4dc ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic N/A
 linux-firmware 1.24
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
 (gnome-settings-daemon:1452): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1452): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1583): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1558): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:1554): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 24
dmi.bios.date: 11/12/07
dmi.bios.vendor: Phoenix
dmi.bios.version: V1.9
dmi.board.name: AMILO Li 1718
dmi.board.vendor: FUJITSU SIEMENS
dmi.board.version: Rev.A
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: ATI
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenix:bvrV1.9:bd11/12/07:svnFUJITSUSIEMENS:pnAMILOLi1718:pvr-1:rvnFUJITSUSIEMENS:rnAMILOLi1718:rvrRev.A:cvnATI:ct1:cvrN/A:
dmi.product.name: AMILO Li 1718
dmi.product.version: -1
dmi.sys.vendor: FUJITSU SIEMENS

Revision history for this message
moma (osmoma) wrote :
Revision history for this message
moma (osmoma) wrote :

A small addition.
Stragely, I can compile it on another stationary karmic PC, but not in this laptop. Both systems are fully updated with the latest packages.

Revision history for this message
moma (osmoma) wrote :

Ok, the compilation problem is temporarily solved. Follow this guide
http://www.edbl.no/karmic/amilo_1718_wireless_in_ubuntu_9.10.txt
-- Osmo Antero Moma

Revision history for this message
jmcervera (juanmacervera) wrote : Re: [Bug 456123] Re: Karmic: cannot compile acerhk-source. No rule to make target kernel/bounds.c.
Download full text (5.0 KiB)

Thank you moma.
But it doesn't work for me.
I am with a Fujitsu Siemens Amilo Pro v3505, and have updated Karmic today,
with the latest packages.
I have downloaded your package acerhk-fixed and successfully run 'make' and
'make install'.
But I can't load the module manually. Acerhk module not found.
Also I have tried writing acerhk at the end of /etc/modules. but it doesn't
work.

2009/10/20 moma <email address hidden>

> Ok, the compilation problem is temporarily solved. Follow this guide
> http://www.edbl.no/karmic/amilo_1718_wireless_in_ubuntu_9.10.txt
> -- Osmo Antero Moma
>
> --
> Karmic: cannot compile acerhk-source. No rule to make target
> kernel/bounds.c.
> https://bugs.launchpad.net/bugs/456123
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “acerhk” package in Ubuntu: New
>
> Bug description:
> Binary package hint: acerhk-source
>
> Hello,
>
> I have Fujitsu Siemens AMILO laptop and need desperately to compile the
> acerhk-source module. It is vital for activation of WLAN in this laptop
> model.
>
> This posting has more background about this:
> http://newyork.ubuntuforums.org/showthread.php?t=1294262
>
> So I try to compile the acerhk-source modle, but it fails with error
> message "No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'."
>
> I do this:
> $ sudo apt-get install build-essential linux-headers-$(uname -r)
>
> $ sudo apt-get install acerhk-source
>
> It will install the source tar-balls in the /usr/src/ director.
> Let's unpack them.
>
> $ cd /usr/src
>
> $ sudo tar -xvjf acerhk.tar.bz2
>
> Compile the acerhk source
> $ cd modules/acerhk
>
> $ sudo make
>
> make[2]: *** No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'. Stop.
> make[1]: *** [prepare0] Error 2
> --------------
>
> Please help.
>
> ProblemType: Bug
> Architecture: i386
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: moma 1401 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 16'
> Mixer name : 'Realtek ALC861-VD'
> Components : 'HDA:10ec0862,173410fb,00100001
> HDA:10573055,173410fb,00100700'
> Controls : 14
> Simple ctrls : 9
> Date: Tue Oct 20 10:25:09 2009
> DistroRelease: Ubuntu 9.10
> HibernationDevice: RESUME=UUID=c227fdae-6e11-42ce-a414-8e280d80ea78
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: FUJITSU SIEMENS AMILO Li 1718
> Package: linux-headers-2.6.31-14-generic 2.6.31-14.48 [modified:
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.fixdep.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.docproc.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.hash.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.conf.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.kxgettext.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.zconf.tab.o.cmd
> usr/src/linux-headers-2.6.31-14-gene...

Read more...

Revision history for this message
moma (osmoma) wrote :

Run the "make install" as
$ sudo make install.

The driver/module name is "acerhk.ko", and "sudo make install" will copy it from compilation directory to /lib/modules/$(uname -r)/extra/.
Check if you find it there.
$ ls -l /lib/modules/$(uname -r)/extra/

You must also run
$ sudo depmod -a
afterwards.
----
BTW: It would great if the Ubuntu's "acerhk-source" compiled without errors so we could use it instead of various hacks. Notice that "acerhk-source" package puts the source into /usr/src/ directory.

Revision history for this message
moma (osmoma) wrote :

Run the "make install" as
$ sudo make install.

The driver/module name is "acerhk.ko", and "sudo make install" will copy it from compilation directory to /lib/modules/$(uname -r)/extra/.
Check if you find it there.
$ ls -l /lib/modules/$(uname -r)/extra/

You must also run
$ sudo depmod -a
afterwards.
----
BTW: It would be great if the Ubuntu's "acerhk-source" package compiled without errors so we could use it instead of various hacks. Notice that "acerhk-source" puts the source into /usr/src/ directory.

Revision history for this message
jmcervera (juanmacervera) wrote :
Download full text (5.4 KiB)

Thanks moma

But I have no luck, and everything seems OK.

The module acerhk.ko is copied to the directory /lib/modules/2.6.31.4/extra/.
Verified.

And I have run "sudo depmod -a" . I don't know what it does, because this
makes no feedback in my terminal prompt.

But when I try to load the module with modprobe:
sudo /sbin/modprobe --ignore-install acerhk force_series=6805 autowlan=1
I get the message ""FATAL: Module acerhk not found"

2009/10/20 moma <email address hidden>

> Run the "make install" as
> $ sudo make install.
>
> The driver/module name is "acerhk.ko", and "sudo make install" will copy it
> from compilation directory to /lib/modules/$(uname -r)/extra/.
> Check if you find it there.
> $ ls -l /lib/modules/$(uname -r)/extra/
>
> You must also run
> $ sudo depmod -a
> afterwards.
> ----
> BTW: It would be great if the Ubuntu's "acerhk-source" package compiled
> without errors so we could use it instead of various hacks. Notice that
> "acerhk-source" puts the source into /usr/src/ directory.
>
> --
> Karmic: cannot compile acerhk-source. No rule to make target
> kernel/bounds.c.
> https://bugs.launchpad.net/bugs/456123
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “acerhk” package in Ubuntu: New
>
> Bug description:
> Binary package hint: acerhk-source
>
> Hello,
>
> I have Fujitsu Siemens AMILO laptop and need desperately to compile the
> acerhk-source module. It is vital for activation of WLAN in this laptop
> model.
>
> This posting has more background about this:
> http://newyork.ubuntuforums.org/showthread.php?t=1294262
>
> So I try to compile the acerhk-source modle, but it fails with error
> message "No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'."
>
> I do this:
> $ sudo apt-get install build-essential linux-headers-$(uname -r)
>
> $ sudo apt-get install acerhk-source
>
> It will install the source tar-balls in the /usr/src/ director.
> Let's unpack them.
>
> $ cd /usr/src
>
> $ sudo tar -xvjf acerhk.tar.bz2
>
> Compile the acerhk source
> $ cd modules/acerhk
>
> $ sudo make
>
> make[2]: *** No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'. Stop.
> make[1]: *** [prepare0] Error 2
> --------------
>
> Please help.
>
> ProblemType: Bug
> Architecture: i386
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: moma 1401 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 16'
> Mixer name : 'Realtek ALC861-VD'
> Components : 'HDA:10ec0862,173410fb,00100001
> HDA:10573055,173410fb,00100700'
> Controls : 14
> Simple ctrls : 9
> Date: Tue Oct 20 10:25:09 2009
> DistroRelease: Ubuntu 9.10
> HibernationDevice: RESUME=UUID=c227fdae-6e11-42ce-a414-8e280d80ea78
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: FUJITSU SIEMENS AMILO Li 1718
> Package: linux-headers-2.6.31-14-generic 2.6.31-14.48 [modified:
> usr/src/linux-headers-2.6.3...

Read more...

Revision history for this message
moma (osmoma) wrote :

I have Fujitsu-Siemens Amilo Li 1718 and the options to acerhk should be
"force_series=6805 autowlan=1".

For Fujitsu-Siemens Amilo A1650g, the option is:
"autowlan=1".

How about your Amilo?

Revision history for this message
jmcervera (juanmacervera) wrote :
Download full text (5.9 KiB)

Hi Moma.

I have resolved my problem.
I have notice that acerhk.ko was copied to /lib/modules/2.6.31.4/extra/
instead of /lib/modules/2.6.31.14-generic/extra/ where it should be.
I just copied it and all of your notes work well.
Thank you very much.

Juanma Cervera

2009/10/21 Juan M. Cervera <email address hidden>

> Thanks moma
>
> But I have no luck, and everything seems OK.
>
> The module acerhk.ko is copied to the directory /lib/modules/
> 2.6.31.4/extra/. Verified.
>
> And I have run "sudo depmod -a" . I don't know what it does, because this
> makes no feedback in my terminal prompt.
>
> But when I try to load the module with modprobe:
> sudo /sbin/modprobe --ignore-install acerhk force_series=6805 autowlan=1
> I get the message ""FATAL: Module acerhk not found"
>
>
>
> 2009/10/20 moma <email address hidden>
>
>> Run the "make install" as
>>
>> $ sudo make install.
>>
>> The driver/module name is "acerhk.ko", and "sudo make install" will copy
>> it from compilation directory to /lib/modules/$(uname -r)/extra/.
>> Check if you find it there.
>> $ ls -l /lib/modules/$(uname -r)/extra/
>>
>> You must also run
>> $ sudo depmod -a
>> afterwards.
>> ----
>> BTW: It would be great if the Ubuntu's "acerhk-source" package compiled
>> without errors so we could use it instead of various hacks. Notice that
>> "acerhk-source" puts the source into /usr/src/ directory.
>>
>> --
>> Karmic: cannot compile acerhk-source. No rule to make target
>> kernel/bounds.c.
>> https://bugs.launchpad.net/bugs/456123
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “acerhk” package in Ubuntu: New
>>
>> Bug description:
>> Binary package hint: acerhk-source
>>
>> Hello,
>>
>> I have Fujitsu Siemens AMILO laptop and need desperately to compile the
>> acerhk-source module. It is vital for activation of WLAN in this laptop
>> model.
>>
>> This posting has more background about this:
>> http://newyork.ubuntuforums.org/showthread.php?t=1294262
>>
>> So I try to compile the acerhk-source modle, but it fails with error
>> message "No rule to make target `kernel/bounds.c', needed by
>> `kernel/bounds.s'."
>>
>> I do this:
>> $ sudo apt-get install build-essential linux-headers-$(uname -r)
>>
>> $ sudo apt-get install acerhk-source
>>
>> It will install the source tar-balls in the /usr/src/ director.
>> Let's unpack them.
>>
>> $ cd /usr/src
>>
>> $ sudo tar -xvjf acerhk.tar.bz2
>>
>> Compile the acerhk source
>> $ cd modules/acerhk
>>
>> $ sudo make
>>
>> make[2]: *** No rule to make target `kernel/bounds.c', needed by
>> `kernel/bounds.s'. Stop.
>> make[1]: *** [prepare0] Error 2
>> --------------
>>
>> Please help.
>>
>> ProblemType: Bug
>> Architecture: i386
>> AudioDevicesInUse:
>> USER PID ACCESS COMMAND
>> /dev/snd/controlC0: moma 1401 F.... pulseaudio
>> CRDA: Error: [Errno 2] No such file or directory
>> Card0.Amixer.info:
>> Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 16'
>> Mixer name : 'Realtek ALC861-VD'
>> Components : 'HDA:10ec0862,173410fb,00100001
>> HDA:10573055,173410fb,00100700'
>> Controls : 14
>> Simple ctrls : 9
>> Date: Tue Oct 20 10:25:09 2009
>> DistroRele...

Read more...

Revision history for this message
jmcervera (juanmacervera) wrote :
Download full text (4.7 KiB)

For me(Amilo Pro V3505) works with the same options than yours.

2009/10/21 moma <email address hidden>

> I have Fujitsu-Siemens Amilo Li 1718 and the options to acerhk should be
> "force_series=6805 autowlan=1".
>
> For Fujitsu-Siemens Amilo A1650g, the option is:
> "autowlan=1".
>
> How about your Amilo?
>
> --
> Karmic: cannot compile acerhk-source. No rule to make target
> kernel/bounds.c.
> https://bugs.launchpad.net/bugs/456123
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “acerhk” package in Ubuntu: New
>
> Bug description:
> Binary package hint: acerhk-source
>
> Hello,
>
> I have Fujitsu Siemens AMILO laptop and need desperately to compile the
> acerhk-source module. It is vital for activation of WLAN in this laptop
> model.
>
> This posting has more background about this:
> http://newyork.ubuntuforums.org/showthread.php?t=1294262
>
> So I try to compile the acerhk-source modle, but it fails with error
> message "No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'."
>
> I do this:
> $ sudo apt-get install build-essential linux-headers-$(uname -r)
>
> $ sudo apt-get install acerhk-source
>
> It will install the source tar-balls in the /usr/src/ director.
> Let's unpack them.
>
> $ cd /usr/src
>
> $ sudo tar -xvjf acerhk.tar.bz2
>
> Compile the acerhk source
> $ cd modules/acerhk
>
> $ sudo make
>
> make[2]: *** No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'. Stop.
> make[1]: *** [prepare0] Error 2
> --------------
>
> Please help.
>
> ProblemType: Bug
> Architecture: i386
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: moma 1401 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 16'
> Mixer name : 'Realtek ALC861-VD'
> Components : 'HDA:10ec0862,173410fb,00100001
> HDA:10573055,173410fb,00100700'
> Controls : 14
> Simple ctrls : 9
> Date: Tue Oct 20 10:25:09 2009
> DistroRelease: Ubuntu 9.10
> HibernationDevice: RESUME=UUID=c227fdae-6e11-42ce-a414-8e280d80ea78
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: FUJITSU SIEMENS AMILO Li 1718
> Package: linux-headers-2.6.31-14-generic 2.6.31-14.48 [modified:
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.fixdep.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.docproc.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.hash.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.conf.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.kxgettext.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.zconf.tab.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/include/linux/autoconf.h
> usr/src/linux-headers-2.6.31-14-generic/include/linux/utsrelease.h
> usr/src/linux-headers-2.6.31-14-generic/include/config/auto.conf.cmd
> usr/src/linux-headers-2.6.31-14-generic/include/config/auto.conf
> usr/src/linux-headers-2.6.31-14-generic...

Read more...

Revision history for this message
moma (osmoma) wrote :

Re-hello,

Good observation.
I can see the same error here. It tries to install it to /lib/modules/2.6.31.4/extra/. The latest kernel number is 2.6.31.14, not 2.6.31.4.

The Makefile (in the source dir) is pretty simple. We can see that it sets the KERNELVERSION variable wrong because there is a "wrong" value in the "/usr/src/linux-headers-2.6.31-14-generic/include/linux/utsrelease.h" file. I do not know what the value 2.6.31.4 means?

Check the value:
$ cat /usr/src/linux-headers-2.6.31-14-generic//include/linux/utsrelease.h
#define UTS_RELEASE "2.6.31.4"

I think Ubuntu's kernel people should know about this oddity.

More generally
$ cat /usr/src/linux-headers-$(uname -r)/include/linux/utsrelease.h
--

Anyway, I modified the Makefile so it always compiles against the current kernel version. It simply sets
KERNELVERSION="`name -r`"

It should work right now.
Thanks.

Revision history for this message
moma (osmoma) wrote :

A typo. I mean
KERNELVERSION="`uname -r`"

Revision history for this message
moma (osmoma) wrote :

Re-installation of linux-headers-$(uname -r) package fixed the bad version number in the utsrelease.h file.

sudo apt-get remove --purge linux-headers-$(uname -r)
sudo rm -fr /usr/src/linux-headers*
sudo aptitude install linux-headers-$(uname -r)
-----------

But the original problem remains.
"No rule to make target kernel/bounds.c."

Revision history for this message
fox (fox-ubuntu-monologic) wrote :

Hello,

You don't need acerhk anymore - at least i do. Just invoke a console and type 'sudo modprobe acer-wmi'. Tataa :-)
Maybe you want to add that to /etc/modules..

Greetings!

Revision history for this message
fox (fox-ubuntu-monologic) wrote :

Sorry, forget to mention that i use the Amilo Li 1718.

Revision history for this message
Marc de Vries (madevr-orange) wrote :

The fixed version by moma also works under lucid, too, you just have to temporarily comment out one line in /usr/src/YOUR-KERNEL/Makefile

search for "pg" and comment out the line in which it is, then compile your kernel module and then reverse the change, install the module etc.

Is there some way this could be made available in lucid officially?

Revision history for this message
timo (playsansara) wrote :

The fixed version by moma worked for my acer aspire 5610 with Mint 8 installed. It made made multimedia keys work! Instead of

$ sudo /sbin/modprobe acerhk force_series=6805 autowlan=1

you'll have to use

$ sudo /sbin/modprobe acerhk force_series=2020 poll=0

and enter this to the file instead:

$ sudo gedit /etc/modprobe.d/acerhk.conf

options acerhk force_series=2020 poll=0

No need to continue with step 6)...

Great work, thx a bunch moma!

Revision history for this message
KojiroAK (kojiroak) wrote :

"

The fixed version by moma also works under lucid, too, you just have to temporarily comment out one line in /usr/src/YOUR-KERNEL/Makefile

search for "pg" and comment out the line in which it is, then compile your kernel module and then reverse the change, install the module etc.

Is there some way this could be made available in lucid officially?
"

At me, the Makefile is a link which refers to itself (Makefile -> ../linux-headers-2.6.32-16/Makefile)

Revision history for this message
KojiroAK (kojiroak) wrote :

O.k. found the failure, Synaptic told me linux-headers-2.6.32-16 would be installed but the respective folder wasn't there under /usr/src/ only the generic so I thought that linux-headers-* would be a "link" on the kernel which is on use (eg generic).

After I reinstalled linux-headers*-generic and linux-headers* and changed the line in linux-headers-2.6.32-16/Makefile (important not generic) I could compile and install the fixed acerhk.

Revision history for this message
Brian Harkness (maestro-bwh) wrote :

Why does this have to be so hard. I finally found this post so that I could get the touchpad toggle to work in Lucid. It was actually quite annoying. I could not get moma's file to download "permission denied" but I did follow the last bit of post #18 from KojiroAK and I got it to compile.

It still did not load (module not found) so I insmodded it. I will see if it will load on a reboot, then if so, I will add it to /etc/modules.conf

I assume I will have to redo this every time I get a new kernel?

Revision history for this message
KojiroAK (kojiroak) wrote :

@Brian harkness

Under Hardy I didn't have to recompile it at every new Kernel, so probably under Lucid it's the same.

Revision history for this message
Stefan K. (astron) wrote :

Hi. I thought, I'd upload a fixed binary that also works on Lucid, since the one on edbl.com doesn't seem to load anymore (the source is the obviously the same, of course). Hope, it works for you, too.

Revision history for this message
jmcervera (juanmacervera) wrote :
Download full text (5.1 KiB)

Thank you very much Aaron.
It has worked for me in a Fujitsu-Siemens Amilo Pro, following the notes
from Moma.
Many thanks to both.

Juanma Cervera.

2010/5/3 Aaron Strontsman <email address hidden>

> Hi. I thought, I'd upload a fixed binary that also works on Lucid, since
> the one on edbl.com doesn't seem to load anymore (the source is the
> obviously the same, of course). Hope, it works for you, too.
>
> ** Attachment added: "Fixed Acerhk, for Lucid (10.04)"
> http://launchpadlibrarian.net/47521631/lucid-acerhk.tar.bz2
>
> --
> Karmic: cannot compile acerhk-source. No rule to make target
> kernel/bounds.c.
> https://bugs.launchpad.net/bugs/456123
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “acerhk” package in Ubuntu: New
>
> Bug description:
> Binary package hint: acerhk-source
>
> Hello,
>
> I have Fujitsu Siemens AMILO laptop and need desperately to compile the
> acerhk-source module. It is vital for activation of WLAN in this laptop
> model.
>
> This posting has more background about this:
> http://newyork.ubuntuforums.org/showthread.php?t=1294262
>
> So I try to compile the acerhk-source modle, but it fails with error
> message "No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'."
>
> I do this:
> $ sudo apt-get install build-essential linux-headers-$(uname -r)
>
> $ sudo apt-get install acerhk-source
>
> It will install the source tar-balls in the /usr/src/ director.
> Let's unpack them.
>
> $ cd /usr/src
>
> $ sudo tar -xvjf acerhk.tar.bz2
>
> Compile the acerhk source
> $ cd modules/acerhk
>
> $ sudo make
>
> make[2]: *** No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'. Stop.
> make[1]: *** [prepare0] Error 2
> --------------
>
> Please help.
>
> ProblemType: Bug
> Architecture: i386
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: moma 1401 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 16'
> Mixer name : 'Realtek ALC861-VD'
> Components : 'HDA:10ec0862,173410fb,00100001
> HDA:10573055,173410fb,00100700'
> Controls : 14
> Simple ctrls : 9
> Date: Tue Oct 20 10:25:09 2009
> DistroRelease: Ubuntu 9.10
> HibernationDevice: RESUME=UUID=c227fdae-6e11-42ce-a414-8e280d80ea78
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: FUJITSU SIEMENS AMILO Li 1718
> Package: linux-headers-2.6.31-14-generic 2.6.31-14.48 [modified:
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.fixdep.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.docproc.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.hash.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.conf.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.kxgettext.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.zconf.tab.o.cmd
> usr/src/linux-headers-2.6.31-14-generic/include/linux/autoconf.h
> usr/src/linux-head...

Read more...

Revision history for this message
timo (playsansara) wrote :

After a fresh install of lucid the module worked out of the box on my aspire 5610!

Revision history for this message
Home User (petrak) wrote :

Hi to all!!!

I also try to do this on FS Amilo Pro v3505.
Everything to step #3 is OK. But after the test result is:

FATAL: Error inserting acerhk (/lib/modules/2.6.32-24-generic/extra/acerhk.ko): Invalid module format

What you recommend?

Revision history for this message
Aurélien MERCERON LAUBUS (ore-yoyo) wrote :

Same error on Kubuntu Maverick 10.10

Revision history for this message
moma (osmoma) wrote :

Hello Aurélien,

Take a look at this document.
http://www.futuredesktop.com/linux/wireless_in_linux_with_acerhk_driver.txt

I used the "AcerhkGUI" in Ubuntu 10.04 (and Fujitsu Siemens Amilo Li1718 laptop) and it installed the acerhk driver and all patches. The wireless works out-of-the box in Ubuntu 10.10. No tweaks required.

Revision history for this message
MacRules (macrules) wrote :

there is a fix for 11.04 here (partly for me, but the code works):
https://bugs.launchpad.net/ubuntu/+source/acerhk/+bug/555828
let's hope it will be fixed in the future.

Revision history for this message
MacRules (macrules) wrote :

Here is a fix for 11.04 :
https://bugs.launchpad.net/ubuntu/+source/acerhk/+bug/555828

hope it get's in ubuntu

Changed in acerhk (Ubuntu):
status: New → Confirmed
status: Confirmed → Invalid
Revision history for this message
Jacek Chwastek (cogito-16) wrote :

Set as invalid due to main problem coming from kernel and its headers, not acerhk.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.