home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6759 < prev    next >
Encoding:
Text File  |  1992-07-26  |  2.0 KB  |  66 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!munnari.oz.au!metro!peterw
  3. From: peterw@archsci.arch.su.oz.au (Peter Williams )
  4. Subject: Re: select () broken in 0.96cpl2?
  5. Message-ID: <1992Jul27.075032.5700@ucc.su.OZ.AU>
  6. Keywords: KERNEL
  7. Sender: news@ucc.su.OZ.AU
  8. Nntp-Posting-Host: freeman.arch.su.oz.au
  9. Organization: Design Computing Unit, The University of Sydney
  10. References:  <dirkst.712200984@kaa>
  11. Date: Mon, 27 Jul 1992 07:50:32 GMT
  12. Lines: 52
  13.  
  14. In article <dirkst.712200984@kaa>, dirkst@kaa.informatik.rwth-aachen.de (Dirk Steinberg) writes:
  15. |> Am I the only one or did someone else notice?
  16. |> Ever since I upgraded from 0.96c pl1 to pl2 zsh and X stopped
  17. |> working. I had no problems before. The X server does not
  18. |> respond to mouse movements at all, and although the xterm
  19. |> appears, there is no shell in it. When I run zsh (from hlu)
  20. |> it prints a prompt, but I cannot type anything.
  21. |> As ps(1) shows, in both cases the process hangs in do_select()
  22. |> so I wonder whether it might be broken.
  23. |> 
  24. |> Any comments?
  25. |> 
  26. |>     Dirk
  27. |> -- 
  28. |> ---
  29. |> Dirk W. Steinberg
  30. |> Aachen University of Technology
  31. |> email: dirkst@pool.informatik.rwth-aachen.de
  32.  
  33. It's not select() but mouse_select() that is broken.
  34. The following patch to mouse.c is a TEMPORARY fix for this problem
  35.  
  36. ----cut here-------
  37. *** kernel/chr_drv/mouse.c.orig    Mon Jul 20 22:11:23 1992
  38. --- kernel/chr_drv/mouse.c    Mon Jul 20 22:12:03 1992
  39. ***************
  40. *** 77,84 ****
  41.           return -EBUSY;
  42.       if (!mouse.present)
  43.           return -EINVAL;
  44. -     if (request_irq(MOUSE_IRQ, mouse_interrupt))
  45. -         return -EBUSY;
  46.       mouse.active = 1;
  47.       mouse.ready = 0;
  48.       mouse.inode = inode;
  49. --- 77,82 ----
  50. ***************
  51. *** 86,91 ****
  52. --- 84,91 ----
  53.       mouse.dy = 0;    
  54.       mouse.buttons = mouse.latch_buttons = 0x80;
  55.       MSE_INT_ON();    
  56. +     if (request_irq(MOUSE_IRQ, mouse_interrupt))
  57. +         return -EBUSY;
  58.       return 0;
  59.   }
  60.   
  61. ----cut here----------
  62. -- 
  63. Peter Williams                |e-mail: peterw@archsci.arch.su.oz.au
  64. Key Centre for Design Quality |phone: +61-2-692 2053 or +61-2-660 6156
  65. University of Sydney          |+++++++++++++++++++++++++++++++++++++++
  66.