Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] insmod saa7146_core.o debug = 3 for WinTV-NOVA-t
- To: "Linux-DVB List" <linux-dvb@linuxtv.org>
- Subject: [linux-dvb] insmod saa7146_core.o debug = 3 for WinTV-NOVA-t
- From: Alexander Nasonov <anasonov@GMD.DE>
- Date: Tue, 16 Jul 2002 16:47:10 +0200
- Content-transfer-encoding: quoted-printable
- Content-type: text/plain; charset="us-ascii"
- Organization: Fraunhofer Gesellschaft
- Sender: linux-dvb-bounce@linuxtv.org
- User-agent: KMail/1.4.1
Hello,
There are no good news (for me) since my last report on
WinTV-NOVA-t problems. My card still doesn't work.
It's tuned but there is no data read from dvr device.
So, today I did the following:
1. I insmoded the saa7146_core.o module with debug = 3
2. I run the test program that first tune and then call
the setup_demux function (see below)
Test program write this after every read operation:
read("/dev/dvb/adapter0/demux0"): Resource temporarily unavailable
In log file I found this line:
i2c_reset: error_state detected, status:0x00000400
What does this status mean? May be here is a root of my problems?
--
Best regards,
Alexander Nasonov
Fraunhofer Gesellschaft
Log messages and setup_demux function are here:
Jul 16 16:24:29 sat-pc kernel: Linux video capture interface: v1.00
Jul 16 16:24:30 sat-pc kernel: saa7146_init_module
Jul 16 16:24:30 sat-pc kernel: saa7146_init_one()
Jul 16 16:24:30 sat-pc kernel: dvb_register_adapter: registering new adapter
(TT-Budget/WinTV-NOVA-T PCI).
Jul 16 16:24:30 sat-pc kernel: PCI: Found IRQ 5 for device 00:0a.0
Jul 16 16:24:30 sat-pc kernel: saa7146_core.o: ==> configure_saa7146
Jul 16 16:24:30 sat-pc kernel: saa7146: rvmalloc called, quant:2
Jul 16 16:24:30 sat-pc kernel: saa7146: alloc page tables
Jul 16 16:24:30 sat-pc kernel: saa7146: clear RAM
Jul 16 16:24:30 sat-pc kernel: saa7146: build page tables
Jul 16 16:24:30 sat-pc kernel: saa7146: page tables built
Jul 16 16:24:30 sat-pc kernel: saa7146_core.o: : bus:0, rev:1, mem:0xc8a5a000.
Jul 16 16:24:30 sat-pc kernel: saa7146_core.o: master_xfer called, num:2
Jul 16 16:24:30 sat-pc kernel: saa7146: ==> i2c_reset
Jul 16 16:24:30 sat-pc kernel: saa7146: ==> i2c_status_check:0x00000400
Jul 16 16:24:30 sat-pc kernel: saa7146: ==> i2c_status_check:0x00000400
Jul 16 16:24:30 sat-pc kernel: saa7146: i2c_reset: error_state detected,
status:0x00000400
Jul 16 16:24:30 sat-pc kernel: saa7146: ==> i2c_status_check:0x00000100
Jul 16 16:24:30 sat-pc kernel: saa7146: ==> writeout: 0xd000d1ec (before)
(to:100)
Jul 16 16:24:30 sat-pc kernel: saa7146: ==> i2c_busy_rise_and_fall
Jul 16 16:24:30 sat-pc kernel: saa7146: i2c_busy_rise_and_fall; rise wait 5
Jul 16 16:24:31 sat-pc kernel: saa7146: ==> i2c_status_check:0x00000101
Jul 16 16:24:31 sat-pc kernel: saa7146: i2c_busy_rise_and_fall; fall wait 100
Jul 16 16:24:31 sat-pc kernel: saa7146: ==> i2c_status_check:0x00000101
Jul 16 16:24:31 sat-pc kernel: aa7146: ==> i2c_reset
Jul 16 16:24:31 sat-pc kernel: saa7146: ==> i2c_status_check:0x00000100
Jul 16 16:24:31 sat-pc last message repeated 2 times
--- many lines skiped ---
int setup_demux()
{
char buf[188];
int fd, br, slp, i, j;
struct dmxPesFilterParams pesfilter;
fd = open("/dev/dvb/adapter0/demux0", O_RDWR | O_NONBLOCK);
if(fd < 0)
{
perror("open(\"/dev/dvb/adapter0/demux0\")");
return -1;
}
memset(&pesfilter, 0, sizeof(pesfilter));
pesfilter.pid = 8192;
pesfilter.input = DMX_IN_FRONTEND;
pesfilter.output = DMX_OUT_TAP;
pesfilter.pesType = DMX_PES_OTHER;
pesfilter.flags = DMX_IMMEDIATE_START;
if(ioctl(fd, DMX_SET_PES_FILTER, &pesfilter) < 0)
{
perror("ioctl(DMX_SET_PES_FILTER)");
return -1;
}
for(i = 0; i < 7; ++i)
{
br = read(fd, buf, 188);
if(br == -1)
perror("read(\"/dev/dvb/adapter0/demux0\")");
else
printf("%d bytes read\n", br);
sleep(1);
}
return fd;
}
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index