Skip to main content

Compiling Realtek 8192eu for Adafruit's PiTFT image

This post is about how I compiled the Realtek 8192eu drivers for the Adafruit PiTFT image. You can read about my journey and woes to how I got here in my previous post. Or if you don't want to read anything and just want the driver here it is: realtek_8192eu_adafruit_4.1.14+_pitft.tar.gz.

I have done the following on an Intel i7-4700MQ 2.40GHz laptop running Ubuntu 16.04 and compile time of the kernel was under 20mins. Hopefully that should give you some rough estimate of how long it takes to compile the kernel.

  1. Install Adafruit Pi Kernel-O-Matic.
    1. Follow the instructions on the Installing Dependencies and Starting The VM pages. You will now have a VM that is ready to build kernels.
    2. Follow the instructions on the Build The VM page (it is towards the bottom) to checkout and build the Adafruit PiTFT branch of the kernel.
  2. SSH into your Vagrant VM and git clone the 8192eu drivers. I used the source from
  3. Change to the 8192eu driver source directory that you just cloned
  4. I made a slight modification to the makefile at line 16 (hopefully this doesn't come back to bite me since I'm not really sure what I did)

    EXTRA_CFLAGS += -Wno-error=date-time
    EXTRA_CFLAGS += -Wno-date-time
  5. Run the following make command

    sudo make ARCH=arm CROSS_COMPILE=/opt/rpi_tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- KSRC=/kernel_repos/adafruit/adafruit-raspberrypi-linux/v1

Voila, you should see a freshly built 8192eu.ko driver file that is ready to be used on your Pi that has the Adafruit PiTFT image. You just have to transfer and install 8192eu.ko to your Pi from the Vagrant VM.

Or you can just get realtek_8192eu_adafruit_4.1.14+_pitft.tar.gz that has the driver file and install script. The install script is a modified version of MrEngman's install script over on the Raspberry Pi forums. If you need the driver for a more recent version of Raspbian, most likely he has compiled it and has shared it.

I hope this helps others that have an 8192eu Wi-Fi adapter chipset wanting to use Adafruit's PiTFT image.


Popular posts from this blog

Fishing Pole/Rod Dryer

My friend, Ross, wanted to fix his fishing pole guides but did not have all the necessary equipment. Luckily, he had a friend that had rod building equipment. I had mentioned to my friend that one day I would like to wrap a custom pole. So my friend said hey look at the stuff you would need. The most expensive piece of equipment was the rod dryer. His friend's dryer was retail bought at some online fishing store, I want to say Cabela's but I am unsure of that. The dryers can be pricey. So my friend and I looked up cheap DIY alternatives. We found many and the concept was the same. Slow rotating motor with a cup to hold the end of the rod. Here is our take on a dryer. Some of the parts to make this was given to me by Ross, thanks dude.

Coca-Cola Condensed Milk Crock Pot Pulled Pork

My wife seen an episode on the Food Network where pulled pork was made with Coca-Cola and condensed milk. I did not get to see that episode but the soda and condensed milk pulled pork sounded really good. She forgot the recipe from the episode so we looked up recipes. From what we had on hand, we based our recipe of that from Crock Pot Coca-Cola Pulled Pork. We were not sure what to expect, but were pleasantly surprised and pleased with how the pulled pork turned out. Here is how we made ours.

(Rough estimates as we just threw stuff in)
1 (5-7 lb) pork shoulder2 tablespoons garlic, minced1 cup onions, diced (not sure if necessary to cut up in little pieces)1 teaspoon black pepper1 teaspoon salt1 teaspoon sambal (chili pepper paste)3 teaspoons liquid smoke (I like smoky flavored stuff)2 liter Coca-Cola1 14oz can condensed milk1 barbecue sauce of choice
Cut up the onions and garlic, although i think this may be unnecessary since they will be thrown out after cooking.…

Canoe Stand

When my wife got her canoe, there were only a few instructions on the net for building stands. There were many pictures of PVC canoe stands but not much, if any, detailed instructions on making them. Here is my shot at a detailed tutorial (this was also on a site that is no more that I had awhile back).

Table of ContentsSummaryGetting Ready
MaterialsToolsPipe CuttingHole DrillingAssemblyFinishing TouchesSummary

Project: Canoe stands x 2
Project Time: About 3 hours
Material Cost: Around $45

Easy to make canoe stands made out of PVC pipes. These stands have rope padding in place of the standard foam padding I have seen. Personally, I think the rope looks better than foam.

Disclaimer: I take no responsibility if your stand fails to do its job or if you get hurt making the stands. I am writing this because seems like every project has a disclaimer because someone somehow screws up.

Getting Ready
Materials The following items were purchased from Home Depot except for the rope which was purchased …