LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-18-2013, 10:57 PM   #1
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

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


Hi,

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.

Rgds
ck
 
Old 09-18-2013, 11:03 PM   #2
Ongbuntu
Member
 
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!

cheers
ck
 
Old 09-20-2013, 06:04 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD
Posts: 1,102

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
There are three hardware revisions: http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2

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 kernel.org and building that instead of 3.2.29
 
1 members found this post helpful.
Old 09-20-2013, 10:45 AM   #4
Ongbuntu
Member
 
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

cheers
ck
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 07:56 PM
Finding Kernel for Atmel Wlan Drivers Tide Linux - Wireless Networking 1 07-26-2005 12:19 PM
WLAN USB Linux Drivers morevil Linux - Wireless Networking 1 06-21-2005 07:12 AM
latest RH9 kernel & wlan-ng drivers robson8112 Linux - Wireless Networking 0 02-21-2004 11:24 AM
Wireless Usb woes using the WLAN drivers BHanrahan Linux - Wireless Networking 2 11-27-2002 05:48 PM


All times are GMT -5. The time now is 11:25 PM.

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