LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Oliver Neukum <oliver@neukum.org>
To: Adam Nielsen <a.nielsen@shikadi.net>
Cc: LKML Mailinglist <linux-kernel@vger.kernel.org>,
	linux-usb@vger.kernel.org
Subject: Re: Can you use the USB HID interface within a driver?
Date: Sat, 1 Nov 2008 13:08:40 +0100	[thread overview]
Message-ID: <200811011308.41339.oliver@neukum.org> (raw)
In-Reply-To: <490C4133.30400@shikadi.net>

Am Samstag, 1. November 2008 12:44:51 schrieb Adam Nielsen:
> I've tried to find some example code from a driver that already does 
> this (such as a USB keyboard driver) but I'm having some trouble finding 
> one!  The closest drivers I can find are all the ones in 
> drivers/hid/usbhid, but they all seem to be "embedded" in hid-core.c. 
> Does that mean I need to modify hid-core.c to call my driver?
> 
> Or perhaps someone could point me in the direction of a USB HID driver 
> that does things "properly" already?

Please post "lsusb -v" for your device.

	Regards
		Oliver


  reply	other threads:[~2008-11-01 12:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-01 11:44 Adam Nielsen
2008-11-01 12:08 ` Oliver Neukum [this message]
2008-11-01 12:32   ` Adam Nielsen
2008-11-01 14:52     ` Kay Sievers
2008-11-01 20:26 ` Jiri Kosina
2008-11-01 23:20   ` Adam Nielsen
2008-11-02  6:43     ` Driver for new hid class (was: Can you use the USB HID interface within a driver?) Adam Nielsen
2008-11-02 12:14       ` Driver for new hid class Jiri Slaby

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=200811011308.41339.oliver@neukum.org \
    --to=oliver@neukum.org \
    --cc=a.nielsen@shikadi.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --subject='Re: Can you use the USB HID interface within a driver?' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).