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 From owner-freebsd-bluetooth@FreeBSD.ORG Thu Aug 28 20:57:59 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 B1D171065680 for ; Thu, 28 Aug 2008 20:57:59 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.234]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3508FC08 for ; Thu, 28 Aug 2008 20:57:59 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by qb-out-0506.google.com with SMTP id e34so721521qbe.35 for ; Thu, 28 Aug 2008 13:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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; bh=uF5o6eCL9BiFrhIc6Afapz8Lft9hLIp5T4Lv+WC5aIY=; b=o3yEVXxNRq7UiW1466gEMC7BLRFlTDEHPMLHaoDqiahuqirg0YyqGEJHVuuxdOFCiO 26u34pv9GJU2ZLHC6oV+pM070Nf2IgX9YjAM70RKnmNIOQDZVQtOmonv2orRwJtOpAdF 8r/YxCVqW1SRmZgxLkUrr3OXdZJwm5txWZtz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KTlVQ3dhE5MJ5GuQbnVyguTajJFO9Y3Ncm22hlLHtpLVHKU+zjpaYCRYpFbTRNk7iY 7yurNRj3nWuLvRE29SQSOOINBkf/pIUfdDE13e9nJfPEqT+mgbbnJqnasZq1R7NUvWi5 8lnZ+L1in9MxBtVBT4sw7z8D4I9x/c26vqUb8= Received: by 10.86.27.19 with SMTP id a19mr1436363fga.37.1219957077911; Thu, 28 Aug 2008 13:57:57 -0700 (PDT) Received: by 10.86.70.1 with HTTP; Thu, 28 Aug 2008 13:57:57 -0700 (PDT) Message-ID: Date: Thu, 28 Aug 2008 13:57:57 -0700 From: "Maksim Yevmenkin" To: "Wayne Sierke" In-Reply-To: <1219945354.2315.21.camel@predator-ii.buffyverse> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1219945354.2315.21.camel@predator-ii.buffyverse> Cc: freebsd-bluetooth@freebsd.org Subject: Re: 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 20:57:59 -0000 On 8/28/08, Wayne Sierke wrote: > 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! that looks like some sort of usb problem. > 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() that actually looks normal to me. > 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? no. those should work (i do not see any reason why they would not) > My usbdevs -lv (with the ISSC device attached to hub): do you mean external usb hub? have you tried to connect your devices directly (i.e. without external hub)? [...] > 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: there will not be any /dev/ubtX device nodes. there will be 'ubtX' netgraph nodes. use 'ngctl li' to see if there are any nodes and how many attached hooks they have. also, '/etc/rc.d/bluetooth start' will be called automatically from by devd(8) when device is plugged. so all you have to do is plug the device and everything should just work. > # /etc/rc.d/bluetooth start ubt0 > /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 yes, if you call 'start' when everything was already started it will fail. the safer thing is to do 'restart' or 'stop' and then 'start'. > # 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 this looks normal. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Aug 29 05:20:16 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 50F021065679 for ; Fri, 29 Aug 2008 05:20:16 +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 A8E6C8FC0A for ; Fri, 29 Aug 2008 05:20:15 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AggBAHgit0iWZWdv/2dsb2JhbAAIuWOBag X-IronPort-AV: E=Sophos;i="4.32,291,1217773800"; d="scan'208";a="193026979" 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 14:50:07 +0930 From: Wayne Sierke To: Maksim Yevmenkin In-Reply-To: References: <1219945354.2315.21.camel@predator-ii.buffyverse> Content-Type: text/plain; charset=UTF-8 Date: Fri, 29 Aug 2008 14:50:05 +0930 Message-Id: <1219987205.2315.40.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: 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: Fri, 29 Aug 2008 05:20:16 -0000 On Thu, 2008-08-28 at 13:57 -0700, Maksim Yevmenkin wrote: > On 8/28/08, Wayne Sierke wrote: > > 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! > > that looks like some sort of usb problem. > I suspect there's something quirky about the USB on this Gigabyte 8SQ800 board. I have a Logitech MX500 mouse and "New Touch 200" keyboard that I have to connect through an external hub to avoid repeated USB disconnects on those devices. > > 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() > > that actually looks normal to me. > > > 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? > > no. those should work (i do not see any reason why they would not) > > > My usbdevs -lv (with the ISSC device attached to hub): > > do you mean external usb hub? have you tried to connect your devices > directly (i.e. without external hub)? > > [...] > > > 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: > > there will not be any /dev/ubtX device nodes. there will be 'ubtX' > netgraph nodes. use 'ngctl li' to see if there are any nodes and how > many attached hooks they have. also, '/etc/rc.d/bluetooth start' will > be called automatically from by devd(8) when device is plugged. so all > you have to do is plug the device and everything should just work. > > > # /etc/rc.d/bluetooth start ubt0 > > /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 > > yes, if you call 'start' when everything was already started it will > fail. the safer thing is to do 'restart' or 'stop' and then 'start'. > > > # 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 > > this looks normal. > > thanks, > max Turns out the ISSC adapter is working after all (attached via the external hub). I was thrown by the "Unknown USB device" errors and the lack of entries in /dev - not being familiar with netgraph. And I'm pretty sure it was the BCM device I had working previously, so probably that will be ok, too. Thanks very much for your response, max. Wayne