From owner-freebsd-bluetooth@FreeBSD.ORG Thu Aug 28 17:57:52 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18885106568D for ; Thu, 28 Aug 2008 17:57:52 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 923FD8FC15 for ; Thu, 28 Aug 2008 17:57:51 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AukAANSAtkiWZWdv/2dsb2JhbAAIuhaBag X-IronPort-AV: E=Sophos;i="4.32,287,1217773800"; d="scan'208";a="192603566" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.157]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 29 Aug 2008 03:12:37 +0930 From: Wayne Sierke To: freebsd-bluetooth@freebsd.org Content-Type: text/plain Date: Fri, 29 Aug 2008 03:12:34 +0930 Message-Id: <1219945354.2315.21.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Supported devices? vid/pid 0x1131/0x1001 and 0x0a5c/0x2100 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, 28 Aug 2008 17:57:52 -0000 Hi, I've got a couple of bluetooth USB adapters here and tried them out recently on this i386 7-STABLE GENERIC kernel. I'm sure I had at least one of them working previously, however neither of them seem to work with ng_ubt(4): ubt0: on uhub6 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 Unknown USB device: vendor 0x0a5c product 0x2100 bus uhub6 ubt_bulk_in_complete2: ubt0 - Bulk-in xfer failed, STALLED (17). No new xfer will be submitted! ubt_intr_complete2: ubt0 - Interrupt xfer failed, IOERROR (13). No new xfer will be submitted! and also ubt0: on uhub4 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 2) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=17; nframes=16, buffer size=272 Unknown USB device: vendor 0x1131 product 0x1001 bus uhub4 WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() WARNING: attempt to net_add_domain(netgraph) after domainfinalize() But in the archives it looks as though others have used both of these adapters successfully before. e.g. Mihai Tanasescu reported in Aug 2007: 2. usbdevs -dv (freezes for about 1-2 seconds while displaying the first device): Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 uhub0 port 1 addr 2: full speed, self powered, config 1, ISSCBTA(0x1001), vendor 0x1131(0x1131), rev 3.73 ubt0 and Bruce Cran reported in Sep 2007: ubt0: on uhub1 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 Admittedly that looks like a slightly different revision of the BCM device. Has support for these devices been removed or requires patches, etc? My usbdevs -lv (with the ISSC device attached to hub): # usbdevs -dv Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00 uhub0 port 1 addr 2: full speed, self powered, config 1, product 0x0902(0x0902), vendor 0x03eb(0x03eb), rev 1.00 uhub5 port 1 addr 3: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc025), B16_b_02(0x046d), rev 98.02 ums0 port 2 powered port 3 powered port 4 addr 4: low speed, power 100 mA, config 1, Logitech USB Keyboard(0xc315), Logitech(0x046d), rev 28.00 ukbd0 port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00 uhub1 port 1 powered port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00 uhub2 port 1 powered port 2 powered Controller /dev/usb3: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), SiS(0x0000), rev 1.00 uhub3 port 1 powered port 2 powered port 3 powered port 4 powered port 5 addr 2: high speed, self powered, config 1, USB2.0 Hub(0x0606), vendor 0x05e3(0x05e3), rev 7.02 uhub4 port 1 powered port 2 addr 3: full speed, power 100 mA, config 1, product 0x1001(0x1001), vendor 0x1131(0x1131), rev 1.34 ubt0 port 3 powered port 4 powered port 6 powered In spite of adapters showing as associated with ubt and listed as ubt0, I don't see any /dev/ubt* devices and /etc/rc.d/bluetooth start ubt0 fails: # /etc/rc.d/bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 # kldstat Id Refs Address Size Name 1 29 0xc0400000 979ad0 kernel 2 1 0xc0d7a000 5464 vesa.ko 3 4 0xc0d80000 28678 linux.ko 4 1 0xc0da9000 6f88 snd_ich.ko 5 2 0xc0db0000 4a62c sound.ko 6 1 0xc0dfb000 4e0ef0 nvidia.ko 7 1 0xc12dc000 6a2c4 acpi.ko 8 1 0xc5171000 7000 linprocfs.ko 9 1 0xc5454000 2000 green_saver.ko 10 1 0xc52e8000 2000 rtc.ko 11 1 0xc5f9f000 7000 ng_ubt.ko 12 5 0xc5fa6000 b000 netgraph.ko 13 4 0xc5fd6000 2000 ng_bluetooth.ko 14 1 0xc5fd8000 d000 ng_hci.ko 15 1 0xc5ff2000 f000 ng_l2cap.ko 16 1 0xc6001000 1a000 ng_btsocket.ko 17 1 0xc601b000 4000 ng_socket.ko Thanks for any guidance! Wayne