From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 5 11:38:15 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2F3337B401; Sat, 5 Apr 2003 11:38:14 -0800 (PST) Received: from castle.org (castle.org [207.178.4.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C4943FAF; Sat, 5 Apr 2003 11:38:14 -0800 (PST) (envelope-from nomad@castle.org) Received: from castle.org (localhost.castle.org [127.0.0.1]) by castle.org (8.12.9/8.12.9) with ESMTP id h35Jc3R2048752; Sat, 5 Apr 2003 11:38:03 -0800 (PST) (envelope-from nomad@castle.org) Message-Id: <200304051938.h35Jc3R2048752@castle.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: ticso@cicely.de In-reply-to: Your message of Sat, 05 Apr 2003 10:38:10 +0200. <20030405083809.GF55343@cicely9.cicely.de> X-uri: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 05 Apr 2003 11:38:03 -0800 From: Lee Damon cc: mobile@freebsd.org cc: current@freebsd.org Subject: Re: IBM T30 USB issue: kernel: uhub2: device problem, disabling port 1 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 19:38:15 -0000 I just doubled USB_PORT_POWERUP_DELAY from 300 to 600. Same problem when I hit the bluetooth button. All tests have been done with the laptop running on AC line feed. I doubt it's related, but this system is using APM because ACPI doesn't work right yet. Apr 5 11:32:17 tylendel kernel: uhub2: device problem, disabling port 1 FreeBSD tylendel.castle.org 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Sat Apr 5 10:07:16 PST 2003 root@tylendel.castle.org:/users/FreeBSD-5.0/obj/users/Fre eBSD-5.0/src/sys/TYLENDEL i386 Sources were sup'd 3 APR, 15:53 PST nomad > On Tue, Apr 01, 2003 at 10:02:47AM -0800, Lee Damon wrote: > > I've just sup'd a completely clean source tree and compiled a new > > kernel and world. My kernconf is the generic one with pcm and apm > > turned on. apci is turned off in the hints file (because it breaks > > the mouse). I have INVARIANTS, DDB, and WITNESS turned off right now, for > > speed. > > > > When I try to activate a Bluetooth USB device, I get the following error: > > Apr 1 09:57:26 tylendel kernel: uhub2: device problem, disabling port 1 > > > > I am reasonably convinced it isn't a problem with the bluetooth daughter > > card (but can be convinced otherwise, of course). > > This is a problem with the connected device. > My expirience about this is that such devices have bad oscillator > designs and notebooks tend to have a worse power quality - especialy > when running on batteries. > I asume that most of this device work if you give them more time to > get ready after connecting than required by specs. > It seems that we already wait longer than required, but you can try > to increase USB_PORT_POWERUP_DELAY in src/sys/dev/usb/usb.h a bit more. > > -- > B.Walter BWCT http://www.bwct.de > ticso@bwct.de info@bwct.de > nomad ----------- - Lee "nomad" Damon - \ play: nomad@castle.org or castle!nomad \ work: nomad@ee.washington.edu \ /\ Seneschal, Castle PAUS. / \ "Celebrate Diversity" / \