Linux Input/HID development
 help / color / mirror / Atom feed
From: simon@mungewell.org
To: Antonio Ospite <ospite@studenti.unina.it>
Cc: simon@mungewell.org, linux-input@vger.kernel.org,
	Marcin Tolysz <tolysz@gmail.com>
Subject: Re: Rewriting wheels HID descriptor for complete functionality
Date: Wed, 1 Dec 2010 17:18:58 -0500	[thread overview]
Message-ID: <c7586f68fbd9dc8403b1dc74a028f906.squirrel@host171.canaca.com> (raw)
In-Reply-To: <20101201222022.b2e49a1b.ospite@studenti.unina.it>


> have you tried Marcin Tolysz's approach of loading the new HID
> descriptor from an external file?
>
> Look at:
> https://patchwork.kernel.org/patch/69723/
>

This looks plausable, and would be helpful to the hard-core hacker or
developer. However it would not really help with 'out of the box'
experience unless the distros would carry additional files for all known
'patches'.

As it stands it would require a file for each USB bus (presumably to allow
different settings for similar devices on a PC).

Given that you can bind/unbind USB devices via the
'/sys/bus/usb/drivers/usb-hid/[un]bind' interface, could it be possible to
present a HID descriptor file into which could be cat'ed a new descriptor
by the hard-core hacker?

Simon


  reply	other threads:[~2010-12-01 22:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 18:23 Rewriting wheels HID descriptor for complete functionality simon
2010-12-01 19:32 ` Nikolai Kondrashov
2010-12-01 21:20 ` Antonio Ospite
2010-12-01 22:18   ` simon [this message]
2011-02-27 22:45   ` Marcin Tolysz

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=c7586f68fbd9dc8403b1dc74a028f906.squirrel@host171.canaca.com \
    --to=simon@mungewell.org \
    --cc=linux-input@vger.kernel.org \
    --cc=ospite@studenti.unina.it \
    --cc=tolysz@gmail.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