LINUX.ORG.RU

AverMedia TVPhone & kernel 2.6


0

0

Установлен RH8 с ядром 2.4.18 и карта AverMedia TVPhone
в modules.conf

# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1

# bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=6
options tuner type=5 debug=1

Делаю modprobe bttv - все работает в messages следующее

Feb 24 07:43:37 FAlex kernel: i2c-core.o: i2c core module
Feb 24 07:43:37 FAlex kernel: i2c-algo-bit.o: i2c bit algorithm module
Feb 24 07:43:37 FAlex kernel: Linux video capture interface: v1.00
Feb 24 07:43:37 FAlex kernel: bttv: driver version 0.7.91 loaded
Feb 24 07:43:37 FAlex kernel: bttv: using 2 buffers with 2080k (4160k total) for capture
Feb 24 07:43:37 FAlex kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Feb 24 07:43:37 FAlex kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Feb 24 07:43:37 FAlex kernel: bttv: Bt8xx card found (0).
Feb 24 07:43:37 FAlex kernel: PCI: Found IRQ 5 for device 00:09.0
Feb 24 07:43:37 FAlex kernel: IRQ routing conflict for 00:07.5, have irq 11, want irq 5
Feb 24 07:43:37 FAlex kernel: PCI: Sharing IRQ 5 with 00:0d.0
Feb 24 07:43:37 FAlex kernel: bttv0: Bt848 (rev 18) at 00:09.0, irq: 5, latency: 32, memory: 0xd8010000
Feb 24 07:43:37 FAlex kernel: bttv0: using: BT848A(AVerMedia TVPhone) [card=6,insmod option]
Feb 24 07:43:37 FAlex kernel: i2c-algo-bit.o: Adapter: bt848 #0 scl: 1  sda: 1 -- testing...
Feb 24 07:43:37 FAlex kernel: i2c-algo-bit.o:1 scl: 1  sda: 0 
Feb 24 07:43:37 FAlex kernel: i2c-algo-bit.o:2 scl: 1  sda: 1 
Feb 24 07:43:37 FAlex kernel: i2c-algo-bit.o:3 scl: 0  sda: 1 
Feb 24 07:43:37 FAlex kernel: i2c-algo-bit.o:4 scl: 1  sda: 1 
Feb 24 07:43:37 FAlex kernel: i2c-algo-bit.o: bt848 #0 passed test.
Feb 24 07:43:37 FAlex kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
Feb 24 07:43:37 FAlex kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Feb 24 07:43:37 FAlex kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Feb 24 07:43:37 FAlex kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Feb 24 07:43:37 FAlex kernel: tvaudio: TV audio decoder + audio/video mux driver
Feb 24 07:43:37 FAlex kernel: tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
Feb 24 07:43:37 FAlex kernel: i2c-core.o: driver generic i2c audio driver registered.
Feb 24 07:43:37 FAlex kernel: i2c-core.o: driver i2c TV tuner driver registered.
Feb 24 07:43:37 FAlex kernel: tuner: probing bt848 #0 i2c adapter [id=0x10005]
Feb 24 07:43:37 FAlex kernel: tuner: chip found @ 0xc2
Feb 24 07:43:37 FAlex kernel: bttv0: i2c attach [client=Philips PAL,ok]
Feb 24 07:43:37 FAlex kernel: i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0](pos. 0).
Feb 24 07:43:37 FAlex kernel: bttv0: registered device video0
Feb 24 07:43:37 FAlex kernel: bttv0: registered device vbi0
Feb 24 07:43:37 FAlex kernel: bttv0: registered device radio0

Продолжение следует
anonymous

AverMedia TVPhone & kernel 2.6

Установил 2.6.3 ядро проставил новые modutils

делаю

modprobe i2c-dev
modprobe tuner type=5
modprobe bttv card=6

На экране только снег а в messages

Feb 24 07:40:09 FAlex kernel: i2c /dev entries driver
Feb 24 07:40:46 FAlex kernel: bttv: driver version 0.9.12 loaded
Feb 24 07:40:46 FAlex kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Feb 24 07:40:46 FAlex kernel: bttv: Bt8xx card found (0).
Feb 24 07:40:46 FAlex kernel: bttv0: Bt848 (rev 18) at 0000:00:09.0, irq: 5, latency: 32, mmio: 0xd8010000
Feb 24 07:40:46 FAlex kernel: bttv0: using: AVerMedia TVPhone [card=6,insmod option]
Feb 24 07:40:46 FAlex kernel: i2c-algo-bit.o: bt848 #0 [sw] passed test.
Feb 24 07:40:46 FAlex kernel: tuner: chip found @ 0xc2
Feb 24 07:40:46 FAlex kernel: tuner: type forced to 5 (Philips PAL_BG (FI1216 and compatibles)) [insmod]
Feb 24 07:40:46 FAlex kernel: tuner: type already set (5)
Feb 24 07:40:46 FAlex kernel: bttv0: using tuner=5
Feb 24 07:40:46 FAlex kernel: tuner: type already set (5)
Feb 24 07:40:46 FAlex kernel: bttv0: i2c: checking for MSP34xx @ 0x80... <7>i2c_adapter i2c-0: master_recv: reading 1 bytes.
Feb 24 07:40:46 FAlex kernel: not found
Feb 24 07:40:46 FAlex kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... <7>i2c_adapter i2c-0: master_recv: reading 1 bytes.
Feb 24 07:40:46 FAlex kernel: not found
Feb 24 07:40:46 FAlex kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... <7>i2c_adapter i2c-0: master_recv: reading 1 bytes.
Feb 24 07:40:46 FAlex kernel: not found
Feb 24 07:40:46 FAlex kernel: bttv0: registered device video0
Feb 24 07:40:46 FAlex kernel: bttv0: registered device vbi0
Feb 24 07:40:46 FAlex kernel: bttv0: registered device radio0
Feb 24 07:40:46 FAlex kernel: bttv0: add subdevice "remote0"

Кто нибудь сталкивался? Что можно еще предпринять?

anonymous
()
Ответ на: AverMedia TVPhone & kernel 2.6 от anonymous

AverMedia TVPhone & kernel 2.6

Еще - может это нужно

2.4.18

lsmod до загрузки bttv (modprobe bttv)
Module                  Size  Used by    Tainted: P  
sr_mod                 18136   0  (unused)
nvidia               2125896   0  (unused)
autofs                 13348   0  (autoclean) (unused)
ide-scsi               10512   0 
scsi_mod              107176   2  [sr_mod ide-scsi]
ide-cd                 33608   0 
cdrom                  33696   0  [sr_mod ide-cd]
nls_koi8-r              4604   1  (autoclean)
nls_cp866               4572   1  (autoclean)
vfat                   13084   1  (autoclean)
fat                    38744   0  (autoclean) [vfat]
ext3                   70400   2 
jbd                    52212   2  [ext3]

и после

Module                  Size  Used by    Tainted: P  
tuner                  11456   1  (autoclean)
tvaudio                14940   0  (autoclean) (unused)
bttv                   71328   0  (unused)
videodev                8320   3  [bttv]
i2c-algo-bit            8840   1  [bttv]
i2c-core               19236   0  [tuner tvaudio bttv i2c-algo-bit]
sr_mod                 18136   0  (unused)
nvidia               2125896   0  (unused)
autofs                 13348   0  (autoclean) (unused)
ide-scsi               10512   0 
scsi_mod              107176   2  [sr_mod ide-scsi]
ide-cd                 33608   0 
cdrom                  33696   0  [sr_mod ide-cd]
nls_koi8-r              4604   1  (autoclean)
nls_cp866               4572   1  (autoclean)
vfat                   13084   1  (autoclean)
fat                    38744   0  (autoclean) [vfat]
ext3                   70400   2 
jbd                    52212   2  [ext3]

2.6.3

до
Module                  Size  Used by
sr_mod                 17824  0 
autofs                 15808  0 
parport_pc             25544  0 
parport                43264  1 parport_pc
ide_scsi               15044  0 
scsi_mod              118052  2 sr_mod,ide_scsi
ide_cd                 41984  0 
cdrom                  38880  2 sr_mod,ide_cd

после

Module                  Size  Used by
bttv                  149984  0 
video_buf              21056  1 bttv
i2c_algo_bit            9928  1 bttv
btcx_risc               4868  1 bttv
tuner                  17924  0 
i2c_dev                10816  0 
i2c_core               25664  4 bttv,i2c_algo_bit,tuner,i2c_dev
sr_mod                 17824  0 
autofs                 15808  0 
parport_pc             25544  0 
parport                43264  1 parport_pc
ide_scsi               15044  0 
scsi_mod              118052  2 sr_mod,ide_scsi
ide_cd                 41984  0 
cdrom                  38880  2 sr_mod,ide_cd


anonymous
()
Ответ на: комментарий от anonymous

avermedia tv studio 203

# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1

# lirc
alias char-major-61 lirc_gpio

# bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=41 tuner=5 radio=1 pll=1 automute=0
options tuner debug=1

jackill ★★★★★
()
Ответ на: комментарий от jackill

Все тоже - в чем же дело (почти). jackill будь добр покажи lsmod до загрузки и после и если можно .config для 2.6. Еще вопрос патчи с ttp://bytesex.org накладывал?

С Уважениме Алексей (falex@bel.ru)

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.