From owner-freebsd-usb@FreeBSD.ORG Sun Jul 16 15:54:55 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B15BD16A4DA for ; Sun, 16 Jul 2006 15:54:55 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65D5F43D46 for ; Sun, 16 Jul 2006 15:54:55 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.160.49]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J2I003IS6VDI40D@vms040.mailsrvcs.net> for freebsd-usb@freebsd.org; Sun, 16 Jul 2006 10:54:50 -0500 (CDT) Date: Sun, 16 Jul 2006 11:54:27 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <200607151747.21167.hselasky@c2i.net> To: Hans Petter Selasky Message-id: <1153065269.903.18.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT References: <200607132025.09316.hselasky@c2i.net> <200607151012.52836.hselasky@c2i.net> <1152968057.922.5.camel@RabbitsDen> <200607151747.21167.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB bluetooth dongles X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2006 15:54:55 -0000 On Sat, 2006-07-15 at 17:47 +0200, Hans Petter Selasky wrote: > On Saturday 15 July 2006 14:54, Alexandre "Sunny" Kovalenko wrote: > > > > > > > > > On Thursday 13 July 2006 14:25, Hans Petter Selasky wrote: > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > Is there anyone on this list using USB Bluetooth dongles, > > > > > > > > > > that can test my new USB system and the USB Bluetooth > > > > > > > > > > driver? > > > At least on my system (-CURRENT as of July 9) sys/dev/usb/usb_port.h > > merely includes sys/dev/usb2/usb_port.h, > > Right, it should be "usb2/usb_port.h", sorry. > > > so I have patched that instead. > > Kernel build was successfull, but attempt to load ng_ubt module results > > in > > > > link_elf: symbol usbd_driver_load undefined > > That should not happen. Did you load "usb" first, and then "ng_ubt" ? I am using wrapper script which loads slew of USB related modules, including ng_ubt. I have assumed that your stack did not change module names. If names remained the same, then I have loaded USB module prior to ng_ubt. > > > This is the system built with configuration AVERATEC from my previous > > posts. > > > > I will try to build kernel with USB inside and see if that fares any > > better. Might not be until later today or tomorrow though... > > Ok. > > --HPS I have built kernel and is booted up successfully. Here is what I get upon insertion of the dongle #1 (D-Link DBT-120): usbd_fill_iface_data: invalid wMaxPacketSize, addr=126! usbd_fill_iface_data: invalid wMaxPacketSize, addr=126! >>>>>> ubt0: >>>>>> WARNING: attempt to net_add_domain(netgraph) after domainfinalize() ubt0:ubt_intr_read_complete:881: Invalid HCI event frame size, length=0, pktlen=7 ubt0:ubt_intr_read_complete:881: Invalid HCI event frame size, length=1, pktlen=7 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout lines, offset with >>>>>> were present before I installed your USB stack and driver and did not seem to prevent dongle from working. Here is what I get upon insertion of the dongle #2 (3Com 3CREB96): usbd_fill_iface_data: invalid wMaxPacketSize, addr=126! usbd_fill_iface_data: invalid wMaxPacketSize, addr=126! ubt0: <3Com Bluetooth dongle, class 224/1, rev 1.10/1.15, addr 126> ubt0:ubt_intr_read_complete:881: Invalid HCI event frame size, length=0, pktlen=7 ubt0:ubt_intr_read_complete:881: Invalid HCI event frame size, length=0, pktlen=7 ubt0:ubt_intr_read_complete:881: Invalid HCI event frame size, length=0, pktlen=7 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout Unfortunately, I have not used this dongle on this machine, so I have no dmesg for comparison. l2ping claims that network is down in both cases, which is, probably expected, given error messages above. -- Alexandre Kovalenko (Олександр Коваленко)