From owner-freebsd-bluetooth@freebsd.org Sun Sep 27 16:30:30 2015 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85FBDA0ADAA for ; Sun, 27 Sep 2015 16:30:30 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.115.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E79B6122 for ; Sun, 27 Sep 2015 16:30:29 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 86664 invoked from network); 27 Sep 2015 16:30:24 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with ESMTPS (DHE-RSA-AES128-SHA encrypted); 27 Sep 2015 16:30:24 -0000 Subject: Re: first shot at user friendly bluetooth-config script To: Maksim Yevmenkin References: <56072A53.4010005@erdgeist.org> Cc: "freebsd-bluetooth@freebsd.org" From: Dirk Engling X-Enigmail-Draft-Status: N1110 Message-ID: <5608199F.9020105@erdgeist.org> Date: Sun, 27 Sep 2015 18:30:23 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 16:30:30 -0000 On 27.09.15 15:19, Maksim Yevmenkin wrote: > thank you for your work. can you please put it into review? Where would I put the script for that regard? Something like /usr/bin? > also, what is the proposed usage scenario? can you please describe > it? As I mentioned earlier, the script is supposed to tie several layers of the bluetooth framework together to guide users with day-to-day tasks like pairing a HID device like a keyboard and a mouse. It is intended to serve both as an interactive script, guiding a novice user through the common pitfalls, dumping pointers to config files and man pages along the way and also as a scriptable back-end to a yet-to-be written GUI (e.g. a config panel in PC-BSD). I think I laid out my motivation for writing it in earlier emails. Having proper documentation on a framework (which FreeBSD clearly lacks) would be a good thing, but making it further less likely to have users shoot themselves in the feet by implementing best practices that will suite the need of 99% of FreeBSD's bluetooth users is even better. In my experience the best framework is worthless if not properly exposed to the end user. And frankly, currently it is not exposed to the end user at all. I consider myself rather fluent in FreeBSD, I am able to understand complex protocols and their C code implementation and yet, standing with my PC-BSD curious buddy on his new shiny development station – combining over 50 years of IT experience – we still struggled for over a day, trying to figure out how the pieces fit together just to pair a freaking mouse ;) Maybe I am taking it into a completely wrong direction and you have a much simpler way to achieve the task that I just have not understood. Regards erdgeist