Heya! Marko Ristola wrote: > Here is a better version. > It is much much faster, and is also able to blink the kaffeine screen. > The blink comes when kaffeine tries to read data stream with DMA: > Syslog has message "mantis start feed & dma" and then status is zero and > sync is zero. I tried your version on my 32-bit system. It compiled fine but I can't get lock while running czap. Below is the kernel log output while running the following commands: modprobe mantis czap "YLE TV1" (ctrl-c after 30 seconds) (waited couple minutes) dmesg > log --------------------------------- 8< 8< 8< --------------------------------- ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11 Mantis Rev 1, irq: 11, latency: 64 memory: 0xf6000000, mmio: 0xe0d64000 get_mac_address (1): MAC Address=[ff:ff:ff:ff:ff:ff] get_subvendor_id (1): Sub Vendor ID=[0x1822] get_subdevice_id (1): Sub Device ID=[0x0008] mantis_alloc_buffers (1): DMA=0x19a20000 cpu=0xd9a20000 size=65536 mantis_alloc_buffers (1): RISC=0x1a3ae000 cpu=0xda3ae000 size=1000 DVB: registering new adapter (Mantis dvb adapter). mantis_frontend_init (1): Probing for CU1216 (DVB-C) mantis_frontend_init (1): found Philips CU1216 DVB-C frontend @ 0x0c mantis_frontend_init (1): Mantis DVB-C Philips CU1216 frontend attach success DVB: registering frontend 1 (Philips CU1216 DVB-C)... CALL cu1216_init_none mantis start feed & dma CALL cu1216_read_strength [cu1216_read_strength]: strength = 98 CALL cu1216_read_snr [cu1216_read_snr]: SNRvalue = 545 CALL cu1216_read_ber [cu1216_read_ber]: BERvalue = 0 CALL cu1216_read_ubk CALL cu1216_set_parameters [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]:frequency = 418000000 , symbol = 6900000 , qam = 4 . [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=0, uc_Gain=1, errRate=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=1, uc_Gain=1, errRate=0 [cu1216_set_parameters]: status = -1 [cu1216_read_status]: status = 0, sync=0 CALL cu1216_read_strength [cu1216_read_strength]: strength = 98 CALL cu1216_read_snr [cu1216_read_snr]: SNRvalue = 600 CALL cu1216_read_ber [cu1216_read_ber]: BERvalue = 0 CALL cu1216_read_ubk [cu1216_read_status]: status = 0, sync=0 CALL cu1216_set_parameters [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]:frequency = 418000000 , symbol = 6900000 , qam = 4 . [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=0, uc_Gain=1, errRate=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=1, uc_Gain=1, errRate=0 [cu1216_set_parameters]: status = -1 [cu1216_read_status]: status = 0, sync=0 CALL cu1216_read_strength [cu1216_read_strength]: strength = 98 CALL cu1216_read_snr [cu1216_read_snr]: SNRvalue = 600 CALL cu1216_read_ber [cu1216_read_ber]: BERvalue = 0 CALL cu1216_read_ubk [cu1216_read_status]: status = 0, sync=0 CALL cu1216_set_parameters [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]:frequency = 418000000 , symbol = 6900000 , qam = 4 . [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=0, uc_Gain=1, errRate=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=1, uc_Gain=1, errRate=0 [cu1216_set_parameters]: status = -1 [cu1216_read_status]: status = 0, sync=0 CALL cu1216_read_strength [cu1216_read_strength]: strength = 98 CALL cu1216_read_snr [cu1216_read_snr]: SNRvalue = 600 CALL cu1216_read_ber [cu1216_read_ber]: BERvalue = 0 CALL cu1216_read_ubk [cu1216_read_status]: status = 0, sync=0 CALL cu1216_set_parameters [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]:frequency = 418000000 , symbol = 6900000 , qam = 4 . mantis stop feed and dma [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=0, uc_Gain=1, errRate=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_status]: status = 0, sync=0 [cu1216_read_errRate]: errRate = 0 [cu1216_read_status]: status = 0, sync=0 [cu1216_set_parameters]: reject Iq=1, uc_Gain=1, errRate=0 [cu1216_set_parameters]: status = -1 CALL cu1216_sleep --------------------------------- 8< 8< 8< --------------------------------- Br, -- Pauli Borodulin <pauli@xxxxxxxxxxxx> gsm. +358 (0) 44 5555 381 http://pauli.borodulin.fi
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb