Epelman, Boris (MED-ELGEMS | 4 Apr 2002 12:03

Monitoring for keyboard event.

Does anybody know how it is possible to catch keyboard events,
regardless of the pointer position?

The only way I found is by using XQueryTree for RootWindow, which builds an hierarchy of
all existing windows and then XSelectInput with KeyPressMask | SubstructureNotifyMask for every window.
This seems to be unreliable: the root window on IRIX as well as some new windows do not 
report events. 
Is there a way to directly catch all keyboard events?

Thanks, Boris

--

-- 
To UNSUBSCRIBE, email to debian-x-request <at> lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org

Nikita V. Youshchenko | 4 Apr 2002 12:23
Picon
Favicon

Re: Monitoring for keyboard event.

> Does anybody know how it is possible to catch keyboard events,
> regardless of the pointer position?
> 
> The only way I found is by using XQueryTree for RootWindow, which builds
> an hierarchy of all existing windows and then XSelectInput with
> KeyPressMask | SubstructureNotifyMask for every window. This seems to be
> unreliable: the root window on IRIX as well as some new windows do not
> report events. Is there a way to directly catch all keyboard events?

Maybe a passive grab on the root window, and AllowEvents(Replay) after 
processing?

--

-- 
To UNSUBSCRIBE, email to debian-x-request <at> lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org

Giannis Georgalis | 4 Apr 2002 14:34
Picon

Re: Monitoring for keyboard event.


On Thu, 4 Apr 2002, Epelman, Boris (MED-ELGEMS) wrote:

> Does anybody know how it is possible to catch keyboard events,
> regardless of the pointer position?
>

I think this attached program (xkeys) by Dominic Giampaolo will be
usefull.

Giannis

>
> --
> To UNSUBSCRIBE, email to debian-x-request <at> lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org
>
>
Attachment (xkeys.c.gz): application/octet-stream, 1253 bytes
Branden Robinson | 4 Apr 2002 20:34
Picon
Favicon

Re: xfree86 unbuildable on ppc

On Thu, Apr 04, 2002 at 10:37:52AM +0100, Philip Blundell wrote:
> About the only thing you can do is to discontinue use of the kernel
> headers altogether and provide your own, unconditional, definitions
> (with different names if there is any danger that the kernel's version
> of them might become visible under some conditions).  This obviously
> sucks quite a lot, but less than the alternatives.

This means forking from XFree86 upstream in a way that I'm not entirely
comfortable with.  Is there anyone around who is familiar with DRM
innards who would be willing to work with me and upstream to get this
fix implemented in the proper place?

I don't want to keep my kludge (patch #65) around any longer than I have
to.

--

-- 
G. Branden Robinson                |    America is at that awkward stage.
Debian GNU/Linux                   |    It's too late to work within the
branden <at> debian.org                 |    system, but too early to shoot the
http://people.debian.org/~branden/ |    bastards.           -- Claire Wolfe
Jeffrey W. Baker | 4 Apr 2002 20:53
Picon
Favicon

xfree86 4.1.0-15 broken display

[mostly x-posted from debian-user]

I sidegraded to 4.1.0-15 of xfree86 this morning via apt-get, and now my
display is hosed up (again).  I have an ATI Radeon All-in-Wonder with a
Samsung SymcMaster 210T LCD display connected via the DVI connector. 
Before my upgrade, this was working perfectly.  I didn't need any
modelines or anything like that to run the display at 1600x1200, 24-bit
color.  1600x1200 is the native resolution.

Now, when I start the xserver my monitor turns itself off.  I cannot get
it to work in 1600x1200 at all.  The server is in fact running in that
mode, and I can see the timings in /var/log/XFree86.0.log, which look
fine.  But the signal is actually bogus according to the monitor.

I even allowed dexconf to reconfigure the server and that did not
produce a working configuration.

Here are some parts of the current non-working configuration:

Section "Device"
        Identifier      "ATI Radeon All-in-Wonder"
        Driver          "radeon"
EndSection

Section "Monitor"
        Identifier      "Samsung SyncMaster 210T"
        HorizSync       30-81
        VertRefresh     60
        DisplaySize     432 324
#       Option          "DPMS"
(Continue reading)

Michel Dänzer | 4 Apr 2002 20:55
Picon
Favicon

Re: xfree86 unbuildable on ppc

On Thu, 2002-04-04 at 20:34, Branden Robinson wrote:
> On Thu, Apr 04, 2002 at 10:37:52AM +0100, Philip Blundell wrote:
> > About the only thing you can do is to discontinue use of the kernel
> > headers altogether and provide your own, unconditional, definitions
> > (with different names if there is any danger that the kernel's version
> > of them might become visible under some conditions).  This obviously
> > sucks quite a lot, but less than the alternatives.

After a quick look at this thread in the -devel archive, I basically
agree with this. The interface won't change in incompatible ways so
XFree86 can safely have its own copy of the definitions, as it should.

> This means forking from XFree86 upstream in a way that I'm not entirely
> comfortable with.  Is there anyone around who is familiar with DRM
> innards who would be willing to work with me and upstream to get this
> fix implemented in the proper place?

I'm here. :)

-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

--

-- 
To UNSUBSCRIBE, email to debian-x-request <at> lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org

Jeffrey W. Baker | 4 Apr 2002 21:45
Picon
Favicon

Re: xfree86 4.1.0-15 broke my display

On Thu, 2002-04-04 at 11:10, Jeffrey W. Baker wrote:
> On Thu, 2002-04-04 at 10:43, Craig Dickson wrote:
> > begin  Jeffrey W. Baker  quotation:
> > 
> > > Since my setup was working perfectly well before, I would like to simply
> > > return to 4.1.0-14.  This appears to not be possible, because apt-get
> > > says that version 4.1.0-14 of xserver-xfree86 is not available.
> > 
> > And you empty /var/cache/apt/archives immediately after every upgrade?
> > Not a good idea. (If you don't know what I'm talking about, look in that
> > directory and see if the required packages are there.)
> 
> Well, I use apt-get clean on occasion.  The -14 release of XFree86 was
> several months ago.  Would be nice if there was apt-get
> clean-except-last-version i supposed.
> 
> > Anyway, I think everything you need is in my not-quite-latest-packages
> > archive:
> > 
> >    http://crdic.ath.cx/debian/
> > 
> > This site is not on a terribly zippy connection, so expect a download of
> > all the X packages to take a while.
> > 
> > For what it's worth, the -15 X packages are working fine for me.
> 
> I'm going to install 4.2.0 and see what happens.

I did in fact move to 4.2.0 and now my display works again.  The
binaries are not quite the right fit for a Debian system: all my ALT
(Continue reading)

Branden Robinson | 4 Apr 2002 23:07
Picon
Favicon

Re: xfree86 unbuildable on ppc

On Thu, Apr 04, 2002 at 08:55:22PM +0200, Michel Dänzer wrote:
> > This means forking from XFree86 upstream in a way that I'm not entirely
> > comfortable with.  Is there anyone around who is familiar with DRM
> > innards who would be willing to work with me and upstream to get this
> > fix implemented in the proper place?
> 
> I'm here. :)

Great, thanks a lot.  Let's haul the discussion over to -x.

--

-- 
G. Branden Robinson                |      To stay young requires unceasing
Debian GNU/Linux                   |      cultivation of the ability to
branden <at> debian.org                 |      unlearn old falsehoods.
http://people.debian.org/~branden/ |      -- Robert Heinlein
¸®¾ç | 5 Apr 2002 03:24

*****SPAM*****

<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<DIV></DIV>
</BODY>
</HTML>

--

-- 
To UNSUBSCRIBE, email to debian-x-request <at> lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org

kcl | 5 Apr 2002 06:41
Picon
Favicon

*****SPAM***** Z Į ƯǸ 110,000

<HTML>
<HEAD>
<META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type>
<STYLE> p, font, span { line-height:120%; margin-top:0; margin-bottom:0; }</STYLE>
</HEAD><BODY>
<DIV align=left>
<DL>
  <DT><FONT face=±¼¸² color=black size=2>¾È³ç Çϼ¼¿ä. &nbsp;º» ¸ÞÀÏÀº
±¤°í ¸ÞÀÏ ÀÔ´Ï´Ù.</FONT> 
  <DT><FONT face=±¼¸² color=black size=2>»çÀü Çã¶ô¾øÀÌ ¸ÞÀÏÀ» º¸³»°Ô
µÇ¾î¼­ Áø½ÉÀ¸·Î 
Á˼ÛÇÕ´Ï´Ù</FONT></DT>
  <DT><FONT face=±¼¸² color=black size=2></FONT> </DT>
  <DT><SPAN style="FONT-SIZE: 10pt"><FONT face=±¼¸² color=black><B>¸ÞÀÏ ¹Þ±â¸¦
¿øÄ¡ 
  &nbsp;¾ÊÀ¸½Å´Ù¸é ¾Æ·¡ ¸ÞÀÏ·Î ¹Ý¼Û¸ÞÀÏÀ» º¸³»Áֽøé
<BR>ÀÌÈÄ¿¡´Â Àý´ë·Î ¸ÞÀÏÀÌ ¼ö½ÅµÇÁö ¾ÊÀ» 
  °ÍÀÔ´Ï´Ù.<BR></B></FONT></SPAN><FONT face=±¼¸² color=black size=2>. </FONT>
  <DT><B><FONT color=#ff0000><SPAN style="FONT-SIZE: 14pt">¹Ý¼Û¸ÞÀÏ ÁÖ¼Ò : 
  kcl0112 <at> yahoo.co.kr</SPAN></FONT></B></DT>

<DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Àü 
  È­ : 02-895-7862

<DT>------------------------------------------------------------------------------------------- 
  <DT> 
  <DT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;»ï¼ºÇÁ¸°ÅÍ MJC-935 i &nbsp;&nbsp;&nbsp;110,000
¿ø¿¡ 
  ÆÇ¸Å &nbsp;&nbsp;( Ư°¡ ÆÇ¸Å°¡°Ý ÀÔ´Ï´Ù ) 
  <DT> 
(Continue reading)


Gmane