Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f7d79385
Commit
f7d79385
authored
Jan 19, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: hook up the other (non-HID) input devices to the input system properly.
parent
609088f5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
0 deletions
+7
-0
drivers/usb/input/aiptek.c
drivers/usb/input/aiptek.c
+1
-0
drivers/usb/input/kbtab.c
drivers/usb/input/kbtab.c
+1
-0
drivers/usb/input/powermate.c
drivers/usb/input/powermate.c
+1
-0
drivers/usb/input/usbkbd.c
drivers/usb/input/usbkbd.c
+1
-0
drivers/usb/input/usbmouse.c
drivers/usb/input/usbmouse.c
+1
-0
drivers/usb/input/wacom.c
drivers/usb/input/wacom.c
+1
-0
drivers/usb/input/xpad.c
drivers/usb/input/xpad.c
+1
-0
No files found.
drivers/usb/input/aiptek.c
View file @
f7d79385
...
...
@@ -318,6 +318,7 @@ aiptek_probe(struct usb_interface *intf,
aiptek
->
dev
.
id
.
vendor
=
dev
->
descriptor
.
idVendor
;
aiptek
->
dev
.
id
.
product
=
dev
->
descriptor
.
idProduct
;
aiptek
->
dev
.
id
.
version
=
dev
->
descriptor
.
bcdDevice
;
aiptek
->
dev
.
dev
=
&
intf
->
dev
;
aiptek
->
usbdev
=
dev
;
endpoint
=
&
intf
->
altsetting
[
0
].
endpoint
[
0
].
desc
;
...
...
drivers/usb/input/kbtab.c
View file @
f7d79385
...
...
@@ -172,6 +172,7 @@ static int kbtab_probe(struct usb_interface *intf, const struct usb_device_id *i
kbtab
->
dev
.
id
.
vendor
=
dev
->
descriptor
.
idVendor
;
kbtab
->
dev
.
id
.
product
=
dev
->
descriptor
.
idProduct
;
kbtab
->
dev
.
id
.
version
=
dev
->
descriptor
.
bcdDevice
;
kbtab
->
dev
.
dev
=
&
intf
->
dev
;
kbtab
->
usbdev
=
dev
;
endpoint
=
&
intf
->
altsetting
[
0
].
endpoint
[
0
].
desc
;
...
...
drivers/usb/input/powermate.c
View file @
f7d79385
...
...
@@ -388,6 +388,7 @@ static int powermate_probe(struct usb_interface *intf, const struct usb_device_i
pm
->
input
.
id
.
product
=
udev
->
descriptor
.
idProduct
;
pm
->
input
.
id
.
version
=
udev
->
descriptor
.
bcdDevice
;
pm
->
input
.
event
=
powermate_input_event
;
pm
->
input
.
dev
=
&
intf
->
dev
;
input_register_device
(
&
pm
->
input
);
...
...
drivers/usb/input/usbkbd.c
View file @
f7d79385
...
...
@@ -299,6 +299,7 @@ static int usb_kbd_probe(struct usb_interface *iface,
kbd
->
dev
.
id
.
vendor
=
dev
->
descriptor
.
idVendor
;
kbd
->
dev
.
id
.
product
=
dev
->
descriptor
.
idProduct
;
kbd
->
dev
.
id
.
version
=
dev
->
descriptor
.
bcdDevice
;
kbd
->
dev
.
dev
=
&
iface
->
dev
;
if
(
!
(
buf
=
kmalloc
(
63
,
GFP_KERNEL
)))
{
usb_free_urb
(
kbd
->
irq
);
...
...
drivers/usb/input/usbmouse.c
View file @
f7d79385
...
...
@@ -183,6 +183,7 @@ static int usb_mouse_probe(struct usb_interface * intf, const struct usb_device_
mouse
->
dev
.
id
.
vendor
=
dev
->
descriptor
.
idVendor
;
mouse
->
dev
.
id
.
product
=
dev
->
descriptor
.
idProduct
;
mouse
->
dev
.
id
.
version
=
dev
->
descriptor
.
bcdDevice
;
mouse
->
dev
.
dev
=
&
intf
->
dev
;
if
(
!
(
buf
=
kmalloc
(
63
,
GFP_KERNEL
)))
{
usb_buffer_free
(
dev
,
8
,
mouse
->
data
,
mouse
->
data_dma
);
...
...
drivers/usb/input/wacom.c
View file @
f7d79385
...
...
@@ -578,6 +578,7 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i
wacom
->
dev
.
id
.
vendor
=
dev
->
descriptor
.
idVendor
;
wacom
->
dev
.
id
.
product
=
dev
->
descriptor
.
idProduct
;
wacom
->
dev
.
id
.
version
=
dev
->
descriptor
.
bcdDevice
;
wacom
->
dev
.
dev
=
&
intf
->
dev
;
wacom
->
usbdev
=
dev
;
endpoint
=
&
intf
->
altsetting
[
0
].
endpoint
[
0
].
desc
;
...
...
drivers/usb/input/xpad.c
View file @
f7d79385
...
...
@@ -267,6 +267,7 @@ static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id
xpad
->
dev
.
id
.
vendor
=
udev
->
descriptor
.
idVendor
;
xpad
->
dev
.
id
.
product
=
udev
->
descriptor
.
idProduct
;
xpad
->
dev
.
id
.
version
=
udev
->
descriptor
.
bcdDevice
;
xpad
->
dev
.
dev
=
&
intf
->
dev
;
xpad
->
dev
.
private
=
xpad
;
xpad
->
dev
.
name
=
xpad_device
[
i
].
name
;
xpad
->
dev
.
phys
=
xpad
->
phys
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment