Skip to contentSkip to conversation

linux-input: bcm5974-0.55: smoother motion, irq simplification.

PATCH New Henrik Rydberg 1 participant 1 message Jul 10, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-input: bcm5974-0.55: smoother motion, irq simplification.

From: Henrik Rydberg <[email protected]>

BCM5974: This driver adds support for the multitouch trackpad on the new Apple Macbook Air and Macbook Pro Penryn laptops. It replaces the appletouch driver on those computers, and integrates well with the synaptics driver of the Xorg system.

---

This is version bcm5974-0.55, with some 20 confirmed users on both i686 and x86_64 mactels. Changes since 0.5 are in short:

* Fine-tuned signal-to-noise ratio, smoother mouse motion.
* Interrupt code got minor simplifications.
* GFP_ATOMIC changed to GFP_KERNEL in atp_open.

The modification rate of this code is now close to a halt.

drivers/input/mouse/Kconfig +23 -0
index 7bbea09..956cc4f 100644
@@ -130,6 +130,29 @@ config MOUSE_APPLETOUCH
 	  To compile this driver as a module, choose M here: the
 	  module will be called appletouch.
 
+config MOUSE_BCM5974
+	tristate "Apple USB BCM5974 Multitouch trackpad support"
+	depends on USB_ARCH_HAS_HCD
+	depends on USB
+	help
+	  Say Y here if you have an Apple USB BCM5974 Multitouch
+	  trackpad.
+	  
+	  The BCM5974 is the multitouch trackpad found in the Macbook
+	  Air (JAN2008) and Macbook Pro Penryn (FEB2008) laptops.
+	  
+	  It is also found in the IPhone (2007) and Ipod Touch (2008).
+	  
+	  This driver provides multitouch functionality together with
+	  the synaptics X11 driver.
+	  
+	  The interface is currently identical to the appletouch interface,
+	  for further information, see
+	  <file:Documentation/input/appletouch.txt>.
+	  
+	  To compile this driver as a module, choose M here: the 
+	  module will be called bcm5974.
+
 config MOUSE_INPORT
 	tristate "InPort/MS/ATIXL busmouse"
 	depends on ISA
drivers/input/mouse/Makefile +1 -0
index 9e6e363..d4d2025 100644
@@ -6,6 +6,7 @@
 
 obj-$(CONFIG_MOUSE_AMIGA)	+= amimouse.o
 obj-$(CONFIG_MOUSE_APPLETOUCH)	+= appletouch.o
+obj-$(CONFIG_MOUSE_BCM5974)	+= bcm5974.o
 obj-$(CONFIG_MOUSE_ATARI)	+= atarimouse.o
 obj-$(CONFIG_MOUSE_RISCPC)	+= rpcmouse.o
 obj-$(CONFIG_MOUSE_INPORT)	+= inport.o
drivers/input/mouse/bcm5974.c new file +678 -0

678 lines not on this page · raw message