E-EDID support: read out extension blocks

2012-08-14 Thread Christophe Oosterlynck
Hi all,

to be HDMI compliant, extension blocks provided by E-EDID should be read
out. It seems that X doesn't do this.

I've been browsing through the code and found a commit [1] which introduced
the 'complete' parameter to xf86DoEEDID. This is being called with
complete=FALSE from xf86DoEDID_DDC2 [2]. I was wondering why and if there
is any other code path where this function is called with complete=TRUE? Or
doesn't X support reading out extensions blocks by default and can it only
be done by calling xf86DoEEDID myself?

[1]
http://cgit.freedesktop.org/xorg/xserver/commit/?id=b4fbc31e109f1efe78613597f9a91d5363523493
[2] http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/ddc/ddc.c#n468

Best regards,

Christophe
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

special tablet keys X220t

2012-08-14 Thread Jonas Jelten
Hi list!

I've got a ThinkPad X220t, and already tried hard getting 3 buttons to
work, showkey already provides keycodes:

Tablet portrait: 153
Tablet rotation: 154
Microphone mute: 248

I've a long time, following various wiki pages like
https://wiki.archlinux.org/index.php/Extra_Keyboard_Keys_in_Xorg
but had no luck.

xev reports something when pressing the tablet buttons, but is
completely quiet with the mic-key.

This is what xev reports when pressing the 153-key:

>FocusOut event, serial 32, synthetic NO, window 0x301,
>mode NotifyGrab, detail NotifyAncestor
>
>FocusIn event, serial 32, synthetic NO, window 0x301,
>mode NotifyUngrab, detail NotifyAncestor
>
>KeymapNotify event, serial 32, synthetic NO, window 0x0,
>keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

Binding the keycode to just "a" or a special XF86 key doesn't help,
no keypress event occurs to be captured by xev or my window manager (i3).

These associations are displayed correctly with xmodmap -pk


Anyone an idea how i can map those keycodes so they can trigger any
bashscript?


Cheers,

Jonas



signature.asc
Description: OpenPGP digital signature
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: E-EDID support: read out extension blocks

2012-08-14 Thread Adam Jackson

On 8/14/12 9:47 AM, Christophe Oosterlynck wrote:

Hi all,

to be HDMI compliant, extension blocks provided by E-EDID should be read
out. It seems that X doesn't do this.

I've been browsing through the code and found a commit [1] which introduced
the 'complete' parameter to xf86DoEEDID. This is being called with
complete=FALSE from xf86DoEDID_DDC2 [2]. I was wondering why and if there
is any other code path where this function is called with complete=TRUE? Or
doesn't X support reading out extensions blocks by default and can it only
be done by calling xf86DoEEDID myself?


... which the X drivers do, yes.

What bit of "HDMI compliance" do you think we're missing here?  All 
drivers that actually support the bits of HDMI beyond plain DVI have 
kernel support, and Linux does parse the HDMI extension block.


- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: PS/2 Touch Screen

2012-08-14 Thread Russell Whitaker



On Mon, 13 Aug 2012, Quentin Olson wrote:

I have a touch screen point of sale system and I want to run Fedora 17. The 
touch sort of works, cursor follows my finger but the calibration is off and 
touches (clicks) don't register.


Here is what xinput sees:

[root@pos0002 ~]# xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]


I've installed Ubuntu 10.4 on these systems before and to get the touch 
working I had to do the following things:


echo -n "serio_raw" > /sys/bus/serio/devices/serio1/drvctl
then create an xorg.conf, install the eGalax 
(http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm) touch 
driver and run their setup.sh with the ps/2 option, after that it worked.


Under Fedora 17 when I...

[root@pos0002 ~]# echo -n "serio_raw" > /sys/bus/serio/devices/serio1/drvctl
-bash: echo: write error: Invalid argument

I get invalid argument.


Try:
  echo $'serio_raw' > /sys/bus/serio/devices/serio1/drvctl

  Russ___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com