public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Bozhan Boiadzhiev <bozhan@abv.bg>
To: hermann pitton <hermann-pitton@arcor.de>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] ASUS My-Cinema remote patch
Date: Sun, 15 Jun 2008 13:03:17 +0300 (EEST)	[thread overview]
Message-ID: <1634623854.65471.1213524197148.JavaMail.apache@mail71.abv.bg> (raw)



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

             reply	other threads:[~2008-06-15 10:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-15 10:03 Bozhan Boiadzhiev [this message]
2008-06-15 20:40 ` Re: [linux-dvb] ASUS My-Cinema remote patch 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1634623854.65471.1213524197148.JavaMail.apache@mail71.abv.bg \
    --to=bozhan@abv.bg \
    --cc=hermann-pitton@arcor.de \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox