More work on bug #8081.  I got everything but the analog stuff done, plus I got started on the AVR stuff.