Re: 2.5.32 doesn't beep?

Gerd Knorr (kraxel@bytesex.org)
29 Aug 2002 08:41:41 GMT


> > Another issue: I enabled CONFIG_INPUT_MOUSEDEV_PSAUX, but /dev/psaux
> > gave an ENODEV when opened. Turns out CONFIG_INPUT_MOUSEDEV is
> > also required, but for some reason 'make config' let me set the
> > former without also setting the latter. A bug in input's config.in?
>
> Yes, a bug. Fixed now.

input in 2.5.32 also doesn't work fully modular because of some
unresolved symbols. I fixed it this way:

==============================[ cut here ]==============================
--- linux-2.5.32/drivers/char/keyboard.c Wed Aug 28 16:10:33 2002
+++ linux/drivers/char/keyboard.c Wed Aug 28 16:11:43 2002
@@ -66,6 +66,7 @@
#endif

struct pt_regs *kbd_pt_regs;
+EXPORT_SYMBOL(kbd_pt_regs);
void compute_shiftstate(void);

/*
--- linux-2.5.32/drivers/input/input.c Wed Aug 28 16:21:14 2002
+++ linux/drivers/input/input.c Wed Aug 28 16:21:40 2002
@@ -772,6 +772,7 @@
struct device_class input_devclass = {
.name = "input",
};
+EXPORT_SYMBOL(input_devclass);

static int __init input_init(void)
{
==============================[ cut here ]==============================

Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/