Re: Drivers without suspend/resume/reset-resume support

Tilman Schmidt <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization me - organized??
Message-ID <[email protected]>
Am 12.10.2007 07:54 schrieb Oliver Neukum:
> You cannot expect full function from a driver that doesn't support the
> full API. If a driver doesn't support suspend/resume, by definition it
> doesn't care or is buggy.

The two USB drivers in drivers/isdn/gigaset would arguably fall into
the second category. I would love to fix that but have been unable
to find the necessary information on the suspend/resume API. I have
read Documentation/power/devices.txt but much of it just refers me
to bus specific mechanisms.

Is there any documentation available that would tell me which
methods I have to implement and what to do in them, specifically
in the context of USB and ISDN?

Wrt USB, I already gathered from past discussions that outstanding
URBs are not handled gracefully across a suspend and should therefore
be cancelled before suspending and resubmitted afterwards. Is that
all? What about altsettings? What about devices plugged or unplugged
during the suspend?

Wrt ISDN, should my driver inform the isdn4linux subsystem if it
gets suspended, and if so, how?

Is there a clear policy how to handle ongoing activity such as an
established dial-up connection in the case of a suspend request?
Just "pull the plug"? Take the time to do an orderly hangup?
Refuse to suspend while there is still a connection? Can/should
that decision depend on the type of event triggering the suspend?
(user request, idle time, low battery)

Thanks for any hints,
Tilman

-- 
Tilman Schmidt                          E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 253 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3rc1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHEQLvMdB4Whm86/kRAh1BAJ9oZIAiUoZ8NEw8RdJtKWZKsTMF8wCfbJ4N
Ra79y+DE5LSM8Wzpo2z7vvs=
=SBZ7
-----END PGP SIGNATURE-----
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.