From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 3 09:27:40 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 0E61416A403 for ; Wed, 3 Jan 2007 09:27:40 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from vette.gigo.com (vette.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id F05B013C44C for ; Wed, 3 Jan 2007 09:27:39 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from 201.34.230.91 (201-34-230-91.bsace703.dsl.brasiltelecom.net.br [201.34.230.91]) by vette.gigo.com (Postfix) with ESMTP id 4A1FE2BF for ; Wed, 3 Jan 2007 01:27:38 -0800 (PST) Received: (qmail 63636 invoked by uid 1001); 3 Jan 2007 07:06:56 -0200 Resent-From: lioux@FreeBSD.org Resent-Date: Wed, 3 Jan 2007 07:06:56 -0201 Resent-Message-ID: <20070103090719.GB74747@exxodus.fedaykin.here> Resent-To: freebsd-bluetooth@FreeBSD.org Date: Wed, 3 Jan 2007 07:06:29 -0200 From: Mario Sergio Fujikawa Ferreira To: maksim yevmenkin References: <20061229020205.89726.qmail@exxodus.fedaykin.here> <4595817A.1030306@savvis.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4595817A.1030306@savvis.net> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: Add support for ACER Zeevo BT-500 Bluetooth USB Adapter? 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, 03 Jan 2007 09:27:40 -0000 On Fri, Dec 29, 2006 at 12:58:34PM -0800, maksim yevmenkin wrote: > X-SIG5: 6cd20000d2040f632d2911f6612c21b8 > > Mario Sergio Fujikawa Ferreira wrote: > >Hi, > > > > I was wondering what could I do to help add support for > >ACER Zeevo BT-500 Bluetooth USB Adapter? > > > > ng_ubt(4) does not detect the device. However, this device > >works nicely with Linux Bluez. > > it would be nice to know the exact error you get from ng_ubt(4) when you > attach the device. please look at /var/log/messages and post it here. > > > I have a usbdevs patch with information taken from NetBSD. > >Furthermore, I have added the udesc_dump(8) information for the > >device. > > > > All information can be found at > > > >http://www.freebsd.org/cgi/query-pr.cgi?pr=106861 > > that looks fine > > > The output of udesc_dump(8) is attached. > > [...] > > > > > Standard Interface Descriptor: > > bLength 9 > > bDescriptorType 04 > > bInterfaceNumber 1 > > bAlternateSetting 0 > > bNumEndpoints 0 > > bInterfaceClass fe > > bInterfaceSubClass 01 > > bInterfaceProtocol 00 > > iInterface 0 > > > > Descriptor: > > bLength 7 > > bDescriptorType 21 > > bDescriptorSubtype 07 > > 07 21 07 88 13 ff 03 > > hmmm... it looks like udesc_dump(8) could not parse descriptor for the > device's interface #1 (where isoc. endpoints should be). i'm guessing > that ng_ubt(4) chokes on this and can't not find all needed endpoints > (isoc. endpoints specifically). I found some information on the device descriptors at www.qbik.ch/usb/devices/showdescr.php?id=2999 Device descriptor for Zeevo Inc Bluetooth Dongle ( 0x0b7a:0x07d0 ) T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 7 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0b7a ProdID=07d0 Rev= 1.34 S: SerialNumber=3E401BCA C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=hci_usb E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none) > please provide as much information as possible about the device, i.e. > manufacturer, model, serial numbers etc. so i can find and get it > locally. if you have purchased it on-line, please provide link. Brand: ACER Manufacturer: Zeevo Model: BT-500 Bar Code: B00F 30100384 C01 FCC ID: NKRBT510 Description: USB Bluetooth Adapter When I attach the device I get ugen0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 Nothing happens when I kldload ng_ubt(4). There are messages on neither the console nor on /var/log/{all.log,messages} logs. Let me know if I can provide any further information. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 3 18:13:32 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 069A616A40F; Wed, 3 Jan 2007 18:13: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 C53A813C441; Wed, 3 Jan 2007 18:13:31 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id E11913BE5B; Wed, 3 Jan 2007 11:48:43 -0600 (CST) 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 20593-01-33; Wed, 3 Jan 2007 11:48:43 -0600 (CST) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id 854F13BE2C; Wed, 3 Jan 2007 11:48:43 -0600 (CST) Message-ID: <459BEC7A.3010407@savvis.net> Date: Wed, 03 Jan 2007 09:48:42 -0800 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.5 (X11/20060906) MIME-Version: 1.0 To: Mario Sergio Fujikawa Ferreira References: <20061229020205.89726.qmail@exxodus.fedaykin.here> <4595817A.1030306@savvis.net> <20070103090652.61464.qmail@exxodus.fedaykin.here> In-Reply-To: <20070103090652.61464.qmail@exxodus.fedaykin.here> 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 Subject: Re: Add support for ACER Zeevo BT-500 Bluetooth USB Adapter? 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, 03 Jan 2007 18:13:32 -0000 Mario Sergio Fujikawa Ferreira wrote: > On Fri, Dec 29, 2006 at 12:58:34PM -0800, maksim yevmenkin wrote: >> X-SIG5: 6cd20000d2040f632d2911f6612c21b8 >> >> Mario Sergio Fujikawa Ferreira wrote: >>> Hi, >>> >>> I was wondering what could I do to help add support for >>> ACER Zeevo BT-500 Bluetooth USB Adapter? >>> >>> ng_ubt(4) does not detect the device. However, this device >>> works nicely with Linux Bluez. >> it would be nice to know the exact error you get from ng_ubt(4) when you >> attach the device. please look at /var/log/messages and post it here. >> >>> I have a usbdevs patch with information taken from NetBSD. >>> Furthermore, I have added the udesc_dump(8) information for the >>> device. >>> >>> All information can be found at >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=106861 >> that looks fine >> >>> The output of udesc_dump(8) is attached. >> [...] >> >>> Standard Interface Descriptor: >>> bLength 9 >>> bDescriptorType 04 >>> bInterfaceNumber 1 >>> bAlternateSetting 0 >>> bNumEndpoints 0 >>> bInterfaceClass fe >>> bInterfaceSubClass 01 >>> bInterfaceProtocol 00 >>> iInterface 0 >>> >>> Descriptor: >>> bLength 7 >>> bDescriptorType 21 >>> bDescriptorSubtype 07 >>> 07 21 07 88 13 ff 03 >> hmmm... it looks like udesc_dump(8) could not parse descriptor for the >> device's interface #1 (where isoc. endpoints should be). i'm guessing >> that ng_ubt(4) chokes on this and can't not find all needed endpoints >> (isoc. endpoints specifically). > > I found some information on the device descriptors at > > www.qbik.ch/usb/devices/showdescr.php?id=2999 > > Device descriptor for Zeevo Inc Bluetooth Dongle ( 0x0b7a:0x07d0 ) > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 7 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS= 8 #Cfgs= 1 > P: Vendor=0b7a ProdID=07d0 Rev= 1.34 > S: SerialNumber=3E401BCA > C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=hci_usb > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > I: If#= 1 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none) > >> please provide as much information as possible about the device, i.e. >> manufacturer, model, serial numbers etc. so i can find and get it >> locally. if you have purchased it on-line, please provide link. > > Brand: ACER > Manufacturer: Zeevo > Model: BT-500 > Bar Code: B00F 30100384 C01 > FCC ID: NKRBT510 > Description: USB Bluetooth Adapter > > When I attach the device I get > > ugen0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > > Nothing happens when I kldload ng_ubt(4). There are messages > on neither the console nor on /var/log/{all.log,messages} logs. > > Let me know if I can provide any further information. please kldload ng_ubt(4) _*before*_ attaching the device (or re-plug the device after you have loaded ng_ubt(4)). thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 3 23:27:18 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 C727116A40F for ; Wed, 3 Jan 2007 23:27:18 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from vette.gigo.com (vette.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id B572113C448 for ; Wed, 3 Jan 2007 23:27:18 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from 201.34.230.91 (201-34-230-91.bsace703.dsl.brasiltelecom.net.br [201.34.230.91]) by vette.gigo.com (Postfix) with ESMTP id 388E92F1 for ; Wed, 3 Jan 2007 15:27:17 -0800 (PST) Received: (qmail 45509 invoked by uid 1001); 3 Jan 2007 21:26:12 -0200 Message-ID: <20070103232635.45425.qmail@exxodus.fedaykin.here> Date: Wed, 3 Jan 2007 21:26:12 -0200 From: Mario Sergio Fujikawa Ferreira To: Maksim Yevmenkin References: <20061229020205.89726.qmail@exxodus.fedaykin.here> <4595817A.1030306@savvis.net> <20070103090652.61464.qmail@exxodus.fedaykin.here> <459BEC7A.3010407@savvis.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <459BEC7A.3010407@savvis.net> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: FreeBSD_Bluetooth Subject: Re: Add support for ACER Zeevo BT-500 Bluetooth USB Adapter? 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, 03 Jan 2007 23:27:18 -0000 On Wed, Jan 03, 2007 at 09:48:42AM -0800, Maksim Yevmenkin wrote: > > please kldload ng_ubt(4) _*before*_ attaching the device (or re-plug the > device after you have loaded ng_ubt(4)). Okay, I attached the usb device AFTER kldload. Here is the output ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x3 ubt0: Could not detect isoc-in endpoint device_attach: ubt0 attach returned 6 ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x3 ubt0: Could not detect isoc-in endpoint device_attach: ubt0 attach returned 6 Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 3 23:42:42 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 0F44716A509; Wed, 3 Jan 2007 23:42:42 +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 DCFFF13C455; Wed, 3 Jan 2007 23:42:41 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 019B13BF35; Wed, 3 Jan 2007 17:42:41 -0600 (CST) 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 30095-01-88; Wed, 3 Jan 2007 17:42:40 -0600 (CST) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id 9D2383BEEF; Wed, 3 Jan 2007 17:42:40 -0600 (CST) Message-ID: <459C3F6F.4060506@savvis.net> Date: Wed, 03 Jan 2007 15:42:39 -0800 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.5 (X11/20060906) MIME-Version: 1.0 To: Mario Sergio Fujikawa Ferreira References: <20061229020205.89726.qmail@exxodus.fedaykin.here> <4595817A.1030306@savvis.net> <20070103090652.61464.qmail@exxodus.fedaykin.here> <459BEC7A.3010407@savvis.net> <20070103232635.45425.qmail@exxodus.fedaykin.here> In-Reply-To: <20070103232635.45425.qmail@exxodus.fedaykin.here> 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 Subject: Re: Add support for ACER Zeevo BT-500 Bluetooth USB Adapter? 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, 03 Jan 2007 23:42:42 -0000 Mario Sergio Fujikawa Ferreira wrote: > On Wed, Jan 03, 2007 at 09:48:42AM -0800, Maksim Yevmenkin wrote: >> please kldload ng_ubt(4) _*before*_ attaching the device (or re-plug the >> device after you have loaded ng_ubt(4)). > > Okay, I attached the usb device AFTER kldload. > > Here is the output > > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x3 > ubt0: Could not detect isoc-in endpoint > device_attach: ubt0 attach returned 6 > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x3 > ubt0: Could not detect isoc-in endpoint > device_attach: ubt0 attach returned 6 just as i suspected. the device does not present second interface with usb isoc. endpoints. imo, this violates bluetooth v1.1 specification (chapter h2). the reason it works on linux is because hci_usb driver treats isoc. endpoints as optional and does not insists on them being present (isoc. points are usually used to transfer voice data). ng_ubt(4) could be extended to add quirks for some devices. however, i'd have to get my hands on the broken device so i can write and test the code. in the mean time, you could hack ng_ubt(4) to make sure it does not require isoc. endpoints. if you get it to work, please post patches here. thanks, max