hello, want to show my progress, using R5F27 and Winfast TV2000XP RM
Quote:
The best suggestion I can find here
http://www.linuxtv.org/v4lwiki/index.ph ... the_remoteBasically the guide above says to patch bttv-input.c in the kernel and recompile.
i went that way.., without success
1. downloaded patch (diff file) from
http://marc.info/?l=linux-video&m=116099140716390&w=2
2.downloaded and untar kernel source following this guide, thanks to sparks
http://mysettopbox.tv/phpBB2/viewtopic.php?t=16730&highlight=compile+bttv
until
make command
3. tried to appply patch to /usr/src/linux-source-2.6.18-chw-13/drivers/media/video/bt8xx/bttv-input.c with
Code:
patch bttv-input.c diff
there was some errors - so i changed bttv-input.c manually: add row
if (btv->c.type == BTTV_BOARD_WINFAST2000) ir_input_keydown(ir->dev,&ir->ir,data,data);
under 67 row
and changed 317 row to
ir->mask_keycode = 0x0f8;
4. did
make command from compiling guide - waited for some time, and new bttv.ko module was created, which i copied in place of original (which was backuped before)
original bttv.ko size 163924 b
new bttv.ko size 157512 b
after
rmmod bttv
modprobe bttv
i got
...
Jan 3 11:02:47 mythtv kernel: bttv: driver version 0.9.16 loaded
Jan 3 11:02:47 mythtv kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Jan 3 11:02:47 mythtv kernel: bttv: Bt8xx card found (0).
Jan 3 11:02:47 mythtv kernel: bttv0: Bt878 (rev 17) at 0000:00:09.0, irq: 20, latency: 32, mmio: 0xfa001000
Jan 3 11:02:47 mythtv kernel: bttv0: detected: Leadtek TV 2000 XP [card=34], PCI subsystem ID is 107d:6609
Jan 3 11:02:47 mythtv kernel: bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP [card=34,insmod option]
Jan 3 11:02:47 mythtv kernel: bttv0: gpio: en=00000000, out=00000000 in=003ff502 [init]
Jan 3 11:02:47 mythtv kernel: tuner 1-0061: chip found @ 0xc2 (bt878 #0 [sw])
Jan 3 11:02:47 mythtv kernel: bttv0: using tuner=38
Jan 3 11:02:47 mythtv kernel: tuner-simple 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
Jan 3 11:02:47 mythtv kernel: tuner 1-0061: type set to Philips PAL/SECAM multi (FM1216ME MK3)
Jan 3 11:02:47 mythtv kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Jan 3 11:02:47 mythtv kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Jan 3 11:02:47 mythtv kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Jan 3 11:02:47 mythtv kernel: bttv0: i2c: checking for TDA9887 @ 0x86... not found
Jan 3 11:02:47 mythtv kernel: bttv0: registered device video1
Jan 3 11:02:47 mythtv kernel: BUG: unable to handle kernel paging request at virtual address 000031c7
Jan 3 11:02:47 mythtv kernel: printing eip:
Jan 3 11:02:47 mythtv kernel: c01b1222
Jan 3 11:02:47 mythtv kernel: *pde = 00000000
Jan 3 11:02:47 mythtv kernel: Oops: 0000 [#1]
Jan 3 11:02:47 mythtv kernel: PREEMPT SMP
Jan 3 11:02:47 mythtv kernel: Modules linked in: bttv nvidia autofs4 ipv6 lirc_dev af_packet fuse parport_pc 8250_pnp 8250 serial_core parport pcmcia yenta_socket rsrc_nonstatic pcmcia_core video thermal sbs processor i2c_ec fan container button battery ac unionfs usb_storage ohci_hcd cx88_vp3054_i2c cx8802 cx88xx saa7134_dvb video_buf_dvb tda1004x nvram dvb_core radio_maestro tsdev usbhid snd_es1968 snd_via82xx gameport tuner tea5767 tda8290 tuner_simple mt20xx snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_mpu401_uart snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq snd_timer snd_rawmidi snd_seq_device amd64_agp firmware_class agpgart i2c_viapro i2c_algo_bit ehci_hcd snd saa7134 btcx_risc video_buf compat_ioctl32 ir_kbd_i2c tveeprom uhci_hcd i2c_core serio_raw shpchp evdev ir_common videodev v4l2_common v4l1_compat soundcore pci_hotplug usbcore sbp2 ohci1394 ieee1394
Jan 3 11:02:47 mythtv kernel: CPU: 1
Jan 3 11:02:47 mythtv kernel: EIP: 0060:[<c01b1222>] Tainted: P VLI
Jan 3 11:02:47 mythtv kernel: EFLAGS: 00210286 (2.6.18-chw-13 #1)
Jan 3 11:02:47 mythtv kernel: EIP is at sysfs_add_file+0x12/0x70
Jan 3 11:02:47 mythtv kernel: eax: 00000124 ebx: f9354ed0 ecx: f7aac9c0 edx: 00000000
Jan 3 11:02:47 mythtv kernel: esi: 0000316f edi: ffffffff ebp: f935c9a0 esp: f0ad7db8
Jan 3 11:02:47 mythtv kernel: ds: 007b es: 007b ss: 0068
Jan 3 11:02:47 mythtv kernel: Process modprobe (pid: 3859, ti=f0ad6000 task=e68a88d0 task.ti=f0ad6000)
Jan 3 11:02:47 mythtv kernel: Stack: f7aac800 c01b12ac f072b4b0 f8d96b80 f9354ed0 f935c9a0 ffffffff f935c9a0
Jan 3 11:02:47 mythtv kernel: c01b12ac 0000316f f9354ed0 00000004 000000ab f9343272 f7aac9c0 f9354ed0
Jan 3 11:02:47 mythtv kernel: f934c4fc 00000000 00000001 00000001 00000001 209c9000 c19c9000 c19c9000
Jan 3 11:02:47 mythtv kernel: Call Trace:
Jan 3 11:02:47 mythtv kernel: [<c01b12ac>] sysfs_create_file+0x2c/0x40
Jan 3 11:02:47 mythtv kernel: [<c01b12ac>] sysfs_create_file+0x2c/0x40
Jan 3 11:02:47 mythtv kernel: [<f9343272>] bttv_probe+0x4d2/0x7c0 [bttv]
Jan 3 11:02:47 mythtv kernel: [<c0304932>] pci_device_probe+0x42/0x60
Jan 3 11:02:47 mythtv kernel: [<c035a5cb>] driver_probe_device+0x3b/0xa0
Jan 3 11:02:47 mythtv kernel: [<c035a6a0>] __driver_attach+0x0/0x70
Jan 3 11:02:47 mythtv kernel: [<c035a706>] __driver_attach+0x66/0x70
Jan 3 11:02:47 mythtv kernel: [<c0359fe9>] bus_for_each_dev+0x49/0x70
Jan 3 11:02:47 mythtv kernel: [<c035a525>] driver_attach+0x15/0x20
Jan 3 11:02:47 mythtv kernel: [<c035a6a0>] __driver_attach+0x0/0x70
Jan 3 11:02:47 mythtv kernel: [<c0359c0b>] bus_add_driver+0x6b/0x130
Jan 3 11:02:47 mythtv kernel: [<c0304aaf>] __pci_register_driver+0x5f/0x90
Jan 3 11:02:47 mythtv kernel: [<f933fdd1>] bttv_init_module+0x91/0xe0 [bttv]
Jan 3 11:02:47 mythtv kernel: [<c013fe73>] sys_init_module+0x133/0x1ba0
Jan 3 11:02:47 mythtv kernel: [<c015dd7d>] __handle_mm_fault+0x23d/0x950
Jan 3 11:02:47 mythtv kernel: [<c0119cd1>] do_page_fault+0x141/0x5a8
Jan 3 11:02:47 mythtv kernel: [<c01031f7>] syscall_call+0x7/0xb
Jan 3 11:02:47 mythtv kernel: Code: 85 c0 75 b2 57 e8 7f 7a fd ff 31 ff 58 eb a7 8d 76 00 8d bc 27 00 00 00 00 55 57 56 53 83 ec 10 8b 5c 24 28 8b 74 24 24 8b 43 08 <8b> 6e 58 66 89 04 24 8b 46 10 83 c0 7c e8 7c 27 37 00 8b 3b 57
Jan 3 11:02:47 mythtv kernel: EIP: [<c01b1222>] sysfs_add_file+0x12/0x70 SS:ESP 0068:f0ad7db8
i am probably going to not solve this at this time (will use my remote from second Lifeview card .... until get some inspiration)
bleskone