|
From: | Rob Riggs |
Subject: | [avrdude-dev] [patch #8272] rfcomm devices can't connect in time to upload |
Date: | Sun, 23 Mar 2014 16:48:07 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #1, patch #8272 (project avrdude): The problem is with the Linux Bluetooth stack and not with avrdude. Pyserial has the same problem. The root cause is that RFCOMM sends ENOTCONN for non-blocking connections. POSIX requires either EAGAIN or EWOULDBLOCK if the connection may eventually succeed. ENOTCONN indicates a permanent failure. See also https://bugzilla.redhat.com/show_bug.cgi?id=1060457 and http://comments.gmane.org/gmane.linux.bluez.kernel/42303 The fix is to use a Linux kernel with a non-broken Bluez stack. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?8272> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |