From: Ivan Ukhov <uvsoft@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: UVSoft@gmail.com
Subject: Re: How to use an usb interface than is claimed by HID?
Date: Sun, 21 Jan 2007 17:01:33 +0300 [thread overview]
Message-ID: <45B3723D.4030901@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0701211358570.21127@twin.jikos.cz>
Jiri Kosina wrote:
> Then, when this is a non-standard situation anyway, would calling
> hid_disconnect() for the usb_interface of your driver be enough?
>
I can't even imagine how to call this very function. Could you give me
an example? After all, this function and friends of its aren't
EXPORTED_SYMBOLs. Beside it's going to end up depending on the HID
driver, so the HID driver will have to be loaded all the time even if my
driver is loaded first and manages to claim the interfaces.
Sorry, I've absolutely forgotten to say that I'm talking about 2.4.x and
this function looks like:
static void hid_disconnect(struct usb_device *dev, void *ptr);
ptr is a pointer to the struct hid_device structure, which is created
and initialized in the probe function. Do you offer me to set up this
structure myself????
Thank you.
Ivan Ukhov.
next prev parent reply other threads:[~2007-01-21 14:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-20 18:56 How to use an usb interface than is claimed by HID? Ivan Ukhov
2007-01-20 23:09 ` Jiri Kosina
2007-01-20 23:47 ` Ivan Ukhov
2007-01-20 23:56 ` Jiri Kosina
2007-01-21 8:59 ` Ivan Ukhov
2007-01-21 13:01 ` Jiri Kosina
2007-01-21 14:01 ` Ivan Ukhov [this message]
2007-01-21 17:28 ` Jiri Kosina
2007-01-21 18:34 ` Ivan Ukhov
2007-01-23 12:57 ` Rolf Offermanns
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=45B3723D.4030901@gmail.com \
--to=uvsoft@gmail.com \
--cc=linux-kernel@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