Re: Helping out with autosuspend

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Freitag 14 September 2007 schrieb Sarah Sharp:
> I'd like to get involved with USB autosuspend, and I'm looking for ideas
> for where to start.  I've been following the recent discussions about
> switching to a whitelist, but I don't think that changes the need for
> autosuspend support in kernel drivers.

Indeed. Kernel supports is needed.

> Currently, Windows XP supports autosuspend [1] for:
>  - hubs
>  - hid devices (with a whitelist)
>  - bluetooth (self powered devices only)
>  - USB modems
> 
> Linux is lacking in bluetooth autosuspend support.  Would that be a good
> place for me to start?  Or is there a better autosuspend project for me
> to work on?

Bluetooth depends on Marcel finishing his rewrite of the the bluetooth
usb driver. In addition this is a whole device class with as hard experience
has shown us a new set a quirks that is to be expected. Furthermore you
need an understanding of the bluetooth powersave features and USB to make
this work.

Generally the first requirement of working in this area is that you have
preferably several kinds of the devices you want to work on for testing.
I would recommend on using a driver for a specific device as the first
driver to work on. You'll have only limited hardware to be badly surprised
by. For a learning experience I'd recommend starting from a driver which
doesn't have suspend/resume support in the current kernel, add it and
build autosuspend on top of that.

Hubs and hid have been done. Modems will need quirk handling, as there
are buggy devices out there. I suggest you start with a device specific
network driver or a video input driver.
If you insist on staying close to bluetooth, irda might be more fruitful
a target for now.

	HTH
		Oliver


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.