linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Davor Emard <davoremard@gmail.com>
To: "Samuel Rakitničan" <samuel.rakitnican@gmail.com>
Cc: semiRocket <semirocket@gmail.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: [PATCH] Compro Videomate T750F Vista digital+analog support
Date: Thu, 3 Jun 2010 16:04:07 +0200	[thread overview]
Message-ID: <20100603140403.GA22382@emard.lan> (raw)
In-Reply-To: <op.vdo22vmundeod6@crni>

> Didn't have time to look for gpios, tomorrow I will have. But I can
> tell that this change is not working for me:
> 
> 	case SAA7134_BOARD_VIDEOMATE_T750:
> 		dev->has_remote = SAA7134_REMOTE_GPIO;
> 		saa_andorl(SAA7134_GPIO_GPMODE0 >> 2,   0x8082c000, 0x8082c000);
> 		saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x8082c000, 0x0080c000);
> 		break;

Thanx for testing it out, If it doesn't work, try this:

saa_andorl(SAA7134_GPIO_GPMODE0 >> 2,   /* keep */ 0x8082c000, /* keep */   0x8082c000);
saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, /* keep */ 0x8082c000, /* modify */ 0x0080c000);

modify only the indicated number, try 0, try 0x8082c000 and if
you have time try all combinations of bits 0x8082c000 optionally set to 0
e.g. 0x8002c000, 0x8080c000, 0x80828000, 0x0080c000 etc...

It is possible that you and I don't have same revision of the
card and you need a slightly different initialization procedure.
If you get something to work for your card then I can try it back at
mine there's a changes that we get a common setup which works for both.

> OK, I'm not having any personal opinion about the keys nor a
> application which I'm using, I'm just noticed that the keys differ
> against standard keys defined at linuxtv wiki. But if the keys at
> wiki are not correct, then perhaps should we change them there and
> let all use the same keys.
> 
> If we have standard keys, than userspace applications programmers
> can make a use of it and assign the keys to their applications and
> to have just work experience to their users. But maybe I'm terrible
> wrong...

Yeah I know, almost every remote has its own logic so it seems my version
is yet-another-bla... I'm hoping for upcoming X11 xinput2 layer hopefully 
get full support of MCE remotes and nicely integrate with X applications
therefore I produced MCE stuff here for a challenge to the xinput2

For integrated TV and PC to work well we need all remote keys be different 
than any other existing key used by keyboard.

Without this, when X11 based TV view application gets "out of input focus"
means it becomes irresponsive to ambiguity keys on the remote controller 
(in this example cursor keys) and we need to first use mouse to click on 
TV application and then continue using cursors on remote control 
(imagine how practical it is to make mouse click when watching TV from sofa) 

best regards, d.

  reply	other threads:[~2010-06-03 14:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-08 16:06 [PATCH] Compro Videomate T750F Vista digital+analog support Emard
     [not found] ` <op.vceiu5q13xmt7q@crni>
     [not found]   ` <AANLkTinMYcgG6Ac73Vgdx8NMYocW8Net6_-dMC3yEflQ@mail.gmail.com>
     [not found]     ` <AANLkTikbpZ0LM5rK70abVuJS27j0lT7iZs12DrSKB9wI@mail.gmail.com>
     [not found]       ` <op.vcfoxwnq3xmt7q@crni>
     [not found]         ` <20100509173243.GA8227@z60m>
2010-05-09 18:35           ` Samuel Rakitničan
2010-05-09 18:48             ` Emard
2010-05-27 17:18               ` Mauro Carvalho Chehab
2010-05-28  6:48                 ` Davor Emard
2010-05-09 23:15             ` Emard
2010-05-16 10:38               ` semiRocket
2010-05-16 10:41                 ` Samuel Rakitničan
2010-05-23 17:40                 ` Samuel Rakitničan
2010-05-27 16:55                   ` Davor Emard
2010-05-27 17:15                   ` Davor Emard
2010-05-30 23:48                   ` Davor Emard
2010-05-31  0:27                     ` hermann pitton
2010-05-31  0:33                       ` hermann pitton
2010-05-31  1:07                         ` Davor Emard
2010-05-31  7:52                     ` Davor Emard
2010-06-02 11:28                       ` semiRocket
2010-06-02 17:22                         ` Davor Emard
2010-06-02 18:27                         ` Davor Emard
2010-06-02 22:50                           ` Samuel Rakitničan
2010-06-03 14:04                             ` Davor Emard [this message]
2010-06-03 17:17                               ` semiRocket
2010-06-03 17:15                           ` semiRocket
2010-05-31  1:21                   ` Davor Emard
2010-05-11 22:35 ` davor emard

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=20100603140403.GA22382@emard.lan \
    --to=davoremard@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=samuel.rakitnican@gmail.com \
    --cc=semirocket@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).