2 em28xx-cards.c - driver for Empia EM2800/EM2820/2840 USB video capture devices
4 Copyright (C) 2005 Ludovico Cavedon <cavedon@sssup.it>
5 Markus Rechberger <mrechberger@gmail.com>
6 Mauro Carvalho Chehab <mchehab@infradead.org>
7 Sascha Sommer <saschasommer@freenet.de>
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #include <linux/init.h>
25 #include <linux/module.h>
26 #include <linux/delay.h>
27 #include <linux/i2c.h>
28 #include <linux/usb.h>
29 #include <media/tuner.h>
30 #include <media/msp3400.h>
31 #include <media/saa7115.h>
32 #include <media/tvp5150.h>
33 #include <media/tveeprom.h>
34 #include <media/audiochip.h>
35 #include <media/v4l2-common.h>
38 #include "tuner-xc2028.h"
40 static int tuner
= -1;
41 module_param(tuner
, int, 0444);
42 MODULE_PARM_DESC(tuner
, "tuner type");
44 struct em28xx_hash_table
{
50 struct em28xx_board em28xx_boards
[] = {
51 [EM2800_BOARD_UNKNOWN
] = {
52 .name
= "Unknown EM2800 video grabber",
55 .tda9887_conf
= TDA9887_PRESENT
,
57 .decoder
= EM28XX_SAA7113
,
59 .type
= EM28XX_VMUX_COMPOSITE1
,
60 .vmux
= SAA7115_COMPOSITE0
,
63 .type
= EM28XX_VMUX_SVIDEO
,
64 .vmux
= SAA7115_SVIDEO3
,
68 [EM2820_BOARD_UNKNOWN
] = {
69 .name
= "Unknown EM2750/28xx video grabber",
72 [EM2820_BOARD_KWORLD_PVRTV2800RF
] = {
73 .name
= "Kworld PVR TV 2800 RF",
76 .tda9887_conf
= TDA9887_PRESENT
,
78 .decoder
= EM28XX_SAA7113
,
80 .type
= EM28XX_VMUX_COMPOSITE1
,
81 .vmux
= SAA7115_COMPOSITE0
,
84 .type
= EM28XX_VMUX_SVIDEO
,
85 .vmux
= SAA7115_SVIDEO3
,
89 [EM2820_BOARD_TERRATEC_CINERGY_250
] = {
90 .name
= "Terratec Cinergy 250 USB",
92 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
93 .tda9887_conf
= TDA9887_PRESENT
,
95 .decoder
= EM28XX_SAA7113
,
97 .type
= EM28XX_VMUX_TELEVISION
,
98 .vmux
= SAA7115_COMPOSITE2
,
101 .type
= EM28XX_VMUX_COMPOSITE1
,
102 .vmux
= SAA7115_COMPOSITE0
,
105 .type
= EM28XX_VMUX_SVIDEO
,
106 .vmux
= SAA7115_SVIDEO3
,
110 [EM2820_BOARD_PINNACLE_USB_2
] = {
111 .name
= "Pinnacle PCTV USB 2",
113 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
114 .tda9887_conf
= TDA9887_PRESENT
,
116 .decoder
= EM28XX_SAA7113
,
118 .type
= EM28XX_VMUX_TELEVISION
,
119 .vmux
= SAA7115_COMPOSITE2
,
122 .type
= EM28XX_VMUX_COMPOSITE1
,
123 .vmux
= SAA7115_COMPOSITE0
,
126 .type
= EM28XX_VMUX_SVIDEO
,
127 .vmux
= SAA7115_SVIDEO3
,
131 [EM2820_BOARD_HAUPPAUGE_WINTV_USB_2
] = {
132 .name
= "Hauppauge WinTV USB 2",
134 .tuner_type
= TUNER_PHILIPS_FM1236_MK3
,
135 .tda9887_conf
= TDA9887_PRESENT
|TDA9887_PORT1_ACTIVE
|TDA9887_PORT2_ACTIVE
,
137 .decoder
= EM28XX_TVP5150
,
139 /*FIXME: S-Video not tested */
141 .type
= EM28XX_VMUX_TELEVISION
,
142 .vmux
= TVP5150_COMPOSITE0
,
143 .amux
= MSP_INPUT_DEFAULT
,
145 .type
= EM28XX_VMUX_SVIDEO
,
146 .vmux
= TVP5150_SVIDEO
,
147 .amux
= MSP_INPUT(MSP_IN_SCART1
, MSP_IN_TUNER1
,
148 MSP_DSP_IN_SCART
, MSP_DSP_IN_SCART
),
151 [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900
] = {
152 .name
= "Hauppauge WinTV HVR 900",
154 .tda9887_conf
= TDA9887_PRESENT
,
155 .tuner_type
= TUNER_XC2028
,
158 .decoder
= EM28XX_TVP5150
,
160 .type
= EM28XX_VMUX_TELEVISION
,
161 .vmux
= TVP5150_COMPOSITE0
,
164 .type
= EM28XX_VMUX_COMPOSITE1
,
165 .vmux
= TVP5150_COMPOSITE1
,
168 .type
= EM28XX_VMUX_SVIDEO
,
169 .vmux
= TVP5150_SVIDEO
,
173 [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950
] = {
174 .name
= "Hauppauge WinTV HVR 950",
176 .tda9887_conf
= TDA9887_PRESENT
,
177 .tuner_type
= TUNER_XC2028
,
179 .decoder
= EM28XX_TVP5150
,
181 .type
= EM28XX_VMUX_TELEVISION
,
182 .vmux
= TVP5150_COMPOSITE0
,
185 .type
= EM28XX_VMUX_COMPOSITE1
,
186 .vmux
= TVP5150_COMPOSITE1
,
189 .type
= EM28XX_VMUX_SVIDEO
,
190 .vmux
= TVP5150_SVIDEO
,
194 [EM2880_BOARD_TERRATEC_HYBRID_XS
] = {
195 .name
= "Terratec Hybrid XS",
197 .tda9887_conf
= TDA9887_PRESENT
,
199 .tuner_type
= TUNER_XC2028
,
200 .decoder
= EM28XX_TVP5150
,
202 .type
= EM28XX_VMUX_TELEVISION
,
203 .vmux
= TVP5150_COMPOSITE0
,
206 .type
= EM28XX_VMUX_COMPOSITE1
,
207 .vmux
= TVP5150_COMPOSITE1
,
210 .type
= EM28XX_VMUX_SVIDEO
,
211 .vmux
= TVP5150_SVIDEO
,
215 /* maybe there's a reason behind it why Terratec sells the Hybrid XS as Prodigy XS with a
216 * different PID, let's keep it separated for now maybe we'll need it lateron */
217 [EM2880_BOARD_TERRATEC_PRODIGY_XS
] = {
218 .name
= "Terratec Prodigy XS",
220 .tda9887_conf
= TDA9887_PRESENT
,
222 .tuner_type
= TUNER_XC2028
,
223 .decoder
= EM28XX_TVP5150
,
225 .type
= EM28XX_VMUX_TELEVISION
,
226 .vmux
= TVP5150_COMPOSITE0
,
229 .type
= EM28XX_VMUX_COMPOSITE1
,
230 .vmux
= TVP5150_COMPOSITE1
,
233 .type
= EM28XX_VMUX_SVIDEO
,
234 .vmux
= TVP5150_SVIDEO
,
238 [EM2820_BOARD_MSI_VOX_USB_2
] = {
239 .name
= "MSI VOX USB 2.0",
241 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
242 .tda9887_conf
= TDA9887_PRESENT
|TDA9887_PORT1_ACTIVE
|TDA9887_PORT2_ACTIVE
,
244 .decoder
= EM28XX_SAA7114
,
246 .type
= EM28XX_VMUX_TELEVISION
,
247 .vmux
= SAA7115_COMPOSITE4
,
250 .type
= EM28XX_VMUX_COMPOSITE1
,
251 .vmux
= SAA7115_COMPOSITE0
,
254 .type
= EM28XX_VMUX_SVIDEO
,
255 .vmux
= SAA7115_SVIDEO3
,
259 [EM2800_BOARD_TERRATEC_CINERGY_200
] = {
260 .name
= "Terratec Cinergy 200 USB",
263 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
264 .tda9887_conf
= TDA9887_PRESENT
,
266 .decoder
= EM28XX_SAA7113
,
268 .type
= EM28XX_VMUX_TELEVISION
,
269 .vmux
= SAA7115_COMPOSITE2
,
272 .type
= EM28XX_VMUX_COMPOSITE1
,
273 .vmux
= SAA7115_COMPOSITE0
,
276 .type
= EM28XX_VMUX_SVIDEO
,
277 .vmux
= SAA7115_SVIDEO3
,
281 [EM2800_BOARD_LEADTEK_WINFAST_USBII
] = {
282 .name
= "Leadtek Winfast USB II",
285 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
286 .tda9887_conf
= TDA9887_PRESENT
,
288 .decoder
= EM28XX_SAA7113
,
290 .type
= EM28XX_VMUX_TELEVISION
,
291 .vmux
= SAA7115_COMPOSITE2
,
294 .type
= EM28XX_VMUX_COMPOSITE1
,
295 .vmux
= SAA7115_COMPOSITE0
,
298 .type
= EM28XX_VMUX_SVIDEO
,
299 .vmux
= SAA7115_SVIDEO3
,
303 [EM2800_BOARD_KWORLD_USB2800
] = {
304 .name
= "Kworld USB2800",
307 .tuner_type
= TUNER_PHILIPS_ATSC
,
308 .tda9887_conf
= TDA9887_PRESENT
,
310 .decoder
= EM28XX_SAA7113
,
312 .type
= EM28XX_VMUX_TELEVISION
,
313 .vmux
= SAA7115_COMPOSITE2
,
316 .type
= EM28XX_VMUX_COMPOSITE1
,
317 .vmux
= SAA7115_COMPOSITE0
,
320 .type
= EM28XX_VMUX_SVIDEO
,
321 .vmux
= SAA7115_SVIDEO3
,
325 [EM2820_BOARD_PINNACLE_DVC_90
] = {
326 .name
= "Pinnacle Dazzle DVC 90",
329 .decoder
= EM28XX_SAA7113
,
331 .type
= EM28XX_VMUX_COMPOSITE1
,
332 .vmux
= SAA7115_COMPOSITE0
,
335 .type
= EM28XX_VMUX_SVIDEO
,
336 .vmux
= SAA7115_SVIDEO3
,
340 [EM2800_BOARD_VGEAR_POCKETTV
] = {
341 .name
= "V-Gear PocketTV",
344 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
345 .tda9887_conf
= TDA9887_PRESENT
,
347 .decoder
= EM28XX_SAA7113
,
349 .type
= EM28XX_VMUX_TELEVISION
,
350 .vmux
= SAA7115_COMPOSITE2
,
353 .type
= EM28XX_VMUX_COMPOSITE1
,
354 .vmux
= SAA7115_COMPOSITE0
,
357 .type
= EM28XX_VMUX_SVIDEO
,
358 .vmux
= SAA7115_SVIDEO3
,
362 [EM2820_BOARD_PROLINK_PLAYTV_USB2
] = {
363 .name
= "Pixelview Prolink PlayTV USB 2.0",
365 .tda9887_conf
= TDA9887_PRESENT
,
367 .decoder
= EM28XX_SAA7113
,
369 .type
= EM28XX_VMUX_TELEVISION
,
370 .vmux
= SAA7115_COMPOSITE2
,
373 .type
= EM28XX_VMUX_COMPOSITE1
,
374 .vmux
= SAA7115_COMPOSITE0
,
377 .type
= EM28XX_VMUX_SVIDEO
,
378 .vmux
= SAA7115_SVIDEO3
,
383 const unsigned int em28xx_bcount
= ARRAY_SIZE(em28xx_boards
);
385 /* table of devices that work with this driver */
386 struct usb_device_id em28xx_id_table
[] = {
387 { USB_DEVICE(0xeb1a, 0x2750), .driver_info
= EM2820_BOARD_UNKNOWN
},
388 { USB_DEVICE(0xeb1a, 0x2800), .driver_info
= EM2800_BOARD_UNKNOWN
},
389 { USB_DEVICE(0xeb1a, 0x2820), .driver_info
= EM2820_BOARD_UNKNOWN
},
390 { USB_DEVICE(0xeb1a, 0x2821), .driver_info
= EM2820_BOARD_UNKNOWN
},
391 { USB_DEVICE(0xeb1a, 0x2860), .driver_info
= EM2820_BOARD_UNKNOWN
},
392 { USB_DEVICE(0xeb1a, 0x2861), .driver_info
= EM2820_BOARD_UNKNOWN
},
393 { USB_DEVICE(0xeb1a, 0x2870), .driver_info
= EM2820_BOARD_UNKNOWN
},
394 { USB_DEVICE(0xeb1a, 0x2881), .driver_info
= EM2820_BOARD_UNKNOWN
},
395 { USB_DEVICE(0xeb1a, 0x2883), .driver_info
= EM2820_BOARD_UNKNOWN
},
396 { USB_DEVICE(0x0ccd, 0x0036), .driver_info
= EM2820_BOARD_TERRATEC_CINERGY_250
},
397 { USB_DEVICE(0x2304, 0x0208), .driver_info
= EM2820_BOARD_PINNACLE_USB_2
},
398 { USB_DEVICE(0x2040, 0x4200), .driver_info
= EM2820_BOARD_HAUPPAUGE_WINTV_USB_2
},
399 { USB_DEVICE(0x2304, 0x0207), .driver_info
= EM2820_BOARD_PINNACLE_DVC_90
},
400 { USB_DEVICE(0x2040, 0x6500), .driver_info
= EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900
},
401 { USB_DEVICE(0x2040, 0x6513), .driver_info
= EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950
},
402 { USB_DEVICE(0x0ccd, 0x0042), .driver_info
= EM2880_BOARD_TERRATEC_HYBRID_XS
},
403 { USB_DEVICE(0x0ccd, 0x0047), .driver_info
= EM2880_BOARD_TERRATEC_PRODIGY_XS
},
406 MODULE_DEVICE_TABLE (usb
, em28xx_id_table
);
408 /* EEPROM hash table for devices with generic USB IDs */
409 static struct em28xx_hash_table em28xx_eeprom_hash
[] = {
410 /* P/N: SA 60002070465 Tuner: TVF7533-MF */
411 { 0x6ce05a8f, EM2820_BOARD_PROLINK_PLAYTV_USB2
, TUNER_YMEC_TVF_5533MF
},
414 /* I2C devicelist hash table for devices with generic USB IDs */
415 static struct em28xx_hash_table em28xx_i2c_hash
[] = {
416 { 0xb06a32c3, EM2800_BOARD_TERRATEC_CINERGY_200
, TUNER_LG_PAL_NEW_TAPC
},
417 { 0xf51200e3, EM2800_BOARD_VGEAR_POCKETTV
, TUNER_LG_PAL_NEW_TAPC
},
420 /* Since em28xx_pre_card_setup() requires a proper dev->model,
421 * this won't work for boards with generic PCI IDs
423 void em28xx_pre_card_setup(struct em28xx
*dev
)
425 /* request some modules */
427 case EM2880_BOARD_TERRATEC_PRODIGY_XS
:
428 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900
:
429 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950
:
430 case EM2880_BOARD_TERRATEC_HYBRID_XS
:
431 /* reset through GPIO? */
432 em28xx_write_regs_req(dev
, 0x00, 0x08, "\x7d", 1);
437 static int em28xx_tuner_callback(void *ptr
, int command
, int arg
)
440 struct em28xx
*dev
= ptr
;
442 if (dev
->tuner_type
!= TUNER_XC2028
)
446 case XC2028_TUNER_RESET
:
447 /* FIXME: This is device-dependent */
448 dev
->em28xx_write_regs_req(dev
, 0x00, 0x48, "\x00", 1);
449 dev
->em28xx_write_regs_req(dev
, 0x00, 0x12, "\x67", 1);
457 static void em28xx_config_tuner (struct em28xx
*dev
)
459 struct v4l2_priv_tun_config xc2028_cfg
;
460 struct xc2028_ctrl ctl
;
461 struct tuner_setup tun_setup
;
462 struct v4l2_frequency f
;
467 tun_setup
.mode_mask
= T_ANALOG_TV
| T_RADIO
;
468 tun_setup
.type
= dev
->tuner_type
;
469 tun_setup
.addr
= dev
->tuner_addr
;
470 tun_setup
.tuner_callback
= em28xx_tuner_callback
;
472 em28xx_i2c_call_clients(dev
, TUNER_SET_TYPE_ADDR
, &tun_setup
);
474 if (dev
->tuner_type
== TUNER_XC2028
) {
475 memset (&ctl
, 0, sizeof(ctl
));
477 ctl
.fname
= XC2028_DEFAULT_FIRMWARE
;
479 ctl
.mts
= em28xx_boards
[dev
->model
].mts_firmware
;
481 xc2028_cfg
.tuner
= TUNER_XC2028
;
482 xc2028_cfg
.priv
= &ctl
;
484 em28xx_i2c_call_clients(dev
, TUNER_SET_CONFIG
, &xc2028_cfg
);
487 /* configure tuner */
489 f
.type
= V4L2_TUNER_ANALOG_TV
;
490 f
.frequency
= 9076; /* just a magic number */
491 dev
->ctl_freq
= f
.frequency
;
492 em28xx_i2c_call_clients(dev
, VIDIOC_S_FREQUENCY
, &f
);
495 static int em28xx_hint_board(struct em28xx
*dev
)
499 /* HINT method: EEPROM
501 * This method works only for boards with eeprom.
502 * Uses a hash of all eeprom bytes. The hash should be
503 * unique for a vendor/tuner pair.
504 * There are a high chance that tuners for different
505 * video standards produce different hashes.
507 for (i
= 0; i
< ARRAY_SIZE(em28xx_eeprom_hash
); i
++) {
508 if (dev
->hash
== em28xx_eeprom_hash
[i
].hash
) {
509 dev
->model
= em28xx_eeprom_hash
[i
].model
;
510 dev
->tuner_type
= em28xx_eeprom_hash
[i
].tuner
;
512 em28xx_errdev("Your board has no unique USB ID.\n");
513 em28xx_errdev("A hint were successfully done, "
514 "based on eeprom hash.\n");
515 em28xx_errdev("This method is not 100%% failproof.\n");
516 em28xx_errdev("If the board were missdetected, "
517 "please email this log to:\n");
518 em28xx_errdev("\tV4L Mailing List "
519 " <video4linux-list@redhat.com>\n");
520 em28xx_errdev("Board detected as %s\n",
521 em28xx_boards
[dev
->model
].name
);
527 /* HINT method: I2C attached devices
529 * This method works for all boards.
530 * Uses a hash of i2c scanned devices.
531 * Devices with the same i2c attached chips will
532 * be considered equal.
533 * This method is less precise than the eeprom one.
536 /* user did not request i2c scanning => do it now */
538 em28xx_do_i2c_scan(dev
);
540 for (i
= 0; i
< ARRAY_SIZE(em28xx_i2c_hash
); i
++) {
541 if (dev
->i2c_hash
== em28xx_i2c_hash
[i
].hash
) {
542 dev
->model
= em28xx_i2c_hash
[i
].model
;
543 dev
->tuner_type
= em28xx_i2c_hash
[i
].tuner
;
544 em28xx_errdev("Your board has no unique USB ID.\n");
545 em28xx_errdev("A hint were successfully done, "
546 "based on i2c devicelist hash.\n");
547 em28xx_errdev("This method is not 100%% failproof.\n");
548 em28xx_errdev("If the board were missdetected, "
549 "please email this log to:\n");
550 em28xx_errdev("\tV4L Mailing List "
551 " <video4linux-list@redhat.com>\n");
552 em28xx_errdev("Board detected as %s\n",
553 em28xx_boards
[dev
->model
].name
);
559 em28xx_errdev("Your board has no unique USB ID and thus need a "
560 "hint to be detected.\n");
561 em28xx_errdev("You may try to use card=<n> insmod option to "
562 "workaround that.\n");
563 em28xx_errdev("Please send an email with this log to:\n");
564 em28xx_errdev("\tV4L Mailing List <video4linux-list@redhat.com>\n");
565 em28xx_errdev("Board eeprom hash is 0x%08lx\n", dev
->hash
);
566 em28xx_errdev("Board i2c devicelist hash is 0x%08lx\n", dev
->i2c_hash
);
568 em28xx_errdev("Here is a list of valid choices for the card=<n>"
569 " insmod option:\n");
570 for (i
= 0; i
< em28xx_bcount
; i
++) {
571 em28xx_errdev(" card=%d -> %s\n",
572 i
, em28xx_boards
[i
].name
);
578 static void em28xx_set_model(struct em28xx
*dev
)
580 dev
->is_em2800
= em28xx_boards
[dev
->model
].is_em2800
;
581 dev
->has_tuner
= em28xx_boards
[dev
->model
].has_tuner
;
582 dev
->has_msp34xx
= em28xx_boards
[dev
->model
].has_msp34xx
;
583 dev
->tda9887_conf
= em28xx_boards
[dev
->model
].tda9887_conf
;
584 dev
->decoder
= em28xx_boards
[dev
->model
].decoder
;
585 dev
->video_inputs
= em28xx_boards
[dev
->model
].vchannels
;
587 if (!em28xx_boards
[dev
->model
].has_tuner
)
588 dev
->tuner_type
= UNSET
;
591 void em28xx_card_setup(struct em28xx
*dev
)
593 em28xx_set_model(dev
);
595 dev
->tuner_type
= em28xx_boards
[dev
->model
].tuner_type
;
597 /* request some modules */
598 switch (dev
->model
) {
599 case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2
:
600 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900
:
601 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950
:
604 #ifdef CONFIG_MODULES
605 request_module("tveeprom");
607 /* Call first TVeeprom */
609 dev
->i2c_client
.addr
= 0xa0 >> 1;
610 tveeprom_hauppauge_analog(&dev
->i2c_client
, &tv
, dev
->eedata
);
612 dev
->tuner_type
= tv
.tuner_type
;
613 if (tv
.audio_processor
== AUDIO_CHIP_MSP34XX
) {
614 dev
->i2s_speed
= 2048000;
615 dev
->has_msp34xx
= 1;
617 #ifdef CONFIG_MODULES
619 request_module("ir-kbd-i2c");
621 /* FIXME: Should also retrieve decoder processor type */
625 case EM2820_BOARD_KWORLD_PVRTV2800RF
:
626 /* GPIO enables sound on KWORLD PVR TV 2800RF */
627 em28xx_write_regs_req(dev
, 0x00, 0x08, "\xf9", 1);
629 case EM2820_BOARD_UNKNOWN
:
630 case EM2800_BOARD_UNKNOWN
:
631 if (!em28xx_hint_board(dev
))
632 em28xx_set_model(dev
);
635 /* Allow override tuner type by a module parameter */
637 dev
->tuner_type
= tuner
;
639 #ifdef CONFIG_MODULES
640 /* request some modules */
641 if (dev
->has_msp34xx
)
642 request_module("msp3400");
643 if (dev
->decoder
== EM28XX_SAA7113
|| dev
->decoder
== EM28XX_SAA7114
)
644 request_module("saa7115");
645 if (dev
->decoder
== EM28XX_TVP5150
)
646 request_module("tvp5150");
648 request_module("tuner");
651 em28xx_config_tuner (dev
);