From owner-cvs-all Thu May 9 6:22:45 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 1FA2E37B417 for ; Thu, 9 May 2002 06:22:37 -0700 (PDT) Received: (qmail 25534 invoked from network); 9 May 2002 13:22:36 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 May 2002 13:22:36 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g49DMYF37870; Thu, 9 May 2002 09:22:34 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020509125751.GB2482@genius.tao.org.uk> Date: Thu, 09 May 2002 09:22:27 -0400 (EDT) From: John Baldwin To: Josef Karthauser Subject: Re: cvs commit: src/sys/dev/usb usb_port.h Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-May-2002 Josef Karthauser wrote: > On Thu, May 09, 2002 at 05:49:25AM -0700, Josef Karthauser wrote: >> joe 2002/05/09 05:49:25 PDT >> >> Modified files: >> sys/dev/usb usb_port.h >> Log: >> MFNetBSD: >> revision 1.43 >> date: 2001/04/12 01:39:04; author: thorpej; state: Exp; lines: +2 >> -2 >> Switch to USB_USE_SOFTINTR. The callout hack does indeed work >> fine for systems without generic soft interrupts, even if it is >> a little sub-optimal. Consider it a penalty for ports not >> implementing a kernel API. >> >> Addresses kern/11957. The PR has been open for 4 months, and >> I have work blocked on the continued existence of splimp() in >> the networking code. >> >> The NetBSD patch only switches it on for NetBSD, but I've also >> switched it on for FreeBSD in this commit. > > This appears to fix the device disconnect problem that I reported on > -current last week. In particular my hub now works, and if I have a > mouse plugged into it that also gets disconnected, and reconnects when I > plug the hub back in. > > There are still problems with hid devices like joysticks, etc, where the > kernel will panic because it looks like a device_make is being called > twice. NetBSD has a new hid framework, which makes mice and keyboards, > etc, subdevices of the hid device. It's on my list to bring this > framework in. > > I tested this on a 2002.04.29.17.00.00 kernel. A kernel from today > crashes during device probes; I've no idea why. What is the crash? > Joe -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message