Web lists-archives.org

Re: pv951 based card, ir - sound problem




> Hi!

Hi,
 
> Ive got a little problem on my pv951 based card. The card dont detect
> automaticaly, so i use some options for bttv.
> 
> modprobe bttv card=42 tuner=28 radio=1 i2c_udelay=16

Is this 'i2c_udelay=16' in bttv version 0.9.17 ?
bttv: Unknown parameter `i2c_udelay'

> Linux video capture interface: v2.00
> bttv: driver version 0.9.17 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> bttv: Bt8xx card found (0).
> bttv0: Bt878 (rev 17) at 0000:05:08.0, irq: 21, latency: 32, mmio:
> 0xc2100000 bttv0: using: ProVideo PV951 [card=42,insmod option]
> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
> bttv0: using tuner=28
> tvaudio 2-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])
> bttv0: i2c: checking for TDA9887 @ 0x86... not found
> tuner 2-0060: All bytes are equal. It is not a TEA5767
> tuner 2-0060: chip found @ 0xc0 (bt878 #0 [sw])
> tuner 2-0060: type set to 28 (LG PAL_BG+FM (TPI8PSB01D))
> tuner 2-0060: type set to 28 (LG PAL_BG+FM (TPI8PSB01D))
> bttv0: registered device video0
> bttv0: registered device vbi0
> bttv0: registered device radio0
> bttv0: PLL: 28636363 => 35468950 . ok

And my log is:
 
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 2) at 0000:02:09.0, irq: 217, latency: 64, mmio: 0xf7ffe000
bttv0: using: ProVideo PV951 [card=42,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=28
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio 1-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner 1-0060: All bytes are equal. It is not a TEA5767
tuner 1-0060: chip found @ 0xc0 (bt878 #0 [sw])
tuner 1-0060: type set to 28 (LG PAL_BG+FM (TPI8PSB01D))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x10)
bttv0: PLL: 28636363 => 35468950 .<6>Floppy drive(s): fd0 is 1.44M
 
> when i load the ir-kbd-i2c helper modul that recognize the ir but dont
> create input files
> 
> ir-kbd-i2c: probe 0x1a @ bt878 #0 [sw]: no
> ir-kbd-i2c: probe 0x18 @ bt878 #0 [sw]: no
> ir-kbd-i2c: probe 0x4b @ bt878 #0 [sw]: yes
> 
> if unload the tvaudio ir-kbd-i2c, and reload ir-kbd-i2c without tvaudio
> modul than the ir work
> 
> rmmod tvaudio ir-kbd-i2c
> modprobe ir-kbd-i2c debug=1

When I do modprobe -r tvaudio my system freeze.
 
> ir-kbd-i2c: probe 0x1a @ bt878 #0 [sw]: no
> ir-kbd-i2c: probe 0x18 @ bt878 #0 [sw]: no
> ir-kbd-i2c: probe 0x4b @ bt878 #0 [sw]: yes
> input: i2c IR (PV951) as /class/input/input6
> ir-kbd-i2c: i2c IR (PV951) detected at i2c-2/2-004b/ir0 [bt878 #0 [sw]]
> 
> if reload the tvaudio when ir is registered that dont work
> 
> modprobe tvaudio debug=1

ir-kbd-i2c: probe 0x1a @ bt878 #0 [sw]: no
ir-kbd-i2c: probe 0x18 @ bt878 #0 [sw]: no
ir-kbd-i2c: probe 0x4b @ bt878 #0 [sw]: yes
input: i2c IR (PV951) as /class/input/input3
ir-kbd-i2c: i2c IR (PV951) detected at i2c-5//ir0 [bt878 #0 [sw]]
ir-kbd-i2c: read error
ir-kbd-i2c: read error

> tvaudio: TV audio decoder + audio/video mux driver
> tvaudio: known chips: tda9840, tda9873h, tda9874h/a, tda9850, tda9855,tea6300, tea6320, tea6420, tda8425, pic16c54 (PV951), ta8874z
> 

Jan 28 10:24:26 spocket kernel: tvaudio: TV audio decoder + audio/video mux driver
Jan 28 10:24:26 spocket kernel: tvaudio: known chips: tda9840, tda9873h, tda9874h/a, tda9850, tda9855, tea6300, tea6320, tea6420, tda8425,
 pic16c54 (PV951), ta8874z
Jan 28 10:24:26 spocket kernel: tvaudio 1-004b: chip found @ 0x96
Jan 28 10:24:26 spocket kernel: tvaudio 1-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])
Jan 28 10:24:26 spocket kernel: tvaudio 1-004b: matches: audiomux.
Jan 28 10:24:26 spocket kernel: tvaudio 1-004b: pic16c54 (PV951): chip_command 0x4004645a

> The ir and sound dont work at same time. Work with older kernel
> (2.6.19 and older).

uname -a
Linux spocket 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64 GNU/Linux

Ive got a lot of errors:

kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x10)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x60)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x10)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x60)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x10)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x60)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x10)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x60)
last message repeated 8 times
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0xa0)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x10)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0xa0)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0x10)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0xa0)
kernel: tvaudio 1-004b: pic16c54 (PV951): I/O error (write reg2=0xa0)


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list