1

I'm using my wireless card with ath5k. Everything works fine but I'd like to modify this driver.

I've downloaded its source code to have an overview of files structure.

Let's assume that I want to edit base.c file which is located (in compat-wireless package) in ath5k directory.

After typing:

find / -name base.c

I can't find it in Linux file system. Where should I look for these files?

  • The .c file is part of the source code, which is then compiled into binary, and binary is what you have on a working system. So, to modify a driver, you first edit the source code, then compile, then install it. – mikewhatever Mar 26 '14 at 18:49
1

I suggest you download, extract and modify this: http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.13.2/backports-3.13.2-1.tar.xz

The file you are seeking exists there: backports-3.13.2-1/drivers/net/wireless/ath/ath5k/base.c

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.