Skip to contentSkip to conversation

linux-input: bcm5974-0.5: conformity, urb scrutinized

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

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

PATCH 1/1 linux-input: bcm5974-0.5: conformity, urb scrutinized

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.5, which is a light rewrite adressing the comments of Andrew Morton. Regarding the GFP_ATOMIC, it is still present in irq_button, irq_trackpad, and atp_open, based on the reasons given in the previous post.

The driver hooks have been extended with reset_resume, pre_reset and post_reset.

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 +690 -0

690 lines not on this page · raw message