Re: USB servo via trinket
unixnerd777, I too have felt your pain.
I read through and tried to implement the fake USB port to allow the Arduino 1.0.5 IDE to communicate with my 3V Trinket. I followed the fake USB instructions to the letter, yet I failed to get the connection to work. In trying to implement the instructions, I found out that the author's "socat PTY,link=COM8 PTY,link=COM9" was a malformed command. However, I believe I read somewhere that the author mentions he is not a UNIX/Linux expert, and I respect that. Also, the author mentions that the instructions were not tested on Linux. That is unfortunate, but I respect that as well.
If you are simply trying to program your 3V Trinket via a Linux machine, I was able to successfully do it once I worked out the bugs in my methodology on my Mac Book Pro running Mac OS X 10.7 (Lion).
To program your 3V Trinket via a Linux box, here are the steps that I followed:
Download and install the 1.0.5 version of the Arduino IDE, as it already has the 8 MHz Gemma, 8 MHz Trinket, and 16 MHz Trinket built into the Tools->Board menu.
Using a known good USB cable, connect your 3V Trinket to the mini-USB end of your USB cable, and connect the USB-A end of your USB cable to your Linux computer. The connecting of your 3V Trinket to your computer will not cause Linux to enumerate it as a device beneath /dev. However, the "lsusb" command will show the Trinket present on the USB bus.
Launch the Arduino 1.0.5 IDE.
Under Tools->Board, select Adafruit Trinket 8 MHz.
Under Programmer, select USBtinyISP.
Under File->Examples->Basics, select Blink.
The Trinket does not have a blinking green led like the Mega 2560 does. However, you can manipulate the red led to blink. To do so, within the sketch code, change "int led = 13;" to "int led = 1;"
To program the Trinket with the new sketch, press the reset button once.
As soon as the red led starts blinking brightly and quickly (this indicated bootloader mode), click the Upload (right arrow) button of the IDE to compile and upload your sketch to the Trinket.
If you see the "Done uploading" message at the bottom of the IDE, it means that the sketch successfully uploaded to the Trinket. The red led should start blinking such that it stays lit for one second and turns off for one second.
If you can not successfully upload your sketch during bootloader mode, perhaps your sketch is large and took more time to compile than the allotted 10 seconds of bootloader mode. This means you must resolve the timing issues. To slow things down, you may try selecting "Show verbose output during" under Preferences. Initially, I selected verbose during upload. However, I realized that it was not necessary. As long as the upload starts before the ten second bootloader window ends, it seems that the sketch will continue to upload even after the ten seconds expires.
I have successfully performed the above Linux instructions on both USB3 and USB2 ports. When using USB3, I did have a timing issue situation where the sketch did not upload during bootloader mode, and the bootloader window was extended beyond ten seconds. I simply clicked the Upload button again, and the sketch finally uploaded successfully.
I hope the above helps you an anyone else that is trying to program their Trinket from a Linux machine.