From: James S. <jsi...@li...> - 2001-03-29 16:58:00
|
>> BTW, does someone know if i can plug a second PS/2 keyboard in the PS/2 >> mouse > >Physically and electrically, yes. But you need some patches to make it >work as a second keyboard. Probably they are part of the input section of >the linuxconsole project at SourceForge. Yes it is. In fact my system setup is just that. I have two PS/2 keybaords plugged in. I have a mda console and vga/fbcon running with a voodoo 3 card. I something have it so mdacon is my "admin" vt so I can place printks in fbcon to debug it. If fbcon oops or locks up and can just go to the mda workstation and see what happened. I can also debug a fbdev driver the same way. Normally I run X ontop of the tdfx card either with vgacon or fbcon and the mda VT as a regular console. I also have a Sun keyboard but you need to build your own sun keyboard to serial port adapter to get it going. I seen someone posted they are using a regular sun keyboard on a ix86 box. I plan to get around to building that adapter soon. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |
From: James S. <jsi...@li...> - 2001-03-29 17:02:26
|
> > USB keyboards are USB keyboards. Should work fine. (Hmm... I really should > > try those Sun USB keyboards and mice on my Vaio...) > >what about keycodes and other such thing, There will be no problem about >that ? No problem. The nice thing about keyboard using the same api (the input api) is all keycodes are translated to struct event packets which are sent to the console system. To the console system all keyboards look alike. >And will a ps/2 keyboard with a ps/2 to USB adaptator work as a USB >keyboard ? i doubt that. Yes it will. I have tested it out before. Same with PS/2 mice using a Ps/2 to USB adapter. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |
From: Sven L. <lu...@dp...> - 2001-03-30 09:47:26
|
On Thu, Mar 29, 2001 at 09:03:30AM -0800, James Simmons wrote: > > > > USB keyboards are USB keyboards. Should work fine. (Hmm... I really should > > > try those Sun USB keyboards and mice on my Vaio...) > > > >what about keycodes and other such thing, There will be no problem about > >that ? > > No problem. The nice thing about keyboard using the same api (the input > api) is all keycodes are translated to struct event packets which are sent > to the console system. To the console system all keyboards look alike. > > >And will a ps/2 keyboard with a ps/2 to USB adaptator work as a USB > >keyboard ? i doubt that. > > Yes it will. I have tested it out before. Same with PS/2 mice using a > Ps/2 to USB adapter. And also a 2 ps/2 to USB adaptator ? Friendly, Sven Luther |
From: James S. <jsi...@li...> - 2001-03-29 17:07:39
|
>Now, what i would like to do, is : > > 1) Use one head for a fbdev console, either pm3fb or vesafb, on the old > 640x480 monitor. I do X coding and debugging there, and can then see > either the log output as things happen, or even run gdb or something > such. And i run X on the second head. > > 2) Run Two servers :0 on the first head, and :1 on the second head, with > gdm asking for a login on both heads. I would naturally try attaching 2 > keyboards/mice to my box, and thus 2 persons could use the box at the > same time. This is naturally not possible if one of the server gets > blanked while the other is running. I also look forward to this day. This will require alot of work on both the kernel half and reworking alot of the X server code. Including changing some of the X design. Maybe for X11R7.0? MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |
From: James S. <jsi...@li...> - 2001-03-31 03:32:00
|
>>>And will a ps/2 keyboard with a ps/2 to USB adaptator work as a USB >>>keyboard ? i doubt that. >> >> Yes it will. I have tested it out before. Same with PS/2 mice using a >> Ps/2 to USB adapter. > >And also a 2 ps/2 to USB adaptator ? A 2 ps/2 to USB adapator? I never heard of them. I know a PS/2 to USB adaptator and a USB to PS/2 adapator work fine. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |
From: Sven L. <lu...@dp...> - 2001-04-01 19:48:27
|
On Fri, Mar 30, 2001 at 07:33:00PM -0800, James Simmons wrote: > > >>>And will a ps/2 keyboard with a ps/2 to USB adaptator work as a USB > >>>keyboard ? i doubt that. > >> > >> Yes it will. I have tested it out before. Same with PS/2 mice using a > >> Ps/2 to USB adapter. > > > >And also a 2 ps/2 to USB adaptator ? > > A 2 ps/2 to USB adapator? I never heard of them. I know a PS/2 to USB > adaptator and a USB to PS/2 adapator work fine. Well, i sas one for sale in the mall, it costed around 250 FF, which makes, well maybe 30 $ or so. it had 2 ps/2 connectors, labeled mouse and keyboard, in a little box, and was then connected to a usb cable to the box. Maybe i will buy it and test it. Friendly, Sven Luther |
From: James S. <jsi...@li...> - 2001-04-01 21:06:49
|
>Are you sure, i know there are some russian guy installing double headed >X boxes, with 2 keyboard and such. It makes for less expensive boxes. It must be a special X server. XFree86 uses the console system to get key events by placing the keyboard in raw mode. With the current linux console system all key events from the keyboard flow to the foreground console. Their is only one foreground console with the current tree :-( The second problem is with X itself. Thier is only one keymap whcih is global to the X server. If you have two keyboards (one US and one greman) you would need two different keymaps. Unfortunely as soon as one app would change the keymap all the X cleints would be affected immediately. So X cleints would find themselves in a constant state of flux with the keymap :-( >I should maybe look for the kernel patch about 2 keyboards on the ps/2 >connectors, and test that, or buy the 2 ps/2 -> USB connector and a new >mouse. Ruby tree already supports 2 ps/2 keyboards :-) It could be back ported with some work. I will do that anyways for when 2.5.X comes out. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |
From: James S. <jsi...@li...> - 2001-04-01 21:10:55
|
>Well, i sas one for sale in the mall, it costed around 250 FF, which >makes, well maybe 30 $ or so. > >it had 2 ps/2 connectors, labeled mouse and keyboard, in a little box, >and was then connected to a usb cable to the box. > >Maybe i will buy it and test it. Pretty cool. I'm going to keep a eye out for it as well. To bad they don't sell Sun keyboard to PC serial adapators. Instead I have to build one. I haven't got around to doing that yet. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |