LinHES Forums http://forum.linhes.org/ |
|
R5D1 & Prolink Pixelview PlayTV (bt878) card http://forum.linhes.org/viewtopic.php?f=2&t=13145 |
Page 1 of 1 |
Author: | johnnymyth [ Thu Dec 28, 2006 1:52 pm ] |
Post subject: | R5D1 & Prolink Pixelview PlayTV (bt878) card |
I have a problem with my Prolink Pixelview PlayTV (bt878) card. I sucessfully ran Knoppmyth R5A16 with both a skystar2 & pixevview card for a long time (year 1/2)with the pixelview card using the values card=16 tuner=1 in the /etc/mythtv/modules/bttv shown below alias char-major-81 videodev alias char-major-81-0 bttv options bttv card=16 options bttv tuner=1 gbuffers=8 options tuner debug=1 type=1 putting this in the R5D1 build in the same place the pixelview card is no longer identified it just shows up as a generic card in dmesg: Linux video capture interface: v1.00 bttv: driver version 0.9.16 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17 bttv0: Bt878 (rev 2) at 0000:02:01.0, irq: 17, latency: 32, mmio: 0xd9000000 bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init] tveeprom 0-0050: Huh, no eeprom present (err=-121)? bttv0: using tuner=-1 bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found bttv0: i2c: checking for TDA9887 @ 0x86... not found bttv0: registered device video0 bttv0: registered device vbi0 However following this post http://mysettopbox.tv/phpBB2/viewtopic.php?t=11050 markmoo suggests in R5D1 changing the file /etc/modprobe.conf & adding your options in here for your card i've added options bttv card=16 tuner=1 gbuffers=16 options tuner debug=1 type=1 to the modprobe.conf now on reboot dmesg gives Linux video capture interface: v1.00 bttv: driver version 0.9.16 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17 bttv0: Bt878 (rev 2) at 0000:02:01.0, irq: 17, latency: 32, mmio: 0xd9000000 bttv0: using: Prolink Pixelview PlayTV (bt878) [card=16,insmod option] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init] bttv0: using tuner=1 bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found bttv0: i2c: checking for TDA9887 @ 0x86... not found tuner: Unknown parameter `type' bttv0: registered device video0 bttv0: registered device vbi0 bttv0: PLL: 28636363 => 35468950 .. ok which appears to set the card=16 & type=1 correct but the tuner still appears not to be set the error above tuner: Unknown parameter `type' lsmod gives Module Size Used by mga 64896 1 drm 72600 2 mga shpchp 35112 0 pci_hotplug 28612 1 shpchp 8250_pnp 10368 0 nfsd 208516 8 ipv6 237728 16 usbhid 48736 0 ttusb_dec 22028 0 ttusbdecfe 5632 1 ttusb_dec dvb_ttusb_budget 30364 0 cx22700 7300 1 dvb_ttusb_budget budget_av 17536 0 tda10021 7940 1 budget_av budget_ci 15616 0 budget 11264 0 s5h1420 10372 1 budget budget_core 10116 3 budget_av,budget_ci,budget dvb_ttpci 90436 0 l64781 8580 2 budget,dvb_ttpci tda8083 7428 3 dvb_ttusb_budget,budget,dvb_ttpci stv0297 9216 2 budget_ci,dvb_ttpci sp8870 8588 1 dvb_ttpci ttpci_eeprom 4480 2 budget_core,dvb_ttpci saa7146_vv 44928 2 budget_av,dvb_ttpci saa7146 16392 6 budget_av,budget_ci,budget,budget_core,dvb_ttpci,saa7146_vv tda1004x 15748 3 dvb_ttusb_budget,budget_av,budget_ci ves1820 8068 3 dvb_ttusb_budget,budget,dvb_ttpci ves1x93 8196 2 budget,dvb_ttpci evdev 9984 0 dvb_bt8xx 13956 0 nxt6000 8836 1 dvb_bt8xx sp887x 9092 1 dvb_bt8xx dst_ca 16512 1 dvb_bt8xx or51211 9860 1 dvb_bt8xx zl10353 6404 1 dvb_bt8xx dst 24964 2 dvb_bt8xx,dst_ca bt878 10952 2 dvb_bt8xx,dst cx24110 9220 1 dvb_bt8xx v4l1_compat 14852 1 saa7146_vv autofs4 19716 2 af_packet 20360 2 snd_intel8x0 30364 0 snd_ac97_codec 88352 1 snd_intel8x0 snd_ac97_bus 3968 1 snd_ac97_codec snd_pcm 71300 2 snd_intel8x0,snd_ac97_codec snd_timer 22276 1 snd_pcm snd 48228 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer soundcore 9568 1 snd snd_page_alloc 9608 2 snd_intel8x0,snd_pcm intel_agp 21404 1 agpgart 30028 2 drm,intel_agp i2c_i801 9740 0 b2c2_flexcop_pci 8472 1 b2c2_flexcop 24588 1 b2c2_flexcop_pci mt352 8068 2 dvb_bt8xx,b2c2_flexcop mt312 8964 1 b2c2_flexcop bcm3510 11652 1 b2c2_flexcop stv0299 11784 6 dvb_ttusb_budget,budget_av,budget_ci,budget,dvb_ttpci,b2c2_flexcop nxt200x 14724 1 b2c2_flexcop dvb_pll 12420 4 budget_av,dvb_bt8xx,b2c2_flexcop,nxt200x stv0297_cs2 11652 1 b2c2_flexcop lgdt330x 9884 2 dvb_bt8xx,b2c2_flexcop dvb_core 74024 13 ttusb_dec,dvb_ttusb_budget,budget_av,budget_ci,budget, budget_core,dvb_ttpci,dvb_bt8xx,dst_ca,or51211,b2c2_flexcop,stv0299,lgdt330x tvaudio 23708 0 bttv 163572 2 dvb_bt8xx,bt878 video_buf 21764 2 saa7146_vv,bttv ir_common 25732 1 bttv compat_ioctl32 3328 1 bttv i2c_algo_bit 10120 1 bttv v4l2_common 15744 2 saa7146_vv,bttv btcx_risc 6152 1 bttv tveeprom 15504 1 bttv i2c_core 19072 37 dvb_ttusb_budget,cx22700,budget_av,tda10021,budget_ci,budget,s5h1420, budget_core,dvb_ttpci,l64781,tda8083,stv0297,sp8870,ttpci_eeprom,tda1004x, ves1820,ves1x93,dvb_bt8xx,nxt6000,sp887x,or51211,zl10353,dst,cx24110, i2c_i801,b2c2_flexcop,mt352,mt312,bcm3510,stv0299,nxt200x,stv0297_cs2,lgdt330x, tvaudio,bttv,i2c_algo_bit,tveeprom videodev 9472 2 saa7146_vv,bttv parport_pc 37188 0 parport 32584 1 parport_pc 8250 22516 1 8250_pnp serial_core 19072 1 8250 pcmcia 32428 0 firmware_class 9984 15 ttusb_dec,dvb_ttusb_budget,budget_av,budget_ci,dvb_ttpci,sp8870,tda1004x,dvb_bt8xx,sp887x, or51211,b2c2_flexcop,bcm3510,nxt200x,bttv,pcmcia yenta_socket 24972 0 rsrc_nonstatic 12672 1 yenta_socket pcmcia_core 36760 3 pcmcia,yenta_socket,rsrc_nonstatic video 16132 0 thermal 12680 0 processor 25896 1 thermal fan 5380 0 container 5248 0 button 7056 0 battery 9732 0 ac 5508 0 genrtc 9984 0 ohci1394 31920 0 ieee1394 288984 1 ohci1394 ehci_hcd 31368 0 ohci_hcd 20740 0 uhci_hcd 22156 0 usbcore 112000 6 usbhid,ttusb_dec,dvb_ttusb_budget,ehci_hcd,ohci_hcd,uhci_hcd aacraid 55296 0 a100u2w 11968 0 3w_9xxx 31620 0 3w_xxxx 27424 0 megaraid_sas 26156 0 tmscsim 22976 0 raid_class 6656 0 megaraid 37448 0 sata_uli 6788 0 sata_sil24 10756 0 sata_qstor 9220 0 sata_nv 8452 0 sata_mv 17672 0 BusLogic 76180 0 tsdev 8000 0 so it appears that there is no tuner module loaded i have seen posts using pre-install like this below alias char-major-81 bttv pre-install bttv modprobe -k tuner; modprobe -k msp3400 options bttv radio=1 card=78 options tuner type=2 although this refers to a different card i was wondering how to get the tuner module loaded before the bttv module and pass the type to the tuner or am i barking up the wrong tree. xawtv still gives snow for a picture and no joy for analogue tv If anyone needs more info from messages or dmesg i'll be happy to post. (this has been driving me nuts for 4 days!!!) ![]() |
Author: | tjc [ Thu Dec 28, 2006 7:55 pm ] |
Post subject: | |
Follow the example at the bottom of this page but use bttv rather than ivtv. http://www.knoppmythwiki.org/index.php? ... ptureCards |
Author: | johnnymyth [ Sat Dec 30, 2006 9:05 am ] |
Post subject: | |
tjc thanks for the reply her's what i've done first remove all modules for bttv & anything else that uses it root@mythtv:~# rmmod dvb_bt8xx root@mythtv:~# rmmod dst_ca root@mythtv:~# rmmod dst root@mythtv:~# rmmod bt878 root@mythtv:~# rmmod bttv root@mythtv:~# rmmod tuner root@mythtv:~# then in modprobe.conf make it look like so alias ra0 rt2400 alias rausb0 rt2570 options bttv card=16 tuner=1 options tuner debug=2 then root@mythtv:~# modprobe bttv root@mythtv:~# all looks good so far!! dmesg now reports bttv has loaded but see line tuner 0-0061: tuner 0x61: Tuner type absent & tuner 0-0061: tuner type not set bttv: driver version 0.9.16 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17 bttv0: Bt878 (rev 2) at 0000:02:01.0, irq: 17, latency: 32, mmio: 0xd9000000 bttv0: using: Prolink Pixelview PlayTV (bt878) [card=16,insmod option] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init] bttv0: using tuner=1 bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found bttv0: i2c: checking for TDA9887 @ 0x86... not found tuner 0-0061: Setting mode_mask to 0x0e tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw]) tuner 0-0061: tuner 0x61: Tuner type absent bttv0: registered device video0 bttv0: registered device vbi0 tuner 0-0061: v4l2 ioctl VIDIOC_S_CTRL, dir=rw (0xc008561c) tuner 0-0061: v4l2 ioctl VIDIOC_S_CTRL, dir=rw (0xc008561c) bttv0: PLL: 28636363 => 35468950 . ok tuner 0-0061: v4l2 ioctl VIDIOC_S_STD, dir=-w (0x40085618) tuner 0-0061: Cmd VIDIOC_S_STD accepted for analog TV tuner 0-0061: switching to v4l2 tuner 0-0061: tv freq set to 400.00 tuner 0-0061: tuner type not set root@mythtv:~# then running xawtv just gives no analogue picture just snow & no sound. now if i stop xawtv then rmmod bttv & rmmod tuner then change modprobe.conf to be alias ra0 rt2400 alias rausb0 rt2570 options bttv card=37 tuner=1 options tuner debug=2 note now using card=37 which is now a Prolink PixelView PlayTV pro then run root@mythtv:~#modprobe bttv then root@mythtv:~#dmesg bttv: driver version 0.9.16 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17 bttv0: Bt878 (rev 2) at 0000:02:01.0, irq: 17, latency: 32, mmio: 0xd9000000 bttv0: using: Prolink PixelView PlayTV pro [card=37,insmod option] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init] bttv0: using tuner=1 bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found bttv0: i2c: checking for TDA9887 @ 0x86... not found tuner 0-0061: Setting mode_mask to 0x0e tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw]) tuner 0-0061: v4l2_int ioctl TUNER_SET_TYPE_ADDR, dir=-w (0x4004645a) tuner 0-0061: Calling set_type_addr for type=1, addr=0xff, mode=0x0e tuner 0-0061: tuner 0x61: called during i2c_client register by adapter's attach_inform tuner 0-0061: type set to 1 (Philips PAL_I (FI1246 and compatibles)) tuner 0-0061: bt878 #0 [sw] tuner I2C addr 0xc2 with type 1 used for 0x0e bttv0: registered device video0 bttv0: registered device vbi0 tuner 0-0061: v4l2 ioctl VIDIOC_S_CTRL, dir=rw (0xc008561c) tuner 0-0061: v4l2 ioctl VIDIOC_S_CTRL, dir=rw (0xc008561c) bttv0: PLL: 28636363 => 35468950 . ok tuner 0-0061: v4l2 ioctl VIDIOC_S_STD, dir=-w (0x40085618) tuner 0-0061: Cmd VIDIOC_S_STD accepted for analog TV tuner 0-0061: switching to v4l2 tuner 0-0061: tv freq set to 400.00 tuner 0-0061: tv: param 0, range 1 tuner 0-0061: Freq= 400.00 MHz, V_IF=38.93 MHz, Offset=0.00 MHz, div=7023 tuner 0-0061: tv 0x1b 0x6f 0x8e 0x90 root@mythtv:~# note here the tuner parts of the driver now appear correct if i run xawtv i now can tune through my local uk tv channels but no sound then if i LEAVE IT TUNED TO BBC1 & exit xawtv then change modprobe.conf back to alias ra0 rt2400 alias rausb0 rt2570 options bttv card=16 tuner=1 options tuner debug=2alias ra0 rt2400 rmmod bttv, rmmod tuner then modprobe bttv dmesg again shows tuner type not set bttv: driver version 0.9.16 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17 bttv0: Bt878 (rev 2) at 0000:02:01.0, irq: 17, latency: 32, mmio: 0xd9000000 bttv0: using: Prolink Pixelview PlayTV (bt878) [card=16,insmod option] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init] bttv0: using tuner=1 bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found bttv0: i2c: checking for TDA9887 @ 0x86... not found tuner 0-0061: Setting mode_mask to 0x0e tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw]) tuner 0-0061: tuner 0x61: Tuner type absent bttv0: registered device video0 bttv0: registered device vbi0 tuner 0-0061: v4l2 ioctl VIDIOC_S_CTRL, dir=rw (0xc008561c) tuner 0-0061: v4l2 ioctl VIDIOC_S_CTRL, dir=rw (0xc008561c) bttv0: PLL: 28636363 => 35468950 . ok tuner 0-0061: v4l2 ioctl VIDIOC_S_STD, dir=-w (0x40085618) tuner 0-0061: Cmd VIDIOC_S_STD accepted for analog TV tuner 0-0061: switching to v4l2 tuner 0-0061: tv freq set to 400.00 tuner 0-0061: tuner type not set root@mythtv:~# but running xawtv now gives both pictures & sound for BBC1 but i cannot tune to different channels so it appears that the bttv driver handles the tuner type=1 ok but the tuner module which gets loaded with bttv does not as indicated by the lines in dmesg tuner 0-0061: tuner 0x61: Tuner type absent & the last line tuner 0-0061: tuner type not set so my question is has this bttv driver version that i'm using here got mangled in some way, or is there a way to compile the module with my paticular card type & tuner type hard fixed. i also notice that in my old install R5A16 that i was able to pass the value options tuner type=1 in /etc/mythtv/modules/bttv if i try this in modprobe.conf the driver errors with tuner: Unknown parameter `type' so i assume that they have incorporated the type into the tuner part of the driver taking it from the bttv option options bttv card=16 tuner=1 looking through the src /usr/src/linux/Documentation/video4linux/bttv/Insmod-options it does indicate that the tuner type can be passed (see line 73) 67tuner.o 68 The tuner driver. You need this unless you want to use only 69 with a camera or external tuner ... 70 71 insmod args: 72 debug=1 print some debug info to the syslog 73 type=n type of the tuner chip. n as follows: 74 see CARDLIST for a complete list. 75 pal=[bdgil] select PAL variant (used for some tuners 76 only, important for the audio carrier). any help would be great as it's nice to have the analogue card as well as the skystar card to record 2 progs at once. just another thought as i still have the hard drive of my old build R5A16 would it be possible to take the binary drivers from that put them in my R5D1 box as i know they worked?. my card is this one http://www.bttv-gallery.de/Prolink_Pixelview_PV-BT878P_Rev.jpg which i'm prity sure is type 16, at least it used to work in R5A16 thanks john |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |