From owner-freebsd-usb@FreeBSD.ORG Wed Jun 12 02:30:23 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9DF9EC4D for ; Wed, 12 Jun 2013 02:30:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6A65D19D0 for ; Wed, 12 Jun 2013 02:30:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5C2UNae085287 for ; Wed, 12 Jun 2013 02:30:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5C2UNMc085286; Wed, 12 Jun 2013 02:30:23 GMT (envelope-from gnats) Resent-Date: Wed, 12 Jun 2013 02:30:23 GMT Resent-Message-Id: <201306120230.r5C2UNMc085286@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Meyer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1A9FB80 for ; Wed, 12 Jun 2013 02:20:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9448E1997 for ; Wed, 12 Jun 2013 02:20:26 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5C2KPMA031400 for ; Wed, 12 Jun 2013 02:20:25 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5C2KPj1031229; Wed, 12 Jun 2013 02:20:25 GMT (envelope-from nobody) Message-Id: <201306120220.r5C2KPj1031229@oldred.freebsd.org> Date: Wed, 12 Jun 2013 02:20:25 GMT From: Mike Meyer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/179505: Kernel detaches Arduino Leonardo (and similar) board umodem after the arduino boots X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 02:30:23 -0000 >Number: 179505 >Category: usb >Synopsis: Kernel detaches Arduino Leonardo (and similar) board umodem after the arduino boots >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 12 02:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: 9.1-releng >Organization: Meyer Consulting >Environment: FreeBSD bhuda.mired.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0 r250692M: Thu May 16 11:14:23 EDT 2013 root@bhuda.mired.org:/usr/src/sys/amd64/compile/BHUDA amd64 >Description: When the Arduino boards provide a umodem device to the host for programming and serial communications with the host from the user software (the software running after boot). The newest boards - starting with the Leonardo - also have the ability to provide a variety of HID devices at different endpoints. The older boards work fine. With the leonardo, the umodem device attaches as the board boots (or resets), and the /dev/ttyU* files are created for it. The device then detaches before or as the user code starts running, meaning the files vanish. >How-To-Repeat: Plug a leonardo board into a USB port on your machine. Reset it if needed. As it reboots (the L led will be blinking), you can see the /dev/tty* files appear. They will be gone after the reboot is finished. >Fix: I don't have a fix. The board can be programmed by hitting reset shortly before running avrdude (so for now, this is a low priority problem). >Release-Note: >Audit-Trail: >Unformatted: