From owner-freebsd-bluetooth@FreeBSD.ORG Sun May 28 04:25:16 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 0B1E416B7ED for ; Sun, 28 May 2006 04:23:17 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADC3143D55 for ; Sun, 28 May 2006 04:23:16 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.22] (andersonbox2.centtech.com [192.168.42.22]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k4S4ND0k082412; Sat, 27 May 2006 23:23:15 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <447925B5.7080206@centtech.com> Date: Sat, 27 May 2006 23:23:17 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: Ronald Klop References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1489/Sat May 27 08:47:18 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: ubt0 support suspend/resume 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: Sun, 28 May 2006 04:25:32 -0000 Ronald Klop wrote: > Hello, > > After a suspend/resume of my laptop bluetooth is always gone. > /etc/rc.d/bluetooth stop|start ubt0 doesn't fix it and reinserting the > bluetooth-usb-adapter often results in a panic, with an automatic reboot. > Is it possible to make the bluetooth stack more robust for these > situations? > What can I do to help debug this? > > Ronald. You might add all the debugging options to your kernel, and see if you can get a backtrace when it panics. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Sun May 28 21:50:11 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 439F216A9FE for ; Sun, 28 May 2006 21:41:46 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD0B843D46 for ; Sun, 28 May 2006 21:41:45 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4SLfdM0087241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 28 May 2006 15:41:43 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Sun, 28 May 2006 15:41:39 -0600 (MDT) From: Lyndon Nerenberg To: freebsd-bluetooth@freebsd.org Message-ID: <20060528153917.I84195@orthanc.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Subject: DBT-122 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: Sun, 28 May 2006 21:50:18 -0000 Folks, I'm trying to determine the status of the DBT-122 dongles. Were the patches in the RSSI message thread (back in April) aimed at fixing DBT-122 support, or were they for the other adapter mentioned? If they were for the DBT-122, has anyone tested them with 6.1-RELEASE? --lyndon From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 30 17:41:11 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 8004B16A616 for ; Tue, 30 May 2006 17:41:11 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9FA443D4C for ; Tue, 30 May 2006 17:41:10 +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 30D3F3BE7C; Tue, 30 May 2006 12:41:10 -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 17359-02-2; Tue, 30 May 2006 12:41:10 -0500 (CDT) Received: from [10.254.186.111] (sntc04ep01.savvis.net [64.14.1.106]) by mailgate1b.savvis.net (Postfix) with ESMTP id A154B3BE56; Tue, 30 May 2006 12:41:09 -0500 (CDT) Message-ID: <447C83B4.5060905@savvis.net> Date: Tue, 30 May 2006 10:41:08 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060528153917.I84195@orthanc.ca> In-Reply-To: <20060528153917.I84195@orthanc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-bluetooth@freebsd.org Subject: Re: DBT-122 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, 30 May 2006 17:41:16 -0000 Lyndon, > Folks, I'm trying to determine the status of the DBT-122 dongles. Were > the patches in the RSSI message thread (back in April) aimed at fixing > DBT-122 support, or were they for the other adapter mentioned? i'm not sure what are you asking here. are you asking 1) if the specific dongle model (i.e. d-link dbt-122) is supported by freebsd or 2) if bluetooth v1.2 is supported by freebsd i do not see why (1) would not work, however i do NOT have dbt-122 in my collection to be 100% sure. keep in mind that v1.2 devices will work with 1.1 stack. (2) is not supported by freebsd yet. the patches you referring to are to support v1.2 inquiry with rssi command (i think). > If they were for the DBT-122, has anyone tested them with 6.1-RELEASE? again, i do not see any reason why it would not work. however, i'm not sure what are you trying to do with it. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 30 19:57:01 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 3F7F416ACD1 for ; Tue, 30 May 2006 19:57:01 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE88543D6A for ; Tue, 30 May 2006 19:57:00 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4UJuvlf012646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 May 2006 13:56:57 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Tue, 30 May 2006 13:56:57 -0600 (MDT) From: Lyndon Nerenberg To: Maksim Yevmenkin In-Reply-To: <447C83B4.5060905@savvis.net> Message-ID: <20060530135402.C12000@orthanc.ca> References: <20060528153917.I84195@orthanc.ca> <447C83B4.5060905@savvis.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: freebsd-bluetooth@freebsd.org Subject: Re: DBT-122 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, 30 May 2006 19:57:11 -0000 > i'm not sure what are you asking here. are you asking > > 1) if the specific dongle model (i.e. d-link dbt-122) is supported by freebsd In a nutshell: yes. Under 6.1-RELEASE I have tried both the DBT-122 and a Kensington (unknown model #), and both show up as ugen* devices, and not ubt* as expected. I'm still trying to wrap my head around the specifics of FreeBSD's bluetooth implementation, so I'm unclear whether I have unsupported hardware, or a botched kernel configuration, or what. --lyndon From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 30 20:20:30 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 C19DB16A7B4 for ; Tue, 30 May 2006 20:20:30 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13F8B43D70 for ; Tue, 30 May 2006 20:20:23 +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 k4UKKMaS060438; Tue, 30 May 2006 15:20:22 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <447CA90B.3060800@centtech.com> Date: Tue, 30 May 2006 15:20:27 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060528153917.I84195@orthanc.ca> <447C83B4.5060905@savvis.net> <20060530135402.C12000@orthanc.ca> In-Reply-To: <20060530135402.C12000@orthanc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1499/Mon May 29 15:35:17 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-bluetooth@freebsd.org Subject: Re: DBT-122 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, 30 May 2006 20:20:37 -0000 Lyndon Nerenberg wrote: >> i'm not sure what are you asking here. are you asking >> >> 1) if the specific dongle model (i.e. d-link dbt-122) is supported by >> freebsd > > In a nutshell: yes. Under 6.1-RELEASE I have tried both the DBT-122 and > a Kensington (unknown model #), and both show up as ugen* devices, and > not ubt* as expected. I'm still trying to wrap my head around the > specifics of FreeBSD's bluetooth implementation, so I'm unclear whether > I have unsupported hardware, or a botched kernel configuration, or what. > > --lyndon If you remove ugen from your kernel, does it work? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 30 20:55:17 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 A8C7216A988 for ; Tue, 30 May 2006 20:55:17 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4133943D88 for ; Tue, 30 May 2006 20:55:08 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k4UKsqsA013076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 May 2006 14:55:01 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Tue, 30 May 2006 14:54:52 -0600 (MDT) From: Lyndon Nerenberg To: Eric Anderson In-Reply-To: <447CA90B.3060800@centtech.com> Message-ID: <20060530145241.I13064@orthanc.ca> References: <20060528153917.I84195@orthanc.ca> <447C83B4.5060905@savvis.net> <20060530135402.C12000@orthanc.ca> <447CA90B.3060800@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on orthanc.ca Cc: freebsd-bluetooth@freebsd.org Subject: Re: DBT-122 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, 30 May 2006 20:55:19 -0000 > If you remove ugen from your kernel, does it work? No, but if I kldload ng_ubt the DBT-122 is recognized. Doh! (For whatever reason I was assuming the kernel or devd would load the appropriate netgraph glue automagically.) --lyndon From owner-freebsd-bluetooth@FreeBSD.ORG Tue May 30 21:30:32 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 DDFF916AAD9 for ; Tue, 30 May 2006 21:30:32 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B0B43D77 for ; Tue, 30 May 2006 21:30:26 +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 1B2CD3BE4C; Tue, 30 May 2006 16:30:26 -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 13582-02-12; Tue, 30 May 2006 16:30:25 -0500 (CDT) Received: from [10.254.186.111] (sntc04ep01.savvis.net [64.14.1.106]) by mailgate1b.savvis.net (Postfix) with ESMTP id DD3863BE25; Tue, 30 May 2006 16:30:24 -0500 (CDT) Message-ID: <447CB968.7050906@savvis.net> Date: Tue, 30 May 2006 14:30:16 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060528153917.I84195@orthanc.ca> <447C83B4.5060905@savvis.net> <20060530135402.C12000@orthanc.ca> <447CA90B.3060800@centtech.com> <20060530145241.I13064@orthanc.ca> In-Reply-To: <20060530145241.I13064@orthanc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-bluetooth@freebsd.org Subject: Re: DBT-122 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, 30 May 2006 21:30:41 -0000 Lyndon Nerenberg wrote: >> If you remove ugen from your kernel, does it work? > > > No, but if I kldload ng_ubt the DBT-122 is recognized. Doh! (For > whatever reason I was assuming the kernel or devd would load the > appropriate netgraph glue automagically.) it will if you load device driver. otherwise ugen(4) will attach because it is generic usb device driver. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html is a good place to start. it is a bit outdated though. it is no longer required to use /usr/share/examples/netgraph/bluetooth. please use /etc/rc.d/bluetooth instead. also please read bluetooth.device.conf(5) man page. thanks, max