From owner-freebsd-usb@FreeBSD.ORG Thu Jan 1 16:56:12 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65CF91065674 for ; Thu, 1 Jan 2009 16:56:12 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 848738FC16 for ; Thu, 1 Jan 2009 16:56:11 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy14 with SMTP id 14so7306251ewy.19 for ; Thu, 01 Jan 2009 08:56:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=ehnLBpaWoC3XiqP1cegTao6Q0lO0IGIR18/JxJAuU7Q=; b=ZUmj492M9HxpHJyYK8lPk/fOsLtrYR31D3M+6I5OdETz4QkSQ0htHJY+kxAxYCWcbK Ia+Ln4bGpBJGy+vJzsjKEtdABZgAtyIUsn99f2FOdbrZag9AynoaWHwsNLp+ZVE58zZS yg/IATnn0Wyh3GT6yJHLsiGrqloU371eOAThk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=YTEwNWpBUnpd27pKxT43PcPipzwJrqjnd7ucz6TIhLOLm5pFZfv7RNinob5uZcXsZr mMMd+Wo6NvmJyhSlevlTBlPQAdYJB5cewgfjgCy2zkmkA6M0jwn5FPJcOSj7OZkIOXAh LEFfoKeUV4PQZgiTaEaT5xTdl2IoVLxbZM+pg= Received: by 10.210.59.14 with SMTP id h14mr5647068eba.177.1230827544591; Thu, 01 Jan 2009 08:32:24 -0800 (PST) Received: from epsilon.lan (bl6-146-62.dsl.telepac.pt [82.155.146.62]) by mx.google.com with ESMTPS id t12sm12267712gvd.13.2009.01.01.08.32.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Jan 2009 08:32:23 -0800 (PST) Sender: Rui Paulo Message-Id: From: Rui Paulo To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Thu, 1 Jan 2009 16:32:21 +0000 X-Mailer: Apple Mail (2.930.3) Subject: New USB stack very noisy 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: Thu, 01 Jan 2009 16:56:12 -0000 So, I was playing with suspend/resume on my laptop to see how well did the new USB stack cope and I was happy that it survived. However... it's really noisy. n 1 16:22:19 phi kernel: uhci_interrupt: host controller halted Jan 1 16:22:19 phi kernel: uhci_dumpregs:696: usbus2 regs: cmd=0000, sts=0020, intr=0000, frnum=061f, flbase=1edae87c, sof=0040, portsc1=0080, portsc2=0080 Jan 1 16:22:19 phi kernel: uhci_dump_qh:769: QH(0xc2d7b680) at 0x0157b682: h_next=0x0157b602 e_next=0x00000001 Jan 1 16:22:19 phi kernel: uhci_dump_qh:769: QH(0xc2d7b600) at 0x0157b602: h_next=0x0157b582 e_next=0x00000001 Jan 1 16:22:19 phi kernel: uhci_dump_qh:769: QH(0xc2d7b580) at 0x0157b582: h_next=0x0157b502 e_next=0x00000001 Jan 1 16:22:19 phi kernel: uhci_dump_qh:769: QH(0xc2d7b500) at 0x0157b502: h_next=0x00000001 e_next=0x0157b480 Jan 1 16:22:19 phi kernel: umass0: at ushub4, port 5, addr 2 (disconnected) This is repeated almost a hundred times before a real suspend. We are probably missing some bits in the uhci_interrupt to cope with suspend. -- Rui Paulo