public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: dz-tor <dz-tor@wp.pl>
To: hermann pitton <hermann-pitton@arcor.de>
Cc: Pavle Predic <pavle.predic@yahoo.co.uk>,
	video4linux-list@redhat.com, LMML <linux-media@vger.kernel.org>,
	Terry Wu <terrywu2009@gmail.com>
Subject: Re: Leadtek Winfast TV2100
Date: Sun, 10 Jan 2010 22:26:47 +0100	[thread overview]
Message-ID: <4B4A4617.7070400@wp.pl> (raw)
In-Reply-To: <1263057295.3870.27.camel@pc07.localdom.local>

Hi,

On 09.01.2010 18:14, hermann pitton wrote:
> Hi,
>
> Am Samstag, den 09.01.2010, 17:23 +0100 schrieb dz-tor:
>    
>> Hi Pavle,
>>
>> On 09.01.2010 15:46, Pavle Predic wrote:
>>      
>>> Hey Darek,
>>>
>>> Great job of making the card work. I was really thrilled when I saw
>>> your post. However, I am a total newbie, so I couldn't apply the
>>> changes you wrote about. Could you please be a bit more specific? What
>>> I did is downloaded the driver from here:
>>> http://dl.bytesex.org/releases/video4linux/saa7134-0.2.12.tar.gz and
>>> made the changes to those two files, as described. But I have no clue
>>> how to compile it. I installed linux-headers for my kernel version and
>>> tried to run make, but I'm getting an error. Are there any
>>> configuration options that I need to set in Makefile or Make.config?
>>>        
>> I'm not sure whether downloading and compiling driver is good idea. v4l
>> drivers (which includes saa7134) are included in mainline kernel, so
>> compiling kernel is what you have to do. From what I know, in Debian
>> there should be package in repositories with kernel sources
>> (linux-source or similar) - this option you should use if you want to
>> stick to the kernel version provided by your distribution. Another
>> option is to download kernel sources from kernel.org and use them (I've
>> done so - I'm using latest stable release). Here you have link to how-to
>> about kernel compiling:
>> https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/kernel-baking.html.
>> It's for Ubuntu, but for you it should be also applicable (on bottom
>> there is also link to Debian documentation).
>>
>> Before compilation you should make changes which I gave earlier. All
>> files which should be modified are in
>> <kernel_src_path>/drivers/media/video/saa7134/ directory. Have in mind
>> that what I've done is that I've changed existing card configuration -
>> it's not proper solution. When I'll manage remote control to work, I'll
>> try to prepare patch with new card configuration. You can apply my
>> changes now or wait until I'll prepare the patch.
>>
>> Regards,
>> Darek
>>      
> Great!
>
> So Pavle's regspy results and following my instructions did the trick.
>
> Patches must go to LMML<linux-media@vger.kernel.org>  and be against
> latest v4l-dvb master at linuxtv.org.
>    
Done
> You can use what I prepared already yesterday for testing and is
> attached. You have only to change the clock and use LINE1 for external
> audio input. I suggest to use also LINE1 for mute then, gpio 0x08 is
> that input anyway.
>
> We can send that modified patch already and add IR support later.
>
> You must find the up/down gpio and with mask_keycode = 0x000000
> all the other gpios which do change on keypresses and create unique
> keycodes. Then you either need to add a new keytable or can use an
> already existing one.
>    
I understand what have to be done to get support for remote control - 
problem lays somewhere else. Later I'll send more details with code and 
outputs from dmesg and description of the problem.

Regards,
Darek


  parent reply	other threads:[~2010-01-10 21:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-03 15:37 Re: Leadtek Winfast TV2100 dz-tor
2010-01-08 19:34 ` hermann pitton
2010-01-08 20:24   ` Blackmagic SDI card --> v4l2 ready ? Mars Forest
2010-01-08 20:32     ` Mars Forest
2010-01-11 13:57       ` Rafael Diniz
2010-01-08 22:56   ` Leadtek Winfast TV2100 dz-tor
2010-01-09 14:46     ` Pavle Predic
2010-01-09 16:23       ` dz-tor
2010-01-09 17:14         ` hermann pitton
2010-01-09 22:48           ` hermann pitton
2010-01-10 21:26           ` dz-tor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-08 17:11 Pavle Predic
2009-11-08 22:35 ` hermann pitton
2009-11-20 14:11   ` Pavle Predic
2009-11-21  0:21     ` hermann pitton
2009-11-21  9:07       ` Terry Wu
2009-11-21 19:53         ` Pavle Predic

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=4B4A4617.7070400@wp.pl \
    --to=dz-tor@wp.pl \
    --cc=hermann-pitton@arcor.de \
    --cc=linux-media@vger.kernel.org \
    --cc=pavle.predic@yahoo.co.uk \
    --cc=terrywu2009@gmail.com \
    --cc=video4linux-list@redhat.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