[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1219525218.8221.31.camel@localhost>
Date: Sat, 23 Aug 2008 21:00:18 +0000
From: Soeren Sonnenburg <kernel@....de>
To: Linux Kernel <linux-kernel@...r.kernel.org>
Cc: Oliver Neukum <oliver@...kum.org>,
Alan Stern <stern@...land.harvard.edu>,
Jiri Kosina <jikos@...os.cz>
Subject: converting appletouch to usb autosuspend again...
Dear all,
I wonder whether anyone else tried to get appletouch usb autosuspend to
work. I've seen Oliver's patch but as it kept oopsing on me and I
couldn't parse the usb_mark_last_busy logic I came up with the attached
patch against (current git; at least didn't oops for me over the last
several days and suspend/resume cycles).
However things I don't understand,
a) is autosuspend on the appletouch driver used at all (how can I find
out)
b) do I need dev->intf->needs_remote_wakeup = 1; ?
c) is line 33 in the patch safe to do ?
And while we are at it I am still seeing these X falls back to hid mouse
mode, only switching to console and back resolves this (looks like this
only worked in previous kernels as resume from s2ram took a lot longer
due to the IDE driver doing a couple of resets) - is there anything one
could do about it?
Soeren
View attachment "appletouch_autosuspend.diff" of type "text/x-patch" (3921 bytes)
Powered by blists - more mailing lists