Skip to contentSkip to conversation

input: bcm5974: retract efi-broken suspend_resume

PATCH In review [email protected] 3 participants 3 messages Mar 11, 2010 – Mar 14, 2010

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

PATCH 1/1 input: bcm5974: retract efi-broken suspend_resume

From: "Henrik Rydberg" <[email protected]>

With the recent system-wide improvements on suspend/resume and EFI booting the suspend_resume method of the bcm5974 has broken. When waking up from the S3 state on the MacBookAir, the trackpad is found in a yet unknown state, unable to switch to the proper multitouch mode. The result is a frozen touchpad, and a flood of errors of the kind

bcm5974: bad trackpad package, length: 8.

This patch retracts the reset_resume method altogether, falling back on the generic unbind/rebind functionality of the usb layer until further investigations can be made as how to reset the device when booting from efi.

---

 drivers/input/mouse/bcm5974.c |    1 -
 1 file changed, 1 deletion(-)
drivers/input/mouse/bcm5974.c renamed from drivers/input/mouse/bcm5974.c~input-bcm5974-retract-efi-broken-suspend_resume +0 -1
diff -puN drivers/input/mouse/bcm5974.c~input-bcm5974-retract-efi-broken-suspend_resume drivers/input/mouse/bcm5974.c
@@ -803,7 +803,6 @@ static struct usb_driver bcm5974_driver 
 	.disconnect		= bcm5974_disconnect,
 	.suspend		= bcm5974_suspend,
 	.resume			= bcm5974_resume,
-	.reset_resume		= bcm5974_resume,
 	.id_table		= bcm5974_table,
 	.supports_autosuspend	= 1,
 };

_

maintainer
#1 lore raw

Henrik,

Quoted 8 lines · On Thu, Mar 11, 2010 at 02:04:58PM -0800, [email protected] wrote:

From: "Henrik Rydberg" <[email protected]>

With the recent system-wide improvements on suspend/resume and EFI booting the suspend_resume method of the bcm5974 has broken. When waking up from the S3 state on the MacBookAir, the trackpad is found in a yet unknown state, unable to switch to the proper multitouch mode. The result is a frozen touchpad, and a flood of errors of the kind

Quoted 6 lines

bcm5974: bad trackpad package, length: 8.

This patch retracts the reset_resume method altogether, falling back on the generic unbind/rebind functionality of the usb layer until further investigations can be made as how to reset the device when booting from efi.

Is the driver still broken on EFI without this patch? I was hoping if I ignore the patch long enough EFI will get fixed ;)

Thanks.

Signature · 1 line
Dmitry
#2 lore raw
Quoted 18 lines · Dmitry Torokhov

Henrik,

Quoted 8 lines · On Thu, Mar 11, 2010 at 02:04:58PM -0800, [email protected] wrote:

From: "Henrik Rydberg" <[email protected]>

With the recent system-wide improvements on suspend/resume and EFI booting the suspend_resume method of the bcm5974 has broken. When waking up from the S3 state on the MacBookAir, the trackpad is found in a yet unknown state, unable to switch to the proper multitouch mode. The result is a frozen touchpad, and a flood of errors of the kind

Quoted 6 lines

bcm5974: bad trackpad package, length: 8.

This patch retracts the reset_resume method altogether, falling back on the generic unbind/rebind functionality of the usb layer until further investigations can be made as how to reset the device when booting from efi.

Quoted 5 lines

Is the driver still broken on EFI without this patch? I was hoping if I ignore the patch long enough EFI will get fixed ;)

Thanks.

The problem persists in all grub-efi flavors of version 1.97. I have not been able to test later versions.

Henrik