From owner-freebsd-usb@FreeBSD.ORG Fri Jun 21 18:17:54 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8E024D47 for ; Fri, 21 Jun 2013 18:17:54 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) by mx1.freebsd.org (Postfix) with ESMTP id 5D9E11E02 for ; Fri, 21 Jun 2013 18:17:54 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id n10so9891011oag.14 for ; Fri, 21 Jun 2013 11:17:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=lQA7pnwirdO7I7UK4Lntwu+25udcJkslyewh0Tp1XUA=; b=EyNomal2J2sIq4G9hgGBMNnDS97h37Z8nXwvVKebh0yBLnfsNhbiqKNz8gCXfZbErI kkZrvYOSsPmmEwGHKrYjBl1zb9QB8CAxnOqkXJ1skMgY6UkTn5uXZHLgobLICrmW+ZX8 1ZITNVK+058oDo/kkl73NSv2kAqeBWjnzpH/qbISwKUnjzhWe3LPRaKw5v044XrWgmOr Rc9Poby4juvdym6fgd046f8SeAZ2/Dvnb06xgb0MkdmzXzNLwUkXRhD2GrtlgHg2ozQs 35mMoYaLxlhnlMST0aO+vs8IUUF8h8hcFk3xYSeknSes15XO7t4ZCSQuB7kIrZGi55qk gMog== MIME-Version: 1.0 X-Received: by 10.60.61.116 with SMTP id o20mr6920159oer.63.1371838673798; Fri, 21 Jun 2013 11:17:53 -0700 (PDT) Received: by 10.182.26.83 with HTTP; Fri, 21 Jun 2013 11:17:53 -0700 (PDT) X-Originating-IP: [98.22.165.84] In-Reply-To: References: <20130621195542.7d9103859f9edcbd1bd8b4d8@getmail.no> <20130621200326.ba4a8fd0e4b300b8b77c836e@getmail.no> Date: Fri, 21 Jun 2013 13:17:53 -0500 Message-ID: Subject: Re: Issues 179505 From: Mike Meyer To: Torfinn Ingolfsen Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm37OxKWpUeDI2H1OUmFf7XPeWY3w/jPlCJfejK54CNye9gcBAN5yslwg/XLZH5EcF6CU7F Cc: freebsd-usb@freebsd.org 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: Fri, 21 Jun 2013 18:17:54 -0000 Sorry 'bout the extra emphasis there. Anyway, the problem is not *simply* the sketch code. It could be something in the Arduino bootloader violating a USB spec that Linux doesn't care about and FreeBSD does. But mucking about with the user code on the Arudino (i.e. - sketches) doesn't change anything: I get the same behavior whether it's running a trivial Blink demo (pretty much no libraries used at all) or a complete interactive shell: It works as expected when connected to Linux running on a VBox VM, with the umodem device always being present. If I don't connect it to the VM, the umodem device appears when the board is plugged in or reset, then disappears before the sketch starts running. On Fri, Jun 21, 2013 at 1:10 PM, Mike Meyer wrote: > This would help - if I were using the SoftSerial library > > The arduino sketch code is *not* the problem. Everything works fine if > I just connect the board to a VBox runninng Linux, even on a FreeBSD > host. > > On Fri, Jun 21, 2013 at 1:03 PM, Torfinn Ingolfsen > wrote: >> On Fri, 21 Jun 2013 19:55:42 +0200 >> Torfinn Ingolfsen wrote: >> >>> On Fri, 21 Jun 2013 10:28:41 -0500 >>> Mike Meyer wrote: >>> >>> > Any chance I can get someone to look at >>> > http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/179505? This was >>> > discussed on the list, but sort of tailed off. There is more >>> > information in the PR than was ever on the list. >>> >>> What code ("sketch") are you running on the Leonardo? >>> According to thise page: http://arduino.cc/en/Guide/ArduinoLeonardo >>> the board only has one mikrocontroller, so unless your program ("sketch") on the Leo >>> handles the usb communication, there will be none after the board resets. >>> (if my understanding is correct) >> >> Ok, it seems like there is a bug / misfeature in SoftSerial on the Leo: >> http://vort.org/2012/05/25/trouble-softserial-arduino-leonardo/ >> -- >> Torfinn Ingolfsen >> _______________________________________________ >> freebsd-usb@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-usb >> To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"