* [linux-dvb] ASUS My-Cinema remote patch
@ 2008-06-14 20:44 Bozhan Boiadzhiev
2008-06-15 1:53 ` hermann pitton
0 siblings, 1 reply; 13+ messages in thread
From: Bozhan Boiadzhiev @ 2008-06-14 20:44 UTC (permalink / raw)
To: linux-dvb
ASUS My-Cinema package include remote
here i found patch for 2.6.22 https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/141622
Please include it!
All ASUS My-Cinema comes with remote control.
Thanks.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
2008-06-14 20:44 Bozhan Boiadzhiev
@ 2008-06-15 1:53 ` hermann pitton
0 siblings, 0 replies; 13+ messages in thread
From: hermann pitton @ 2008-06-15 1:53 UTC (permalink / raw)
To: Bozhan Boiadzhiev; +Cc: video4linux-list, linux-dvb, Mauro Carvalho Chehab
Hi Bozhan,
Am Samstag, den 14.06.2008, 23:44 +0300 schrieb Bozhan Boiadzhiev:
> ASUS My-Cinema package include remote
> here i found patch for 2.6.22 https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/141622
> Please include it!
> All ASUS My-Cinema comes with remote control.
> Thanks.
>
the video4linux-list is the better place for analog only cards.
The problem is known, but we had no testers.
The old Asus TVFM35 is not identical to your card.
It seems to have different s-video and composite inputs and also came
with an USB remote. Adding a new, on the old card not present remote now
there, seems to be confusing for the users.
The new tuner type tda8275a is auto detected, that makes the old entry
working for you. It has the previous tda8275 not "a".
The problem is the unchanged PCI subsystem on your card, which causes
that it is autodetected as card=53.
The following untested patch is a first try to detect your card and add
a separate entry for it. We discussed this once.
Cheers,
Hermann
diff -r 2a89445f3b24 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Jun 10 11:22:00 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jun 15 01:55:38 2008 +0200
@@ -4401,6 +4401,39 @@ struct saa7134_board saa7134_boards[] =
},
/* no DVB support for now */
/* .mpeg = SAA7134_MPEG_DVB, */
+ },
+ [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
+ .name = "ASUSTeK P7131 Analog",
+ .audio_clock = 0x00187de7,
+ .tuner_type = TUNER_PHILIPS_TDA8290,
+ .radio_type = UNSET,
+ .tuner_addr = ADDR_UNSET,
+ .radio_addr = ADDR_UNSET,
+ .gpiomask = 1 << 21,
+ .inputs = {{
+ .name = name_tv,
+ .vmux = 1,
+ .amux = TV,
+ .tv = 1,
+ .gpio = 0x0000000,
+ }, {
+ .name = name_comp1,
+ .vmux = 3,
+ .amux = LINE2,
+ }, {
+ .name = name_comp2,
+ .vmux = 0,
+ .amux = LINE2,
+ }, {
+ .name = name_svideo,
+ .vmux = 8,
+ .amux = LINE2,
+ } },
+ .radio = {
+ .name = name_radio,
+ .amux = TV,
+ .gpio = 0x0200000,
+ },
},
};
@@ -5679,6 +5712,7 @@ int saa7134_board_init1(struct saa7134_d
case SAA7134_BOARD_FLYDVBT_LR301:
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
case SAA7134_BOARD_FLYDVBTDUO:
case SAA7134_BOARD_PROTEUS_2309:
case SAA7134_BOARD_AVERMEDIA_A16AR:
@@ -6005,6 +6039,15 @@ int saa7134_board_init2(struct saa7134_d
i2c_transfer(&dev->i2c_adap, &msg, 1);
break;
}
+ case SAA7134_BOARD_ASUSTeK_TVFM7135:
+ /* The card is misdetected as card=53, but is different */
+ if(dev->autodetected && (dev->eedata[0x27] == 0x03)) {
+ dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
+ printk(KERN_INFO "%s: P7131 analog only using "
+ "entry of %s\n",
+ dev->name, saa7134_boards[dev->board].name);
+ }
+ break;
case SAA7134_BOARD_HAUPPAUGE_HVR1110:
hauppauge_eeprom(dev, dev->eedata+0x80);
/* break intentionally omitted */
diff -r 2a89445f3b24 linux/drivers/media/video/saa7134/saa7134-input.c
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Tue Jun 10 11:22:00 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sun Jun 15 01:55:38 2008 +0200
@@ -400,6 +400,7 @@ int saa7134_input_init1(struct saa7134_d
break;
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
ir_codes = ir_codes_asus_pc39;
mask_keydown = 0x0040000;
rc5_gpio = 1;
diff -r 2a89445f3b24 linux/drivers/media/video/saa7134/saa7134.h
--- a/linux/drivers/media/video/saa7134/saa7134.h Tue Jun 10 11:22:00 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134.h Sun Jun 15 01:55:38 2008 +0200
@@ -273,6 +273,7 @@ struct saa7134_format {
#define SAA7134_BOARD_BEHOLD_H6 142
#define SAA7134_BOARD_BEHOLD_M63 143
#define SAA7134_BOARD_BEHOLD_M6_EXTRA 144
+#define SAA7134_BOARD_ASUSTeK_P7131_ANALOG 145
#define SAA7134_MAXBOARDS 8
#define SAA7134_INPUT_MAX 8
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
@ 2008-06-15 10:03 Bozhan Boiadzhiev
2008-06-15 20:40 ` hermann pitton
[not found] ` <1213562075.2683.79.camel@pc10.localdom.local>
0 siblings, 2 replies; 13+ messages in thread
From: Bozhan Boiadzhiev @ 2008-06-15 10:03 UTC (permalink / raw)
To: hermann pitton; +Cc: linux-dvb
ok i'll test patch later.
thanks
:)
>-------- Оригинално писмо --------
>От: hermann pitton
>Относно: Re: [linux-dvb] ASUS My-Cinema remote patch
>До: Bozhan Boiadzhiev
>Изпратено на: Неделя, 2008, Юни 15 04:53:14 EEST
>Hi Bozhan,
>
>Am Samstag, den 14.06.2008, 23:44 +0300 schrieb Bozhan Boiadzhiev:
>> ASUS My-Cinema package include remote
>> here i found patch for 2.6.22 https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/141622
>> Please include it!
>> All ASUS My-Cinema comes with remote control.
>> Thanks.
>>
>
>the video4linux-list is the better place for analog only cards.
>
>The problem is known, but we had no testers.
>
>The old Asus TVFM35 is not identical to your card.
>
>It seems to have different s-video and composite inputs and also came
>with an USB remote. Adding a new, on the old card not present remote now
>there, seems to be confusing for the users.
>
>The new tuner type tda8275a is auto detected, that makes the old entry
>working for you. It has the previous tda8275 not "a".
>
>The problem is the unchanged PCI subsystem on your card, which causes
>that it is autodetected as card=53.
>
>The following untested patch is a first try to detect your card and add
>a separate entry for it. We discussed this once.
>
>Cheers,
>Hermann
>
>diff -r 2a89445f3b24 linux/drivers/media/video/saa7134/saa7134-cards.c
>--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Jun 10 11:22:00 2008 -0300
>+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jun 15 01:55:38 2008 +0200
>@@ -4401,6 +4401,39 @@ struct saa7134_board saa7134_boards[] =
> },
> /* no DVB support for now */
> /* .mpeg = SAA7134_MPEG_DVB, */
>+ },
>+ [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
>+ .name = "ASUSTeK P7131 Analog",
>+ .audio_clock = 0x00187de7,
>+ .tuner_type = TUNER_PHILIPS_TDA8290,
>+ .radio_type = UNSET,
>+ .tuner_addr = ADDR_UNSET,
>+ .radio_addr = ADDR_UNSET,
>+ .gpiomask = 1 i2c_adap, &msg, 1);
> break;
> }
>+ case SAA7134_BOARD_ASUSTeK_TVFM7135:
>+ /* The card is misdetected as card=53, but is different */
>+ if(dev->autodetected && (dev->eedata[0x27] == 0x03)) {
>+ dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
>+ printk(KERN_INFO "%s: P7131 analog only using "
>+ "entry of %s\n",
>+ dev->name, saa7134_boards[dev->board].name);
>+ }
>+ break;
> case SAA7134_BOARD_HAUPPAUGE_HVR1110:
> hauppauge_eeprom(dev, dev->eedata+0x80);
> /* break intentionally omitted */
>diff -r 2a89445f3b24 linux/drivers/media/video/saa7134/saa7134-input.c
>--- a/linux/drivers/media/video/saa7134/saa7134-input.c Tue Jun 10 11:22:00 2008 -0300
>+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sun Jun 15 01:55:38 2008 +0200
>@@ -400,6 +400,7 @@ int saa7134_input_init1(struct saa7134_d
> break;
> case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
> case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
>+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
> ir_codes = ir_codes_asus_pc39;
> mask_keydown = 0x0040000;
> rc5_gpio = 1;
>diff -r 2a89445f3b24 linux/drivers/media/video/saa7134/saa7134.h
>--- a/linux/drivers/media/video/saa7134/saa7134.h Tue Jun 10 11:22:00 2008 -0300
>+++ b/linux/drivers/media/video/saa7134/saa7134.h Sun Jun 15 01:55:38 2008 +0200
>@@ -273,6 +273,7 @@ struct saa7134_format {
> #define SAA7134_BOARD_BEHOLD_H6 142
> #define SAA7134_BOARD_BEHOLD_M63 143
> #define SAA7134_BOARD_BEHOLD_M6_EXTRA 144
>+#define SAA7134_BOARD_ASUSTeK_P7131_ANALOG 145
>
> #define SAA7134_MAXBOARDS 8
> #define SAA7134_INPUT_MAX 8
>
>
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: [linux-dvb] ASUS My-Cinema remote patch
2008-06-15 10:03 [linux-dvb] ASUS My-Cinema remote patch Bozhan Boiadzhiev
@ 2008-06-15 20:40 ` hermann pitton
[not found] ` <1213562075.2683.79.camel@pc10.localdom.local>
1 sibling, 0 replies; 13+ messages in thread
From: hermann pitton @ 2008-06-15 20:40 UTC (permalink / raw)
To: video4linux-list
[-- Attachment #1: Type: text/plain, Size: 6519 bytes --]
Hi,
Am Sonntag, den 15.06.2008, 13:03 +0300 schrieb Bozhan Boiadzhiev:
>
> ok i'll test patch later.
> thanks
> :)
here is an updated version after latest changes by Matthias and Tim on
saa7134. Should work.
Can't do much more on it.
Hartmut, Mauro, the eeprom detection is very basic, but should work. I
sign off so far. Also attached.
Cheers,
Hermann
saa7134: add a separate entry for the ASUSTeK P7131 analog only
and do some eeprom detection to escape from the TVFM35
with the same PCI subsystem on auto detection.
Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
diff -r 78442352b885 linux/Documentation/video4linux/CARDLIST.saa7134
--- a/linux/Documentation/video4linux/CARDLIST.saa7134 Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/Documentation/video4linux/CARDLIST.saa7134 Sun Jun 15 22:25:29 2008 +0200
@@ -143,3 +143,4 @@ 142 -> Beholder BeholdTV H6
142 -> Beholder BeholdTV H6 [5ace:6290]
143 -> Beholder BeholdTV M63 [5ace:6191]
144 -> Beholder BeholdTV M6 Extra [5ace:6193]
+145 -> ASUSTeK P7131 Analog
diff -r 78442352b885 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jun 15 22:25:29 2008 +0200
@@ -4394,6 +4394,39 @@ struct saa7134_board saa7134_boards[] =
},
/* no DVB support for now */
/* .mpeg = SAA7134_MPEG_DVB, */
+ },
+ [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
+ .name = "ASUSTeK P7131 Analog",
+ .audio_clock = 0x00187de7,
+ .tuner_type = TUNER_PHILIPS_TDA8290,
+ .radio_type = UNSET,
+ .tuner_addr = ADDR_UNSET,
+ .radio_addr = ADDR_UNSET,
+ .gpiomask = 1 << 21,
+ .inputs = {{
+ .name = name_tv,
+ .vmux = 1,
+ .amux = TV,
+ .tv = 1,
+ .gpio = 0x0000000,
+ }, {
+ .name = name_comp1,
+ .vmux = 3,
+ .amux = LINE2,
+ }, {
+ .name = name_comp2,
+ .vmux = 0,
+ .amux = LINE2,
+ }, {
+ .name = name_svideo,
+ .vmux = 8,
+ .amux = LINE2,
+ } },
+ .radio = {
+ .name = name_radio,
+ .amux = TV,
+ .gpio = 0x0200000,
+ },
},
};
@@ -5671,6 +5704,7 @@ int saa7134_board_init1(struct saa7134_d
case SAA7134_BOARD_FLYDVBT_LR301:
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
case SAA7134_BOARD_FLYDVBTDUO:
case SAA7134_BOARD_PROTEUS_2309:
case SAA7134_BOARD_AVERMEDIA_A16AR:
@@ -6009,6 +6043,15 @@ int saa7134_board_init2(struct saa7134_d
i2c_transfer(&dev->i2c_adap, &msg, 1);
break;
}
+ case SAA7134_BOARD_ASUSTeK_TVFM35:
+ /* The card below is detected as card=53, but is different */
+ if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
+ dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
+ printk(KERN_INFO "%s: P7131 analog only, using "
+ "entry of %s\n",
+ dev->name, saa7134_boards[dev->board].name);
+ }
+ break;
case SAA7134_BOARD_HAUPPAUGE_HVR1110:
hauppauge_eeprom(dev, dev->eedata+0x80);
/* break intentionally omitted */
diff -r 78442352b885 linux/drivers/media/video/saa7134/saa7134-input.c
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sun Jun 15 22:25:29 2008 +0200
@@ -409,6 +409,7 @@ int saa7134_input_init1(struct saa7134_d
break;
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
ir_codes = ir_codes_asus_pc39;
mask_keydown = 0x0040000;
rc5_gpio = 1;
diff -r 78442352b885 linux/drivers/media/video/saa7134/saa7134.h
--- a/linux/drivers/media/video/saa7134/saa7134.h Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134.h Sun Jun 15 22:25:29 2008 +0200
@@ -273,6 +273,7 @@ struct saa7134_format {
#define SAA7134_BOARD_BEHOLD_H6 142
#define SAA7134_BOARD_BEHOLD_M63 143
#define SAA7134_BOARD_BEHOLD_M6_EXTRA 144
+#define SAA7134_BOARD_ASUSTeK_P7131_ANALOG 145
#define SAA7134_MAXBOARDS 8
#define SAA7134_INPUT_MAX 8
> >-------- Оригинално писмо --------
> >От: hermann pitton
> >Относно: Re: [linux-dvb] ASUS My-Cinema remote patch
> >До: Bozhan Boiadzhiev
> >Изпратено на: Неделя, 2008, Юни 15 04:53:14 EEST
>
> >Hi Bozhan,
> >
> >Am Samstag, den 14.06.2008, 23:44 +0300 schrieb Bozhan Boiadzhiev:
> >> ASUS My-Cinema package include remote
> >> here i found patch for 2.6.22 https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/141622
> >> Please include it!
> >> All ASUS My-Cinema comes with remote control.
> >> Thanks.
> >>
> >
> >the video4linux-list is the better place for analog only cards.
> >
> >The problem is known, but we had no testers.
> >
> >The old Asus TVFM35 is not identical to your card.
> >
> >It seems to have different s-video and composite inputs and also came
> >with an USB remote. Adding a new, on the old card not present remote now
> >there, seems to be confusing for the users.
> >
> >The new tuner type tda8275a is auto detected, that makes the old entry
> >working for you. It has the previous tda8275 not "a".
> >
> >The problem is the unchanged PCI subsystem on your card, which causes
> >that it is autodetected as card=53.
> >
> >The following untested patch is a first try to detect your card and add
> >a separate entry for it. We discussed this once.
> >
> >Cheers,
> >Hermann
> >
[-- Attachment #2: saa7134_asus-p7131-analog_new.patch --]
[-- Type: text/x-patch, Size: 3575 bytes --]
diff -r 78442352b885 linux/Documentation/video4linux/CARDLIST.saa7134
--- a/linux/Documentation/video4linux/CARDLIST.saa7134 Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/Documentation/video4linux/CARDLIST.saa7134 Sun Jun 15 22:08:34 2008 +0200
@@ -143,3 +143,4 @@ 142 -> Beholder BeholdTV H6
142 -> Beholder BeholdTV H6 [5ace:6290]
143 -> Beholder BeholdTV M63 [5ace:6191]
144 -> Beholder BeholdTV M6 Extra [5ace:6193]
+145 -> ASUSTeK P7131 Analog
diff -r 78442352b885 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jun 15 22:08:34 2008 +0200
@@ -4394,6 +4394,39 @@ struct saa7134_board saa7134_boards[] =
},
/* no DVB support for now */
/* .mpeg = SAA7134_MPEG_DVB, */
+ },
+ [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
+ .name = "ASUSTeK P7131 Analog",
+ .audio_clock = 0x00187de7,
+ .tuner_type = TUNER_PHILIPS_TDA8290,
+ .radio_type = UNSET,
+ .tuner_addr = ADDR_UNSET,
+ .radio_addr = ADDR_UNSET,
+ .gpiomask = 1 << 21,
+ .inputs = {{
+ .name = name_tv,
+ .vmux = 1,
+ .amux = TV,
+ .tv = 1,
+ .gpio = 0x0000000,
+ }, {
+ .name = name_comp1,
+ .vmux = 3,
+ .amux = LINE2,
+ }, {
+ .name = name_comp2,
+ .vmux = 0,
+ .amux = LINE2,
+ }, {
+ .name = name_svideo,
+ .vmux = 8,
+ .amux = LINE2,
+ } },
+ .radio = {
+ .name = name_radio,
+ .amux = TV,
+ .gpio = 0x0200000,
+ },
},
};
@@ -5671,6 +5704,7 @@ int saa7134_board_init1(struct saa7134_d
case SAA7134_BOARD_FLYDVBT_LR301:
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
case SAA7134_BOARD_FLYDVBTDUO:
case SAA7134_BOARD_PROTEUS_2309:
case SAA7134_BOARD_AVERMEDIA_A16AR:
@@ -6009,6 +6043,15 @@ int saa7134_board_init2(struct saa7134_d
i2c_transfer(&dev->i2c_adap, &msg, 1);
break;
}
+ case SAA7134_BOARD_ASUSTeK_TVFM35:
+ /* The card below is detected as card=53, but is different */
+ if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
+ dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
+ printk(KERN_INFO "%s: P7131 analog only, using "
+ "entry of %s\n",
+ dev->name, saa7134_boards[dev->board].name);
+ }
+ break;
case SAA7134_BOARD_HAUPPAUGE_HVR1110:
hauppauge_eeprom(dev, dev->eedata+0x80);
/* break intentionally omitted */
diff -r 78442352b885 linux/drivers/media/video/saa7134/saa7134-input.c
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sun Jun 15 22:08:34 2008 +0200
@@ -409,6 +409,7 @@ int saa7134_input_init1(struct saa7134_d
break;
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
ir_codes = ir_codes_asus_pc39;
mask_keydown = 0x0040000;
rc5_gpio = 1;
diff -r 78442352b885 linux/drivers/media/video/saa7134/saa7134.h
--- a/linux/drivers/media/video/saa7134/saa7134.h Sun Jun 15 10:33:42 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134.h Sun Jun 15 22:08:34 2008 +0200
@@ -273,6 +273,7 @@ struct saa7134_format {
#define SAA7134_BOARD_BEHOLD_H6 142
#define SAA7134_BOARD_BEHOLD_M63 143
#define SAA7134_BOARD_BEHOLD_M6_EXTRA 144
+#define SAA7134_BOARD_ASUSTeK_P7131_ANALOG 145
#define SAA7134_MAXBOARDS 8
#define SAA7134_INPUT_MAX 8
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
@ 2008-06-17 19:28 Bozhan Boiadzhiev
2008-06-17 22:14 ` hermann pitton
0 siblings, 1 reply; 13+ messages in thread
From: Bozhan Boiadzhiev @ 2008-06-17 19:28 UTC (permalink / raw)
To: linux-dvb, video4linux-list
whatever ...
adding option saa7134 card=78
solve all of my problems :)
my card doesn't have dvb but that is all difference with card 78
thanks
>-------- Оригинално писмо --------
>От: hermann pitton
>Относно: Re: Re: Re: [linux-dvb] ASUS My-Cinema remote patch
>До: Bozhan Boiadzhiev , linux-dvb@linuxtv.org, video4linux-list@redhat.com
>Изпратено на: Вторник, 2008, Юни 17 03:21:34 EEST
>Hi,
>
>Am Dienstag, den 17.06.2008, 00:42 +0300 schrieb Bozhan Boiadzhiev:
>> first of all
>> case SAA7134_BOARD_ASUSTeK_TVFM35:
>> must be
>> case SAA7134_BOARD_ASUSTeK_TVFM7135:
>> and second(result):
>
>of course, caused by at least faking it on a P7131_Dual previously and
>it seems I don't have all the devices in mind anymore ...
>
>> [ 27.947020] Linux video capture interface: v2.00
>> [ 28.018335] saa7130/34: v4l2 driver version 0.2.14 loaded
>> [ 28.018746] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 19
>> [ 28.018757] ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNKC] -> GSI 19 (level, low) -> IRQ 20
>> [ 28.018765] saa7133[0]: found at 0000:01:0a.0, rev: 208, irq: 20, latency: 32, mmio: 0xdffff800
>> [ 28.018770] saa7133[0]: subsystem: 1043:4845, board: ASUS TV-FM 7135 [card=53,autodetected]
>> [ 28.018785] saa7133[0]: board init: gpio is 40000
>> [ 28.168275] saa7133[0]: i2c eeprom 00: 43 10 45 48 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
>> [ 28.168284] saa7133[0]: i2c eeprom 10: 00 ff e2 0f ff 20 ff ff ff ff ff ff ff ff ff ff
>> [ 28.168290] saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08 ff 00 88 ff ff ff ff
>> [ 28.168296] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168302] saa7133[0]: i2c eeprom 40: ff 22 00 c2 96 ff 02 30 15 ff ff ff ff ff ff ff
>> [ 28.168307] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168313] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168318] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168324] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168330] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168335] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168341] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168346] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168352] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168358] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.168363] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> [ 28.404285] tuner' 2-004b: chip found @ 0x96 (saa7133[0])
>> [ 28.448222] saa7133[0]: P7131 analog only, using entry of ASUSTeK P7131 Analog
>> [ 28.528013] tda829x 2-004b: setting tuner address to 61
>> [ 28.655950] tda829x 2-004b: type set to tda8290+75a
>> [ 28.680922] NET: Registered protocol family 10
>> [ 28.681144] lo: Disabled Privacy Extensions
>> [ 29.067262] input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input5
>> [ 32.489132] saa7133[0]: registered device video0 [v4l2]
>> [ 32.489154] saa7133[0]: registered device vbi0
>> [ 32.489175] saa7133[0]: registered device radio0
>> [ 32.552715] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 23
>> [ 32.552723] ACPI: PCI Interrupt 0000:00:05.0[B] -> Link [LAZA] -> GSI 23 (level, low) -> IRQ 16
>> [ 32.552748] PCI: Setting latency timer of device 0000:00:05.0 to 64
>> [ 32.588072] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
>> [ 32.599962] saa7134_alsa: disagrees about version of symbol saa7134_tvaudio_setmute
>> [ 32.599968] saa7134_alsa: Unknown symbol saa7134_tvaudio_setmute
>> [ 32.600067] saa7134_alsa: disagrees about version of symbol saa_dsp_writel
>> [ 32.600069] saa7134_alsa: Unknown symbol saa_dsp_writel
>> [ 32.600181] saa7134_alsa: disagrees about version of symbol videobuf_dma_free
>> [ 32.600183] saa7134_alsa: Unknown symbol videobuf_dma_free
>> [ 32.600298] saa7134_alsa: disagrees about version of symbol saa7134_pgtable_alloc
>> [ 32.600300] saa7134_alsa: Unknown symbol saa7134_pgtable_alloc
>> [ 32.600332] saa7134_alsa: disagrees about version of symbol saa7134_pgtable_build
>> [ 32.600334] saa7134_alsa: Unknown symbol saa7134_pgtable_build
>> [ 32.600360] saa7134_alsa: disagrees about version of symbol saa7134_pgtable_free
>> [ 32.600362] saa7134_alsa: Unknown symbol saa7134_pgtable_free
>> [ 32.600389] saa7134_alsa: disagrees about version of symbol saa7134_dmasound_init
>> [ 32.600391] saa7134_alsa: Unknown symbol saa7134_dmasound_init
>> [ 32.600477] saa7134_alsa: disagrees about version of symbol saa7134_dmasound_exit
>> [ 32.600478] saa7134_alsa: Unknown symbol saa7134_dmasound_exit
>> [ 32.600540] saa7134_alsa: disagrees about version of symbol videobuf_dma_init
>> [ 32.600542] saa7134_alsa: Unknown symbol videobuf_dma_init
>> [ 32.600633] saa7134_alsa: disagrees about version of symbol videobuf_dma_init_kernel
>> [ 32.600635] saa7134_alsa: Unknown symbol videobuf_dma_init_kernel
>> [ 32.600710] saa7134_alsa: Unknown symbol videobuf_pci_dma_unmap
>> [ 32.600796] saa7134_alsa: Unknown symbol videobuf_pci_dma_map
>> [ 32.600828] saa7134_alsa: disagrees about version of symbol saa7134_set_dmabits
>> [ 32.600830] saa7134_alsa: Unknown symbol saa7134_set_dmabits
>> [ 33.623299] lp: driver loaded but no devices found
>> [ 33.773941] Adding 859436k swap on /dev/sda5. Priority:-1 extents:1 across:859436k
>>
>>
>> and ...:)
>> no sound :)
>
>Did you upgrade to some recent Ubuntu in between?
>You don't have the on board analog audio out connected and are depending
>on saa7134-alsa?
>
>Analog audio and saa7134-alsa was tested on my fake stuff, also that DVB
>is not registered and should work.
>
>> aa and no one more input device either
>
>This is more serious and brain damage by me, improved by faking the
>device. Since you have no IR registered on your device, the Dual has,
>we can't "steel" it and that fails here.
>
>Force card=145 for now. No sure what to try next yet.
>
>> thanks
>>
>> >-------- Оригинално писмо --------
>> >От: hermann pitton
>> >Относно: Re: Re: [linux-dvb] ASUS My-Cinema remote patch
>> >До: Bozhan Boiadzhiev , Hartmut Hackmann , Mauro Carvalho Chehab
>> >Изпратено на: Неделя, 2008, Юни 15 23:34:35 EEST
>>
>> >Hi,
>> >
>> >Am Sonntag, den 15.06.2008, 13:03 +0300 schrieb Bozhan Boiadzhiev:
>> >>
>> >> ok i'll test patch later.
>> >> thanks
>> >> :)
>> >
>> >here is an updated version after latest changes by Matthias and Tim on
>> >saa7134. Should work.
>> >
>> >Can't do much more on it.
>> >
>> >Hartmut, Mauro, the eeprom detection is very basic, but should work. I
>> >sign off so far. Also attached.
>> >
>> >Cheers,
>> >Hermann
>> >
>> >saa7134: add a separate entry for the ASUSTeK P7131 analog only
>> > and do some eeprom detection to escape from the TVFM35
>> > with the same PCI subsystem on auto detection.
>
>Many thanks to Bozhan Boiadzhiev for testing and reporting.
>
>Recent version attached, but not ready yet for IR on auto detection.
>
>> >
>> >Signed-off-by: Hermann Pitton
>> >
>[snip]
>> >
>> >> >-------- Оригинално писмо --------
>> >> >От: hermann pitton
>> >> >Относно: Re: [linux-dvb] ASUS My-Cinema remote patch
>> >> >До: Bozhan Boiadzhiev
>> >> >Изпратено на: Неделя, 2008, Юни 15 04:53:14 EEST
>> >>
>> >> >Hi Bozhan,
>> >> >
>> >> >Am Samstag, den 14.06.2008, 23:44 +0300 schrieb Bozhan Boiadzhiev:
>> >> >> ASUS My-Cinema package include remote
>> >> >> here i found patch for 2.6.22 https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/141622
>> >> >> Please include it!
>> >> >> All ASUS My-Cinema comes with remote control.
>> >> >> Thanks.
>> >> >>
>> >> >
>> >> >the video4linux-list is the better place for analog only cards.
>> >> >
>> >> >The problem is known, but we had no testers.
>> >> >
>> >> >The old Asus TVFM35 is not identical to your card.
>> >> >
>> >> >It seems to have different s-video and composite inputs and also came
>> >> >with an USB remote. Adding a new, on the old card not present remote now
>> >> >there, seems to be confusing for the users.
>> >> >
>> >> >The new tuner type tda8275a is auto detected, that makes the old entry
>> >> >working for you. It has the previous tda8275 not "a".
>> >> >
>> >> >The problem is the unchanged PCI subsystem on your card, which causes
>> >> >that it is autodetected as card=53.
>> >> >
>> >> >The following untested patch is a first try to detect your card and add
>> >> >a separate entry for it. We discussed this once.
>> >> >
>> >> >Cheers,
>> >> >Hermann
>> >>
>
>
>
>
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
2008-06-17 19:28 Bozhan Boiadzhiev
@ 2008-06-17 22:14 ` hermann pitton
0 siblings, 0 replies; 13+ messages in thread
From: hermann pitton @ 2008-06-17 22:14 UTC (permalink / raw)
To: Bozhan Boiadzhiev; +Cc: video4linux-list, linux-dvb
Am Dienstag, den 17.06.2008, 22:28 +0300 schrieb Bozhan Boiadzhiev:
>
> whatever ...
> adding option saa7134 card=78
> solve all of my problems :)
> my card doesn't have dvb but that is all difference with card 78
>
> thanks
Oh, sorry.
Thought this was clear, since all recent saa713x Asus stuff comes from
that one including support for the new remote and that is what was
always used for the analog only one too.
However, when discussing the autodetection of your card, Hartmut meant
the better solution is to have a own entry for your card and I think he
is right.
The pitfall with the current framework and duplicate PCI subsystem is,
that eeprom detection needs already working i2c and from there is no way
back for IR setup.
Have fun,
Hermann
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
@ 2008-06-23 15:52 Diego V. Martinez
2008-06-23 22:07 ` hermann pitton
0 siblings, 1 reply; 13+ messages in thread
From: Diego V. Martinez @ 2008-06-23 15:52 UTC (permalink / raw)
To: video4linux-list
Hi Hermann,
I've the Asus MyCinema P7131 Analog TV Card (the one that has the green box in http://www.bttv-gallery.de) and I after I applied the patch "saa7134_asus-p7134-analog-tvfm7135-device-detection-fix.patch" the IR control starts working but the S-Video input still fails (black screen on tvtime as before applying the patch).
My linux distribution is Fedora Core 6.
My kernel version is 2.6.25.5.
I use "tvtime" to make the tests.
Do you know what could be wrong?
Thanks in advance,
Diego
____________________________________________________________________________________
¡Buscá desde tu celular!
Yahoo! oneSEARCH ahora está en Claro
http://ar.mobile.yahoo.com/onesearch
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
2008-06-23 15:52 Diego V. Martinez
@ 2008-06-23 22:07 ` hermann pitton
0 siblings, 0 replies; 13+ messages in thread
From: hermann pitton @ 2008-06-23 22:07 UTC (permalink / raw)
To: Diego V. Martinez; +Cc: video4linux-list
Hi Diego,
Am Montag, den 23.06.2008, 08:52 -0700 schrieb Diego V. Martinez:
> Hi Hermann,
>
> I've the Asus MyCinema P7131 Analog TV Card (the one that has the green box in http://www.bttv-gallery.de) and I after I applied the patch "saa7134_asus-p7134-analog-tvfm7135-device-detection-fix.patch" the IR control starts working but the S-Video input still fails (black screen on tvtime as before applying the patch).
>
> My linux distribution is Fedora Core 6.
>
> My kernel version is 2.6.25.5.
>
> I use "tvtime" to make the tests.
>
> Do you know what could be wrong?
>
I'm getting slightly confusing reports on this modest attempt to improve
it for that card.
Did you apply the patch to 2.6.25.5 or recent mercurial v4l-dvb?
Only since yesterday, after an improvement for enum standard by Hans
after the ioctl2 conversion, all kind of subnorms are selectable again,
but this does not necessarily reflect what a driver is internally
capable to do.
To come back to the remote, do you mean the remote is working with that
patch after auto detection or do you force the new card number?
For s-video, which kind of s-video you try to use?
IIRC, PAL_N, which you should have on FreeToAir broadcasts, is still not
supported, but PAL_Nc on cable is known to work since long.
If you force card=78, still no s-video?
Cheers,
Hermann
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
@ 2008-06-24 3:07 Diego V. Martinez
2008-06-24 21:35 ` hermann pitton
0 siblings, 1 reply; 13+ messages in thread
From: Diego V. Martinez @ 2008-06-24 3:07 UTC (permalink / raw)
To: hermann pitton; +Cc: video4linux-list
Hi Hermann,
Here is my history: I bought the Asus MyCinema P7131/FM/P-ATX/A (analog) some months ago. I was using Fedora Core 6 with kernel 2.6.24.2. This kernel version recognized the TV card as number 53 (ASUS TV-FM 7135).
The TV input was working great (here in Argentina we use PAL-Nc TV norm). S-Video input (audio and video) and IR control were not working. I found in Internet a kernel patch to support the PC-39 remote control that comes with my board (modifying the saa7134-cards.c and saa7134-input.c kernel source files). After that the IR starts working.
Now I'm trying the "saa7134_asus-p7134-analog-tvfm7135-device-detection-fix.patch" that makes the same source code changes to support the IR control that I was doing before plus some code lines to associate a new Asus MyCinema P7131 Analog profile to the Asus MyCinema P7131 Dual (card 78).
Now the kernel autodetects the new P7131 Analog board but the S-Video input stills with no video (I have sound now). I'm making the tests with the S-Video/Composite cable that comes with the board. I plug my NTSC camera and I hear sound but only a black screen appears on the Composite1, Composite2 and S-Video modes of "tvtime". TV mode stills working fine.
Forcing to card 78 (Asus P7131 Dual) has same results for the S-Video input (audio yes, video no). TV mode stills working fine.
What any information should I check and/or collect?
Thanks in advance!,
Diego
----- Mensaje original ----
De: hermann pitton <hermann-pitton@arcor.de>
Para: Diego V. Martinez <dvm2810@yahoo.com.ar>
CC: video4linux-list@redhat.com
Enviado: lunes 23 de junio de 2008, 19:07:21
Asunto: Re: [linux-dvb] ASUS My-Cinema remote patch
Hi Diego,
Am Montag, den 23.06.2008, 08:52 -0700 schrieb Diego V. Martinez:
> Hi Hermann,
>
> I've the Asus MyCinema P7131 Analog TV Card (the one that has the green box in http://www.bttv-gallery.de) and I after I applied the patch "saa7134_asus-p7134-analog-tvfm7135-device-detection-fix.patch" the IR control starts working but the S-Video input still fails (black screen on tvtime as before applying the patch).
>
> My linux distribution is Fedora Core 6.
>
> My kernel version is 2.6.25.5.
>
> I use "tvtime" to make the tests.
>
> Do you know what could be wrong?
>
I'm getting slightly confusing reports on this modest attempt to improve
it for that card.
Did you apply the patch to 2.6.25.5 or recent mercurial v4l-dvb?
Only since yesterday, after an improvement for enum standard by Hans
after the ioctl2 conversion, all kind of subnorms are selectable again,
but this does not necessarily reflect what a driver is internally
capable to do.
To come back to the remote, do you mean the remote is working with that
patch after auto detection or do you force the new card number?
For s-video, which kind of s-video you try to use?
IIRC, PAL_N, which you should have on FreeToAir broadcasts, is still not
supported, but PAL_Nc on cable is known to work since long.
If you force card=78, still no s-video?
Cheers,
Hermann
____________________________________________________________________________________
¡Buscá desde tu celular!
Yahoo! oneSEARCH ahora está en Claro
http://ar.mobile.yahoo.com/onesearch
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
2008-06-24 3:07 Diego V. Martinez
@ 2008-06-24 21:35 ` hermann pitton
0 siblings, 0 replies; 13+ messages in thread
From: hermann pitton @ 2008-06-24 21:35 UTC (permalink / raw)
To: Diego V. Martinez; +Cc: video4linux-list
Hi Diego,
Am Montag, den 23.06.2008, 20:07 -0700 schrieb Diego V. Martinez:
> Hi Hermann,
>
> Here is my history: I bought the Asus MyCinema P7131/FM/P-ATX/A (analog) some months ago. I was using Fedora Core 6 with kernel 2.6.24.2. This kernel version recognized the TV card as number 53 (ASUS TV-FM 7135).
>
> The TV input was working great (here in Argentina we use PAL-Nc TV norm). S-Video input (audio and video) and IR control were not working. I found in Internet a kernel patch to support the PC-39 remote control that comes with my board (modifying the saa7134-cards.c and saa7134-input.c kernel source files). After that the IR starts working.
>
> Now I'm trying the "saa7134_asus-p7134-analog-tvfm7135-device-detection-fix.patch" that makes the same source code changes to support the IR control that I was doing before plus some code lines to associate a new Asus MyCinema P7131 Analog profile to the Asus MyCinema P7131 Dual (card 78).
>
> Now the kernel autodetects the new P7131 Analog board but the S-Video input stills with no video (I have sound now). I'm making the tests with the S-Video/Composite cable that comes with the board. I plug my NTSC camera and I hear sound but only a black screen appears on the Composite1, Composite2 and S-Video modes of "tvtime". TV mode stills working fine.
>
> Forcing to card 78 (Asus P7131 Dual) has same results for the S-Video input (audio yes, video no). TV mode stills working fine.
>
> What any information should I check and/or collect?
>
hm, card=78 doesn't work either.
No idea yet and I don't want to send you around for testing other vmuxes
or such without any.
Are you sure your camera doesn't output some unusual or proprietary
stuff? No other such reports yet.
Cheers,
Hermann
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
[not found] ` <1213562075.2683.79.camel@pc10.localdom.local>
@ 2008-07-12 12:29 ` Mauro Carvalho Chehab
2008-07-12 21:18 ` hermann pitton
[not found] ` <1215897249.2987.28.camel@pc10.localdom.local>
0 siblings, 2 replies; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2008-07-12 12:29 UTC (permalink / raw)
To: hermann pitton
Cc: Hartmut Hackmann, linux-dvb, video4linuxlist, Bozhan Boiadzhiev
On Sun, 15 Jun 2008 22:34:35 +0200
hermann pitton <hermann-pitton@arcor.de> wrote:
> Hi,
>
> Am Sonntag, den 15.06.2008, 13:03 +0300 schrieb Bozhan Boiadzhiev:
> >
> > ok i'll test patch later.
> > thanks
> > :)
>
> here is an updated version after latest changes by Matthias and Tim on
> saa7134. Should work.
>
> Can't do much more on it.
>
> Hartmut, Mauro, the eeprom detection is very basic, but should work. I
> sign off so far. Also attached.
Patch applied. I had to manually fix a conflict with a previously applied one. Please check.
Cheers,
Mauro
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
2008-07-12 12:29 ` Mauro Carvalho Chehab
@ 2008-07-12 21:18 ` hermann pitton
[not found] ` <1215897249.2987.28.camel@pc10.localdom.local>
1 sibling, 0 replies; 13+ messages in thread
From: hermann pitton @ 2008-07-12 21:18 UTC (permalink / raw)
To: video4linux-list
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
Hi,
Am Samstag, den 12.07.2008, 09:29 -0300 schrieb Mauro Carvalho Chehab:
> On Sun, 15 Jun 2008 22:34:35 +0200
> hermann pitton <hermann-pitton@arcor.de> wrote:
>
> > Hi,
> >
> > Am Sonntag, den 15.06.2008, 13:03 +0300 schrieb Bozhan Boiadzhiev:
> > >
> > > ok i'll test patch later.
> > > thanks
> > > :)
> >
> > here is an updated version after latest changes by Matthias and Tim on
> > saa7134. Should work.
> >
> > Can't do much more on it.
> >
> > Hartmut, Mauro, the eeprom detection is very basic, but should work. I
> > sign off so far. Also attached.
>
> Patch applied. I had to manually fix a conflict with a previously applied one. Please check.
>
> Cheers,
> Mauro
latest version around with TVFM7135 device name fix was here.
http://www.spinics.net/lists/vfl/msg37290.html
Latest questions on it are in the same thread.
Mauro, almost all my tabs were lost, maybe it works better with
attachments.
Cheers,
Hermann
saa7134: update the Asustek P7131 Analog patch to latest
version and also try to replace lost tabs.
Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
[-- Attachment #2: saa7134_update_Asustek_P7131-Analog-patch.patch --]
[-- Type: text/x-patch, Size: 4073 bytes --]
diff -r 0ebffe1cc136 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Sat Jul 12 16:50:43 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Sat Jul 12 22:48:11 2008 +0200
@@ -3558,39 +3558,39 @@ struct saa7134_board saa7134_boards[] =
.amux = TV,
.gpio = 0x0200000,
},
- },
- [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
- .name = "ASUSTeK P7131 Analog",
- .audio_clock = 0x00187de7,
- .tuner_type = TUNER_PHILIPS_TDA8290,
- .radio_type = UNSET,
- .tuner_addr = ADDR_UNSET,
- .radio_addr = ADDR_UNSET,
- .gpiomask = 1 << 21,
- .inputs = {{
- .name = name_tv,
- .vmux = 1,
- .amux = TV,
- .tv = 1,
- .gpio = 0x0000000,
- }, {
- .name = name_comp1,
- .vmux = 3,
- .amux = LINE2,
- }, {
- .name = name_comp2,
- .vmux = 0,
- .amux = LINE2,
- }, {
- .name = name_svideo,
- .vmux = 8,
- .amux = LINE2,
- } },
- .radio = {
- .name = name_radio,
- .amux = TV,
- .gpio = 0x0200000,
- },
+ },
+ [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
+ .name = "ASUSTeK P7131 Analog",
+ .audio_clock = 0x00187de7,
+ .tuner_type = TUNER_PHILIPS_TDA8290,
+ .radio_type = UNSET,
+ .tuner_addr = ADDR_UNSET,
+ .radio_addr = ADDR_UNSET,
+ .gpiomask = 1 << 21,
+ .inputs = {{
+ .name = name_tv,
+ .vmux = 1,
+ .amux = TV,
+ .tv = 1,
+ .gpio = 0x0000000,
+ }, {
+ .name = name_comp1,
+ .vmux = 3,
+ .amux = LINE2,
+ }, {
+ .name = name_comp2,
+ .vmux = 0,
+ .amux = LINE2,
+ }, {
+ .name = name_svideo,
+ .vmux = 8,
+ .amux = LINE2,
+ } },
+ .radio = {
+ .name = name_radio,
+ .amux = TV,
+ .gpio = 0x0200000,
+ },
},
[SAA7134_BOARD_SABRENT_TV_PCB05] = {
.name = "Sabrent PCMCIA TV-PCB05",
@@ -5737,7 +5737,7 @@ int saa7134_board_init1(struct saa7134_d
case SAA7134_BOARD_FLYDVBT_LR301:
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
- case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
case SAA7134_BOARD_FLYDVBTDUO:
case SAA7134_BOARD_PROTEUS_2309:
case SAA7134_BOARD_AVERMEDIA_A16AR:
@@ -6078,18 +6078,15 @@ int saa7134_board_init2(struct saa7134_d
i2c_transfer(&dev->i2c_adap, &msg, 1);
break;
}
-#if 0
- /* FIXME: This entry doesn't exist yet */
- case SAA7134_BOARD_ASUSTeK_TVFM35:
- /* The card below is detected as card=53, but is different */
- if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
- dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
- printk(KERN_INFO "%s: P7131 analog only, using "
- "entry of %s\n",
- dev->name, saa7134_boards[dev->board].name);
- }
- break;
-#endif
+ case SAA7134_BOARD_ASUSTeK_TVFM7135:
+ /* The card below is detected as card=53, but is different */
+ if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
+ dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
+ printk(KERN_INFO "%s: P7131 analog only, using "
+ "entry of %s\n",
+ dev->name, saa7134_boards[dev->board].name);
+ }
+ break;
case SAA7134_BOARD_HAUPPAUGE_HVR1110:
hauppauge_eeprom(dev, dev->eedata+0x80);
/* break intentionally omitted */
diff -r 0ebffe1cc136 linux/drivers/media/video/saa7134/saa7134-input.c
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Sat Jul 12 16:50:43 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sat Jul 12 22:48:11 2008 +0200
@@ -409,7 +409,7 @@ int saa7134_input_init1(struct saa7134_d
break;
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
- case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
+ case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
ir_codes = ir_codes_asus_pc39;
mask_keydown = 0x0040000;
rc5_gpio = 1;
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] ASUS My-Cinema remote patch
[not found] ` <1215897249.2987.28.camel@pc10.localdom.local>
@ 2008-07-17 22:55 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 13+ messages in thread
From: Mauro Carvalho Chehab @ 2008-07-17 22:55 UTC (permalink / raw)
To: hermann pitton
Cc: Hartmut Hackmann, linux-dvb, video4linuxlist, Bozhan Boiadzhiev
On Sat, 12 Jul 2008 23:14:09 +0200
hermann pitton <hermann-pitton@arcor.de> wrote:
> Latest questions on it are in the same thread.
>
> Mauro, almost all my tabs were lost, maybe it works better with
> attachments.
>
> Cheers,
> Hermann
>
> saa7134: update the Asustek P7131 Analog patch to latest
> version and also try to replace lost tabs.
The patch seems to have whitespaces mangled. I'm fixing the original patch at
-git and applying a patch, based on yours, fixing this issue.
Cheers,
Mauro
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-07-17 22:55 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-15 10:03 [linux-dvb] ASUS My-Cinema remote patch Bozhan Boiadzhiev
2008-06-15 20:40 ` hermann pitton
[not found] ` <1213562075.2683.79.camel@pc10.localdom.local>
2008-07-12 12:29 ` Mauro Carvalho Chehab
2008-07-12 21:18 ` hermann pitton
[not found] ` <1215897249.2987.28.camel@pc10.localdom.local>
2008-07-17 22:55 ` Mauro Carvalho Chehab
-- strict thread matches above, loose matches on Subject: below --
2008-06-24 3:07 Diego V. Martinez
2008-06-24 21:35 ` hermann pitton
2008-06-23 15:52 Diego V. Martinez
2008-06-23 22:07 ` hermann pitton
2008-06-17 19:28 Bozhan Boiadzhiev
2008-06-17 22:14 ` hermann pitton
2008-06-14 20:44 Bozhan Boiadzhiev
2008-06-15 1:53 ` hermann pitton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox