Date: Fri, 21 Jun 2013 13:17:53 -0500 From: Mike Meyer <mwm@mired.org> To: Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> Cc: freebsd-usb@freebsd.org Subject: Re: Issues 179505 Message-ID: <CAD=7U2BX-FjghRjizr49Ow8-Cv4A_B21gucCrsu_JKQp_XkPhQ@mail.gmail.com> In-Reply-To: <CAD=7U2D%2B0_3JFdGaOyxBhCtgqFcQe-d=5DKD8t1u0XiSPuhNHQ@mail.gmail.com> References: <CAD=7U2DDbjqC67%2BMecVNCtoUEF5CNeCj8HaK_6%2BYMZ=PZVbusA@mail.gmail.com> <20130621195542.7d9103859f9edcbd1bd8b4d8@getmail.no> <20130621200326.ba4a8fd0e4b300b8b77c836e@getmail.no> <CAD=7U2D%2B0_3JFdGaOyxBhCtgqFcQe-d=5DKD8t1u0XiSPuhNHQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mwm@mired.org> 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 > <torfinn.ingolfsen@getmail.no> wrote: >> On Fri, 21 Jun 2013 19:55:42 +0200 >> Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> wrote: >> >>> On Fri, 21 Jun 2013 10:28:41 -0500 >>> Mike Meyer <mwm@mired.org> 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 <torfinn.ingolfsen@getmail.no> >> _______________________________________________ >> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD=7U2BX-FjghRjizr49Ow8-Cv4A_B21gucCrsu_JKQp_XkPhQ>