Mailing List archive

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

[linux-dvb] Re: no frontend with skystar2 2.6b and kernel 2.6-test11



Steffen Barszus wrote:
Am Montag, 8. Dezember 2003 10:03 schrieb Niklas Peinecke:

Steffen Barszus wrote:

Am Montag, 8. Dezember 2003 00:32 schrieb Augusto Cardoso:

Hi!

You may want to try the CVS version of the dvb_kernel. The CVS
version is updated almost daily and it's the latest code. The
Skystar2 2.6B from the CVS should work, but you need to look at the
log to find out if the board was detected correctly or not.
As I try nearly the same with the same card I drop my mail in here.
I have started my machine new and load the driver. Never looked at
the logs before (shame on me, see my other mail)

From dmesg:

...

What my thought was, is that maybe a firmware is needed for the
SkyStar2, but i haven't really found something about that topic.
No wonder: You don't need any firmware.

Ok. Fine :)


Video is working fine allready. I have attached my only cable to
the skystar2 and was able to use vdr without a hitch together with
my fullfeatured card (transfer mode from skystar2 to ff-card). What
doesn't work is SkyDSL, I guess this is because of the master_xfer
error ?
This is a really strange address and length:
> message 2: flags=0xd11b, addr=0x8960, buf=0x64, len=1024

                                  ^^^^                ^^^^

It's almost certainly rubbish, but I wonder, where this comes from.
Which apps were started after loading the driver?

Nothing yet. I have just load the driver and instantly after that executed a "dmesg" . Using vdr gives no error message. Any informations that i could provide ?
Ok, it was a typo in the debug message. Please apply the attached patch and report again.

Another thing is that i can block the driver from unloading if i use dvbtune .... -n xxxx to often. lsmod shows then that the module is used 9 times, but no chance beside reboot to unload the driver again. Just thought that might be important too.
Sorry, I have not tried dvbtune myself. Maybe you have to upgrade dvbtune?

Niklas
Index: skystar2.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/b2c2/skystar2.c,v
retrieving revision 1.20
diff -p -u -r1.20 skystar2.c
--- skystar2.c	6 Dec 2003 00:38:04 -0000	1.20
+++ skystar2.c	8 Dec 2003 09:42:36 -0000
@@ -321,9 +321,10 @@ static int master_xfer(struct dvb_i2c_bu
 	    if (ret != msgs[1].len)
 	    {
 		printk("%s: read error !\n", __FUNCTION__);
-
-		printk("message %d: flags=0x%x, addr=0x%x, buf=0x%x, len=%d \n", i,
-				      msgs[i].flags, msgs[i].addr, msgs[i].buf[0], msgs[i].len);
+		printk("message 0: flags=0x%x, addr=0x%x, buf=0x%x, len=%d \n",
+				      msgs[0].flags, msgs[0].addr, msgs[0].buf[0], msgs[0].len);
+		printk("message 1: flags=0x%x, addr=0x%x, buf=0x%x, len=%d \n",
+				      msgs[1].flags, msgs[1].addr, msgs[1].buf[0], msgs[1].len);
 
 		return -EREMOTEIO;
 	    }

Home | Main Index | Thread Index