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 <m...@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.ingolf...@getmail.no> wrote: >> On Fri, 21 Jun 2013 19:55:42 +0200 >> Torfinn Ingolfsen <torfinn.ingolf...@getmail.no> wrote: >> >>> On Fri, 21 Jun 2013 10:28:41 -0500 >>> Mike Meyer <m...@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.ingolf...@getmail.no> >> _______________________________________________ >> 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" _______________________________________________ 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"