Mailing List archive

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

[linux-dvb] Re: Full featured card summary



Andrew de Quincey schrieb:

Index: linux/drivers/media/dvb/frontends/ves1x93.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/frontends/ves1x93.c,v
retrieving revision 1.6
diff -u -r1.6 ves1x93.c
--- linux/drivers/media/dvb/frontends/ves1x93.c 11 Mar 2004 18:44:19 -0000 1.6
+++ linux/drivers/media/dvb/frontends/ves1x93.c 13 Mar 2004 15:23:38 -0000
@@ -148,9 +148,9 @@
int ret;
struct i2c_msg msg = { .addr = 0x61, .flags = 0, .buf = data, .len = len };
- ves1x93_writereg(i2c, 0x00, 0x11);
+// ves1x93_writereg(i2c, 0x00, 0x11);
ret = i2c->xfer (i2c, &msg, 1);
- ves1x93_writereg(i2c, 0x00, 0x01);
+// ves1x93_writereg(i2c, 0x00, 0x01);
if (ret != 1)
printk("%s: i/o error (ret == %i)\n", __FUNCTION__, ret);
Nope.  :-(


As workaround I use the old alps_bsrv2 frontend code now.
Here is my quick and _dirty_(!!)-fix for imitators:

Copy the "alps_bsrv2.c" and "compat.h" from the DVB-tree to "build-2.4"

Comment out the "FE_RESET"-case

Add the alps_bsrv2 to the "obj-dvb"-lines in the makefile

It compiles with a few type conversion warnings, but it works.


Alfred


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



Home | Main Index | Thread Index