Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: old driver: 125 secs, new driver: 4 secs (Re: HOWTO for DVB-C card?)



On Tue, Jul 02, 2002 at 01:24:33AM +0200, Hanno Mueller wrote:
> while I got the driver to work, now (thanks), as reported in my first
> message, the "make insmod" of the old driver still takes forever (125
> seconds), while the NEWSTRUCT driver loads very fast (4 seconds).
...
> Old driver: timed log of "make insmod"
> 
> 01:40:01: insmod VES1893.o
> 01:40:09: insmod VES1820.o
> 01:40:17: insmod L64781.o
> 01:40:41: insmod SP8870.o debug=1
> 01:40:49: insmod tda8083.o
> 01:40:57: insmod stv0299.o
> 01:41:05: insmod tuner.o
> Warning: loading tuner.o will taint the kernel: no license
... 
> Old driver: excerpt from /var/log/syslog
> 
> 01:40:01: i2c-core.o: driver VES1893 DVB demodulator registered.
> 01:40:09: i2c-core.o: driver VES1820 DVB demodulator registered.
> 01:40:17: i2c-core.o: driver L64781 DVB demodulator registered.
> 01:40:41: init_SP8870:
> 01:40:41: i2c-core.o: driver SP8870 DVB demodulator registered.
> 01:40:41: SP8870: no SP8870 found ...
> 01:40:49 last message repeated 2 times
> 01:40:49: i2c-core.o: driver tda8083 DVB demodulator registered.
> 01:40:57: i2c-core.o: driver stv0299 DVB demodulator registered.
> 01:41:05: i2c-core.o: driver i2c TV tuner driver registered.

It seems that you have a second I2C bus driver loaded, and the
frontend drivers look for their devices on the wrong bus.
What does 'cat /proc/bus/i2c' say?
Do you use lm_sensors?

> 01:42:01: PCI: Found IRQ 5 for device 00:0b.0
> 01:42:01: PCI: Sharing IRQ 5 with 00:07.2
> 01:42:01: PCI: Sharing IRQ 5 with 00:07.3
> 01:42:01: saa7146_core.o: saa7146(1): bus:0, rev:1, mem:0xda8bf000.

Now the driver for the I2C bus of the DVB-C card is loaded...

> 01:42:01: VES1820: attaching VES1820 at 0x12
> 01:42:01: i2c-core.o: client [VES1820] registered to adapter [saa7146(1)](pos. 0).
> 01:42:02: VES1820: attached to adapter saa7146(1)
> 01:42:02: SP8870: no SP8870 found ...
> 01:42:02: tuner: chip found @ 0x61
> 01:42:02: i2c-core.o: client [i2c tv tuner chip] registered to adapter [saa7146(1)](pos. 1).
> 01:42:02: i2c-core.o: adapter saa7146(1) registered as adapter 3.
> 01:42:04: dvb0: AV7111 - firm f0240009, rtsl b0250018, vid 71010068, app 00012301
> 01:42:05: dvb: 1 dvb(s) found!

...and device probing works as expected.


If you can't solve your i2c problem, you can remove the frontend drivers
that you don't need as a workaround to speed up loading
(VES1893.o L64781.o SP8870.o tda8083.o stv0299.o).


HTH,
Johannes


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index