https://bugzilla.kernel.org/show_bug.cgi?id=42721
--- Comment #24 from jospez...@gmx.de 2012-02-15 00:09:32 --- jlgentoo linux-3.2.6 # patch -R --verbose drivers/usb/host/uhci-hcd.c < /home/joerg/Downloads/5c12e7856d75f68c1ca8372d6cc76cdbc71763c0.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 5c12e7856d75f68c1ca8372d6cc76cdbc71763c0 Mon Sep 17 00:00:00 2001 |From: Alan Stern <st...@rowland.harvard.edu> |Date: Mon, 26 Sep 2011 15:25:26 +0000 |Subject: USB: UHCI: improve comments and logic for root-hub suspend | |This patch (as1488) improves the comments and logic in uhci-hcd's |suspend routine. The existing comments are hard to understand and |don't give a good idea of what's really going on. | |The question of whether EGSM (Enter Global Suspend Mode) and RD |(enable Resume Detect interrupts) can be useful when they're not both |set is difficult. The spec doesn't give any details on how they |interact with system wakeup, although clearly they are meant to be |used together. To be safe, the patch changes the subroutine so that |neither bit gets set unless they both do. There shouldn't be any |functional changes from this; only systems that are designed badly or |broken in some way need to avoid using those bits. | |Signed-off-by: Alan Stern <st...@rowland.harvard.edu> |Signed-off-by: Greg Kroah-Hartman <gre...@suse.de> |--- |diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c |index fba99b1..c8ae199 100644 |--- a/drivers/usb/host/uhci-hcd.c |+++ b/drivers/usb/host/uhci-hcd.c -------------------------- Patching file drivers/usb/host/uhci-hcd.c using Plan A... Hunk #1 succeeded at 294. Hunk #2 succeeded at 364. Hmm... Ignoring the trailing garbage. done jlgentoo linux-3.2.6 # cd .. jlgentoo src # diff linux-3.1.9/drivers/usb/host/uhci-hcd.c linux-3.2.6/drivers/usb/host/uhci-hcd.c jlgentoo src # lol??? so I just could had to copy the file from 3.1.9 ? ok I will survive: jlgentoo linux-3.2.6 # make oldconfig; make && make modules_install && make install ; eject ;KERNEL_DIR="/usr/src/linux-3.2.6-rc2/" emerge -v1 nvidia-drivers virtualbox-modules --quiet-build=n Lets see, what happens... by the way, before revertpatching: jlgentoo src # diff linux-3.3-rc3/drivers/usb/host/uhci-hcd.c linux-3.2.6/drivers/usb/host/uhci-hcd.c 62c62 < static bool ignore_oc; --- > static int ignore_oc; jlgentoo src # -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla