source tree modification not showing in 'make menuconfig'
SlackwareThis Forum is for the discussion of Slackware 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.
source tree modification not showing in 'make menuconfig'
the instructions in the readme for my wireless nic seem straight forward enough:
Code:
Build instructions:
* Create drivers/net/wireless/acx subdirectory inside
your kernel tree.
* Unpack tarball into drivers/net/wireless/acx directory.
* Add lines to drivers/net/wireless/Makefile:
obj-$(CONFIG_ACX) += acx/
obj-$(CONFIG_ACX_PCI) += acx/
obj-$(CONFIG_ACX_USB) += acx/
* Configure your kernel (perhaps "make oldconfig").
* Build your modules as usual ("make modules modules_install").
This will create acx* modules.
I followed the instructions explicitly up to the point of configuring the kernel. My problem is that when I try to configure my kernel with "make menuconfig" the module option doesn't show like I thought it would. Searching for "acx/ACX" turns up nothing.
I created the directory /usr/src/linux-2.6.19.1/drivers/net/wireless/acx
unpacked the driver to same and modified the /wireless/Makefile
Not really sure if I have the right idea here I have never modified the source tree before. Please advise. What am I missing?
Looks to me like you need to configure your kernel first and then make the changes to the Makefile. The Makefile gets remade when you next run config, oldconfig or menuconfig so your changes probably get lost. The new modules are not part of the modules_install rule so you'll probably have to copy the module over manually to /lib/modules.
The ACX Wiki at http://acx100.sourceforge.net/wiki/ACX states that building the module outside the kernel is the favoured method - why don't you try that?
Eric
EDIT: I created a acx package that you might want want to try. Since you use another 2.6 kernel than comes standard with Slackware, you'll need to build the package yourself:
Wow! Thank you Alien Bob. I already read about building outside the
kernel at the wiki you pointed out. I wasn't really sure which method of compiling the driver was easier so I tried this way first. I have the firmware already in place at /lib/firmware.
It worked! I installed Alien Bob's package. Then :
modprobe acx
iwconfig
wlan0 IEEE 802.11b+/g+ ESSID:"xt88tx" Nickname:"dellhost"
Mode:Managed Frequency:2.437 GHz Access Point: 00:12:17:6F:C7:76
Bit Rate:11 Mb/s Tx-Power=15 dBm Sensitivity=1/3
Retry min limit:7 RTS thrff
Encryption key:xxxx-xxxx-xx Security mode:restricted
Power Managementff
Link Quality=36/100 Signal level=11/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Thanks again man. I am writing this from my new mini-pci wireless connection. Thanks for your help. This has been a fun project for me. I found this little mini-pci wireless card in a dead router I had sitting around. I de-soldered the antennae from the card.It had one connector on it that wasn't being used so I only have one cable hooked up inside my laptop. I guess I could solder on a connector from another dead card or something but if it works like it is now with only one why bother?
Freakin' awesome man. Alien Bob and everyone who helped me, you guys are the BEST!!!! <doing a little dance>
Free things rule!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.