Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 66755 Details for
Bug 102961
New driver for SAA7135 (GoTView 7135) [TV tuner]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for new CVS version of video4linux
saa7135.patch (text/plain), 3.68 KB, created by
Mike Baikov
on 2005-08-24 07:59:32 UTC
(
hide
)
Description:
Patch for new CVS version of video4linux
Filename:
MIME Type:
Creator:
Mike Baikov
Created:
2005-08-24 07:59:32 UTC
Size:
3.68 KB
patch
obsolete
>diff -u ./video4linux/saa7134-cards.c ./video4linux.new/saa7134-cards.c >--- ./video4linux/saa7134-cards.c 2005-08-22 22:47:58.000000000 +0400 >+++ ./video4linux.new/saa7134-cards.c 2005-08-24 18:13:09.000000000 +0400 >@@ -2111,6 +2111,45 @@ > .gpio = 0x01, > }, > }, >+ [SAA7135_BOARD_GOTVIEW_7135] = { >+ /* Andrey Cvetcov <ays14@yandex.ru> */ >+ /* Michail Baikov <mike@baikov.com> */ >+ .name = "GoTView 7135 PCI", >+ .audio_clock = 0x00187de7, >+ .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, >+ /* We need to comment this */ >+// .tda9887_conf = TDA9887_PRESENT, >+ .gpiomask= 0x00200003, >+ .inputs = {{ >+ .name = name_tv, >+ .vmux = 1, /* It's true */ >+ .amux = TV, /* Use TV instead LINE0 - BigBiker <adminbsd@gmail.com> */ >+ .gpio = 0x00200003, >+ .tv = 1, >+ },{ >+ .name = name_comp1, /* Composite signal on S-Video input */ >+ .vmux = 3, >+ .amux = LINE1, >+ .gpio = 0x00200003, >+ },{ >+ .name = name_comp2, /* Composite Input */ >+ .vmux = 8, >+ .amux = LINE1, >+ .gpio = 0x00200003, >+ },{ >+ .name = name_tv_mono, /* TV - mono only */ >+ .vmux = 1, >+ .amux = LINE2, >+ .gpio = 0x00200003, >+ }}, >+ .radio = { >+ .name = name_radio, >+// .vmux = TV, >+ .vmux = 1, >+ .amux = LINE2, >+ .gpio = 0x00200003, >+ }, >+ }, > }; > > >@@ -2468,7 +2507,12 @@ > .subvendor = 0x1043, > .subdevice = 0x0210, /* mini pci PAL/SECAM version */ > .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX, >- >+ },{ >+ .vendor = 0x1131, >+ .device = 0x7133, >+ .subvendor = 0x5456, /* GoTView */ >+ .subdevice = 0x7135, /* Model PCI 7135 */ >+ .driver_data = SAA7135_BOARD_GOTVIEW_7135 > },{ > /* --- boards without eeprom + subsystem ID --- */ > .vendor = PCI_VENDOR_ID_PHILIPS, >@@ -2598,6 +2642,7 @@ > case SAA7134_BOARD_MANLI_MTV001: > case SAA7134_BOARD_MANLI_MTV002: > case SAA7134_BOARD_AVACSSMARTTV: >+ case SAA7135_BOARD_GOTVIEW_7135: > dev->has_remote = 1; > break; > case SAA7134_BOARD_MD5044: >diff -u ./video4linux/saa7134.h ./video4linux.new/saa7134.h >--- ./video4linux/saa7134.h 2005-08-22 22:47:58.000000000 +0400 >+++ ./video4linux.new/saa7134.h 2005-08-24 18:17:19.000000000 +0400 >@@ -198,6 +198,7 @@ > #define SAA7134_BOARD_FLYTV_DIGIMATRIX 64 > #define SAA7134_BOARD_KWORLD_TERMINATOR 65 > #define SAA7134_BOARD_YUAN_TUN900 66 >+#define SAA7135_BOARD_GOTVIEW_7135 67 > > #define SAA7134_MAXBOARDS 8 > #define SAA7134_INPUT_MAX 8 >diff -u ./video4linux/saa7134-input.c ./video4linux.new/saa7134-input.c >--- ./video4linux/saa7134-input.c 2005-07-16 01:44:14.000000000 +0400 >+++ ./video4linux.new/saa7134-input.c 2005-08-24 18:16:20.000000000 +0400 >@@ -532,6 +532,12 @@ > mask_keyup = 0x400000; > polling = 50; // ms > break; >+ case SAA7135_BOARD_GOTVIEW_7135: >+ ir_codes = md2819_codes; >+ mask_keycode = 0x0007C8; >+ mask_keydown = 0x000010; >+ polling = 50; // ms >+ break; > } > if (NULL == ir_codes) { > printk("%s: Oops: IR config error [card=%d]\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 102961
:
66222
|
66524
| 66755