PDA

View Full Version : Fc6 + acx111 help with Hawking hwc54gt2 card


fordwrench
2006-11-14, 10:55 PM CST
I have been doing a lot of reading and I still am stumped.
I am trying to install support for the acx111 chipset on FC6 2.6.18-1.2849.fc6..
I am trying to do what is layed out on the acx100.sourceforge.net page and I am not getting anywhere fast.
It says in the howto to make sure you have the kernel-devel headers installed. I dont know how to tell if they are.

When I try to make the package I get errors. that follow


[root@localhost acx-20060521]# make -C /lib/modules/`uname -r`/build M=`pwd`
make: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
CC [M] /usr/src/acx-20060521/wlan.o
/usr/src/acx-20060521/wlan.c:40:26: error: linux/config.h: No such file or directory
make[1]: *** [/usr/src/acx-20060521/wlan.o] Error 1
make: *** [_module_/usr/src/acx-20060521] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'


please help and give me some direction.


Fordwrench

fordwrench
2006-11-15, 10:20 AM CST
anyone that can elaborate?

fordwrench
2006-11-17, 04:31 PM CST
Doesnt anyone have a ti ac111 chip running with this yet?

paolosca
2006-11-18, 10:53 PM CST
The error you get it's probably because you need to install the kernel headers (package kernel-devel).

There is a prepackaged ACX111 kernel module on dries repository which should work just fine, you need to install acx-kmod-common, acx111-firmware and dkms-tiacx packages.

I've been using an ACX111 based wireless pc-card for very long time and it had been running perfectly with the drivers you are trying to compile (you just have to remember to install the firmware as well in this case). The only thing I can complain about it is that the card was getting very hot, especially if the signal was weak. Sometimes so hot it would stop working. The problem seemed to get better and better at every update of the driver.

Regards,

Paolo.

nick.stumpos
2006-11-18, 11:00 PM CST
to see if you have the kernel-devel
do a
rpm -qa | grep kernel
if you so not see a devel package do a
yum install kernel-devel

tns12545
2006-11-23, 03:59 PM CST
Hi All,
I have the same problem when trying to make the acx kernel module :

[root@acx-2006-05-21]# make -C /lib/modules/`uname -r`/build M=`pwd`
make: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
CC [M] /usr/src/acx-2006-05-21/wlan.o
/usr/src/acx-2006-05-21/wlan.c:40:26: error: linux/config.h: No such file or directory
make[1]: *** [/usr/src/acx-2006-05-21/wlan.o] Error 1
make: *** [_module_/usr/src/acx-2006-05-21] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'

Following the suggestions from Nickisgod1, I issued :

[root@ acx-2006-05-21]# rpm -qa|grep kernel
kernel-headers-2.6.18-1.2849.fc6
kernel-devel-2.6.18-1.2849.fc6
kernel-2.6.18-1.2849.fc6

Has anbody other ideas ?

Thanks,
Peter

paolosca
2006-11-23, 08:51 PM CST
I lost my ACX100 card before upgrading to FC6 so I never installed the ACX driver on FC6 and I assumed it was the same as FC4 or FC5.

I just tried to compile the driver on FC6 and this is what I found:

The error you get is because some headers changed in FC6, to workaround this error you have to manually copy config.h in /usr/include/linux/

I found mine in /usr/src/redhat/BUILD/kernel-2.6.18/vanilla/include/linux/config.h.

Since config.h is not part of the kernel anymore it's just more or less an empty file, you can create it yourself, just paste the following code in a text editor (as root) and save it as /usr/include/linux/config.h :
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* autoconf.h is now included via -imacros on the commandline
*/
#include <linux/autoconf.h>

#endif

Also, you need to edit pci.c and add the following line at the bottom of the #include list (I added mine just before #include "acx.h" :
#include <linux/utsrelease.h>

Now everything should compile properly.

Since you seem to use a kernel driver from Fedora updates my suggestion is to install the ACX driver from dries repository, the package is called acx-kmod-common-0.0.0.20060521. Probably you need to install also dkms-tiacx and, if you don't want to install manually the firmware from your windows drivers you also need to install, depending on your chipset, either acx100-firmware or acx111-firmware packages.

if you don't like to use yum or add a new repo you can download the packages from here:

http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/6/i386/RPMS.dries/

If you want to compile it yourself then you can download the package sources from dries and rebuild the rpms:

http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/6/i386/SRPMS.dries/

They are the same drivers you are trying to build (20060521) with some tweaking to work around the errors you get.


Regards,


Paolo