Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been battling with this problem for a few days.
I have a Wireless PCMCIA Network Card that is supported via ATMEL's downloadable drivers. I downloaded and installed the driver, but I can't get the kernel to accept the modules. When I try to modprobe the appropriate module, the kernel reports that the module is invalid.
I recompiled the kernel after setting some options, and then compiled the drivers, so the same version of gcc should be used for both.
the cardsrv ident response is OK - It can see the card, etc. THe problem is that the kernel won't load the module as I compiled it.
If anyone else has ever tried to use the ATMEL drivers on 2.6 kernels, please help me to understand what I am doing wrong.
The Atmel card is still a pcmcia card, not a cardbus card, so modprobe won't work, cardctl still has to load the module for you, for that to work right though, you have to have an entry in /etc/pcmcia/config for the module that matches its manfid or ident line. You can get a patch file off of: atmelwlandriver.sourceforge.net by just downloading the whole source mess, finding their additional .conf file and pasting it onto the end of /etc/pcmcia/config, or you can hack it up by hand.
Its a matter of whatever distro you have has too old a version of pcmcia to have an entry for the atmel chipset cards.
Resolution to this Problem: Atmel's drivers don't work under 2.6 . They are supposed to, but they don't. The solution was to patch my /lib/modules/Kernel-xxx/drivers/net/wireless/atmel_cs.c file with a line I found via Google and recompile the kernel.
It worked like a charm, and after that everything was fine. To hell with ATMEL's drivers.
To assist future visitors who may encounter the same issue, it is strongly preferred that any problem resolutions be posted publicly here at LQ rather than communicated via private Emails, because that way many people will benefit from the knowledge rather than just one. Thanks -- J.W.
Hopefully yours will work as easily as mine did. The most challenging thing was to get the kernel compiled and loaded properly - I was a real newbie to kernel hacking/compiling when I did this. Anyone can do it if you are unafraid.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.