I have a TP-LINK TL-WN822N Version 3.0 that I was having some problems with on Mint 17, it worked but the internet was very slow (under 4Mbps) so I used an alternate adapter and that was fine. I recently broke my install so I decided to do a fresh install of Mint 17.2 and found that the TP-LINK adapter connects to my network but doesn’t actually allow me to use the internet so I decided I would finally sit down and try to fix it.
After some poking around I figured out that my adapter uses the RTL8192CU chipset* and after searching around for a wifi fix I stumbled upon this github repository, I followed the installation instructions on that page and my wifi adapter now works 100% at full speed.
*Do note that versions 1 and 2 of this adapter use an Atheros chipset so this fix won’t work for those adapters.
Big thanks to the people out there maintaining that github repository, it really helped me out big time. I also know that this isn’t exactly the most informative post but I couldn’t find any fixes for my specific adapter on Linux Mint so I figured I would post this so that anyone else with this problem can find a solution quicker.
I was growing some ground cherry plants in pots and it seemed like their growth was exploding so I wanted to make a timelapse video like I had seen on youtube to get a sense of their growth rate.
I decided to make my timelapse using fswebcam to take the frames, imagemagick to add a nice timestamp, and avconv (fork of ffmpeg) to combine them into one video. There are simpler tools to capture the frames with but fswebcam has some very useful options which some people might need depending on their webcam, I’ll get into this later down in the code.
I have used these exact instructions on fresh installations of Ubuntu and Mint Linux on my laptop, and have also used them with my Raspberry Pi and it worked just the same.
If you use an original Raspberry Pi you may need an externally powered USB hub to actually use any decent webcam because it can draw too much power, if you’re using a Raspberry Pi B+ or a Raspberry Pi 2 then you can adjust a config file setting to allow your RPI B+/RPI 2 to allow higher power consumption on USB ports.
I am not an expert on this sort of stuff but you can read more about it here, the website gives instructions for the B+ but they also work for the Raspberry Pi 2.
Continue reading “Timelapse with fswebcam and avconv”