usb/177666: Add support for Texas Instruments / Luminary Micro JTAG USB connector for Stellaris

2013-04-06 Thread Nicolai Petri

Number: 177666
Category:   usb
Synopsis:   Add support for Texas Instruments / Luminary Micro JTAG USB 
connector for Stellaris
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  change-request
Submitter-Id:   current-users
Arrival-Date:   Sat Apr 06 09:40:00 UTC 2013
Closed-Date:
Last-Modified:
Originator: Nicolai Petri
Release:RELENG_9
Organization:
N Possible
Environment:
FreeBSD edge.petri.cc 9.1-STABLE FreeBSD 9.1-STABLE #2: Sat Mar 23 21:36:29 CET 
2013 root@:/usr/obj/usr/src/sys/FEVER  amd64
Description:
Add USB defines for FTDI to pick up and correctly handle Texas Instruments 
ICDI-B JTAG board.
How-To-Repeat:

Fix:
Apply attached patch


Patch attached with submission follows:

--- usbdevs.orig2013-04-04 12:09:29.290544602 +0200
+++ usbdevs 2013-04-04 12:10:26.481569649 +0200
@@ -1867,6 +1867,7 @@
 product FTDI LENZ_LIUSB0xd780  FTDI compatible adapter
 product FTDI LM3S_DEVEL_BOARD  0xbcd8  FTDI compatible adapter
 product FTDI LM3S_EVAL_BOARD   0xbcd9  FTDI compatible adapter
+product FTDI LM3S_ICDI_B_BOARD 0xbcda  FTDI compatible adapter
 product FTDI MASTERDEVEL2  0xf449  FTDI compatible adapter
 product FTDI MHAM_DB9  0xeeed  FTDI compatible adapter
 product FTDI MHAM_IC   0xeeec  FTDI compatible adapter
--- uftdi.c.orig2013-04-04 12:08:03.286547446 +0200
+++ uftdi.c 2013-04-04 12:11:23.522555235 +0200
@@ -384,6 +384,7 @@
UFTDI_DEV(FTDI, LK204, UFTDI_TYPE_8U232AM),
UFTDI_DEV(FTDI, LM3S_DEVEL_BOARD, UFTDI_TYPE_AUTO | UFTDI_FLAG_JTAG),
UFTDI_DEV(FTDI, LM3S_EVAL_BOARD, UFTDI_TYPE_AUTO | UFTDI_FLAG_JTAG),
+   UFTDI_DEV(FTDI, LM3S_ICDI_B_BOARD, UFTDI_TYPE_AUTO | UFTDI_FLAG_JTAG),
UFTDI_DEV(FTDI, MASTERDEVEL2, UFTDI_TYPE_AUTO),
UFTDI_DEV(FTDI, MAXSTREAM, UFTDI_TYPE_8U232AM),
UFTDI_DEV(FTDI, MHAM_DB9, UFTDI_TYPE_AUTO),


Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/177666: commit references a PR

2013-04-06 Thread dfilter service
The following reply was made to PR usb/177666; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: usb/177666: commit references a PR
Date: Sat,  6 Apr 2013 17:00:19 + (UTC)

 Author: hselasky
 Date: Sat Apr  6 17:00:11 2013
 New Revision: 249204
 URL: http://svnweb.freebsd.org/changeset/base/249204
 
 Log:
   Add new USB ID.
   
   PR:  usb/177666
   Submitted by:Nicolai Petri nico...@petri.dk
 
 Modified:
   head/sys/dev/usb/serial/uftdi.c
   head/sys/dev/usb/usbdevs
 
 Modified: head/sys/dev/usb/serial/uftdi.c
 ==
 --- head/sys/dev/usb/serial/uftdi.cSat Apr  6 15:02:06 2013
(r249203)
 +++ head/sys/dev/usb/serial/uftdi.cSat Apr  6 17:00:11 2013
(r249204)
 @@ -384,6 +384,7 @@ static const STRUCT_USB_HOST_ID uftdi_de
UFTDI_DEV(FTDI, LK204, UFTDI_TYPE_8U232AM),
UFTDI_DEV(FTDI, LM3S_DEVEL_BOARD, UFTDI_TYPE_AUTO | UFTDI_FLAG_JTAG),
UFTDI_DEV(FTDI, LM3S_EVAL_BOARD, UFTDI_TYPE_AUTO | UFTDI_FLAG_JTAG),
 +  UFTDI_DEV(FTDI, LM3S_ICDI_B_BOARD, UFTDI_TYPE_AUTO | UFTDI_FLAG_JTAG),
UFTDI_DEV(FTDI, MASTERDEVEL2, UFTDI_TYPE_AUTO),
UFTDI_DEV(FTDI, MAXSTREAM, UFTDI_TYPE_8U232AM),
UFTDI_DEV(FTDI, MHAM_DB9, UFTDI_TYPE_AUTO),
 
 Modified: head/sys/dev/usb/usbdevs
 ==
 --- head/sys/dev/usb/usbdevs   Sat Apr  6 15:02:06 2013(r249203)
 +++ head/sys/dev/usb/usbdevs   Sat Apr  6 17:00:11 2013(r249204)
 @@ -1878,6 +1878,7 @@ product FTDI IRTRANS 0xfc60  FTDI compat
  product FTDI LENZ_LIUSB   0xd780  FTDI compatible adapter
  product FTDI LM3S_DEVEL_BOARD 0xbcd8  FTDI compatible adapter
  product FTDI LM3S_EVAL_BOARD  0xbcd9  FTDI compatible adapter
 +product FTDI LM3S_ICDI_B_BOARD0xbcda  FTDI compatible adapter
  product FTDI MASTERDEVEL2 0xf449  FTDI compatible adapter
  product FTDI MHAM_DB9 0xeeed  FTDI compatible adapter
  product FTDI MHAM_IC  0xeeec  FTDI compatible adapter
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
 
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Beaglebone USB driver (Mentor Graphics OTG)

2013-04-06 Thread Oleksandr Tymoshenko

Hello,

This is first iteration of Host Mode support for Mentor Graphics
OTG USB controller. I tested it by building kernel with USB memory
stick mounted as /usr/obj, resulting kernel was bootable and worked fine.
I reused some ideas (mostly for channel-management) from
DWT OTG driver.

Some pieces are still missing:
- Support for SPLIT transactions, I don not have high speed hub
right now to test it, but implementing it should be really 
straighforward.

- Isochronous transfers. I do not have hardware to test this. Does
anybody have any suggestion about simple use case?
- Control Data OUT transaction
- Wrapper for atmel HW has not ben synced with new core logic requirements
yet

Please review and test. I tested it only with gcc-built kernel/world. 
Now when
first iteration is finished I'm going to update all my boards to new 
world order

(clang/EABI) and re-test this stuff.

Patch:
http://people.freebsd.org/~gonzo/arm/patches/beaglebone-musb.diff
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Beaglebone USB driver (Mentor Graphics OTG)

2013-04-06 Thread Aleksandr Rybalko
On Sat, 06 Apr 2013 13:50:44 -0700
Oleksandr Tymoshenko go...@bluezbox.com wrote:

 Hello,
 
 This is first iteration of Host Mode support for Mentor Graphics
 OTG USB controller. I tested it by building kernel with USB memory
 stick mounted as /usr/obj, resulting kernel was bootable and worked
 fine. I reused some ideas (mostly for channel-management) from
 DWT OTG driver.
 
 Some pieces are still missing:
 - Support for SPLIT transactions, I don not have high speed hub
  right now to test it, but implementing it should be really 
 straighforward.
 - Isochronous transfers. I do not have hardware to test this. Does
  anybody have any suggestion about simple use case?

Any USB camera (a.k.a. Web Cam)

 - Control Data OUT transaction
 - Wrapper for atmel HW has not ben synced with new core logic
 requirements yet
 
 Please review and test. I tested it only with gcc-built kernel/world. 
 Now when
 first iteration is finished I'm going to update all my boards to new 
 world order
 (clang/EABI) and re-test this stuff.
 
 Patch:
 http://people.freebsd.org/~gonzo/arm/patches/beaglebone-musb.diff
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-arm
 To unsubscribe, send any mail to freebsd-arm-unsubscr...@freebsd.org

WBW
-- 
Aleksandr Rybalko r...@freebsd.org
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org