From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 03:29:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E87EE16A4BF for ; Tue, 9 Sep 2003 03:29:46 -0700 (PDT) Received: from xyzzy.wireless.snsonline.net (dhcp.looksmart.com.au [210.9.52.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2980943FF3 for ; Tue, 9 Sep 2003 03:29:45 -0700 (PDT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.wireless.snsonline.net (localhost [127.0.0.1]) h89ATHwi014944; Tue, 9 Sep 2003 20:29:27 +1000 (EST) (envelope-from msergeant@snsonline.net) Received: (from msergeant@localhost)h89ATFAP014943; Tue, 9 Sep 2003 20:29:16 +1000 (EST) (envelope-from msergeant@snsonline.net) X-Authentication-Warning: xyzzy.wireless.snsonline.net: msergeant set sender to msergeant@snsonline.net using -f From: Mark Sergeant To: Anish Mistry In-Reply-To: <200309090318.50846.mistry.7@osu.edu> References: <200309090318.50846.mistry.7@osu.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SNSOnline Technical Services Message-Id: <1063103354.80782.25.camel@xyzzy.wireless.snsonline.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Tue, 09 Sep 2003 20:29:15 +1000 cc: freebsd-current@freebsd.org Subject: Re: [patch] usb ohci suspend/resume v2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 10:29:47 -0000 When compiling .... /usr/src/sys/dev/usb/ohci.c: In function `ohci_resume': /usr/src/sys/dev/usb/ohci.c:1035: warning: unused variable `hcr' /usr/src/sys/dev/usb/ohci.c:1035: warning: unused variable `desca' /usr/src/sys/dev/usb/ohci.c: In function `ohci_suspend': /usr/src/sys/dev/usb/ohci.c:1125: warning: unused variable `i' On Tue, 2003-09-09 at 17:18, Anish Mistry wrote: > On Monday 08 September 2003 02:39 am, you wrote: > > I've tried this patch but was unable to compile my kernel against it > > with any of the sources from the past couple of weeks, it does apply > > cleanly though. > > > > Cheers, > > > > Mark > > > Updated patch at (same as attached): > http://am-productions.biz/docs/usb-3.patch > > This still causes the same problem as setting hw.acpi.sleep_delay on my laptop > which cause a reset. I can't seem to figure out what in this patch that is > causing that same behavior, but I've yet to see anyone with that same > problem, so I'm going to assume that this should work for everyone else :(. > Please if you are a usb guru, I could use some help, I've looked at the spec > and some of the usb code, but am stuck for now. > If you try it, let me know your outcome so I can then clean up the patch so > that someone can commit it. > > Anish Mistry -- Mark Sergeant SNSOnline Technical Services