From owner-freebsd-bluetooth@FreeBSD.ORG Sun May 15 00:43:57 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 85A8516A4CE for ; Sun, 15 May 2005 00:43:57 +0000 (GMT) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.202.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0A1E43DA2 for ; Sun, 15 May 2005 00:43:56 +0000 (GMT) (envelope-from carl@personnelware.com) Received: from [192.168.1.30] (c-24-13-52-189.hsd1.il.comcast.net[24.13.52.189]) by comcast.net (sccrmhc14) with ESMTP id <20050515004356014003975ve>; Sun, 15 May 2005 00:43:56 +0000 Message-ID: <42869B59.9030705@personnelware.com> Date: Sat, 14 May 2005 19:44:09 -0500 From: Carl Karsten User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: bluetooth headset info quest 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: Sun, 15 May 2005 00:43:57 -0000 I am on a quest for knowledge: I want to understand why all bluethooth devices don't work with all bluetooth devices. I kinda get that there are “profiles” which seem to be another word for protocol. I have also heard that the current version of Mac OSC (4A428 ?) doesn't support the bluetooth headset profile, but the next version of the OS will. That suggests that profile support is a software thing. I have applications of this knowledge: 1)a friend says: : I need to know if i can connect a bluetooth audio handset to a fujitsu siemens 420 aka hp iPAQ 4150. I am guessing no, because pdf Page 80 (printed 8-4) does not list "headset" http://h200001.www2.hp.com/bc/docs/support/SupportManual/c00046424/c00046424.pdf 2)I have a toshiba 6100 laptop that did not come with bluetooth. For $60 I can get the internal addon, or $25 I can get various usb or pccard things. But not all the $25 options list the headset profile, so once again, is the limitation hardware, firmware, software, marketing-ware, vapor-ware, new-wave-ware, or what?! And is the $60 internal bluetooth thing going to work with Linux, or is it some super secrit thing like the built in CF card reader that doesn't even show up under lsusb, but I am pretty sure it uses the usb bus. I have read about 30 google hits, and the best info was in this list's archives. So I figure I will get some straight answers here. Carl Karsten From owner-freebsd-bluetooth@FreeBSD.ORG Sun May 15 01:34:03 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 BBD7316A4CE for ; Sun, 15 May 2005 01:34:03 +0000 (GMT) Received: from mta13.adelphia.net (mta13.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04DF643D9E for ; Sun, 15 May 2005 01:34:03 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [70.32.199.60]) by mta13.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with ESMTP id <20050515013402.ZLLR4191.mta13.adelphia.net@[192.168.1.254]>; Sat, 14 May 2005 21:34:02 -0400 Message-ID: <4286A720.9090709@savvis.net> Date: Sat, 14 May 2005 18:34:24 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Carl Karsten References: <42869B59.9030705@personnelware.com> In-Reply-To: <42869B59.9030705@personnelware.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-bluetooth@freebsd.org Subject: Re: bluetooth headset info quest 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: Sun, 15 May 2005 01:34:04 -0000 Carl, > I am on a quest for knowledge: I want to understand why all bluethooth > devices don't work with all bluetooth devices. I kinda get that there it really depends on what do you mean by "work" :) almost all bluetooth devices are capable of establishing baseband connections and data transfer right out of the box. > are “profiles” which seem to be another word for protocol. I have also > heard that the current version of Mac OSC (4A428 ?) doesn't support the > bluetooth headset profile, but the next version of the OS will. That > suggests that profile support is a software thing. you are correct. "bluetooth profile" indeed means protocol, but it also means more. bluetooth profile defines one or more typical usage scenarios and how the whole system (profile) works. > I have applications of this knowledge: > 1)a friend says: : I need to know if i can connect a bluetooth audio > handset to a fujitsu siemens 420 aka hp iPAQ 4150. I am guessing no, > because pdf Page 80 (printed 8-4) does not list "headset" > http://h200001.www2.hp.com/bc/docs/support/SupportManual/c00046424/c00046424.pdf you are probably correct. basically all correctly designed bluetooth hardware should be able to support all existing bluetooth profiles. the implementation of particular bluetooth profile is usually done in software. > 2)I have a toshiba 6100 laptop that did not come with bluetooth. For > $60 I can get the internal addon, or $25 I can get various usb or pccard > things. But not all the $25 options list the headset profile, so once > again, is the limitation hardware, firmware, software, marketing-ware, > vapor-ware, new-wave-ware, or what?! And is the $60 internal bluetooth again, all it means that the software bundled with the particular bluetooth hardware only implements certain profiles. it (usually) does not mean that bluetooth hardware does not support other profiles. a $60 internal bluetooth card for your laptop is not that much different (from a hardware point of view) from a $25 bluetooth usb dongle or pccard. this whole profile thing is how bluetooth is setup. basically if you want to call something bluetooth enabled then you have to give a list of profiles supported and have to pass qualification tests. then you can put bluetooth logo on the product and call it bluetooth enabled. i give you an example. technically we can not call bluetooth stack in freebsd "bluetooth", because qualification tests were never performed (or at least i do not have any knowledge about it), but it works just fine with many bluetooth enabled gadgets. > thing going to work with Linux, or is it some super secrit thing like > the built in CF card reader that doesn't even show up under lsusb, but I > am pretty sure it uses the usb bus. i know of several laptop brands (ibm, dell etc.) with internal bluetooth card that looks like usb device. and it works just fine with linux and freebsd. > I have read about 30 google hits, and the best info was in this list's > archives. So I figure I will get some straight answers here. hope it helps. feel free to ask more questions. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Sun May 15 03:30:12 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 4996816A4CE for ; Sun, 15 May 2005 03:30:12 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE5B43D6E for ; Sun, 15 May 2005 03:30:11 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [70.32.199.60]) by mta11.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with ESMTP id <20050515033010.IXAI13270.mta11.adelphia.net@[192.168.1.254]> for ; Sat, 14 May 2005 23:30:10 -0400 Message-ID: <4286C259.5070004@savvis.net> Date: Sat, 14 May 2005 20:30:33 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bluetooth References: <42869B59.9030705@personnelware.com> <4286A720.9090709@savvis.net> <4286B368.2050100@personnelware.com> <4286C1AF.1060608@savvis.net> In-Reply-To: <4286C1AF.1060608@savvis.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: bluetooth headset info quest 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: Sun, 15 May 2005 03:30:12 -0000 Carl, > Exactly the kind of answers I was looking for. This helps 10x as much > as the 2+ hours I spent gagoogling. > >> >> it really depends on what do you mean by "work" :) almost all >> bluetooth devices are capable of establishing baseband connections >> and data transfer right out of the box. > > >>> I have applications of this knowledge: >>> 1)a friend says: : I need to know if i can connect a bluetooth audio >>> handset to a fujitsu siemens 420 aka hp iPAQ 4150. I am guessing >>> no, because pdf Page 80 (printed 8-4) does not list "headset" >>> http://h200001.www2.hp.com/bc/docs/support/SupportManual/c00046424/c00046424.pdf >> >> >> >> you are probably correct. basically all correctly designed bluetooth >> hardware should be able to support all existing bluetooth profiles. >> the implementation of particular bluetooth profile is usually done in >> software. > > > So theoretically, someone could write a driver (?) that would let the > bluetooth hardware be used as a sound card? i not sure what do mean by "sound card", but yes, theoretically someone could write a software that would implement headset profile. keep in mind that bluetooth profiles normally depend on other profiles. please take a look at http://www.palowireless.com/infotooth/tutorial/k6_hp.asp this can give you an idea about headset profile. > Or maybe the driver from a 7xx could be used on the 410, given that > you can get: > > "Bluetooth headset mono, only for Pocket LOOX 7xx, only to use for > Voice over IP" - > http://vilpublic.fujitsu-siemens.com/vil/pc/vil/datenblaetter/mobile/en/pocket-loox-acc.pdf i really can not comment on that. it may be possible, or it may not. it depends on how different 410 and 7xx. i have never owned a pocketpc, and i do not think i ever will :) thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 17 18:53:33 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 5BE4C16A4CE for ; Tue, 17 May 2005 18:53:33 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B12A43D94 for ; Tue, 17 May 2005 18:53:32 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j4HIrQcE075170 for ; Tue, 17 May 2005 13:53:27 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <428A3D9F.3060809@centtech.com> Date: Tue, 17 May 2005 13:53:19 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050504 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/882/Tue May 17 01:48:03 2005 on mh1.centtech.com X-Virus-Status: Clean Subject: Multiple bluetooth mice? 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, 17 May 2005 18:53:33 -0000 I know I know, why would anyone need more than one bluetooth mouse working at a time? Well, probably wouldn't, but I was hoping to be able to use whichever one I had available at the time, or both for comparison at the same time. Is it supposed to work with multiple bluetooth mice? -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 17 18:57:18 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 36D2116A4CE for ; Tue, 17 May 2005 18:57:18 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A18B843DB9 for ; Tue, 17 May 2005 18:57:17 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j4HIursW075235; Tue, 17 May 2005 13:56:53 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <428A3E6D.5070802@centtech.com> Date: Tue, 17 May 2005 13:56:45 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050504 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428A3D9F.3060809@centtech.com> In-Reply-To: <428A3D9F.3060809@centtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/882/Tue May 17 01:48:03 2005 on mh1.centtech.com X-Virus-Status: Clean cc: freebsd-bluetooth@freebsd.org Subject: Re: Multiple bluetooth mice? 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, 17 May 2005 18:57:18 -0000 Eric Anderson wrote: > I know I know, why would anyone need more than one bluetooth mouse > working at a time? Well, probably wouldn't, but I was hoping to be able > to use whichever one I had available at the time, or both for comparison > at the same time. > > Is it supposed to work with multiple bluetooth mice? Nevermind! I had to 'reboot' my mouse (hit the on/off switch on the bottom) for it to reconnect back up with bthidd. Works perfectly!! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 17 19:23:47 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 3ABA516A4CE for ; Tue, 17 May 2005 19:23:47 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D522F43D76 for ; Tue, 17 May 2005 19:23:46 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id CF2043BE34; Tue, 17 May 2005 14:23:42 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07655-01-74; Tue, 17 May 2005 14:23:42 -0500 (CDT) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45]) by mailgate1b.savvis.net (Postfix) with ESMTP id 459C53BE25; Tue, 17 May 2005 14:23:42 -0500 (CDT) Received: from s228130hz1ew171.apptix-01.savvis.net ([10.146.4.29]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 17 May 2005 14:23:39 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew171.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 17 May 2005 14:23:24 -0500 Message-ID: <428A44AB.5090906@savvis.net> Date: Tue, 17 May 2005 12:23:23 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428A3D9F.3060809@centtech.com> <428A3E6D.5070802@centtech.com> In-Reply-To: <428A3E6D.5070802@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 May 2005 19:23:25.0027 (UTC) FILETIME=[E55A5330:01C55B15] X-Virus-Scanned: amavisd-new at savvis.net cc: freebsd-bluetooth@freebsd.org Subject: Re: Multiple bluetooth mice? 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, 17 May 2005 19:23:47 -0000 Eric, >> I know I know, why would anyone need more than one bluetooth mouse >> working at a time? Well, probably wouldn't, but I was hoping to >> be able to use whichever one I had available at the time, or both >> for comparison at the same time. >> >> Is it supposed to work with multiple bluetooth mice? in theory it should. at least there is nothing in the code preventing this from working. i have never tried it, though. > Nevermind! I had to 'reboot' my mouse (hit the on/off switch on the > bottom) for it to reconnect back up with bthidd. Works perfectly!! great! thanks for reporting! now i know it works :) thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 17 21:55:52 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 C1ECC16A4CE for ; Tue, 17 May 2005 21:55:52 +0000 (GMT) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4ECF43D8A for ; Tue, 17 May 2005 21:55:51 +0000 (GMT) (envelope-from flag@oltrelinux.com) Received: from southcross.homeunix.org (host153-238.pool8256.interbusiness.it [82.56.238.153]) by mail.oltrelinux.com (Postfix) with ESMTP id 8325E11B221; Tue, 17 May 2005 23:55:49 +0200 (CEST) Received: by southcross.homeunix.org (Postfix, from userid 1001) id 8ABBF4151; Tue, 17 May 2005 23:55:57 +0200 (CEST) Date: Tue, 17 May 2005 23:55:57 +0200 From: Paolo Pisati To: Maksim Yevmenkin Message-ID: <20050517215557.GA1353@tin.it> References: <20050513165824.GA791@tin.it> <4284E1D8.7080006@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4284E1D8.7080006@savvis.net> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com cc: FreeBSD_Bluetooth Subject: Re: Dell True Mobile 350 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, 17 May 2005 21:55:52 -0000 On Fri, May 13, 2005 at 10:20:24AM -0700, Maksim Yevmenkin wrote: > you need to load ng_ubt(4) driver. you can do it at loader prompt > > load ng_ubt > > or modify your /etc/loader.conf and add > > ng_ubt_load="YES" ok, loading ng_ubt in loader.conf did the trick... :) > >and i thought it's my bluetooth device so i added > > > >product DELL TRUEMOBILE350 0x8103 TrueMobile 350 (Bluetooth) > > > >recompiled & installed a new kernel and the next boot i got: > > > >ugen0: Dell TrueMobile 350 (Bluetooth), rev 2.00/16.57, addr 2 > > adding "product" line is only going to make usb to show device's human > readable name instead of id. of course, but at least you see that your OS at least know your hw. anyway, in my case the problem was ugen that claimed the bluetooth hw before ng_ubt. But now i've another problem: the connection between my mobile and my laptop is very fragile. as soon as i issue a couple of commands in obexapp, i got such a message in my logs: May 17 23:39:47 longino obexapp[1305]: obexapp_transport_write(): Could write(4) . Broken pipe (32) and if i try to browse the services offered by my mobile, OBEX is no more there... :O any idea? -- Paolo From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 17 22:04:04 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 299B916A4CE for ; Tue, 17 May 2005 22:04:04 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6C2843D2F for ; Tue, 17 May 2005 22:04:03 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 4128D3BEE6; Tue, 17 May 2005 17:03:59 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09742-01-35; Tue, 17 May 2005 17:03:59 -0500 (CDT) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45]) by mailgate1b.savvis.net (Postfix) with ESMTP id 161CF3BED2; Tue, 17 May 2005 17:03:59 -0500 (CDT) Received: from s228130hz1ew171.apptix-01.savvis.net ([10.146.4.29]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 17 May 2005 17:03:54 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew171.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 17 May 2005 17:03:45 -0500 Message-ID: <428A6A40.6020900@savvis.net> Date: Tue, 17 May 2005 15:03:44 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paolo Pisati References: <20050513165824.GA791@tin.it> <4284E1D8.7080006@savvis.net> <20050517215557.GA1353@tin.it> In-Reply-To: <20050517215557.GA1353@tin.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 May 2005 22:03:45.0348 (UTC) FILETIME=[4B82D040:01C55B2C] X-Virus-Scanned: amavisd-new at savvis.net cc: FreeBSD_Bluetooth Subject: Re: Dell True Mobile 350 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, 17 May 2005 22:04:04 -0000 Paolo Pisati wrote: [...] > But now i've another problem: the connection between my mobile and > my laptop is very fragile. > as soon as i issue a couple of commands in obexapp, i got > such a message in my logs: > > May 17 23:39:47 longino obexapp[1305]: obexapp_transport_write(): Could write(4) > . Broken pipe (32) please 1) install comms/hcidump port 2) run "hcidump -w obexapp.dump" as root 3) in another window run obexapp as you would normally do 4) after you got the error please interrupt hcidump (with ^C) and send me obexapp.dump file > and if i try to browse the services offered by my mobile, OBEX is no more > there... :O well, it could be that obex server has crashed on your phone. can you tell me what phone model is this? what is the version of comms/obexapp port? what is exact obexapp command? > any idea? lets look at the dump first. but from the look of it, i do not think you problem is bluetooth. it is very likely because of some sort of obex interoperability problem. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 12:36:25 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 9377616A4D1 for ; Wed, 18 May 2005 12:36:25 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97EEB43D5C for ; Wed, 18 May 2005 12:36:24 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j4ICaNES083615 for ; Wed, 18 May 2005 07:36:23 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <428B36BF.5070709@centtech.com> Date: Wed, 18 May 2005 07:36:15 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050504 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/886/Wed May 18 05:32:36 2005 on mh1.centtech.com X-Virus-Status: Clean Subject: bthidd core dumped 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, 18 May 2005 12:36:25 -0000 This morning, I booted up and began using my laptop with my bluetooth mouse. I've been using this mouse for several days now without a single problem. Yesterday I added a new bluetooth mouse (MS Intellimouse), and had both running simultaneously just fine all day yesterday and last night. This morning, after my machine was up for about 30-40 minutes, my mouse stopped working. I hit the buttons, switched the on/off switch, etc. I was only using one mouse at the time (however, my second mouse was probably within range and I believe it was on in my backpack). After messing with the switch a few times, bthidd core dumped. I restarted it, and hit the switch on my mouse a few more times, and then I got mouse services back. Here's my info: /var/log/messages snippet: May 18 06:00:00 neutrino newsyslog[867]: logfile turned over due to size>100K May 18 06:35:08 neutrino bthidd[482]: Remote device 00:0c:55:01:bf:39 has closed control connection May 18 06:35:09 neutrino bthidd[482]: Accepted control connection from 00:0c:55:01:bf:39 May 18 06:35:09 neutrino bthidd[482]: Accepted interrupt connection from 00:0c:55:01:bf:39 May 18 06:35:29 neutrino bthidd[482]: Remote device 00:0c:55:01:bf:39 has closed control connection May 18 06:35:39 neutrino bthidd[482]: Accepted control connection from 00:0c:55:01:bf:39 May 18 06:35:39 neutrino bthidd[482]: Accepted interrupt connection from 00:0c:55:01:bf:39 May 18 06:38:16 neutrino bthidd[482]: Remote device 00:0c:55:01:bf:39 has closed control connection May 18 06:38:16 neutrino bthidd[482]: Accepted control connection from 00:0c:55:01:bf:39 May 18 06:38:16 neutrino bthidd[482]: Accepted interrupt connection from 00:0c:55:01:bf:39 May 18 06:42:36 neutrino bthidd[482]: Accepted control connection from 00:50:f2:e9:a1:f1 May 18 06:42:37 neutrino bthidd[482]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 May 18 06:43:51 neutrino kernel: system power profile changed to 'performance' May 18 06:43:51 neutrino kernel: acpi_acad0: On Line May 18 06:43:51 neutrino power_profile: changed to 'performance' May 18 06:44:37 neutrino bthidd[482]: Remote device 00:0c:55:01:bf:39 has closed control connection May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited on signal 6 (core dumped) May 18 06:45:33 neutrino kernel: ng_l2cap_l2ca_receive: ubt0l2cap - unexpected L2CAP data packet. Channel does not exist, cid=55 May 18 06:46:05 neutrino last message repeated 655 times May 18 06:46:31 neutrino last message repeated 363 times May 18 06:47:45 neutrino kernel: kbd1 at vkbd1 May 18 06:47:47 neutrino kernel: ng_l2cap_l2ca_receive: ubt0l2cap - unexpected L2CAP data packet. Channel does not exist, cid=55 May 18 06:48:27 neutrino last message repeated 405 times May 18 06:49:35 neutrino last message repeated 635 times May 18 06:50:05 neutrino bthidd[1043]: Accepted control connection from 00:0c:55:01:bf:39 May 18 06:50:05 neutrino bthidd[1043]: Accepted interrupt connection from 00:0c:55:01:bf:39 May 18 06:50:26 neutrino bthidd[1043]: Remote device 00:0c:55:01:bf:39 has closed control connection May 18 06:50:27 neutrino bthidd[1043]: Accepted control connection from 00:0c:55:01:bf:39 May 18 06:50:27 neutrino bthidd[1043]: Accepted interrupt connection from 00:0c:55:01:bf:39 What else do you need? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 16:14:32 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 6B4C316A4CE for ; Wed, 18 May 2005 16:14:32 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8337543DBC for ; Wed, 18 May 2005 16:14:31 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id E23AB3BF9C; Wed, 18 May 2005 11:14:25 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04627-01-38; Wed, 18 May 2005 11:14:25 -0500 (CDT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id B7FB63BE57; Wed, 18 May 2005 11:14:25 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 11:14:23 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 11:14:07 -0500 Message-ID: <428B69CE.1070909@savvis.net> Date: Wed, 18 May 2005 09:14:06 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428B36BF.5070709@centtech.com> In-Reply-To: <428B36BF.5070709@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 May 2005 16:14:07.0556 (UTC) FILETIME=[9E2F8840:01C55BC4] X-Virus-Scanned: amavisd-new at savvis.net cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 16:14:32 -0000 Eric, > This morning, I booted up and began using my laptop with my bluetooth > mouse. I've been using this mouse for several days now without a single > problem. Yesterday I added a new bluetooth mouse (MS Intellimouse), and > had both running simultaneously just fine all day yesterday and last > night. This morning, after my machine was up for about 30-40 minutes, my > mouse stopped working. I hit the buttons, switched the on/off switch, > etc. I was only using one mouse at the time (however, my second mouse > was probably within range and I believe it was on in my backpack). After > messing with the switch a few times, bthidd core dumped. I restarted > it, and hit the switch on my mouse a few more times, and then I got > mouse services back. [...] > May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited on > signal 6 (core dumped) signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. do you still have bthidd(8) core file? it should be in /. can you try to get a stack trace or at least assert()'s message? can you try to reproduce the problem with bthidd(8) running in foreground? thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 18:18:29 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 3F51516A4CE for ; Wed, 18 May 2005 18:18:29 +0000 (GMT) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B56043D83 for ; Wed, 18 May 2005 18:18:28 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j4IIIKsk060078; Wed, 18 May 2005 13:18:20 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <428B86E4.5040306@centtech.com> Date: Wed, 18 May 2005 13:18:12 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050504 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> In-Reply-To: <428B69CE.1070909@savvis.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 18:18:29 -0000 Maksim Yevmenkin wrote: > Eric, > >> This morning, I booted up and began using my laptop with my bluetooth >> mouse. I've been using this mouse for several days now without a >> single problem. Yesterday I added a new bluetooth mouse (MS >> Intellimouse), and had both running simultaneously just fine all day >> yesterday and last night. This morning, after my machine was up for >> about 30-40 minutes, my mouse stopped working. I hit the buttons, >> switched the on/off switch, etc. I was only using one mouse at the >> time (however, my second mouse was probably within range and I believe >> it was on in my backpack). After messing with the switch a few times, >> bthidd core dumped. I restarted it, and hit the switch on my mouse a >> few more times, and then I got mouse services back. > > > [...] > >> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited on >> signal 6 (core dumped) > > > signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. do > you still have bthidd(8) core file? it should be in /. can you try to > get a stack trace or at least assert()'s message? can you try to > reproduce the problem with bthidd(8) running in foreground? Yes, I still have the core file, but I'm not sure what to do with it :) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 18:25:56 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 CABC616A4CE for ; Wed, 18 May 2005 18:25:56 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A27643D8C for ; Wed, 18 May 2005 18:25:56 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 026EB3BFB3; Wed, 18 May 2005 13:25:53 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08180-01-99; Wed, 18 May 2005 13:25:52 -0500 (CDT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id C1EE23BE8E; Wed, 18 May 2005 13:25:52 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 13:25:47 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 13:25:34 -0500 Message-ID: <428B889E.8090804@savvis.net> Date: Wed, 18 May 2005 11:25:34 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> In-Reply-To: <428B86E4.5040306@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 May 2005 18:25:34.0964 (UTC) FILETIME=[FB727B40:01C55BD6] X-Virus-Scanned: amavisd-new at savvis.net cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 18:25:56 -0000 Eric, >>> This morning, I booted up and began using my laptop with my >>> bluetooth mouse. I've been using this mouse for several days now >>> without a single problem. Yesterday I added a new bluetooth >>> mouse (MS Intellimouse), and had both running simultaneously just >>> fine all day yesterday and last night. This morning, after my >>> machine was up for about 30-40 minutes, my mouse stopped working. >>> I hit the buttons, switched the on/off switch, etc. I was only >>> using one mouse at the time (however, my second mouse was >>> probably within range and I believe it was on in my backpack). >>> After messing with the switch a few times, bthidd core dumped. I >>> restarted it, and hit the switch on my mouse a few more times, >>> and then I got mouse services back. >> >> [...] >> >>> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited >>> on signal 6 (core dumped) >> >> signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. >> do you still have bthidd(8) core file? it should be in /. can you >> try to get a stack trace or at least assert()'s message? can you >> try to reproduce the problem with bthidd(8) running in foreground? > > Yes, I still have the core file, but I'm not sure what to do with it > :) gdb /path/to/executable/bthidd /path/to/code/bthidd.core and send me the output of gdb. then at (gdb) prompt type (gdb) where and send me the output max From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 18:30:52 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 17C9216A4CE for ; Wed, 18 May 2005 18:30:52 +0000 (GMT) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A95943D9A for ; Wed, 18 May 2005 18:30:51 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j4IIUnvp060179; Wed, 18 May 2005 13:30:49 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <428B89D1.1050306@centtech.com> Date: Wed, 18 May 2005 13:30:41 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050504 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> <428B889E.8090804@savvis.net> In-Reply-To: <428B889E.8090804@savvis.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 18:30:52 -0000 Maksim Yevmenkin wrote: > Eric, > >>>> This morning, I booted up and began using my laptop with my >>>> bluetooth mouse. I've been using this mouse for several days now >>>> without a single problem. Yesterday I added a new bluetooth >>>> mouse (MS Intellimouse), and had both running simultaneously just >>>> fine all day yesterday and last night. This morning, after my >>>> machine was up for about 30-40 minutes, my mouse stopped working. >>>> I hit the buttons, switched the on/off switch, etc. I was only >>>> using one mouse at the time (however, my second mouse was >>>> probably within range and I believe it was on in my backpack). >>>> After messing with the switch a few times, bthidd core dumped. I >>>> restarted it, and hit the switch on my mouse a few more times, >>>> and then I got mouse services back. >>> >>> >>> [...] >>> >>>> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited >>>> on signal 6 (core dumped) >>> >>> >>> signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. >>> do you still have bthidd(8) core file? it should be in /. can you >>> try to get a stack trace or at least assert()'s message? can you >>> try to reproduce the problem with bthidd(8) running in foreground? >> >> >> Yes, I still have the core file, but I'm not sure what to do with it >> :) > > > gdb /path/to/executable/bthidd /path/to/code/bthidd.core > > and send me the output of gdb. then at (gdb) prompt type > > (gdb) where > > and send me the output # gdb /usr/sbin/bthidd /bthidd.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `bthidd'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/libbluetooth.so.1...done. Loaded symbols for /usr/lib/libbluetooth.so.1 Reading symbols from /usr/lib/libusbhid.so.1...done. Loaded symbols for /usr/lib/libusbhid.so.1 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x280d538f in kill () from /lib/libc.so.6 (gdb) where #0 0x280d538f in kill () from /lib/libc.so.6 #1 0x280c9236 in raise () from /lib/libc.so.6 #2 0x2814fb8b in abort () from /lib/libc.so.6 #3 0x2812abc6 in __assert () from /lib/libc.so.6 #4 0x0804d7a7 in server_do (srv=0xbfbfed58) at server.c:335 #5 0x0804978a in main (argc=134544578, argv=0xbfbfed28) at bthidd.c:170 Is that what you needed? -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 18:38:45 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 C7B6716A4CE for ; Wed, 18 May 2005 18:38:45 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E20343DA8 for ; Wed, 18 May 2005 18:38:45 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 3D0D93BFB5; Wed, 18 May 2005 13:38:41 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08726-01-72; Wed, 18 May 2005 13:38:41 -0500 (CDT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id 0F4613BFB2; Wed, 18 May 2005 13:38:41 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 13:38:38 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 13:38:33 -0500 Message-ID: <428B8BA8.2020002@savvis.net> Date: Wed, 18 May 2005 11:38:32 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> <428B889E.8090804@savvis.net> <428B89D1.1050306@centtech.com> In-Reply-To: <428B89D1.1050306@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 May 2005 18:38:33.0621 (UTC) FILETIME=[CB901C50:01C55BD8] X-Virus-Scanned: amavisd-new at savvis.net cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 18:38:45 -0000 Eric Anderson wrote: > Maksim Yevmenkin wrote: > >> Eric, >> >>>>> This morning, I booted up and began using my laptop with my >>>>> bluetooth mouse. I've been using this mouse for several days now >>>>> without a single problem. Yesterday I added a new bluetooth >>>>> mouse (MS Intellimouse), and had both running simultaneously just >>>>> fine all day yesterday and last night. This morning, after my >>>>> machine was up for about 30-40 minutes, my mouse stopped working. >>>>> I hit the buttons, switched the on/off switch, etc. I was only >>>>> using one mouse at the time (however, my second mouse was >>>>> probably within range and I believe it was on in my backpack). >>>>> After messing with the switch a few times, bthidd core dumped. I >>>>> restarted it, and hit the switch on my mouse a few more times, >>>>> and then I got mouse services back. >>>> >>>> >>>> >>>> [...] >>>> >>>>> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited >>>>> on signal 6 (core dumped) >>>> >>>> >>>> >>>> signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. >>>> do you still have bthidd(8) core file? it should be in /. can you >>>> try to get a stack trace or at least assert()'s message? can you >>>> try to reproduce the problem with bthidd(8) running in foreground? >>> >>> >>> >>> Yes, I still have the core file, but I'm not sure what to do with it >>> :) >> >> >> >> gdb /path/to/executable/bthidd /path/to/code/bthidd.core >> >> and send me the output of gdb. then at (gdb) prompt type >> >> (gdb) where >> >> and send me the output > > # gdb /usr/sbin/bthidd /bthidd.core [...] > Is that what you needed? yes, thanks. just like i suspected one of the assert()s fired. i'm going to look at this. just one question: can you put the core file somewhere i can download it? if you can it would help me to troubleshoot the problem faster. if you cant - no big deal. max From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 20:57:19 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 0AF6F16A4F1 for ; Wed, 18 May 2005 20:57:19 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 326D543DA1 for ; Wed, 18 May 2005 20:57:18 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id A47703BFAE; Wed, 18 May 2005 15:57:16 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11616-01-17; Wed, 18 May 2005 15:57:16 -0500 (CDT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id 662983BFBA; Wed, 18 May 2005 15:57:16 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 15:57:17 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 15:57:09 -0500 Message-ID: <428BAC1A.9050500@savvis.net> Date: Wed, 18 May 2005 13:56:58 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> <428B889E.8090804@savvis.net> <428B89D1.1050306@centtech.com> <428B8BA8.2020002@savvis.net> In-Reply-To: <428B8BA8.2020002@savvis.net> Content-Type: multipart/mixed; boundary="------------040606000404020108090002" X-OriginalArrivalTime: 18 May 2005 20:57:09.0178 (UTC) FILETIME=[280569A0:01C55BEC] X-Virus-Scanned: amavisd-new at savvis.net cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 20:57:19 -0000 This is a multi-part message in MIME format. --------------040606000404020108090002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Eric, >>>>>> This morning, I booted up and began using my laptop with my >>>>>> bluetooth mouse. I've been using this mouse for several days now >>>>>> without a single problem. Yesterday I added a new bluetooth >>>>>> mouse (MS Intellimouse), and had both running simultaneously just >>>>>> fine all day yesterday and last night. This morning, after my >>>>>> machine was up for about 30-40 minutes, my mouse stopped working. >>>>>> I hit the buttons, switched the on/off switch, etc. I was only >>>>>> using one mouse at the time (however, my second mouse was >>>>>> probably within range and I believe it was on in my backpack). >>>>>> After messing with the switch a few times, bthidd core dumped. I >>>>>> restarted it, and hit the switch on my mouse a few more times, >>>>>> and then I got mouse services back. >>>>> >>>>> [...] >>>>> >>>>>> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited >>>>>> on signal 6 (core dumped) >>>>> >>>>> signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. >>>>> do you still have bthidd(8) core file? it should be in /. can you >>>>> try to get a stack trace or at least assert()'s message? can you >>>>> try to reproduce the problem with bthidd(8) running in foreground? >>>> >>>> Yes, I still have the core file, but I'm not sure what to do with it >>>> :) >>> >>> gdb /path/to/executable/bthidd /path/to/code/bthidd.core >>> >>> and send me the output of gdb. then at (gdb) prompt type >>> >>> (gdb) where >>> >>> and send me the output >> >> # gdb /usr/sbin/bthidd /bthidd.core > > [...] > >> Is that what you needed? > > yes, thanks. just like i suspected one of the assert()s fired. i'm going > to look at this. just one question: can you put the core file somewhere > i can download it? if you can it would help me to troubleshoot the > problem faster. if you cant - no big deal. ok, i found the problem. i have attached the patch that should fix it. please do 1) save attached patch somewhere 2) cd /usr/src/usr.sbin/bluetooth/bthidd 3) patch < /path/to/saved/bthidd.patch.txt 4) make cleandir && make depend && make && make install this patch is against bthidd(8) sources committed to -current. thanks, max > > max > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to > "freebsd-bluetooth-unsubscribe@freebsd.org" --------------040606000404020108090002 Content-Type: text/plain; name="bthidd.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bthidd.patch.txt" Index: parser.y =================================================================== RCS file: /home/ncvs/src/usr.sbin/bluetooth/bthidd/parser.y,v retrieving revision 1.3 diff -u -r1.3 parser.y --- parser.y 12 Jan 2005 20:06:16 -0000 1.3 +++ parser.y 18 May 2005 20:51:36 -0000 @@ -315,12 +315,12 @@ for (i = 0; i < desc->size; i ++) { if ((i % 8) == 0) - fprintf(stdout, "\n "); + fprintf(f, "\n "); fprintf(f, "0x%2.2x ", desc->data[i]); } - fprintf(stdout, + fprintf(f, "\n" \ " };\n" \ "}\n"); Index: server.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/bluetooth/bthidd/server.c,v retrieving revision 1.2 diff -u -r1.2 server.c --- server.c 18 Nov 2004 18:05:15 -0000 1.2 +++ server.c 18 May 2005 20:51:36 -0000 @@ -332,7 +332,8 @@ char data[1024]; int len; - assert(s != NULL); + if (s == NULL) + return (0); /* can happen on device disconnect */ do { len = read(fd, data, sizeof(data)); --------------040606000404020108090002-- From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 21:04:46 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 9DBC716A4CE for ; Wed, 18 May 2005 21:04:46 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B20243DAF for ; Wed, 18 May 2005 21:04:45 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j4IL4fsv090048; Wed, 18 May 2005 16:04:41 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <428BADE1.1020704@centtech.com> Date: Wed, 18 May 2005 16:04:33 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050504 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> <428B889E.8090804@savvis.net> <428B89D1.1050306@centtech.com> <428B8BA8.2020002@savvis.net> <428BAC1A.9050500@savvis.net> In-Reply-To: <428BAC1A.9050500@savvis.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/886/Wed May 18 05:32:36 2005 on mh1.centtech.com X-Virus-Status: Clean cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 21:04:46 -0000 Maksim Yevmenkin wrote: > Eric, > >>>>>>> This morning, I booted up and began using my laptop with my >>>>>>> bluetooth mouse. I've been using this mouse for several days now >>>>>>> without a single problem. Yesterday I added a new bluetooth >>>>>>> mouse (MS Intellimouse), and had both running simultaneously just >>>>>>> fine all day yesterday and last night. This morning, after my >>>>>>> machine was up for about 30-40 minutes, my mouse stopped working. >>>>>>> I hit the buttons, switched the on/off switch, etc. I was only >>>>>>> using one mouse at the time (however, my second mouse was >>>>>>> probably within range and I believe it was on in my backpack). >>>>>>> After messing with the switch a few times, bthidd core dumped. I >>>>>>> restarted it, and hit the switch on my mouse a few more times, >>>>>>> and then I got mouse services back. >>>>>> >>>>>> >>>>>> [...] >>>>>> >>>>>>> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited >>>>>>> on signal 6 (core dumped) >>>>>> >>>>>> >>>>>> signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. >>>>>> do you still have bthidd(8) core file? it should be in /. can you >>>>>> try to get a stack trace or at least assert()'s message? can you >>>>>> try to reproduce the problem with bthidd(8) running in foreground? >>>>> >>>>> >>>>> Yes, I still have the core file, but I'm not sure what to do with it >>>>> :) >>>> >>>> >>>> gdb /path/to/executable/bthidd /path/to/code/bthidd.core >>>> >>>> and send me the output of gdb. then at (gdb) prompt type >>>> >>>> (gdb) where >>>> >>>> and send me the output >>> >>> >>> # gdb /usr/sbin/bthidd /bthidd.core >> >> >> [...] >> >>> Is that what you needed? >> >> >> yes, thanks. just like i suspected one of the assert()s fired. i'm >> going to look at this. just one question: can you put the core file >> somewhere i can download it? if you can it would help me to >> troubleshoot the problem faster. if you cant - no big deal. > > > ok, i found the problem. i have attached the patch that should fix it. > please do > > 1) save attached patch somewhere > > 2) cd /usr/src/usr.sbin/bluetooth/bthidd > > 3) patch < /path/to/saved/bthidd.patch.txt > > 4) make cleandir && make depend && make && make install > > this patch is against bthidd(8) sources committed to -current. Ok - running it now. I'll let you know if I have any issues with it - none so far. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Wed May 18 21:11:06 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 ED94A16A4CE for ; Wed, 18 May 2005 21:11:05 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7208B43D8D for ; Wed, 18 May 2005 21:11:05 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 0CAA23BFB9; Wed, 18 May 2005 16:11:02 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10629-01-52; Wed, 18 May 2005 16:11:01 -0500 (CDT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id CBA043BE85; Wed, 18 May 2005 16:11:01 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 16:11:04 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 18 May 2005 16:10:47 -0500 Message-ID: <428BAF4F.3080809@savvis.net> Date: Wed, 18 May 2005 14:10:39 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> <428B889E.8090804@savvis.net> <428B89D1.1050306@centtech.com> <428B8BA8.2020002@savvis.net> <428BAC1A.9050500@savvis.net> <428BADE1.1020704@centtech.com> In-Reply-To: <428BADE1.1020704@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 May 2005 21:10:47.0465 (UTC) FILETIME=[0FC21990:01C55BEE] X-Virus-Scanned: amavisd-new at savvis.net cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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, 18 May 2005 21:11:06 -0000 Eric, >>>>>>>> This morning, I booted up and began using my laptop with my >>>>>>>> bluetooth mouse. I've been using this mouse for several days now >>>>>>>> without a single problem. Yesterday I added a new bluetooth >>>>>>>> mouse (MS Intellimouse), and had both running simultaneously just >>>>>>>> fine all day yesterday and last night. This morning, after my >>>>>>>> machine was up for about 30-40 minutes, my mouse stopped working. >>>>>>>> I hit the buttons, switched the on/off switch, etc. I was only >>>>>>>> using one mouse at the time (however, my second mouse was >>>>>>>> probably within range and I believe it was on in my backpack). >>>>>>>> After messing with the switch a few times, bthidd core dumped. I >>>>>>>> restarted it, and hit the switch on my mouse a few more times, >>>>>>>> and then I got mouse services back. >>>>>>> >>>>>>> [...] >>>>>>> >>>>>>>> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited >>>>>>>> on signal 6 (core dumped) >>>>>>> >>>>>>> signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. >>>>>>> do you still have bthidd(8) core file? it should be in /. can you >>>>>>> try to get a stack trace or at least assert()'s message? can you >>>>>>> try to reproduce the problem with bthidd(8) running in foreground? >>>>>> >>>>>> Yes, I still have the core file, but I'm not sure what to do with it >>>>>> :) >>>>> >>>>> gdb /path/to/executable/bthidd /path/to/code/bthidd.core >>>>> >>>>> and send me the output of gdb. then at (gdb) prompt type >>>>> >>>>> (gdb) where >>>>> >>>>> and send me the output >>>> >>>> # gdb /usr/sbin/bthidd /bthidd.core >>> >>> [...] >>> >>>> Is that what you needed? >>> >>> yes, thanks. just like i suspected one of the assert()s fired. i'm >>> going to look at this. just one question: can you put the core file >>> somewhere i can download it? if you can it would help me to >>> troubleshoot the problem faster. if you cant - no big deal. >> >> ok, i found the problem. i have attached the patch that should fix it. >> please do >> >> 1) save attached patch somewhere >> >> 2) cd /usr/src/usr.sbin/bluetooth/bthidd >> >> 3) patch < /path/to/saved/bthidd.patch.txt >> >> 4) make cleandir && make depend && make && make install >> >> this patch is against bthidd(8) sources committed to -current. > > Ok - running it now. I'll let you know if I have any issues with it - > none so far. actually, it should be pretty easy to test. just force your bluetooth mouse to disconnect. either by powering it off or taking it out of RF range (should be about 10 meters). you should see bthidd(8) saying that device was disconnected. then power on the mouse (or move it into RF range) and move it (or press button). you should see bthidd(8) saying that device is connected. try above several times. thanks for reporting this! max > > Eric > > > From owner-freebsd-bluetooth@FreeBSD.ORG Thu May 19 18:41:25 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 3258416A4CE for ; Thu, 19 May 2005 18:41:25 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DC6F43D64 for ; Thu, 19 May 2005 18:41:24 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j4JIfN4O001171; Thu, 19 May 2005 13:41:23 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <428CDDC9.80109@centtech.com> Date: Thu, 19 May 2005 13:41:13 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050504 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> <428B889E.8090804@savvis.net> <428B89D1.1050306@centtech.com> <428B8BA8.2020002@savvis.net> <428BAC1A.9050500@savvis.net> <428BADE1.1020704@centtech.com> <428BAF4F.3080809@savvis.net> In-Reply-To: <428BAF4F.3080809@savvis.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/886/Wed May 18 05:32:36 2005 on mh1.centtech.com X-Virus-Status: Clean cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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: Thu, 19 May 2005 18:41:25 -0000 Maksim Yevmenkin wrote: > Eric, > >>>>>>>>> This morning, I booted up and began using my laptop with my >>>>>>>>> bluetooth mouse. I've been using this mouse for several days now >>>>>>>>> without a single problem. Yesterday I added a new bluetooth >>>>>>>>> mouse (MS Intellimouse), and had both running simultaneously just >>>>>>>>> fine all day yesterday and last night. This morning, after my >>>>>>>>> machine was up for about 30-40 minutes, my mouse stopped working. >>>>>>>>> I hit the buttons, switched the on/off switch, etc. I was only >>>>>>>>> using one mouse at the time (however, my second mouse was >>>>>>>>> probably within range and I believe it was on in my backpack). >>>>>>>>> After messing with the switch a few times, bthidd core dumped. I >>>>>>>>> restarted it, and hit the switch on my mouse a few more times, >>>>>>>>> and then I got mouse services back. >>>>>>>> >>>>>>>> >>>>>>>> [...] >>>>>>>> >>>>>>>>> May 18 06:44:38 neutrino kernel: pid 482 (bthidd), uid 0: exited >>>>>>>>> on signal 6 (core dumped) >>>>>>>> >>>>>>>> >>>>>>>> signal 6 is SIGABRT (abort(3)). i bet one of the assert()'s fired. >>>>>>>> do you still have bthidd(8) core file? it should be in /. can you >>>>>>>> try to get a stack trace or at least assert()'s message? can you >>>>>>>> try to reproduce the problem with bthidd(8) running in foreground? >>>>>>> >>>>>>> >>>>>>> Yes, I still have the core file, but I'm not sure what to do with it >>>>>>> :) >>>>>> >>>>>> >>>>>> gdb /path/to/executable/bthidd /path/to/code/bthidd.core >>>>>> >>>>>> and send me the output of gdb. then at (gdb) prompt type >>>>>> >>>>>> (gdb) where >>>>>> >>>>>> and send me the output >>>>> >>>>> >>>>> # gdb /usr/sbin/bthidd /bthidd.core >>>> >>>> >>>> [...] >>>> >>>>> Is that what you needed? >>>> >>>> >>>> yes, thanks. just like i suspected one of the assert()s fired. i'm >>>> going to look at this. just one question: can you put the core file >>>> somewhere i can download it? if you can it would help me to >>>> troubleshoot the problem faster. if you cant - no big deal. >>> >>> >>> ok, i found the problem. i have attached the patch that should fix >>> it. please do >>> >>> 1) save attached patch somewhere >>> >>> 2) cd /usr/src/usr.sbin/bluetooth/bthidd >>> >>> 3) patch < /path/to/saved/bthidd.patch.txt >>> >>> 4) make cleandir && make depend && make && make install >>> >>> this patch is against bthidd(8) sources committed to -current. >> >> >> Ok - running it now. I'll let you know if I have any issues with it - >> none so far. > > > actually, it should be pretty easy to test. just force your bluetooth > mouse to disconnect. either by powering it off or taking it out of RF > range (should be about 10 meters). you should see bthidd(8) saying that > device was disconnected. then power on the mouse (or move it into RF > range) and move it (or press button). you should see bthidd(8) saying > that device is connected. try above several times. > > thanks for reporting this! I've done everything I can to break it, and it's still running like a champ. One question - is this option to bthidd: -t tval specify client rescan interval (sec) for having bthidd poll the mice/keyboards etc more often? I find that my mice go into a power saving mode, and it takes a few seconds to come back alive. I'd like to have it poll for my mouse more often to lower this delay - 3 seconds feels like an eternity.. :) Also - what is the default? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Thu May 19 18:53:59 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 A211916A4CF for ; Thu, 19 May 2005 18:53:58 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D41A343DBD for ; Thu, 19 May 2005 18:53:57 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 45EEC3C002; Thu, 19 May 2005 13:53:52 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25943-01-85; Thu, 19 May 2005 13:53:52 -0500 (CDT) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45]) by mailgate1b.savvis.net (Postfix) with ESMTP id 1BB983BFFE; Thu, 19 May 2005 13:53:52 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 19 May 2005 13:53:38 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 19 May 2005 13:53:32 -0500 Message-ID: <428CE0AB.4070802@savvis.net> Date: Thu, 19 May 2005 11:53:31 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <428B36BF.5070709@centtech.com> <428B69CE.1070909@savvis.net> <428B86E4.5040306@centtech.com> <428B889E.8090804@savvis.net> <428B89D1.1050306@centtech.com> <428B8BA8.2020002@savvis.net> <428BAC1A.9050500@savvis.net> <428BADE1.1020704@centtech.com> <428BAF4F.3080809@savvis.net> <428CDDC9.80109@centtech.com> In-Reply-To: <428CDDC9.80109@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 May 2005 18:53:32.0816 (UTC) FILETIME=[0DF02100:01C55CA4] X-Virus-Scanned: amavisd-new at savvis.net cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd core dumped 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: Thu, 19 May 2005 18:53:59 -0000 Eric, [...] > I've done everything I can to break it, and it's still running like a > champ. great, thank you for the reporting the problem and helping with testing. i've committed fix to -current and will mfc it shortly. > One question - is this option to bthidd: > -t tval specify client rescan interval (sec) > > for having bthidd poll the mice/keyboards etc more often? I find that > my mice go into a power saving mode, and it takes a few seconds to come > back alive. I'd like to have it poll for my mouse more often to lower > this delay - 3 seconds feels like an eternity.. :) Also - what is the > default? well, this option specifies how often bthidd(8) should attempt to connect to the inactive bluetooth hid devices. that is bthidd(8) goes and pro-actively connects to the hid device. but there is one tiny detail - bluetooth hid devices have a "reconnect_initiate" flag. if its set then bthidd(8) should not attempt to connect to the hid device, but rather wait until device connects to it. and, yes, it could take few seconds for mouse to reconnect. it has to wake up, establish baseband connection and two l2cap channels. so, i do not think you can do anything about it. thanks, max