From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 12 20:35:26 2005 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE5EC16A4CE for ; Wed, 12 Jan 2005 20:35:26 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D21F43D2F for ; Wed, 12 Jan 2005 20:35:26 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])j0CKYa0f010275; Wed, 12 Jan 2005 14:34:36 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 12 Jan 2005 14:34:24 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 12 Jan 2005 14:34:06 -0600 Message-ID: <41E589BB.1060702@savvis.net> Date: Wed, 12 Jan 2005 12:34:03 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> <419B9EF8.2090401@savvis.net> <1103269957.974.7.camel@localhost> <41C32471.2050805@savvis.net> <866530fusa.fsf@kamino.rfc1149.org> <41DB1084.2090405@savvis.net> <1105261338.1126.6.camel@localhost> In-Reply-To: <1105261338.1126.6.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Jan 2005 20:34:07.0062 (UTC) FILETIME=[102ABF60:01C4F8E6] X-ECS-MailScanner: No virus is found cc: bluetooth cc: Hiroyuki Aizu cc: Yann Berthier Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 20:35:27 -0000 Vladimir and Guys, please take a look at FreeBSD PR misc/76107. it includes the patch that fixes PSM problem. prize goes to Hiroyuki Aizu and the pointy hat goes to me :) i've committed the fix into -current and will MFC it to RELENG_5 in 1 day. thanks, max >> Hi Guys, >> >> sorry for the delay :) >> >> i've trying to troubleshoot the problem with Logitech MX900 >> bluetooth mouse (invalid psm for hid-interrupt channel) and have >> been looking at all dumps you guys sent to me. >> >> here is what i found so far. >> >> 1) according to the dumps the mouse advertises correct psm, i.e. >> 0x13 >> >> 2) bthidcontrol(8) _should_ work just fine, but it _does_not_. for >> whatever reason it gets wrong psm (0x25). >> >> let me just ask one more question: did you guys set any gcc >> optimization flags? anything that is *not* default? > > > no, nothing in make.conf, > > /usr/src/usr.sbin/bluetooth/bthidd$ make -V CFLAGS -O2 > -fno-strict-aliasing -pipe -I/usr/src/usr.sbin/bluetooth/bthidd -g > -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized > /usr/src/usr.sbin/bluetooth/bthidd$ > > >> bottom line: the problem can be either in bthidcontrol(8) or sdp(3) >> library. i can not reproduce the problem here, so would anyone >> consider giving me remote access to your box and mouse for a few >> hours/days? > > > Unfortunately it is my work notebook, and usually it connected behind > some firewall and there is no good way to enter from Internet here. > > Let I try to debug this problem. As I understand bthidcontrol Dump > should show valid psm (0x13). > > >> thanks, max > >