The 'uarduno' FreeBSD kernel driver was primarily designed for use with the i386 and AMD64 platforms on FreeBSD 7.x and 8.x (and, reportedly, 9.x). Use on other platforms and other versions of FreeBSD has not been verified, but is likely to work.
LICENSE: This code has been published under a BSD-like license, similar to that of the existing FreeBSD source, with appropriate licenses for the NetBSD® code on which the FreeBSD drivers were based. Both of the stated NetBSD and FreeBSD licenses apply. No additional restrictions apply, other than those that are similar to the BSD license. Therefore, free use has been granted, provided that existing licenses and copyright notices are included in any distributed version of the code. A copy of the actual license has been included in each of the applicable source files ('.c' and '.h'). Additional files (such as 'Makefile') may be used under the same license as the source.
| 2010-12-03 | Initial release | ||
| 2010-12-17 | Resolved compile and coding issues for 8.x | ||
| 2011-01-06 | Tested on x86 platform for 7.3-STABLE with up-to-date ports tree | ||
| 2011-01-13 | Submitted to FreeBSD ports, ports/153963 | ||
| 2011-02-22 | Added to FreeBSD ports, comms/uarduno | ||
| 2011-05-02 | Revision 1.01, minor update to build on 9.0-CURRENT | ||
| 2011-05-08 | Update to FreeBSD port submitted for Rev 1.01 | ||
| 2011-07-05 | Additional update to FreeBSD port submitted for Rev 1.02 | ||
Initially I was having some issues with respect to getting the Arduino IDE to work properly with FreeBSD. Even though the kernel module appears to be working properly, the Arduino IDE was crashing whenever I attempted to open the serial console. Additionally, whenever I attempted to program the device with the most recent 'avrdude' application, the board's ID wasn't being recognized. The bugs in the comms/rxtx library have ALREADY been corrected in the most recent port (as of 1/5/2011), and I have contacted the port maintainer for devel/avrdude and the developers of the rxtx library, so in time these issues should be completely resolved. As of this writing, the issues with rxtx have been corrected.
In the mean time, a temporary solution to the avrdude problem can be found in a patch file that I am making available here, as a tarball (see below). The patch applies to the devel/avrdude port as of 1/6/2011. In the meain time, you might want to check the update history for devel/avrdude on freshports.org . Additionally, for the Arduino Uno, the arduino-0021 IDE version is required (available from the Arduino web site), and the most recent port (at the time of this writing) is only at 0019 (the port maintainer is working on it). Still, you should be able to build the newer version from source, and with a little creativity you should be able to install the new 0021 version over the top of the 0019 version without much difficulty. Some hacking may be required, however, to get it to work. In my case I had to delete a couple of symbolic links that were in the installed (-0019) version (/usr/local/arduino/lib/RXTXComm.jar and /usr/local/lib/librxtxSerial.so).
You can download the patch for devel/avrdude as a tarball.
DISCLAIMER: These were recommended by me to ports maintainers, are NOT officially
sanctioned, are provided as-is and without any kind of warrantee, and should ONLY be used at your
own risk. Additionally, if you apply either of the patches, you should make backup copies of the
existing port(s) first, and make sure the port versions and patch files match one another. If
anything gets damaged as a result of using any of these patches it's not my fault. If you agree,
and want to take the risk, you may download and use the patch file(s) as you see fit.
Affected port and version: devel/avrdude 5.10 (available from freshports.org via cvsweb as a tarball).
| Download the uarduno driver (source tarball) |