Bug#545194: xserver-xorg-core: Display switching via fn-f7 broken

2011-01-28 Thread Cyril Brulebois
Jim Cline jcl...@hep.physics.mcgill.ca (05/09/2009):
 Package: xserver-xorg-core
 Version: 2:1.4.2-10.lenny2
 Severity: important
 
 I guess it is well known that the fn-f7 key which toggles between
 LCD and external monitor for thinkpads and other laptops does not
 work in X.org although it worked in XF86.  Older versions of X.org
 had options BiosDisplay and BiosHotkeys which reportedly fixed
 this problem, but these are no longer used.  Is there a fix within
 the current xorg?  Having to go through xrandr is a lot more
 difficult than hitting the fn-f7 key.


Hi Jim.

What happens with the X stack from squeeze/sid, or from experimental?
Also, that could be handled by some ACPI stuff rather than by an upper
layer, I'm not exactly sure how it's supposed to work… Fn-* stuff is
usually not fun stuff.

KiBi.



signature.asc
Description: Digital signature


Bug#545194: xserver-xorg-core: Display switching via fn-f7 broken

2009-09-05 Thread Jim Cline
Package: xserver-xorg-core
Version: 2:1.4.2-10.lenny2
Severity: important


I guess it is well known that the fn-f7 key which toggles between LCD and 
external monitor for thinkpads
and other laptops does not work in X.org although it worked in XF86.  Older 
versions of X.org had
options BiosDisplay and BiosHotkeys which reportedly fixed this problem, 
but these are no longer used.
Is there a fix within the current xorg?  Having to go through xrandr is a lot 
more difficult than hitting the
fn-f7 key.  

-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 2009-08-12 14:44 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1718484 2009-06-08 05:35 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated 
Graphics Device (rev 02)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 4061 2009-09-05 11:58 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the ### BEGIN DEBCONF SECTION line above, and/or after the
# ### END DEBCONF SECTION line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file? in /usr/share/doc/xfree86-common/FAQ.gz.

Section Files

RgbPath /usr/X11R6/lib/X11/rgb

FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
#FontPath   /usr/X11R6.xorg/lib/X11/fonts/local/
FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
#FontPath   /usr/X11R6/lib/X11/fonts/TrueType/
#FontPath   /usr/X11R6/lib/X11/fonts/freefont/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/
FontPath /usr/share/fonts
FontPath /usr/lib/X11/fonts/Type1
FontPath /usr/lib/X11/fonts/misc
FontPath /usr/lib/X11/fonts/100dpi
FontPath /usr/lib/X11/fonts/75dpi

EndSection

Section Module
LoadGLcore
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadv4l
Loadrecord
Loadspeedo
Loadtype1
Loadvbe
Loadxie
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/psaux
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  SendCoreEventsfalse
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection

# new section to enable USB mouse:

 Section InputDevice
  Identifier  USB Mice
  Driver  mouse
  Option  Protocol   IMPS/2
  Option  Device /dev/input/mice
  Option  Emulate3Buttons yes
EndSection


Section Device
Identifier  Generic Video Card
Driver  i810
Option SWCursor 1
Option MonitorLayout LFP,CRT
Option Clone 1
VideoRam8192
Option BiosHotKeys on
Option BiosDisplay yes  
EndSection

Section Monitor
Identifier  Generic Monitor
HorizSync   28-50
VertRefresh 43-75
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  Generic Video Card
Monitor Generic Monitor