From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 26 13:56:26 2006 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 0DC7216A403 for ; Tue, 26 Dec 2006 13:56:26 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.freebsd.org (Postfix) with ESMTP id B40CB13C463 for ; Tue, 26 Dec 2006 13:56:25 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from [192.168.1.100] (cpe-24-210-75-119.columbus.res.rr.com [24.210.75.119]) (authenticated bits=0) by mail.united-ware.com (8.13.8/8.13.8) with ESMTP id kBQE3R8n020449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Dec 2006 09:03:35 -0500 (EST) (envelope-from amistry@am-productions.biz) From: Anish Mistry Organization: AM Productions To: freebsd-usb@freebsd.org Date: Tue, 26 Dec 2006 08:42:13 -0500 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2186705.WvIZFNYviA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200612260842.34575.amistry@am-productions.biz> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_50,MYFREEBSD2, MYFREEBSD3,RCVD_IN_NJABL_DUL,SPF_SOFTFAIL autolearn=failed version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.5/2379/Tue Dec 26 04:34:51 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: freebsd-bluetooth@freebsd.org Subject: Logitech hid2hci app 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, 26 Dec 2006 13:56:26 -0000 --nextPart2186705.WvIZFNYviA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've created a hid2hci application that converts Logitech Bluetooth=20 HID hubs to Bluetooth HCI devices. This is similar to the Linux=20 hid2hci, but only does Logitech devices and doesn't perform any=20 device matching. Currently it's a bit awkward to use since you'll=20 need uhid and ng_ubt loaded. http://am-productions.biz/docs/logitech-hid2hci.c Just compile with gcc: gcc logitech-hid2hci.c -o logitech-hid2hci You keyboard and mouse should attach as /dev/uhid*. Run the app=20 against the uhid devices. =2E/logitech-hid2hci /dev/uhid0 =2E/logitech-hid2hci /dev/uhid1 An ubt device should now appear. Just for reference if you have a non-logitech device the following=20 should work, just point it at a ugen device. http://www.naobsd.org/MacBook/hid2hci.c =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart2186705.WvIZFNYviA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFkSbKxqA5ziudZT0RApdvAKDWZdNJQp/ap2OPvh7d1qiFpZ5VzACgqXVG 0wmKDTf9wbBP8LaP36bw0VU= =YxFb -----END PGP SIGNATURE----- --nextPart2186705.WvIZFNYviA-- From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 26 20:59:42 2006 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 87E2316A403 for ; Tue, 26 Dec 2006 20:59:42 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE5113C466 for ; Tue, 26 Dec 2006 20:59:42 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1GzJOf-0001UI-Jn for ; Tue, 26 Dec 2006 21:59:41 +0100 Received: (qmail 18960 invoked from network); 26 Dec 2006 20:59:39 -0000 Received: from localhost.thuis.klop.ws (HELO guido.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 26 Dec 2006 20:59:39 -0000 Date: Tue, 26 Dec 2006 21:59:38 +0100 To: "Anish Mistry" , freebsd-usb@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <200612260842.34575.amistry@am-productions.biz> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <200612260842.34575.amistry@am-productions.biz> User-Agent: Opera Mail/9.10 (FreeBSD) Cc: freebsd-bluetooth@freebsd.org Subject: Re: Logitech hid2hci app 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, 26 Dec 2006 20:59:42 -0000 I'm not a bluetooth maintainer. So I don't have anything to say about inclusion of this in the base system. But maybe it's nice to create a port of this. Ronald. On Tue, 26 Dec 2006 14:42:13 +0100, Anish Mistry wrote: > I've created a hid2hci application that converts Logitech Bluetooth > HID hubs to Bluetooth HCI devices. This is similar to the Linux > hid2hci, but only does Logitech devices and doesn't perform any > device matching. Currently it's a bit awkward to use since you'll > need uhid and ng_ubt loaded. > > http://am-productions.biz/docs/logitech-hid2hci.c > Just compile with gcc: > gcc logitech-hid2hci.c -o logitech-hid2hci > > You keyboard and mouse should attach as /dev/uhid*. Run the app > against the uhid devices. > ./logitech-hid2hci /dev/uhid0 > ./logitech-hid2hci /dev/uhid1 > > An ubt device should now appear. > > Just for reference if you have a non-logitech device the following > should work, just point it at a ugen device. > http://www.naobsd.org/MacBook/hid2hci.c > -- Ronald Klop Amsterdam, The Netherlands From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 29 12:02:10 2006 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 51C5516A50D for ; Fri, 29 Dec 2006 12:02:10 +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 4053D13C457 for ; Fri, 29 Dec 2006 12:02:10 +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 3A68B1F for ; Thu, 28 Dec 2006 18:27:51 -0800 (PST) Received: (qmail 89883 invoked by uid 1001); 29 Dec 2006 00:01:42 -0200 Message-ID: <20061229020205.89726.qmail@exxodus.fedaykin.here> Date: Fri, 29 Dec 2006 00:01:42 -0200 From: Mario Sergio Fujikawa Ferreira To: freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: 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: Fri, 29 Dec 2006 12:02:10 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. 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 The output of udesc_dump(8) is attached. Regards, ps: Please, CC: me on all replies because I am not subscribed to this mailing list. -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="zeevo.txt" Standard Device Descriptor: bLength 18 bDescriptorType 01 bcdUSB 0110 bDeviceClass e0 bDeviceSubClass 01 bDeviceProtocol 01 bMaxPacketSize 8 idVendor 0b7a idProduct 07d0 bcdDevice 0134 iManufacturer 0 iProduct 0 iSerialNumber 1 bNumConfigurations 1 Configuration 0: Standard Configuration Descriptor: bLength 9 bDescriptorType 02 wTotalLength 55 bNumInterface 2 bConfigurationValue 1 iConfiguration 0 bmAttributes c0 (self-powered) bMaxPower 50 (100 mA) Standard Interface Descriptor: bLength 9 bDescriptorType 04 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 00 bInterfaceSubClass 00 bInterfaceProtocol 00 iInterface 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 81 (in) bmAttributes 03 (Interrupt) wMaxPacketSize 8 bInterval 1 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 82 (in) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 03 (out) bmAttributes 02 (Bulk) wMaxPacketSize 64 bInterval 0 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 Codes Representing Languages by the Device: bLength 4 bDescriptorType 03 wLANGID[0] 0409 String (index 1): 3EC08622 --sdtB3X0nJg68CQEu-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 29 21:08:38 2006 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 A406D16A47B; Fri, 29 Dec 2006 21:08:38 +0000 (UTC) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001a.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mx1.freebsd.org (Postfix) with ESMTP id 29A4413C461; Fri, 29 Dec 2006 21:08:38 +0000 (UTC) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from s228130hz1ew171.apptix-01.savvis.net ([10.146.4.29]) by out001a.email.savvis.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Dec 2006 14:58:37 -0600 Received: from [127.0.0.1] ([64.242.52.23]) by s228130hz1ew171.apptix-01.savvis.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Dec 2006 14:58:37 -0600 Message-ID: <4595817A.1030306@savvis.net> Date: Fri, 29 Dec 2006 12:58:34 -0800 From: maksim yevmenkin User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Mario Sergio Fujikawa Ferreira References: <20061229020205.89726.qmail@exxodus.fedaykin.here> In-Reply-To: <20061229020205.89726.qmail@exxodus.fedaykin.here> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Dec 2006 20:58:37.0246 (UTC) FILETIME=[1C3C05E0:01C72B8C] Cc: freebsd-bluetooth@FreeBSD.org 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: Fri, 29 Dec 2006 21:08:38 -0000 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). 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. in any case, it seems like the problem is either in device's descriptor or in the usb stack (descriptor parsing). thanks, max