Bug 153963 - New port: comms/uarduno USB/serial kernel module for Arduino Uno
Summary: New port: comms/uarduno USB/serial kernel module for Arduino Uno
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 21:30 UTC by Bob Frazier
Modified: 2011-02-22 02:20 UTC (History)
0 users

See Also:


Attachments
file.shar (6.69 KB, text/plain)
2011-01-13 21:30 UTC, Bob Frazier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Frazier 2011-01-13 21:30:09 UTC
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:
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2011-02-13 16:07:47 UTC
Did you submit your patches to freebsd-usb@FreeBSD.org.

Maybe they can be included into the Kernel?
Comment 2 Bob Frazier 2011-02-14 10:24:47 UTC
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').
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-02-22 02:10:56 UTC
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"
Comment 4 Wesley Shields freebsd_committer freebsd_triage 2011-02-22 02:11:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!