public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.19-rc1 stv0299 fix
@ 2004-08-30  7:52 Jacek Popławski
  2004-08-30 17:52 ` Johannes Stezenbach
  0 siblings, 1 reply; 2+ messages in thread
From: Jacek Popławski @ 2004-08-30  7:52 UTC (permalink / raw)
  To: linux-kernel

Hi!

I use SkyStar 2.6c DVB card. I noticed that I can't watch digital television
anymore, after 2.6.7 to 2.6.9-rc1 upgrade. First reason was change of DVB
device, but second one is little bug in kernel.

Name of device has been changed in 2.6.9-rc1 to "SkyStar2", but module stv0299
still compares name with "Technisat SkyStar2 driver", strings are different,
and result is that stv0299 detects invalid tuner type. Not only I am not able
to tune anything, but also I can crash system just by reloading DVB modules and
being in X at same time.

Following obvious patch fixes problem.

--- linux-2.6.9-rc1/drivers/media/dvb/frontends/stv0299.c	2004-08-25 21:40:56.000000000 +0200
+++ linux/drivers/media/dvb/frontends/stv0299.c	2004-08-30 02:08:00.902739808 +0200
@@ -1271,7 +1271,7 @@
 
 	printk ("%s: try to attach to %s\n", __FUNCTION__, adapter->name);
 
-	if ( strcmp(adapter->name, "Technisat SkyStar2 driver") == 0 )
+	if ( strcmp(adapter->name, "SkyStar2") == 0 )
 	{
 	    printk ("%s: setup for tuner Samsung TBMU24112IMB\n", __FILE__)


-- 
Free Software - find interesting programs and change them
NetHack - meet interesting creatures, kill them and eat their bodies
Usenet - meet interesting people from all over the world and flame them
Decopter - unrealistic helicopter simulator, get it from http://decopter.sf.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.19-rc1 stv0299 fix
  2004-08-30  7:52 2.6.19-rc1 stv0299 fix Jacek Popławski
@ 2004-08-30 17:52 ` Johannes Stezenbach
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Stezenbach @ 2004-08-30 17:52 UTC (permalink / raw)
  To: Jacek Pop?awski; +Cc: linux-kernel, Andrew Morton

On Mon, Aug 30, 2004 at 07:52:44AM +0000, Jacek Pop?awski wrote:
> 
> I use SkyStar 2.6c DVB card. I noticed that I can't watch digital television
> anymore, after 2.6.7 to 2.6.9-rc1 upgrade. First reason was change of DVB
> device, but second one is little bug in kernel.
> 
> Name of device has been changed in 2.6.9-rc1 to "SkyStar2", but module stv0299
> still compares name with "Technisat SkyStar2 driver", strings are different,
> and result is that stv0299 detects invalid tuner type. Not only I am not able
> to tune anything, but also I can crash system just by reloading DVB modules and
> being in X at same time.

How so? What does the DVB driver have to do with X?

> Following obvious patch fixes problem.

Patch looks good. Please apply.

Johannes


--- linux-2.6.9-rc1/drivers/media/dvb/frontends/stv0299.c	2004-08-25 21:40:56.000000000 +0200
+++ linux/drivers/media/dvb/frontends/stv0299.c	2004-08-30 02:08:00.902739808 +0200
@@ -1271,7 +1271,7 @@
 
 	printk ("%s: try to attach to %s\n", __FUNCTION__, adapter->name);
 
-	if ( strcmp(adapter->name, "Technisat SkyStar2 driver") == 0 )
+	if ( strcmp(adapter->name, "SkyStar2") == 0 )
 	{
 	    printk ("%s: setup for tuner Samsung TBMU24112IMB\n", __FILE__)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-30 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30  7:52 2.6.19-rc1 stv0299 fix Jacek Popławski
2004-08-30 17:52 ` Johannes Stezenbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox