|
From: Vojtech P. <vo...@su...> - 2000-08-31 15:17:29
|
On Wed, Aug 30, 2000 at 03:25:23PM +0100, Antoine Martin wrote:
> newbie to ruby,
> (I follow the linuxconsole mailing list regularly, but that was not
> enough I am afraid)
>
> I had to remove a line preventing util/inputattach.c from working.
> (but didn't want to update in cvs as I dunno who's changing what)
> offending line:
> # { "--stinger", "-sting", B1200,
> CS8, SERIO_STINGER, 0x00, 1, stinger_init },
>
> SERIO_STINGER not defined.
ruby/linux/include/linux/serio.h, line 106:
#define SERIO_STINGER 0x1e
> with 2.40-test7 + patched:
> make menuconfig wouldn't work as is (it complained about include/asm
> being a directory or
> whatever so I changed the makefile and removed the rm -f include/asm -
> maybe it should
> be a rm -rf ?)
Yes.
> Is devfs required/advisable/not needed?
Works both with and without.
> I could test my usb keyboard with evtest, but there is only one event
> interface
> where is my ps2 keyboard (as a device)?
/dev/input/eventX, as well, but perhaps you didn't enable all the needed
options.
> How do I set the multiplexing?
> btw, linux refuses to boot sometimes when my usb keyboard is plugged
> (stops after you press return in lilo) but if I unplug and then replug
> after the boot it's fine..
That's a bug in the current USB (not ruby) code.
> I guess that for multiple keyboards, the keyboard.c file from XFree86
> will need changing,
> anyone fancy making a patch to allow a ' Device "/dev/inputXXX" ' option
> in XF86Config
> for the keyboard section?
That would be very nice, yes. Noone has volunteered yet, afaik.
> Or maybe X will start up using whatever keyboard was being used upon
> start up?
> Can someone explain briefly how that's going to work?
> I will be looking at X docs today to try and understand a bit more about
> drivers.
--
Vojtech Pavlik
SuSE Labs
|