Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2006 19:02:04 +0200
From:      "Attilio Rao" <attilio@freebsd.org>
To:        "Marcin Cylke" <szyderca@gmail.com>,  "Hans Petter Selasky" <hselasky@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: interfacing uhid devs from kernel module
Message-ID:  <3bbf2fe10606151002k3f0ef021o1361a3cc8f3a469b@mail.gmail.com>
In-Reply-To: <e68e8e2e0606150944k28ed5e50x2d54dc24432e915@mail.gmail.com>
References:  <e68e8e2e0606150704n5dd96689uc1f8bcf0942392ad@mail.gmail.com> <200606151609.35267.hselasky@c2i.net> <e68e8e2e0606150944k28ed5e50x2d54dc24432e915@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2006/6/15, Marcin Cylke <szyderca@gmail.com>:
> On 6/15/06, Hans Petter Selasky <hselasky@c2i.net> wrote:
>
> > What functions do you need? Have you looked at uhid.c under /sys/dev/usb ?
>
> I would like to use the whole infrastructure:
> struct hid_item
> hid_usage_page()
> hid_usage_in_page()
> hid_init()
> hid_get_report_desc()

Give a look at USB mouse (ums.c) which give a good overview about HID
kernelspace API.

However I don't know if Hans has plans to change it in the new stack...

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10606151002k3f0ef021o1361a3cc8f3a469b>