From owner-freebsd-bluetooth@FreeBSD.ORG Fri Oct 31 16:53:01 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0743106567D for ; Fri, 31 Oct 2008 16:53:01 +0000 (UTC) (envelope-from samm@os2.kiev.ua) Received: from deepvision.tsua.net (s2.sdv.com.ua [212.40.43.22]) by mx1.freebsd.org (Postfix) with ESMTP id A5E718FC20 for ; Fri, 31 Oct 2008 16:53:01 +0000 (UTC) (envelope-from samm@os2.kiev.ua) Received: from 134-170-195-217.cust.centrio.cz ([217.195.170.134] helo=[192.168.100.104]) by deepvision.tsua.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KvwvN-0009iq-39 for freebsd-bluetooth@freebsd.org; Fri, 31 Oct 2008 18:32:37 +0200 Message-ID: <490B331F.6020305@os2.kiev.ua> Date: Fri, 31 Oct 2008 17:32:31 +0100 From: Alex Samorukov User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: bt dev questions X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 16:53:02 -0000 Hi all I ported to FreeBSD anyRemote utility (http://anyremote.sourceforge.net/), and while porting I got some issues which i`m not able to resolve myself. They are not critical (program is working), but a bit annoying. 1) Why sdpd require root permission to open session? As for me it`s enough to check use file permissions on control socket. In Linux its possible to register service w/o root permissions, so in ported version I need to run it as root and then setuid to normal user. What is the reason for this? 2) I was not able to find how to change provider name and server description in SDP_SERVICE_CLASS_SERIAL_PORT profile. anyRemote using usual serial over bluetooth, but with changed service name field. I found howto change channel (server_channel) but not description. Is it possible at all? I`m planning to submit my patches to the ports tree at nearest time.