[patch] usb ohci suspend/resume v2

2003-09-09 Thread Anish Mistry
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):

Re: [patch] usb ohci suspend/resume v2

2003-09-09 Thread Mark Sergeant
I've cvsup'ed applied this patch and am now compiling world and kernel, should have an update in a few hours. Cheers, Mark 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

Re: [patch] usb ohci suspend/resume v2

2003-09-09 Thread Mark Sergeant
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':

[patch] usb ohci suspend/resume

2003-08-28 Thread Anish Mistry
If you have trouble with suspend/resume killing your usb devices try out the attached patch (ohci only, unless someone want to adapt to uhci). I think I finally got it working, at least it works with my mouse and no panics if you leave devices plugged during a suspend/resume cycle. Same as

USB Ohci Suspend/Resume

2003-04-05 Thread Anish Mistry
Hi, I've been working on some usb suspend/resume code for my laptop since the USB ports stop working after a resume. After a lot of trial and error I finally got it to work sorta. Behavior with my code: 1) If I remove any type of device, suspend the laptop and then resume any usb