From: Li Yu <raise.sail@gmail.com>
To: Linux Input Mail List <linux-input@atrey.karlin.mff.cuni.cz>
Subject: [PATCH] hid: hid bus prototype 20070416
Date: Mon, 16 Apr 2007 13:57:43 +0800 [thread overview]
Message-ID: <46231057.4080102@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1963 bytes --]
HID bus prototype 20070416
Changelog since 20070408:
1. HID/Bluetooth work, however we can not forcely remove hidp.ko,
elsewise the kernel oops. It is tested by one Logitech mouse, thanks
yanghong here again. The reason of oops is the user process trap into
kernel by ioctl() on hidp socket, but this implementation code already
be removed out of kernel. Unfortunately, I found the original hidp.ko
also have this problem. It seem we can not forcely close that socket
without touch VFS code.
2. API Renames, e.g. register_hid_device() ==> hid_register_device().
3. Add HID_QUIRKS_SKIP.
4. Other refactorings or cleans.
NOTE: This patch is only for review. so it just is prototype.
drivers/hid/Kconfig | 2
drivers/hid/Makefile | 22 +
drivers/hid/hid-al.c | 505 +++++++++++++++++++++++++++++++++++++++++
drivers/hid/hid-core.c | 154 +++++++++---
drivers/hid/hid-input.c | 371 ++++++++++++++----------------
drivers/hid/hid-inter.h | 26 ++
drivers/hid/hidraw.c | 60 +++-
drivers/hid/usbhid/Kconfig | 38 +--
drivers/hid/usbhid/Makefile | 42 +--
drivers/hid/usbhid/hid-core.c | 261 ++++++++++++---------
drivers/hid/usbhid/hid-ff.c | 90 -------
drivers/hid/usbhid/hid-lgff.c | 55 ++++
drivers/hid/usbhid/hid-pb.c | 334 +++++++++++++++++++++++++++
drivers/hid/usbhid/hid-pidff.c | 36 ++
drivers/hid/usbhid/hid-plff.c | 50 +++-
drivers/hid/usbhid/hid-tmff.c | 50 +++-
drivers/hid/usbhid/hid-zpff.c | 52 ++++
drivers/hid/usbhid/hiddev.c | 95 ++++---
drivers/hid/usbhid/usbhid.h | 4
include/linux/hid.h | 193 ++++++++++-----
include/linux/hiddev.h | 18 -
include/linux/hidraw.h | 14 -
include/linux/input.h | 2
net/bluetooth/hidp/Makefile | 12
net/bluetooth/hidp/core.c | 129 +++++++---
25 files changed, 1940 insertions(+), 675 deletions(-)
[-- Attachment #2: hidbus-070416.patch.gz --]
[-- Type: application/x-gzip, Size: 25025 bytes --]
reply other threads:[~2007-04-16 5:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=46231057.4080102@gmail.com \
--to=raise.sail@gmail.com \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
/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;
as well as URLs for NNTP newsgroup(s).