mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alistair John Strachan <s0348365@sms.ed.ac.uk>
To: Soeren Sonnenburg <kernel@nn7.de>
Cc: linux-usb-devel@lists.sourceforge.net,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	maxk@qualcomm.com
Subject: Re: converting appletouch to usb autosuspend...
Date: Sat, 12 May 2007 22:47:44 +0100	[thread overview]
Message-ID: <200705122247.44795.s0348365@sms.ed.ac.uk> (raw)
In-Reply-To: <1178995886.4168.10.camel@localhost>

On Saturday 12 May 2007 19:51:26 Soeren Sonnenburg wrote:
> Dear all,
>
> I've realized using the great powertop ( http://www.linuxpowertop.org/ )
> that loading the appletouch driver (and touching it once) makes consumes
> about 0.3 W even when not touching the pad. As rmmod'ing appletouch
> fixes this I wonder why the driver does not do this alone. So my
> question is what does one have to do to convert a driver (such as
> appletouch) to make use of usb autosuspend except for
>
>  .supports_autosuspend = 1
>
> ...
>
> While we are at it usb related powerhogs on this macbook pro are
> uhci_hcd (usb keyboard) and usb_hcd_poll_rh_status (rh_timer_func)
> too...

I've found that hci_usb also hogs power on the Macbook; blacklisting this 
module cuts down HZ considerably. I also found appletouch consumed ticks, 
just as you did.

uhci_hcd then drops to noise; my Macbook's sitting on 10W with the backlight 
on minimum, which is about what it can manage in OS X on maximum life 
settings.

-- 
Cheers,
Alistair.

Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

  parent reply	other threads:[~2007-05-12 21:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-12 18:51 Soeren Sonnenburg
2007-05-12 19:59 ` [linux-usb-devel] " Alan Stern
2007-05-12 21:40   ` Jiri Kosina
2007-05-14  7:39     ` Oliver Neukum
2007-05-12 21:47 ` Alistair John Strachan [this message]
2007-05-14  0:46   ` Soeren Sonnenburg
2007-05-14  0:53     ` Alistair John Strachan
2007-05-14  5:50       ` Oliver Neukum
2007-05-14 17:56         ` Alistair John Strachan
2007-05-13 17:20 ` [PATCH] Make appletouch shut up when it has nothing to say Matthew Garrett
2007-05-13 18:46   ` Pete Zaitcev
2007-05-13 19:57     ` Matthew Garrett
2007-05-14  0:19       ` Soeren Sonnenburg
2007-05-14  1:58       ` Pete Zaitcev
2007-05-15 20:34         ` Soeren Sonnenburg
2007-05-16  2:38           ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200705122247.44795.s0348365@sms.ed.ac.uk \
    --to=s0348365@sms.ed.ac.uk \
    --cc=kernel@nn7.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=maxk@qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®