New port, USB/serial kernel module that supports the Arduino Uno . Current drivers do not recognize nor support the USB interface for this device, as it uses a scaled-down version of the ACM USB serial and has its own unique vendor ID and product ID combination. I tried modifying existing drivers to accept this combination, but none of them would work, so I modified existing kernel source and created a driver that is similar to uplcom. The product and vendor ID combinations are stored in a text file, files/ids.txt Fix: shar file attached Patch attached with submission follows:
Did you submit your patches to freebsd-usb@FreeBSD.org. Maybe they can be included into the Kernel?
On 02/13/11 08:07, Tilman Keskinoz so witilly quipped: > Did you submit your patches to freebsd-usb@FreeBSD.org. > > Maybe they can be included into the Kernel? > thanks - I have considered that but as it's specific to arduino development I wanted to start out as a port (and also so people can use it on 'other than the bleeding edge kernel').
wxs 2011-02-22 02:10:51 UTC FreeBSD ports repository Modified files: comms Makefile Added files: comms/uarduno Makefile distinfo pkg-descr pkg-message comms/uarduno/files ids.txt Log: The Arduino Uno (http://arduino.cc/) is an open source hardware micro- controller designed primarily for prototyping and experimentation. Although the devel/arduino port already exists for programming the device, it will not work properly with the newest Arduino hardware. Previous versions of the Arduino used an FTDI USB to Serial interface. The newest Arduino (beginning with the Uno) uses an on-board ATMel 8U2 controller to emulate a USB to Serial interface with its own custom Vendor ID and Hardware ID. As a result, NONE of the existing FreeBSD USB to serial drivers can work with it. This kernel driver supplies the necessary kernel support for the Arduino Uno on FreeBSD. Additionally, some 'ACM' USB Serial devices may work with this driver by manually adding their Vendor ID and Product ID combination to files/ids.txt Official web site WWW: http://www.mrp3.com/uarduno.html PR: ports/153963 Submitted by: Bob Frazier <bobf@mrp3.com> Revision Changes Path 1.223 +1 -0 ports/comms/Makefile 1.1 +91 -0 ports/comms/uarduno/Makefile (new) 1.1 +2 -0 ports/comms/uarduno/distinfo (new) 1.1 +34 -0 ports/comms/uarduno/files/ids.txt (new) 1.1 +16 -0 ports/comms/uarduno/pkg-descr (new) 1.1 +18 -0 ports/comms/uarduno/pkg-message (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!