Skip to contentSkip to conversation

forcing PS/2 USB emulation off

DISCUSSION Pete Zaitcev 1 participant 1 message Oct 21, 2004 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Alexandre Oliva

Here's Vojtech's patch, updated to 2.6.9-rc4-bk2-ish (Fedora Core kernel-2.6.8-1.624). Is there a good reason to keep it out of the base kernel?

Looks like something pre-historic. But I cannot blame you for not paying attention to little elves working on patches, because there was no way to do it. If hackers always sent their patches to mailing lists instead of maintainers directly, it might have saved hacking on obsolete patches and made world a better place, I reckon. Attached is the latest I have, but with all the activity under the carpet I cannot be sure that one is the head of the development either.

Anyone having a newer version please speak up.

-- Pete

Subject: [PATCH] early usb handoff for 2.6
From: john stultz <[email protected]>
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Message-Id: <[email protected]>
Date: Thu, 09 Sep 2004 18:12:02 -0700

Greg,
Apparently there is an issue w/ the IBM x440/x445's BIOS's USB
Legacy support. Due to the delay in issuing SMI's across the IOAPICs, its possible for I/O to ports 60/64 to cause register corruption.

The solution is to disable the BIOS's USB Legacy support early in boot(via PCI quirks) for x440/x445 systems.

Originally written by Vojtech against SuSE's tree, this patch was then updated to disable EHCI by Aleksey Gorelov, cleaned up by Pete Zaitcev for 2.4 and finally tweaked and updated against 2.6 by me.

I've lightly tested this version of the patch, but it differs little from what Aleksey, Pete and I have been testing for 2.4.

Please consider for inclusion into your tree for further testing?

thanks
-john

linux-2.6.9-rc1_usb-handoff_A3.patch
====================================

Documentation/kernel-parameters.txt +2 -0
diff -Nru a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
@@ -1270,6 +1270,8 @@
 
 	uart6850=	[HW,OSS]
 			Format: <io>,<irq>
+
+	usb-handoff	[HW] Enable early USB BIOS -> OS handoff
  
 	video=		[FB] Frame buffer configuration
 			See Documentation/fb/modedb.txt.
drivers/pci/quirks.c +230 -0

236 lines not on this page · raw message

include/asm-i386/mach-summit/mach_mpparse.h +3 -0
diff -Nru a/include/asm-i386/mach-summit/mach_mpparse.h b/include/asm-i386/mach-summit/mach_mpparse.h
@@ -22,6 +22,7 @@
 {
 }
 
+extern int usb_early_handoff;
 static inline int mps_oem_check(struct mp_config_table *mpc, char *oem, 
 		char *productid)
 {
@@ -31,6 +32,7 @@
 			 || !strncmp(productid, "RUTHLESS SMP", 12))){
 		use_cyclone = 1; /*enable cyclone-timer*/
 		setup_summit();
+		usb_early_handoff = 1;
 		return 1;
 	}
 	return 0;
@@ -44,6 +46,7 @@
 	     || !strncmp(oem_table_id, "EXA", 3))){
 		use_cyclone = 1; /*enable cyclone-timer*/
 		setup_summit();
+		usb_early_handoff = 1;
 		return 1;
 	}
 	return 0;