Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
3dbd85ba
Commit
3dbd85ba
authored
Nov 03, 2007
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (6535): Fix: Adds the generic PCI IDs for em28xx
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
7d070e26
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
27 deletions
+16
-27
Documentation/video4linux/CARDLIST.em28xx
Documentation/video4linux/CARDLIST.em28xx
+2
-2
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-cards.c
+9
-16
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx-video.c
+5
-9
No files found.
Documentation/video4linux/CARDLIST.em28xx
View file @
3dbd85ba
0 -> Unknown EM2800 video grabber (em2800) [eb1a:2800]
0 -> Unknown EM2800 video grabber (em2800) [eb1a:2800]
1 -> Unknown EM2
820/2840 video grabber (em2820/em2840)
1 -> Unknown EM2
750/28xx video grabber (em2820/em2840) [eb1a:2750,eb1a:2820,eb1a:2821,eb1a:2860,eb1a:2861,eb1a:2870,eb1a:2881,eb1a:2883]
2 -> Terratec Cinergy 250 USB (em2820/em2840) [0ccd:0036]
2 -> Terratec Cinergy 250 USB (em2820/em2840) [0ccd:0036]
3 -> Pinnacle PCTV USB 2 (em2820/em2840) [2304:0208]
3 -> Pinnacle PCTV USB 2 (em2820/em2840) [2304:0208]
4 -> Hauppauge WinTV USB 2 (em2820/em2840) [2040:4200]
4 -> Hauppauge WinTV USB 2 (em2820/em2840) [2040:4200]
5 -> MSI VOX USB 2.0 (em2820/em2840)
[eb1a:2820]
5 -> MSI VOX USB 2.0 (em2820/em2840)
6 -> Terratec Cinergy 200 USB (em2800)
6 -> Terratec Cinergy 200 USB (em2800)
7 -> Leadtek Winfast USB II (em2800)
7 -> Leadtek Winfast USB II (em2800)
8 -> Kworld USB2800 (em2800)
8 -> Kworld USB2800 (em2800)
...
...
drivers/media/video/em28xx/em28xx-cards.c
View file @
3dbd85ba
...
@@ -57,22 +57,8 @@ struct em28xx_board em28xx_boards[] = {
...
@@ -57,22 +57,8 @@ struct em28xx_board em28xx_boards[] = {
}},
}},
},
},
[
EM2820_BOARD_UNKNOWN
]
=
{
[
EM2820_BOARD_UNKNOWN
]
=
{
.
name
=
"Unknown EM2
820/2840
video grabber"
,
.
name
=
"Unknown EM2
750/28xx
video grabber"
,
.
is_em2800
=
0
,
.
is_em2800
=
0
,
.
vchannels
=
2
,
.
norm
=
VIDEO_MODE_PAL
,
.
tda9887_conf
=
TDA9887_PRESENT
,
.
has_tuner
=
1
,
.
decoder
=
EM28XX_SAA7113
,
.
input
=
{{
.
type
=
EM28XX_VMUX_COMPOSITE1
,
.
vmux
=
SAA7115_COMPOSITE0
,
.
amux
=
1
,
},{
.
type
=
EM28XX_VMUX_SVIDEO
,
.
vmux
=
SAA7115_SVIDEO3
,
.
amux
=
1
,
}},
},
},
[
EM2820_BOARD_KWORLD_PVRTV2800RF
]
=
{
[
EM2820_BOARD_KWORLD_PVRTV2800RF
]
=
{
.
name
=
"Kworld PVR TV 2800 RF"
,
.
name
=
"Kworld PVR TV 2800 RF"
,
...
@@ -337,8 +323,15 @@ const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);
...
@@ -337,8 +323,15 @@ const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);
/* table of devices that work with this driver */
/* table of devices that work with this driver */
struct
usb_device_id
em28xx_id_table
[]
=
{
struct
usb_device_id
em28xx_id_table
[]
=
{
{
USB_DEVICE
(
0xeb1a
,
0x2750
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2800
),
.
driver_info
=
EM2800_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2800
),
.
driver_info
=
EM2800_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2820
),
.
driver_info
=
EM2820_BOARD_MSI_VOX_USB_2
},
{
USB_DEVICE
(
0xeb1a
,
0x2820
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2821
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2860
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2861
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2870
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2881
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0xeb1a
,
0x2883
),
.
driver_info
=
EM2820_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0x0ccd
,
0x0036
),
.
driver_info
=
EM2820_BOARD_TERRATEC_CINERGY_250
},
{
USB_DEVICE
(
0x0ccd
,
0x0036
),
.
driver_info
=
EM2820_BOARD_TERRATEC_CINERGY_250
},
{
USB_DEVICE
(
0x2304
,
0x0208
),
.
driver_info
=
EM2820_BOARD_PINNACLE_USB_2
},
{
USB_DEVICE
(
0x2304
,
0x0208
),
.
driver_info
=
EM2820_BOARD_PINNACLE_USB_2
},
{
USB_DEVICE
(
0x2040
,
0x4200
),
.
driver_info
=
EM2820_BOARD_HAUPPAUGE_WINTV_USB_2
},
{
USB_DEVICE
(
0x2040
,
0x4200
),
.
driver_info
=
EM2820_BOARD_HAUPPAUGE_WINTV_USB_2
},
...
...
drivers/media/video/em28xx/em28xx-video.c
View file @
3dbd85ba
...
@@ -1782,15 +1782,11 @@ static int em28xx_usb_probe(struct usb_interface *interface,
...
@@ -1782,15 +1782,11 @@ static int em28xx_usb_probe(struct usb_interface *interface,
model
=
card
[
nr
];
model
=
card
[
nr
];
if
((
model
==
EM2800_BOARD_UNKNOWN
)
||
(
model
==
EM2820_BOARD_UNKNOWN
))
{
if
((
model
==
EM2800_BOARD_UNKNOWN
)
||
(
model
==
EM2820_BOARD_UNKNOWN
))
{
em28xx_errdev
(
"Your board has no eeprom inside it and thus can't
\n
"
em28xx_errdev
(
"Your board has no unique USB ID and thus can't be autodetected.
\n
"
);
"%s: be autodetected. Please pass card=<n> insmod option to
\n
"
em28xx_errdev
(
"Please pass card=<n> insmod option to workaround that.
\n
"
);
"%s: workaround that. Redirect complaints to the vendor of
\n
"
em28xx_errdev
(
"If there isn't any card number for you, please send an email to:
\n
"
);
"%s: the TV card. Generic type will be used."
em28xx_errdev
(
"
\t
V4L Mailing List <video4linux-list@redhat.com>
\n
"
);
"%s: Best regards,
\n
"
em28xx_errdev
(
"Here is a list of valid choices for the card=<n> insmod option:
\n
"
);
"%s: -- tux
\n
"
,
dev
->
name
,
dev
->
name
,
dev
->
name
,
dev
->
name
,
dev
->
name
);
em28xx_errdev
(
"%s: Here is a list of valid choices for the card=<n> insmod option:
\n
"
,
dev
->
name
);
for
(
i
=
0
;
i
<
em28xx_bcount
;
i
++
)
{
for
(
i
=
0
;
i
<
em28xx_bcount
;
i
++
)
{
em28xx_errdev
(
" card=%d -> %s
\n
"
,
i
,
em28xx_errdev
(
" card=%d -> %s
\n
"
,
i
,
em28xx_boards
[
i
].
name
);
em28xx_boards
[
i
].
name
);
...
...
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