All of lore.kernel.org
 help / color / mirror / Atom feed
* Repost about fm801 tea575x_tuner in 2.6 kernels
@ 2005-02-15  9:50 Kovalyev Sergey
  2005-02-15 10:16 ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Kovalyev Sergey @ 2005-02-15  9:50 UTC (permalink / raw)
  To: alsa-devel

Hello all!

When I trying to do

#modprobe snd_fm801 tea575x_tuner=1

I see this thing in my syslog:

kernel: videodev: "TEA5757 radio" has no release callback. Please fix 
your driver for proper sysfs
support, see http://lwn.net/Articles/36850/

As far as I understand, this module is not compatible with linux-2.6 
kernels, so, how to fix this problem?


WBR, RandoMan.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Repost about fm801 tea575x_tuner in 2.6 kernels
  2005-02-15  9:50 Repost about fm801 tea575x_tuner in 2.6 kernels Kovalyev Sergey
@ 2005-02-15 10:16 ` Jaroslav Kysela
  2005-02-15 14:39   ` Kovalyev Sergey
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2005-02-15 10:16 UTC (permalink / raw)
  To: Kovalyev Sergey; +Cc: alsa-devel

On Tue, 15 Feb 2005, Kovalyev Sergey wrote:

> Hello all!
> 
> When I trying to do
> 
> #modprobe snd_fm801 tea575x_tuner=1
> 
> I see this thing in my syslog:
> 
> kernel: videodev: "TEA5757 radio" has no release callback. Please fix 
> your driver for proper sysfs
> support, see http://lwn.net/Articles/36850/
> 
> As far as I understand, this module is not compatible with linux-2.6 
> kernels, so, how to fix this problem?

Nope. This message is only warning and completely harmless. The driver
should work. This patch will remove the warning:

Index: tea575x-tuner.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/i2c/other/tea575x-tuner.c,v
retrieving revision 1.3
diff -u -r1.3 tea575x-tuner.c
--- tea575x-tuner.c	3 Aug 2004 19:03:02 -0000	1.3
+++ tea575x-tuner.c	15 Feb 2005 10:20:58 -0000
@@ -168,6 +168,10 @@
 	}
 }
 
+static void snd_tea575x_release(struct video_device *vfd)
+{
+}
+
 /*
  * initialize all the tea575x chips
  */
@@ -186,6 +190,7 @@
 	strcpy(tea->vd.name, tea->tea5759 ? "TEA5759 radio" : "TEA5757 radio");
 	tea->vd.type = VID_TYPE_TUNER;
 	tea->vd.hardware = VID_HARDWARE_RTRACK;	/* FIXME: assign new number */
+	tea->vd.release = snd_tea575x_release;
 	video_set_drvdata(&tea->vd, tea);
 	tea->vd.fops = &tea->fops;
 	tea->fops.owner = tea->card->module;

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Repost about fm801 tea575x_tuner in 2.6 kernels
  2005-02-15 10:16 ` Jaroslav Kysela
@ 2005-02-15 14:39   ` Kovalyev Sergey
  2005-02-15 17:20     ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Kovalyev Sergey @ 2005-02-15 14:39 UTC (permalink / raw)
  To: Jaroslav Kysela, alsa-devel

Jaroslav Kysela wrote:

>On Tue, 15 Feb 2005, Kovalyev Sergey wrote:
>
>  
>
>>Hello all!
>>
>>When I trying to do
>>
>>#modprobe snd_fm801 tea575x_tuner=1
>>
>>I see this thing in my syslog:
>>
>>kernel: videodev: "TEA5757 radio" has no release callback. Please fix 
>>your driver for proper sysfs
>>support, see http://lwn.net/Articles/36850/
>>
>>As far as I understand, this module is not compatible with linux-2.6 
>>kernels, so, how to fix this problem?
>>    
>>
>
>Nope. This message is only warning and completely harmless. The driver
>should work. This patch will remove the warning:
>
>  
>
Hm...
Under 2.4.x kernels I used this command:
modprobe snd_fm801 tea575x_tuner=2
Now, under 2.6, it says that "2" is invalid valut into syslog:
kernel: snd_fm801: `2' invalid for parameter `tea575x_tuner'
So, I trying to use
modprobe snd_fm801 tea575x_tuner=1.
Seems that all ok, even fm says that all ok,
but I hear nothing. Master and Aux channels are unmuted and set to 
maximum value...
(This situation is under 2.6.8.1 with built-in alsa drivers)




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Repost about fm801 tea575x_tuner in 2.6 kernels
  2005-02-15 14:39   ` Kovalyev Sergey
@ 2005-02-15 17:20     ` Jaroslav Kysela
  2005-02-17 17:13       ` Kovalyev Sergey
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2005-02-15 17:20 UTC (permalink / raw)
  To: Kovalyev Sergey; +Cc: alsa-devel

On Tue, 15 Feb 2005, Kovalyev Sergey wrote:

> >Nope. This message is only warning and completely harmless. The driver
> >should work. This patch will remove the warning:
> >
> >  
> >
> Hm...
> Under 2.4.x kernels I used this command:
> modprobe snd_fm801 tea575x_tuner=2
> Now, under 2.6, it says that "2" is invalid valut into syslog:
> kernel: snd_fm801: `2' invalid for parameter `tea575x_tuner'
> So, I trying to use
> modprobe snd_fm801 tea575x_tuner=1.
> Seems that all ok, even fm says that all ok,

The radio chip cannot be detected. Here is the patch which will fix
the module parameter (and use tea575x_tuner=2 as for 2.4):

Index: fm801.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/fm801.c,v
retrieving revision 1.55
diff -u -r1.55 fm801.c
--- fm801.c	27 Dec 2004 13:29:27 -0000	1.55
+++ fm801.c	15 Feb 2005 17:25:41 -0000
@@ -64,7 +64,7 @@
 MODULE_PARM_DESC(id, "ID string for the FM801 soundcard.");
 module_param_array(enable, bool, NULL, 0444);
 MODULE_PARM_DESC(enable, "Enable FM801 soundcard.");
-module_param_array(tea575x_tuner, bool, NULL, 0444);
+module_param_array(tea575x_tuner, int, NULL, 0444);
 MODULE_PARM_DESC(tea575x_tuner, "Enable TEA575x tuner.");
 
 /*

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Repost about fm801 tea575x_tuner in 2.6 kernels
  2005-02-15 17:20     ` Jaroslav Kysela
@ 2005-02-17 17:13       ` Kovalyev Sergey
  0 siblings, 0 replies; 5+ messages in thread
From: Kovalyev Sergey @ 2005-02-17 17:13 UTC (permalink / raw)
  To: Jaroslav Kysela, alsa-devel

Hello, Jaroslav Kysela!

>On Tue, 15 Feb 2005, Kovalyev Sergey wrote:
>
>  
>
>>>Nope. This message is only warning and completely harmless. The driver
>>>should work. This patch will remove the warning:
>>>
>>> 
>>>
>>>      
>>>
>>Hm...
>>Under 2.4.x kernels I used this command:
>>modprobe snd_fm801 tea575x_tuner=2
>>Now, under 2.6, it says that "2" is invalid valut into syslog:
>>kernel: snd_fm801: `2' invalid for parameter `tea575x_tuner'
>>So, I trying to use
>>modprobe snd_fm801 tea575x_tuner=1.
>>Seems that all ok, even fm says that all ok,
>>    
>>
>
>The radio chip cannot be detected. Here is the patch which will fix
>the module parameter (and use tea575x_tuner=2 as for 2.4):
>
>  
>
Big big thanks! Radio works now!

\\RandoMan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

end of thread, other threads:[~2005-02-17 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-15  9:50 Repost about fm801 tea575x_tuner in 2.6 kernels Kovalyev Sergey
2005-02-15 10:16 ` Jaroslav Kysela
2005-02-15 14:39   ` Kovalyev Sergey
2005-02-15 17:20     ` Jaroslav Kysela
2005-02-17 17:13       ` Kovalyev Sergey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.