mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* als4000 joystic problem with 2.6.3
@ 2004-02-18 13:25 Nikolay Nikolov
  0 siblings, 0 replies; only message in thread
From: Nikolay Nikolov @ 2004-02-18 13:25 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

I have als4000 sound card and when i run kernel 2.6.3
and try to load snd-als4000 module it says:
snd_als4000: falsely claims to have parameter
joystick_port
A have not configured CONFIG_GAMEPORT
I think this happens because there are not
#ifdef SUPPORT_JOYSTICK
...
#endif
in als4000.c when module params are declared.
I attached a patch

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

[-- Attachment #2: linux.patch --]
[-- Type: application/octet-stream, Size: 597 bytes --]

--- mylinux-2.6.3/sound/pci/als4000.c	2004-02-18 15:13:40.000000000 +0200
+++ linux/sound/pci/als4000.c	2004-02-18 14:29:23.000000000 +0200
@@ -99,9 +99,11 @@
 MODULE_PARM(enable, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
 MODULE_PARM_DESC(enable, "Enable ALS4000 soundcard.");
 MODULE_PARM_SYNTAX(enable, SNDRV_INDEX_DESC);
+#ifdef SUPPORT_JOYSTICK
 MODULE_PARM(joystick_port, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
 MODULE_PARM_DESC(joystick_port, "Joystick port address for ALS4000 soundcard. (0 = disabled)");
 MODULE_PARM_SYNTAX(joystick_port, SNDRV_ENABLED);
+#endif
 
 #define chip_t sb_t
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-18 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-18 13:25 als4000 joystic problem with 2.6.3 Nikolay Nikolov

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

all inboxes | Powered by JetHome®