diff options
-rw-r--r-- | Documentation/video4linux/CARDLIST.em28xx | 4 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 25 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 14 |
3 files changed, 16 insertions, 27 deletions
diff --git a/Documentation/video4linux/CARDLIST.em28xx b/Documentation/video4linux/CARDLIST.em28xx index abdcc68d47f9..f947dca5ac48 100644 --- a/Documentation/video4linux/CARDLIST.em28xx +++ b/Documentation/video4linux/CARDLIST.em28xx | |||
@@ -1,9 +1,9 @@ | |||
1 | 0 -> Unknown EM2800 video grabber (em2800) [eb1a:2800] | 1 | 0 -> Unknown EM2800 video grabber (em2800) [eb1a:2800] |
2 | 1 -> Unknown EM2820/2840 video grabber (em2820/em2840) | 2 | 1 -> Unknown EM2750/28xx video grabber (em2820/em2840) [eb1a:2750,eb1a:2820,eb1a:2821,eb1a:2860,eb1a:2861,eb1a:2870,eb1a:2881,eb1a:2883] |
3 | 2 -> Terratec Cinergy 250 USB (em2820/em2840) [0ccd:0036] | 3 | 2 -> Terratec Cinergy 250 USB (em2820/em2840) [0ccd:0036] |
4 | 3 -> Pinnacle PCTV USB 2 (em2820/em2840) [2304:0208] | 4 | 3 -> Pinnacle PCTV USB 2 (em2820/em2840) [2304:0208] |
5 | 4 -> Hauppauge WinTV USB 2 (em2820/em2840) [2040:4200] | 5 | 4 -> Hauppauge WinTV USB 2 (em2820/em2840) [2040:4200] |
6 | 5 -> MSI VOX USB 2.0 (em2820/em2840) [eb1a:2820] | 6 | 5 -> MSI VOX USB 2.0 (em2820/em2840) |
7 | 6 -> Terratec Cinergy 200 USB (em2800) | 7 | 6 -> Terratec Cinergy 200 USB (em2800) |
8 | 7 -> Leadtek Winfast USB II (em2800) | 8 | 7 -> Leadtek Winfast USB II (em2800) |
9 | 8 -> Kworld USB2800 (em2800) | 9 | 8 -> Kworld USB2800 (em2800) |
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 9a6a4541e3c7..05264c655b5e 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -57,22 +57,8 @@ struct em28xx_board em28xx_boards[] = { | |||
57 | }}, | 57 | }}, |
58 | }, | 58 | }, |
59 | [EM2820_BOARD_UNKNOWN] = { | 59 | [EM2820_BOARD_UNKNOWN] = { |
60 | .name = "Unknown EM2820/2840 video grabber", | 60 | .name = "Unknown EM2750/28xx video grabber", |
61 | .is_em2800 = 0, | 61 | .is_em2800 = 0, |
62 | .vchannels = 2, | ||
63 | .norm = VIDEO_MODE_PAL, | ||
64 | .tda9887_conf = TDA9887_PRESENT, | ||
65 | .has_tuner = 1, | ||
66 | .decoder = EM28XX_SAA7113, | ||
67 | .input = {{ | ||
68 | .type = EM28XX_VMUX_COMPOSITE1, | ||
69 | .vmux = SAA7115_COMPOSITE0, | ||
70 | .amux = 1, | ||
71 | },{ | ||
72 | .type = EM28XX_VMUX_SVIDEO, | ||
73 | .vmux = SAA7115_SVIDEO3, | ||
74 | .amux = 1, | ||
75 | }}, | ||
76 | }, | 62 | }, |
77 | [EM2820_BOARD_KWORLD_PVRTV2800RF] = { | 63 | [EM2820_BOARD_KWORLD_PVRTV2800RF] = { |
78 | .name = "Kworld PVR TV 2800 RF", | 64 | .name = "Kworld PVR TV 2800 RF", |
@@ -337,8 +323,15 @@ const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards); | |||
337 | 323 | ||
338 | /* table of devices that work with this driver */ | 324 | /* table of devices that work with this driver */ |
339 | struct usb_device_id em28xx_id_table [] = { | 325 | struct usb_device_id em28xx_id_table [] = { |
326 | { USB_DEVICE(0xeb1a, 0x2750), .driver_info = EM2820_BOARD_UNKNOWN }, | ||
340 | { USB_DEVICE(0xeb1a, 0x2800), .driver_info = EM2800_BOARD_UNKNOWN }, | 327 | { USB_DEVICE(0xeb1a, 0x2800), .driver_info = EM2800_BOARD_UNKNOWN }, |
341 | { USB_DEVICE(0xeb1a, 0x2820), .driver_info = EM2820_BOARD_MSI_VOX_USB_2 }, | 328 | { USB_DEVICE(0xeb1a, 0x2820), .driver_info = EM2820_BOARD_UNKNOWN }, |
329 | { USB_DEVICE(0xeb1a, 0x2821), .driver_info = EM2820_BOARD_UNKNOWN }, | ||
330 | { USB_DEVICE(0xeb1a, 0x2860), .driver_info = EM2820_BOARD_UNKNOWN }, | ||
331 | { USB_DEVICE(0xeb1a, 0x2861), .driver_info = EM2820_BOARD_UNKNOWN }, | ||
332 | { USB_DEVICE(0xeb1a, 0x2870), .driver_info = EM2820_BOARD_UNKNOWN }, | ||
333 | { USB_DEVICE(0xeb1a, 0x2881), .driver_info = EM2820_BOARD_UNKNOWN }, | ||
334 | { USB_DEVICE(0xeb1a, 0x2883), .driver_info = EM2820_BOARD_UNKNOWN }, | ||
342 | { USB_DEVICE(0x0ccd, 0x0036), .driver_info = EM2820_BOARD_TERRATEC_CINERGY_250 }, | 335 | { USB_DEVICE(0x0ccd, 0x0036), .driver_info = EM2820_BOARD_TERRATEC_CINERGY_250 }, |
343 | { USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 }, | 336 | { USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 }, |
344 | { USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 }, | 337 | { USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 }, |
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index bb0933f9d84c..fb0fa57dec92 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -1782,15 +1782,11 @@ static int em28xx_usb_probe(struct usb_interface *interface, | |||
1782 | model=card[nr]; | 1782 | model=card[nr]; |
1783 | 1783 | ||
1784 | if ((model==EM2800_BOARD_UNKNOWN)||(model==EM2820_BOARD_UNKNOWN)) { | 1784 | if ((model==EM2800_BOARD_UNKNOWN)||(model==EM2820_BOARD_UNKNOWN)) { |
1785 | em28xx_errdev( "Your board has no eeprom inside it and thus can't\n" | 1785 | em28xx_errdev("Your board has no unique USB ID and thus can't be autodetected.\n"); |
1786 | "%s: be autodetected. Please pass card=<n> insmod option to\n" | 1786 | em28xx_errdev("Please pass card=<n> insmod option to workaround that.\n"); |
1787 | "%s: workaround that. Redirect complaints to the vendor of\n" | 1787 | em28xx_errdev("If there isn't any card number for you, please send an email to:\n"); |
1788 | "%s: the TV card. Generic type will be used." | 1788 | em28xx_errdev("\tV4L Mailing List <video4linux-list@redhat.com>\n"); |
1789 | "%s: Best regards,\n" | 1789 | em28xx_errdev("Here is a list of valid choices for the card=<n> insmod option:\n"); |
1790 | "%s: -- tux\n", | ||
1791 | dev->name,dev->name,dev->name,dev->name,dev->name); | ||
1792 | em28xx_errdev("%s: Here is a list of valid choices for the card=<n> insmod option:\n", | ||
1793 | dev->name); | ||
1794 | for (i = 0; i < em28xx_bcount; i++) { | 1790 | for (i = 0; i < em28xx_bcount; i++) { |
1795 | em28xx_errdev(" card=%d -> %s\n", i, | 1791 | em28xx_errdev(" card=%d -> %s\n", i, |
1796 | em28xx_boards[i].name); | 1792 | em28xx_boards[i].name); |