Wireles Atheros 5523 on Slackware 13.37
So, that's is my problem:
I trying to make my Wireless USB Adapter work on Slack 13.37 and get the network WPA2-PSK. I already installed the windows driver by ndiswrapper and set the wpa_supplicant by:
But for active the wpa_supplicant that's getting hard. Has to use this command, hasn't?
On Ubuntu it's just install the driver from Windows by ndiswrapper, and give a modprobe ndiswrapper that's OK.
So, any tip? :D
get the driver from http://linuxwireless.org/. Pick the latest one (choose bleeding edge download) and then you just need to extract, compile and install and don't forget to reboot after you finished. You must have kernel source installed. I did it on my laptop. It works.
The AR5523 driver?
On the page is showing this link: http://svn.berlios.de/svnroot/repos/.../ar5523/trunk/
So what i do next?
Sorry about that, how i said, i'm a new user.
I made sure that the kernel headers, modules and source were installed, but during the "make" an error shows up, i copied just the part when the error appears:
So guys, any other tip?
I'm really thinking that the problem is it madwifi, and i'm not getting install it.
I had the same error as yours, and found the solution in:
(sorry this is my first post and then I cannot write URLs)
My kernel is indeed older than 3.2.
What I did (since the information on the link are not very talkative) is that I just copied into iwl-trans-pcie.c (just after the "includes") the definition of the function dma_zalloc_coherent:
static inline void *dma_zalloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t flag)
void *ret = dma_alloc_coherent(dev, size, dma_handle, flag);
memset(ret, 0, size);
And I was able to build successfully!
Now it's giving this error:
If i made something wrong or stupid (what i think that happened), sorry :D
That was a good idea to post your file, and indeed there is an error. ;)
Actually it seems you have integrated both corrections: mine, and the complete one as suggested by the link I gave.
So, just remove all the block from lines 85 to 108:
include/linux/compat-3.2.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/linux/compat-3.2.h b/include/linux/compat-3.2.h
index fb9ef68..a17c4ad 100644
@@ -64,6 +64,15 @@ static inline char *hex_byte_pack(char *buf, u8 byte)
module_driver(__platform_driver, platform_driver_register, \
+static inline void *dma_zalloc_coherent(struct device *dev, size_t size,
+ dma_addr_t *dma_handle, gfp_t flag)
+ void *ret = dma_alloc_coherent(dev, size, dma_handle, flag);
+ if (ret)
+ memset(ret, 0, size);
+ return ret;
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)) */
#endif /* LINUX_3_2_COMPAT_H */
Then it should work.
Oh man, when the "make" passed the iwl-trans-pcie i was so happy... Then this:
Anyway, this is the entire code:
It seems that you don't have Linux headers installed.
(to answer your question, yes, this is C code)
(but for your 2nd question about the scrollbar, I have no idea. I am a newbie, like you! :-) )
Linux headers are files were all the references to Linux functions are declared.
In order to do this (I just did it yesterday too when installing my compat-wireless package) you have to run:
as specified by the linuxwireless page (search for "headers" in: http://linuxwireless.org/en/users/Download)
I think it should help (at least to go further).
bash: /lib/modules/188.8.131.52-smp/build: is a directory
In the folder modules has the folder 184.108.40.206 and 220.127.116.11-smp. My kernel version is 18.104.22.168-smp.
I already installed the kernel-headers and i did again just for confirm:
| Skipping package kernel-headers-22.214.171.124_smp-x86-2 (already installed)
Then I don't know.
My kernel is 3.0.0-14-generic and I didn't get this issue.
When looking for pm_runtime_enabled function in Google, I saw that it is defined in include/linux/pm_runtime.h.
Just need to find where it is (or should be) and why you don't have it.
Somebody else's help would be good now... because I am not an expert at all.
Ok, i'm really thankful for your help.
I found a guy in a Russian forum that has the exacly problem, i don't if find this forum too. No one solved the problem, the last post was yesterday.
So, i research a little and find a provisional solution...
I added to the code on /include/linux/compat-2.6.37.h or something like that.
|All times are GMT -5. The time now is 09:42 PM.|