* [patch 1/1] input: bcm5974: retract efi-broken suspend_resume
@ 2010-03-11 22:04 akpm
2010-03-13 8:35 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: akpm @ 2010-03-11 22:04 UTC (permalink / raw)
To: dtor; +Cc: linux-input, akpm, rydberg
From: "Henrik Rydberg" <rydberg@euromail.se>
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.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/input/mouse/bcm5974.c | 1 -
1 file changed, 1 deletion(-)
diff -puN drivers/input/mouse/bcm5974.c~input-bcm5974-retract-efi-broken-suspend_resume drivers/input/mouse/bcm5974.c
--- a/drivers/input/mouse/bcm5974.c~input-bcm5974-retract-efi-broken-suspend_resume
+++ a/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,
};
_
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 1/1] input: bcm5974: retract efi-broken suspend_resume
2010-03-11 22:04 [patch 1/1] input: bcm5974: retract efi-broken suspend_resume akpm
@ 2010-03-13 8:35 ` Dmitry Torokhov
2010-03-14 9:51 ` Henrik Rydberg
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2010-03-13 8:35 UTC (permalink / raw)
To: akpm; +Cc: linux-input, rydberg
Henrik,
On Thu, Mar 11, 2010 at 02:04:58PM -0800, akpm@linux-foundation.org wrote:
> From: "Henrik Rydberg" <rydberg@euromail.se>
>
> 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.
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.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 1/1] input: bcm5974: retract efi-broken suspend_resume
2010-03-13 8:35 ` Dmitry Torokhov
@ 2010-03-14 9:51 ` Henrik Rydberg
0 siblings, 0 replies; 3+ messages in thread
From: Henrik Rydberg @ 2010-03-14 9:51 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: akpm, linux-input
Dmitry Torokhov wrote:
> Henrik,
>
> On Thu, Mar 11, 2010 at 02:04:58PM -0800, akpm@linux-foundation.org wrote:
>> From: "Henrik Rydberg" <rydberg@euromail.se>
>>
>> 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.
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-14 9:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 22:04 [patch 1/1] input: bcm5974: retract efi-broken suspend_resume akpm
2010-03-13 8:35 ` Dmitry Torokhov
2010-03-14 9:51 ` Henrik Rydberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).