Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-18-2013, 11:57 PM   #1
Registered: Aug 2013
Distribution: slackware
Posts: 79

Rep: Reputation: 8
Can I build usb wlan (TL-WN822N) drivers as part of kernel?


I have two questions regarding the use of TL-WN822N usb wireless from TP-LINK.

1) Can I compile the driver for TL-WN822N as part of kernel bzImage or must I build it as a module?

2) I actually tried compiling the driver as part of bzImage and receive the error that 'htc_7010.fw not found' during boot. I did include the firmware in my kernel .config under "Drivers -> General Setup -> Load Firmware..."
and also confirmed that the firmware htc_7010.fw is in the /usr/src/linux-3.2.29-test/firmware/atheros/htc_7010.fw.

I am not sure if I got this error because it is a usb device and cannot be compile as part of kernel.

would appreciate if someone can advice me on this. Thank you.

Old 09-19-2013, 12:03 AM   #2
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
I think I might have posted the question under the wrong session. Intended to post it under slackware instead of slackware installation.

Would appreciate if mod can help to move the thread to the appropriate section. Thanks!

Old 09-20-2013, 07:04 AM   #3
Senior Member
Registered: Apr 2005
Location: Walsall, England
Posts: 2,048
Blog Entries: 6

Rep: Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098
There are three hardware revisions:

I am assuming you have v2...?

It's best to just boot an existing distro/live cd and get the lsusb output - if you haven't done that already.

For v2 hardware it's the ath9k_htc module you need to build into your kernel. The firmware should be included in the kernel, but will be installed into /lib/firmware when you run 'make firmware_install'. If you want to actually build firmware into the kernel instead of allowing the module to load it from userspace, I believe that's possible, though I've never tried it myself.

I would also suggest getting the latest 3.2.x from and building that instead of 3.2.29
1 members found this post helpful.
Old 09-20-2013, 11:45 AM   #4
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
Hi cynwulf,

Thanks for the advice. I managed to build the firmware into the kernel using htc_7010.fw in /lib/firmware.

I am not too familiar with linux file system and was under the impression that the firmware should be located in /usr/src/linux-3.2.29/lib/firmware...

Just in case anyone else is trying, it works with kernel 3.2.29



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DCOP errors when configuring ndiswrapper drivers for USB WLAN card (Kubuntu 10.04) netsense Linux - Networking 1 08-19-2010 08:56 PM
Finding Kernel for Atmel Wlan Drivers Tide Linux - Wireless Networking 1 07-26-2005 01:19 PM
WLAN USB Linux Drivers morevil Linux - Wireless Networking 1 06-21-2005 08:12 AM
latest RH9 kernel & wlan-ng drivers robson8112 Linux - Wireless Networking 0 02-21-2004 12:24 PM
Wireless Usb woes using the WLAN drivers BHanrahan Linux - Wireless Networking 2 11-27-2002 06:48 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration