Jump to content

Disable automatic activation of Wifi and Bluetooth drivers from kernel


Recommended Posts

Hi, I'm working with an armbian installed on a Banana Pi M2S and I'm having problems using GPIOX_12, GPIOX_13 and GPIOX_4, because the Wifi/Bluetooth drivers are introducing garbage data by default into them and making it difficult to use them for communication in my project.

I need to know how to disable these drivers from the kernel so that they don't interfere with the UART communication that I'm creating on those pins, since they are enabled by default and take control of the port automatically (even without having any module connected).

 

Question:

  • Is there any way to disable them in the kernel during the image building process?

 

For the moment I won't use those drivers since I'll be installing a Wifi module via USB later.

 

I'm building the armbian image from the repository using these build variables:

./compile.sh build BOARD=bananapim2s BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=jammy EXTENSIONS=preset-firstrun

 

Any help or pointers would be very appreciated.

Thank you very much in advance!

Edited by IvanMC
Improvements in the writing. Thank you very much.
Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines