From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 26 12:17:54 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D733716A402 for ; Mon, 26 Mar 2007 12:17:54 +0000 (UTC) (envelope-from ml-vic@de-martino.it) Received: from smtp3.aruba.it (smtpd3.aruba.it [62.149.128.208]) by mx1.freebsd.org (Postfix) with SMTP id 0836613C4C6 for ; Mon, 26 Mar 2007 12:17:53 +0000 (UTC) (envelope-from ml-vic@de-martino.it) Received: (qmail 18660 invoked by uid 89); 26 Mar 2007 12:17:47 -0000 Received: by simscan 1.1.0 ppid: 18484, pid: 18606, t: 0.9551s scanners: clamav: 0.88.4/m:40/d:1722 Received: from unknown (HELO ?83.225.239.157?) (ml-vic@de-martino.it@83.225.239.157) by smtp3.aruba.it with SMTP; 26 Mar 2007 12:17:46 -0000 From: ml-vic To: freebsd-bluetooth@freebsd.org Date: Mon, 26 Mar 2007 14:17:28 +0000 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200703261417.29005.ml-vic@de-martino.it> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Rating: smtp3.aruba.it 1.6.2 0/1000/N Subject: Modem to send/receive faxes 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: Mon, 26 Mar 2007 12:17:54 -0000 I'm trying to send faxes by means of a bluetooth connection between my PC and my cell phone. Because hylafax needs a modem that is a serial port to send/receive faxes I tried and succeded with rfcomm_sppd -a my_BT_ADDR -t /dev/ttyp3 and, as requested by hylafax, I was able to connect to it cu -l ttyp3 But I was unable to send any AT command thru it. Could someone out there clarify this point to this almost absolute beginner suggesting, step by step what I shall do? Ciao Vittorio From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 27 13:34:58 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8C1016A407 for ; Tue, 27 Mar 2007 13:34:58 +0000 (UTC) (envelope-from deniss.lee@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id AC61F13C4C1 for ; Tue, 27 Mar 2007 13:34:58 +0000 (UTC) (envelope-from deniss.lee@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2276608wxc for ; Tue, 27 Mar 2007 06:34:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OIxLCcL1s39TY7eYQkfb1PE5t4lFbXaqxB8D6sZDB7GfR9K9+90AAxIdplRlHZnHJuk3R81C1GzFVDsa2urUSGBpMPrsHhkTiLxvOV2UIgNAhA+Vp8qpxtORrgkm2keW7Cc8C+pOjdxsr4kFvvnrK27FA5NbZa/7Fr1Wr70q/q8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=r2MXVXIFDaM8iztvLCIQlw0tMNiDfQay0xDLgM7GUjKr+/lvhY2GuKraPubLUbbTCFT8GiY2a0bkFvvzWIuD/G8MefEiORS3/Y/5BTIAbBIiJXQW1jPFkhRAObVYyJFHs2r5uG7zhtJ3QlNOgZlzZv2WRCe6tHeXd637sOdGuE0= Received: by 10.90.113.18 with SMTP id l18mr7960530agc.1175002498118; Tue, 27 Mar 2007 06:34:58 -0700 (PDT) Received: by 10.90.35.19 with HTTP; Tue, 27 Mar 2007 06:34:58 -0700 (PDT) Message-ID: <938b57eb0703270634x664fde21l422703ba48ebbd3c@mail.gmail.com> Date: Tue, 27 Mar 2007 16:34:58 +0300 From: "Deniss Lee" To: freebsd-bluetooth@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: bluetooth dongle not working 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: Tue, 27 Mar 2007 13:34:59 -0000 > > you did not provide enough details to give you any useful answer. just > > by looking at the error message i can say that your bluetooth dongle > > did not respond to the "reset" command. > > This sounds similar to a problem that occurred on the NetBSD (USB) stack, > when the USB was ehci->uhci->ubt - maybe Deniss can post the relevant > parts of his dmesg? I'm sorry for being incompetent, but which parts are essential? I pasted all what happens when dongle is inserted. I'm using latest STABLE. What was solution to that NetBSD problem you just described? > > you may have an usb problem here. you could try another bluetooth > > dongle (from another manufacturer) and if problem persist then it is > > likely an usb problem, otherwise - dongle. Problem remains in different FreeBSD powered PCs, but it keeps working on Windows, so It is not a usb problem I guess. > Also, if you have the above setup, please try to go to the BIOS and turn > off USB2.0, it may work differently in that case.. Will try as soon as I can. From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 27 18:33:36 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58B2416A400 for ; Tue, 27 Mar 2007 18:33:36 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2E33B13C44C for ; Tue, 27 Mar 2007 18:33:36 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id l2RIXQ4J061345 for ; Tue, 27 Mar 2007 13:33:26 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <46096375.1050301@centtech.com> Date: Tue, 27 Mar 2007 13:33:25 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2942/Tue Mar 27 12:21:31 2007 on mh2.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh2.centtech.com Subject: bthidd filling my logs 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: Tue, 27 Mar 2007 18:33:36 -0000 Ok, I'm getting tired of my logs rolling because of these messages: Mar 27 13:31:05 neutrino bthidd[956]: Could not connect to 00:0c:55:12:ba:ae. Host is down (64) Mar 27 13:31:30 neutrino bthidd[956]: Opening outbound session for 00:0c:55:12:ba:ae (new_device=1, reconnect_initiate=1) Can we mute those, or show them only the first time, or something? They pop up every 30 seconds. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 27 19:13:33 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 807FA16A402 for ; Tue, 27 Mar 2007 19:13:33 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smarthost01.eng.net (smarthost01.eng.net [213.130.146.173]) by mx1.freebsd.org (Postfix) with ESMTP id 3E28A13C459 for ; Tue, 27 Mar 2007 19:13:33 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from netmail01.eng.net ([213.130.128.38] helo=rya-online.net) by smarthost01.eng.net with smtp (Exim 4.62) (envelope-from ) id 1HWH6j-0003Uc-Ne; Tue, 27 Mar 2007 20:13:30 +0100 Received: (nullmailer pid 15211 invoked by uid 1000); Tue, 27 Mar 2007 18:37:50 -0000 Date: Tue, 27 Mar 2007 19:37:50 +0100 (BST) To: Deniss Lee In-Reply-To: <938b57eb0703270634x664fde21l422703ba48ebbd3c@mail.gmail.com> References: <938b57eb0703270634x664fde21l422703ba48ebbd3c@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1175020670.210606.27229.nullmailer@galant.ukfsn.org> From: Iain Hibbert Cc: freebsd-bluetooth@freebsd.org Subject: Re: bluetooth dongle not working 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: Tue, 27 Mar 2007 19:13:33 -0000 On Tue, 27 Mar 2007, Deniss Lee wrote: > > > you did not provide enough details to give you any useful answer. just > > > by looking at the error message i can say that your bluetooth dongle > > > did not respond to the "reset" command. > > > > This sounds similar to a problem that occurred on the NetBSD (USB) stack, > > when the USB was ehci->uhci->ubt - maybe Deniss can post the relevant > > parts of his dmesg? > What was solution to that NetBSD problem you just described? The problem was something to do with "data toggles" in the EHCI code - see http://cvsweb.netbsd.org (I think), look in src/sys/dev/usb/ehci.c and it was fixed a couple of months ago (by Matthias Drochner) more than one person was seeing the exact same thing - the first packet sent on the control endpoint (a command) would generate data on the interrupt endpoint (an event) but the second would not, and thus the 'dongle did not respond' error sounds familiar.. I don't know if the same problem exists on FreeBSD (it was the same USB stack though has had different fixes applied over time), and IIRC the FreeBSD ng_ubt driver handles the USB interrupt transfers slightly differently, so it could be unrelated, but its worth a try.. iain From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 28 16:39:46 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2C9516A405 for ; Wed, 28 Mar 2007 16:39:46 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id E8B9A13C46C for ; Wed, 28 Mar 2007 16:39:45 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so2746954ana for ; Wed, 28 Mar 2007 09:39:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EWPFChyiLsZFR6Xk0HmIuJiml3TTVQIs+G2qFcNgx0PBwwGllsSHGnLseQUx1t2A2KCkVjxzXOqomaG6MLgwjcQszeqLIawhYT1gX/SfTDYTSd+cifvlpYtlxSZ1JrWn9rM4VnTw21wj7bxlLkYFzvrfjFwpfmOccxKoGU1MCH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WNhLet+FIW5oaVrQxzV9fqd6aASrUVTF3tFbHaOy0h4jXhqAB1m6fEp8kjA4OBSwylIwSruJ6yJ0mBbEdb//SXoE7rjMiyfBEAkwMKIcmARDyyyrzkDrvTOxwAYINwTm0bMlFlHWE9W+WqOUKv0GtiLTHDjH/TWuX3VK9HCu9qc= Received: by 10.100.33.14 with SMTP id g14mr431875ang.1175099985272; Wed, 28 Mar 2007 09:39:45 -0700 (PDT) Received: by 10.100.177.10 with HTTP; Wed, 28 Mar 2007 09:39:45 -0700 (PDT) Message-ID: Date: Wed, 28 Mar 2007 08:39:45 -0800 From: "Maksim Yevmenkin" To: "Eric Anderson" In-Reply-To: <46096375.1050301@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46096375.1050301@centtech.com> Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: bthidd filling my logs 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: Wed, 28 Mar 2007 16:39:46 -0000 On 3/27/07, Eric Anderson wrote: > Ok, I'm getting tired of my logs rolling because of these messages: > > Mar 27 13:31:05 neutrino bthidd[956]: Could not connect to > 00:0c:55:12:ba:ae. Host is down (64) > Mar 27 13:31:30 neutrino bthidd[956]: Opening outbound session for > 00:0c:55:12:ba:ae (new_device=1, reconnect_initiate=1) > > Can we mute those, or show them only the first time, or something? They > pop up every 30 seconds. if you are not using 00:0c:55:12:ba:ae device, just remove it from your bthidd.conf thanks, max > > Eric > > > -- > ------------------------------------------------------------------------ > Eric Anderson Sr. Systems Administrator Centaur Technology > An undefined problem has an infinite number of solutions. > ------------------------------------------------------------------------ > _______________________________________________ > 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" > From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 28 16:56:30 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 344EC16A402 for ; Wed, 28 Mar 2007 16:56:30 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id E7FD713C45E for ; Wed, 28 Mar 2007 16:56:29 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so2752222ana for ; Wed, 28 Mar 2007 09:56:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G+jOvRChMmxoacyjzto1Y+BA0y+548NqI8wDWkU9xpvowBzpVCbjkr2PrLdOcYVllawxmQ6j5hdOgUqGlMUfSCb2MhFnhjGvXAqMHRd6v9bY+k/u40xNCVGuWPOt+g4tnFd/kgqJO5A/0IXnelRJnwtcajvuVk8p45u32XIESCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SkCxsvZGqH08PsYFWHCFWWpTWrxHC5fa7t4K62ZxaP0A8d6zrQ/jgqlRrNdyUUQ4Ps9NZxKkX/oYOQ1oUF+s63jQExw1mSz/KWxGQxwv8G+8+uSLYVUFjBoa79RFOcZ39KLbMalaeZmF7tUxeRzsTNPpSShJXP4kn+HTBN9Y5YI= Received: by 10.100.139.9 with SMTP id m9mr461784and.1175100987004; Wed, 28 Mar 2007 09:56:27 -0700 (PDT) Received: by 10.100.177.10 with HTTP; Wed, 28 Mar 2007 09:56:26 -0700 (PDT) Message-ID: Date: Wed, 28 Mar 2007 08:56:26 -0800 From: "Maksim Yevmenkin" To: ml-vic In-Reply-To: <200703261417.29005.ml-vic@de-martino.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200703261417.29005.ml-vic@de-martino.it> Cc: freebsd-bluetooth@freebsd.org Subject: Re: Modem to send/receive faxes 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: Wed, 28 Mar 2007 16:56:30 -0000 On 3/26/07, ml-vic wrote: > I'm trying to send faxes by means of a bluetooth connection between my PC and > my cell phone. > Because hylafax needs a modem that is a serial port to send/receive faxes I > tried and succeded with > > rfcomm_sppd -a my_BT_ADDR -t /dev/ttyp3 > > and, as requested by hylafax, I was able to connect to it > > cu -l ttyp3 > > But I was unable to send any AT command thru it. > > Could someone out there clarify this point to this almost absolute beginner > suggesting, step by step what I shall do? you might need to set tty into "raw" mode. depending on freebsd version rfcomm_sppd will or will not do that. you could try to use ppp in interacative mode, i.e. add set device '!/usr/bin/rfcomm_sppd -a my_BT_ADDR' to you ppp.conf, then start ppp and do 'term' command. also, be aware that many cell provides will block faxes. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 28 17:37:17 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BA9516A401 for ; Wed, 28 Mar 2007 17:37:17 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0F50E13C44B for ; Wed, 28 Mar 2007 17:37:16 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l2SHbFwd019837; Wed, 28 Mar 2007 12:37:16 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <460AA7CB.6050500@centtech.com> Date: Wed, 28 Mar 2007 12:37:15 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: Maksim Yevmenkin References: <46096375.1050301@centtech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2952/Wed Mar 28 11:26:48 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: bthidd filling my logs 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: Wed, 28 Mar 2007 17:37:17 -0000 On 03/28/07 11:39, Maksim Yevmenkin wrote: > On 3/27/07, Eric Anderson wrote: >> Ok, I'm getting tired of my logs rolling because of these messages: >> >> Mar 27 13:31:05 neutrino bthidd[956]: Could not connect to >> 00:0c:55:12:ba:ae. Host is down (64) >> Mar 27 13:31:30 neutrino bthidd[956]: Opening outbound session for >> 00:0c:55:12:ba:ae (new_device=1, reconnect_initiate=1) >> >> Can we mute those, or show them only the first time, or something? They >> pop up every 30 seconds. > > if you are not using 00:0c:55:12:ba:ae device, just remove it from > your bthidd.conf The thing is, I do use it. Just not all the time. I use one mouse at the office, and another one when traveling, at home, etc. That's what's nice about this - I can configure 10 if I want, and use whichever one is near me without carrying them all around. The fact is that it is really useless to log it every 30s that it can't see it. Logging it once on initial connect, or for the first time after a previously running connection was disconnected is however useful. I'm not sure the right way to patch it though, I've already been looking at it. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 28 19:20:44 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 650D016A404 for ; Wed, 28 Mar 2007 19:20:44 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 2338A13C4C7 for ; Wed, 28 Mar 2007 19:20:43 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so2797006ana for ; Wed, 28 Mar 2007 12:20:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XrZAxQgYU/1wJTrsqz7mGOzWBQHkNDt/7koEIywgN6TeFAJLyuw0aVaPi2OBfeXv+RsDNPIBlckj9D+478p1UPJyzgk0okFKUfCKtBBEbKPWVKb5IP9yio+jpv/hfzAstvys/VhxcZbr2+77lsTYWTMSvFM5EDSNHQFjW4oZjDI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EsdD6wHvSQqdDkyRtcJzfvLPzb3J3cHq8faFD0K1Ntarm1UGRA/8/HNlsHb2dK4np3K6IvwX+9ufy9Ik2dSld2tY51mjVCW73hZHxlE6k9XDTm/3IDqyjl+IzY20u3RjRmREuXcNK5CBaYcJYog4zUeGY5L1Fcd8mjtSJcSipP0= Received: by 10.100.9.19 with SMTP id 19mr622024ani.1175109642706; Wed, 28 Mar 2007 12:20:42 -0700 (PDT) Received: by 10.100.177.10 with HTTP; Wed, 28 Mar 2007 12:20:42 -0700 (PDT) Message-ID: Date: Wed, 28 Mar 2007 11:20:42 -0800 From: "Maksim Yevmenkin" To: "Eric Anderson" In-Reply-To: <460AA7CB.6050500@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46096375.1050301@centtech.com> <460AA7CB.6050500@centtech.com> Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: bthidd filling my logs 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: Wed, 28 Mar 2007 19:20:44 -0000 On 3/28/07, Eric Anderson wrote: > On 03/28/07 11:39, Maksim Yevmenkin wrote: > > On 3/27/07, Eric Anderson wrote: > >> Ok, I'm getting tired of my logs rolling because of these messages: > >> > >> Mar 27 13:31:05 neutrino bthidd[956]: Could not connect to > >> 00:0c:55:12:ba:ae. Host is down (64) > >> Mar 27 13:31:30 neutrino bthidd[956]: Opening outbound session for > >> 00:0c:55:12:ba:ae (new_device=1, reconnect_initiate=1) > >> > >> Can we mute those, or show them only the first time, or something? They > >> pop up every 30 seconds. > > > > if you are not using 00:0c:55:12:ba:ae device, just remove it from > > your bthidd.conf > > > The thing is, I do use it. Just not all the time. I use one mouse at > the office, and another one when traveling, at home, etc. That's what's > nice about this - I can configure 10 if I want, and use whichever one > is near me without carrying them all around. the thing is, you did not configure it :) i.e. bthidd thinks its a new device. usually mice and keybords have reconnect initiate to 1, so bthidd does not try to contact them > The fact is that it is really useless to log it every 30s that it can't > see it. Logging it once on initial connect, or for the first time after > a previously running connection was disconnected is however useful. > I'm not sure the right way to patch it though, I've already been looking > at it. well, yes, i agree. i will look into it when i have spare time max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 29 12:53:04 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF50516A401 for ; Thu, 29 Mar 2007 12:53:04 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id B2E9413C483 for ; Thu, 29 Mar 2007 12:53:04 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id l2TCr1SF013373; Thu, 29 Mar 2007 07:53:01 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <460BB6AD.4060306@centtech.com> Date: Thu, 29 Mar 2007 07:53:01 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: Maksim Yevmenkin References: <46096375.1050301@centtech.com> <460AA7CB.6050500@centtech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2959/Thu Mar 29 04:32:45 2007 on mh2.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh2.centtech.com Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: bthidd filling my logs 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: Thu, 29 Mar 2007 12:53:05 -0000 On 03/28/07 14:20, Maksim Yevmenkin wrote: > On 3/28/07, Eric Anderson wrote: >> On 03/28/07 11:39, Maksim Yevmenkin wrote: >>> On 3/27/07, Eric Anderson wrote: >>>> Ok, I'm getting tired of my logs rolling because of these messages: >>>> >>>> Mar 27 13:31:05 neutrino bthidd[956]: Could not connect to >>>> 00:0c:55:12:ba:ae. Host is down (64) >>>> Mar 27 13:31:30 neutrino bthidd[956]: Opening outbound session for >>>> 00:0c:55:12:ba:ae (new_device=1, reconnect_initiate=1) >>>> >>>> Can we mute those, or show them only the first time, or something? They >>>> pop up every 30 seconds. >>> if you are not using 00:0c:55:12:ba:ae device, just remove it from >>> your bthidd.conf >> >> The thing is, I do use it. Just not all the time. I use one mouse at >> the office, and another one when traveling, at home, etc. That's what's >> nice about this - I can configure 10 if I want, and use whichever one >> is near me without carrying them all around. > > the thing is, you did not configure it :) i.e. bthidd thinks its a new > device. usually mice and keybords have reconnect initiate to 1, so > bthidd does not try to contact them Hmm - seems that at some point recently during an upgrade or crash, I think I may have lost the db or some part of it. I just powered on my mouse, and once it initiated, the messages are gone. So, you are 100% correct. >> The fact is that it is really useless to log it every 30s that it can't >> see it. Logging it once on initial connect, or for the first time after >> a previously running connection was disconnected is however useful. >> I'm not sure the right way to patch it though, I've already been looking >> at it. > > well, yes, i agree. i will look into it when i have spare time > > max Thanks again, and sorry for the noise.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------