mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rick L. Vinyard, Jr." <rvinyard@cs.nmsu.edu>
To: "Linux" <linux-kernel@vger.kernel.org>,
	"Linux USB" <linux-usb@vger.kernel.org>
Subject: usbhid driver: replacing resume or using a post resume function
Date: Tue, 26 Jan 2010 09:50:02 -0700	[thread overview]
Message-ID: <3026aa4769d53c108ee0671f2b17c668.squirrel@intranet.cs.nmsu.edu> (raw)

I was looking for an example of a hid driver that needs to customize
resume or provides a post resume function, but couldn't find one.

I would like to implement some post resume code. In particular, the g13 on
resume loses the backlight color, LCD image and LED state. On resume, it
needs feature reports sent to re-establish these settings.

However, I couldn't find a way to either provide a post resume function or
replace resume with a call to hid_resume() followed by the feature
reports.

Any suggestions?

---

Rick



             reply	other threads:[~2010-01-26 16:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 16:50 Rick L. Vinyard, Jr. [this message]
2010-01-26 23:21 ` Jiri Kosina
2010-01-27 14:57   ` Rick L. Vinyard, Jr.
2010-01-27 15:35     ` Oliver Neukum
2010-01-27 15:41       ` Rick L. Vinyard, Jr.

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=3026aa4769d53c108ee0671f2b17c668.squirrel@intranet.cs.nmsu.edu \
    --to=rvinyard@cs.nmsu.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /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®