home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8669 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  4.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!caen!sol.ctr.columbia.edu!ira.uka.de!Germany.EU.net!unidui!du9ds3!veit
  2. From: veit@du9ds3.uni-duisburg.de (Holger Veit)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: keycap problems
  5. Date: 10 Nov 92 08:49:57 GMT
  6. Organization: Uni-Duisburg FB9 Datenverarbeitung
  7. Lines: 83
  8. Message-ID: <veit.721385397@du9ds3>
  9. References: <1dmnchINNqj7@mailgzrz.TU-Berlin.DE>
  10. Reply-To: veit@du9ds3.uni-duisburg.de
  11. NNTP-Posting-Host: du9ds3.uni-duisburg.de
  12. Keywords: keycap
  13.  
  14. In <1dmnchINNqj7@mailgzrz.TU-Berlin.DE> meikel@marie.physik.tu-berlin.de (Michael Feig) writes:
  15.  
  16. >I installed the recent version of keycap onto our BSD machine by 
  17. >patching the kernel according to the given diff-Files and supplemental
  18. >source files. Everything works fine as long as I don't start X-Windows 
  19. >(XFree 1.2) using the compiled X386 which is part of the keycap-0.1.1
  20. >distribution. Within X-Windows the mouse works only in horizontal 
  21. >direction and the mapping of the keyboard is totally out of order 
  22. >(pressing the 'a', 's', 'd' keys causes numbers to appear, shift right
  23. >produces some special character like '=' or '+' - I forgot what it
  24. >actually was). Some time later (~30 seconds) the whole BSD-machine
  25. >hangs and has to be rebooted.
  26.  
  27. >Just to make things clear: X-Windows worked absolutely all right without any 
  28. >problems  before installing keycap.
  29.  
  30. >As a try to solve the problem, I used the supplied kernel instead of the
  31. >one  I have build  from the sources after applying all necessary patches,
  32. >but I discovered that doesn't contain the patch for reserved ports with
  33. >NFS which is essential for us, because we have to mount part of the
  34. >BSD system from a Sun via NFS.
  35.  
  36. >Has anyone experienced similar problems or has anyone an idea how
  37. >I can get things going the way they are supposed to work ?
  38.  
  39. >Thanks for your help, Michael.
  40.  
  41. >--
  42. > Michael Feig                 INTERNET: meikel@marie.physik.tu-berlin.de
  43. > Department of Physics                  meikel@cs.tu-berlin.de
  44. > Technical University of Berlin         
  45.  
  46. Thanks for this response.
  47.  
  48. Let's try to figure out what might have happened. I didn't find any of
  49. these problems with a valid configured kernel/X386, and some other people
  50. already succeeded in getting a working version.
  51.  
  52. 0. What does the kernel say during bootup? Does it say
  53.    "co0<your video card type>" or "pc0 at .."
  54.    If it tells you the latter, you should RTFM. The codriver package
  55.    allows to build a compatibility kernel (which is basically the old
  56.    pccons with old X11 fixes) and the new codrv. In the latter case you
  57.    should use the configuration line from the sample config file which reads
  58.  
  59. device        co0    at isa? port "IO_KBD" tty irq 1 vector cointr
  60.  
  61.    instead of the standard line with pc0. Together with the new XServer
  62.    the old line will cause many problems.
  63.    If this does not help:
  64. 1. Which type of keyboard do you run? If this is a "converted XT-keyboard",
  65.    it is likely, that it does not understand AT scan codes.
  66.    However, you should have found the same effect in text mode already.
  67. 2. There is a known problem with ISO-Translation, which is done both in 
  68.    the server and in the kernel. The server code is obsolete. This, however,
  69.    only affects national keys with codes >=128.
  70. 3. Does the /dev/pccons exist, i.e. the device (usually major=12 minor=0) 
  71.    to which /dev/console usually is mapped (or is it called /dev/vga)?
  72.    Delete it! Also, if you modified the kernel conf.c, you might adjust
  73.    the /dev entries, which my kernel relys on back to the default (of
  74.    the fixit disk).
  75. 4. Which mouse type do you use? Do you use a busmouse? Or a mouse which
  76.    is driven through the keyboard controller?
  77.    There is one change which might afflict the behavior of the mouse in 
  78.    the prebuilt kernel: The prebuilt kernel has cgd's com driver built in, 
  79.    which comes with devices /dev/tty0[01] and /dev/ttyd[01], the latter of 
  80.    which has the right minor number. I didn't get negative responses about 
  81.    the mouse yet, because the codriver doesn't influence the serial lines. 
  82.    The enclosed patch for tty_pty.c is not involved in this behavior.
  83. 5. Finally, there might be an address or interrupt conflict, although 
  84.    this will usually make cause problems already in text mode (What happens
  85.    to keyboard codes when moving the mouse?)
  86.  
  87. If you still have problems, send me your exact hardware and software 
  88. configuration.
  89.  
  90. Holger
  91.  
  92. -- 
  93. |  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.uni-duisburg.de
  94. |__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  95. |  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
  96. |  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"
  97.