Leadtek Winfast TV2000 XP Expert

[yaro][~]$ uname -r

2.6.12-9-386

[yaro][~]$

karta identyfikuje sie jako:

sudo lspci -vv

0000:00:0c.0 Multimedia video controller: Conexant Winfast TV2000 XP (rev 05)

Subsystem: LeadTek Research Inc.: Unknown device 6611

Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

Latency: 32 (5000ns min, 13750ns max), Cache Line Size: 0x08 (32 bytes)

Interrupt: pin A routed to IRQ 16

Region 0: Memory at eb000000 (32-bit, non-prefetchable) [size=16M]

Capabilities: [44] Vital Product Data

Capabilities: [4c] Power Management version 2

Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)

Status: D0 PME-Enable- DSel=0 DScale=0 PME-

piszemy

modprobe cx8800

i dopisujemy do /etc/modules

cx8800

wynik:

$ dmesg

[4295966.126000] cx88[0]: subsystem: 107d:6611, board: Leadtek Winfast 2000XP Expert [card=5,autodetected]

[4295966.307000] cx88[0]: Leadtek Winfast 2000XP Expert config: tuner=38, eeprom[0]=0x01

[4295966.318000] cx88[0]: registered IR remote control

[4295966.318000] cx88[0]/0: found at 0000:00:0c.0, rev: 5, irq: 16, latency: 32, mmio: 0xeb000000

[4295966.408000] tuner 2-0060: chip found @ 0xc0 (cx88[0])

[4295966.408000] tuner 2-0060: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))

[4295966.463000] tda9885/6/7: chip found @ 0x86

[4295966.481000] cx88[0]/0: registered device video0 [v4l2]

[4295966.486000] cx88[0]/0: registered device vbi0

[4295966.492000] cx88[0]/0: registered device radio0

na razie wiem ze tv, radio i wyjscie somposite dziala...

Pilot uruchomimy wg tego opisu:

http://www.linuxtv.org/v4lwiki/index.php/Remote_controllers

Quick instructions

Check if the support for your remote has been loaded by v4l by running "cat /proc/bus/input/devices". The output is the list of input devices your system has (usually the keyboard, a mouse, and if your remote is working, the remote). Search for a line that start with "N:" (the name of the input device) and contains the name of your v4l board or the driver for that board. Like this:

I: Bus=0018 Vendor=0000 Product=0000 Version=0000

N: Name="Pinnacle PCTV"

P: Phys=i2c-0/0-0047/ir0

H: Handlers=kbd event2

B: EV=100003

B: KEY=108fc010 2100802 0 0 0 0 48000 2180 c0000801 9e1680 7bb80 0 4000

or this

I: Bus=0001 Vendor=109e Product=036e Version=0001

N: Name="bttv IR (card=137)"

P: Phys=pci-0000:00:08.0/ir0

H: Handlers=kbd event2

B: EV=100003

B: KEY=2c0814 100004 0 0 0 4 2008000 2090 2001 1e0000 7ff80 0 0

Now, look at the H: line. See that event2 at the end? Take note of your eventX value (might be different than 2)

Now you've identified the input device, it's time to record the keys for your remote so it can be used with LIRC. Type "irrecord -H dev/input -d /dev/input/eventX /tmp/my-remote" (X is the value you got from the H: line in the previous step. In this case, it would be "/dev/input/event2"). If all goes well, LIRC should start giving you instructions to configure your keys. Follow them.

When you finish configuring your keys, you'll be left with a /tmp/my-remote file. Copy it to /etc/lircd.conf or, if /etc/lirc exists, /etc/lirc/lircd.conf.

Start lircd using the same options you used for irrecord (i.e. "lircd -H dev/input -d /dev/input/eventX"). If you have a configuration file for lirc (in Fedora Core, for example, it's /etc/sysconfig/lircd; in Debian, it's /etc/lirc/hardware.conf and may be altered via "dpkg-reconfigure lirc"), edit it and add those options there.

Run irw and press a few keys on the remote. You should see the names you gave the keys appearing. Congratulations, you now have LIRC running with your remote.

konfiguracja pilota wewnatrz lircrc.zip

przegrac do ~ jako .lircrc

Plik konfiguracyjny do lirca zalaczony w ponizszym poscie - lircd.conf

przegrac do /etc/lirc/lircd.conf

http://www.mandrivalinux.eu/showthread.php?30068-HOW-TO-Leadtek-Winfast-TV2000-XP-Expert&p=114166#post114166