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
nexedi
linux
Commits
88593e9d
Commit
88593e9d
authored
Mar 09, 2004
by
Gerd Knorr
Committed by
Linus Torvalds
Mar 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] bttv input update
This adds infrared remote support for a few more bt878-based TV cards.
parent
c5046934
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
drivers/media/video/ir-kbd-gpio.c
drivers/media/video/ir-kbd-gpio.c
+19
-4
No files found.
drivers/media/video/ir-kbd-gpio.c
View file @
88593e9d
...
...
@@ -279,13 +279,17 @@ static int ir_probe(struct device *dev)
switch
(
sub
->
core
->
type
)
{
case
BTTV_AVERMEDIA
:
case
BTTV_AVPHONE98
:
case
BTTV_AVERMEDIA98
:
ir_codes
=
ir_codes_avermedia
;
ir
->
mask_keycode
=
0xf80000
;
ir
->
mask_keydown
=
0x010000
;
break
;
case
BTTV_WINFAST2000
:
ir_codes
=
winfast_codes
;
ir
->
mask_keycode
=
0x8f8
;
case
BTTV_PXELVWPLTVPAK
:
ir_codes
=
ir_codes_pixelview
;
ir
->
mask_keycode
=
0x003e00
;
ir
->
mask_keyup
=
0x010000
;
ir
->
polling
=
50
;
// ms
break
;
case
BTTV_PV_BT878P_9B
:
case
BTTV_PV_BT878P_PLUS
:
...
...
@@ -294,6 +298,17 @@ static int ir_probe(struct device *dev)
ir
->
mask_keyup
=
0x008000
;
ir
->
polling
=
50
;
// ms
break
;
case
BTTV_WINFAST2000
:
ir_codes
=
winfast_codes
;
ir
->
mask_keycode
=
0x8f8
;
break
;
case
BTTV_MAGICTVIEW061
:
case
BTTV_MAGICTVIEW063
:
ir_codes
=
winfast_codes
;
ir
->
mask_keycode
=
0x0008e000
;
ir
->
mask_keydown
=
0x00200000
;
break
;
}
if
(
NULL
==
ir_codes
)
{
kfree
(
ir
);
...
...
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