From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 21 19:57:54 2004 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 971A616A4CE for ; Tue, 21 Dec 2004 19:57:54 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 197AA43D67 for ; Tue, 21 Dec 2004 19:57:54 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iBLJvMD8012310; Tue, 21 Dec 2004 13:57:22 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 21 Dec 2004 13:57:17 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 21 Dec 2004 13:57:12 -0600 Message-ID: <41C88017.8010403@savvis.net> Date: Tue, 21 Dec 2004 11:57:11 -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: Yann Berthier References: <419B9EF8.2090401@savvis.net> <1103269957.974.7.camel@localhost> <41C32471.2050805@savvis.net> <866530fusa.fsf@kamino.rfc1149.org> <41C35B92.7080908@savvis.net> <1103489813.1721.14.camel@localhost> <41C63A62.20304@savvis.net> <1103527349.1024.18.camel@localhost> <41C72A9B.6090405@savvis.net> <20041221194912.GA748@hsc.fr> In-Reply-To: <20041221194912.GA748@hsc.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Dec 2004 19:57:12.0636 (UTC) FILETIME=[432DA7C0:01C4E797] X-ECS-MailScanner: No virus is found cc: bluetooth@freebsd.org 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: Tue, 21 Dec 2004 19:57:54 -0000 Yann, >> ok, this does not make any sense. psm 25 ?! why the hell it tries >> to connect to psm 25? of course mouse tells host to get lost, >> because it does not want to talk on psm 25. >> >> wait, i know why. i just checked your older email and find out that >> you have >> >> "interrupt_psm 0x19;" >> >> line in your /etc/bluetooth/bthidd.conf file (mouse section). could >> you please try to change it to >> >> "interrupt_psm 0x13;" > > It worked for me with a MS mouse. Other mouse brand, same symptom, > same solution. Now, perhaps bthidcontrol is at fault actually. Do you > need an hcidump trace ? yes, please. the more traces i get the easier for me to fix the problem. what is the other (then MS) brand are you using? > Now, my 2nd and 3rd buttons are swapped (another poster on this > thread had the same too, if i'm not mistaken). Could it be also > related to an eroneous parsing of the SDP answer by bthidcontrol ? i do not think so. the information about buttons, axis etc. is encoded in the hid descriptor. you could send me a hicdump while you are pressing 2nd and then 3rd button along with 'bthidcontrol dump' output. thanks, max