From: Franz S. <Fra...@la...> - 2001-07-04 09:37:44
|
Hi, what is the status of the ruby CVS (input layer part) vs. linux 2.5? Will we be integrated starting from 2.5.0? I would like to know that, because if yes, I have to start removing a lot of crap in the ruby CVS on the PPC side (like CONFIG_MAC_ADBKEYCODES) and clean up a lot of the arch/ppc/kernel*_setup.c files (most of the ppc_md.kbd* stuff is superfluous then). I'm a little bit undecided yet about CONFIG_MAC_EMUMOUSEBTN... Unless we will have a event mixer device in 2.5, fixing it up in userspace is still tricky. On the other side getting rid of CONFIG_MAC_EMUMOUSEBTN will make mac_hid.c superfluous. Franz. |
From: James S. <jsi...@tr...> - 2001-07-05 17:55:24
|
> what is the status of the ruby CVS (input layer part) vs. linux 2.5? Will > we be integrated starting from 2.5.0? That is the plan. At first mostly new drivers and wrappers will be put into 2.5.X. Then gradually changes to the tty and console layer. The good news is that most platforms already support the new input api. Parsic, ppc, and sh are using the input api. Where it is lacking is ix86, arm, and mips. We have most the drivers needed for the ix86 platform. I'm working on the ARM port. Over the weekend I nearly got ruby working on a iPAQ. Their is a bug I have to find in the SA1100 fbdev driver but once I get that going it will be smooth sailing. Well for mips, linux support really sucks. I have a secondary branch for mips to get linux support going. I plan to get ruby working on my sigmarion soon. > I would like to know that, because if yes, I have to start removing a lot > of crap in the ruby CVS on the PPC side (like CONFIG_MAC_ADBKEYCODES) and > clean up a lot of the arch/ppc/kernel*_setup.c files (most of the > ppc_md.kbd* stuff is superfluous then). Please do. PPC support is really lacking for ruby. The changes done so far for ruby that affect platform dependent files (arch/xxx) are 1) The input api removes alot of obsolette stuff like aux_present flags etc. 2) Removal of conswitchp. Dummy con is no longer needed :-) 3) Once I make vgacon firmware independent we can get ride of struct screen_info. Yet to be done. It sort of works but the screen is a little funy, characters are moved over to the right to far. I will have to trace down the problem in the near future. 3) A new serial api is in the works. See the stuff in drivers/serial/ in ruby. Right now a massive cleanup is planned. I did some work on it yesterday trying to figure out how to create something similar to what fbdev has except for serial devices. It really is wasteful to go threw the tty layer for events from a input device. Plus do we really want to be able to open a POSIX terminal on a joystick. Dumb dumb, just plain dumb. > I'm a little bit undecided yet about CONFIG_MAC_EMUMOUSEBTN... Unless we > will have a event mixer device in 2.5, fixing it up in userspace is still > tricky. On the other side getting rid of CONFIG_MAC_EMUMOUSEBTN will make > mac_hid.c superfluous. I seen a bunch of people posting they have some kind of a mixer. I was hoping they all would put their heads together and merge all their code. The fact is we do need this. Especially for support on the mips platform to support IRIX /dev/shmiq (a shared input queue). The hard part is handling the absolute values. |
From: Geert U. <ge...@li...> - 2001-07-05 17:17:54
|
On Thu, 5 Jul 2001, James Simmons wrote: > > what is the status of the ruby CVS (input layer part) vs. linux 2.5? Will > > we be integrated starting from 2.5.0? > > That is the plan. At first mostly new drivers and wrappers will be put > into 2.5.X. Then gradually changes to the tty and console layer. The good > news is that most platforms already support the new input api. Parsic, > ppc, and sh are using the input api. Where it is lacking is ix86, arm, and > mips. We have most the drivers needed for the ix86 platform. I'm working And m68k and SPARC? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: James S. <jsi...@tr...> - 2001-07-05 17:48:40
|
> > That is the plan. At first mostly new drivers and wrappers will be put > > into 2.5.X. Then gradually changes to the tty and console layer. The good > > news is that most platforms already support the new input api. Parsic, > > ppc, and sh are using the input api. Where it is lacking is ix86, arm, and > > mips. We have most the drivers needed for the ix86 platform. I'm working > > And m68k and SPARC? Their are a few drivers in drivers/input for keyboards on the m68k and SPARC platform. The SPARC platform will require the serial driver (rz.c) to be rewritten. For SPARC that works on ix86: sunkbd.c: Sun keyboard driver SPARC stuff that doesn't work, partially converted. sun8042.c: Ultra/AX i8042 chipset support Any other keybaord drivers. For m68k we have the following working: amijoy.c :Driver for Amiga joysticks for Linux/m68k amikbd.c :Amiga keyboard driver for Linux/m68k amimouse.c :Amiga mouse driver for Linux/m68k q40kbd.c :Q40 PS/2 keyboard controller driver for Linux/m68k What is needs to be converted on the m68k: atarijoy.c :Atari Joystick Driver atarikbd.c :Atari Keyboard driver atarimouse.c :Atari Mouse Driver hphil.c :HP300 Human Interface Loop driver apollokbd.c :Apollo keyboard and mouse driver. Needs to broken apart. The above non converted files haven't been done because of the lack of hardware docs. I attempted to convert but lacked the knowledge and hardware to test the new drivers on. For PS/2 type keyboards that interface to serial ports we have ps2serkbd.c. Has been tested for certain setups. |