[SOLVED] I broke X by pressing a function key

My laptop is a Lenovo y50 4K.  I have Nvidia hybrid optimus graphics with the proprietary Nvidia driver and xrandr modesetting in my .xinitrc.  I have been using my current configuration successfully for a few months.  The issue started when I pressed FN + F3.  This is the function key that toggles my video output source / screen mirroring to the HDMI plug.  I meant to press FN + F2, which is the one that toggles my screen backlight, but my finger missed the key.  I didn't have anything plugged into the HDMI port at the time and X immediately crashed.  I tried to restart X, but it segfaulted.  I tried pressing the function key again, but under TTY all it does is type "p" in console.  I tried restarting the computer, but that changed nothing.  X still crashes.  I tried loading X with a HDMI screen plugged in, no change.  Now I started to think that it was maybe a bios level toggle, so I looked for an option to disable the HDMI plug in my bios settings.  There was none.  I tried rebooting into Windows plugging a device into the HDMI port and cycling through the HDMI screen mirroring options, disabling the HDMI port there and rebooting.  I tried this because I had a wifi issue in the past that turned out to be a bios level toggle from my wifi function key that could only be set from Windows.  At this point, The HDMI output would no longer mirror the screen at bios and Grub, but as soon as the Linux kernel loaded, the screen would mirror over HDMI again.  I don't know if it's relevant or not, but I have used my HDMI port for screen mirroring in the past without problems, but I never used the function key to toggle it before.
This error shows up under dmesg when I try to start X.
[ 1965.483823] vgaarb: this pci device is not a vga device
[ 1965.484045] nvidia 0000:01:00.0: irq 36 for MSI/MSI-X
[ 1965.485905] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.485935] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.485948] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.485968] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.485980] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.485992] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.486018] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.486030] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 1965.488207] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
This is my Xorg log.
[ 5246.182]
X.Org X Server 1.17.1
Release Date: 2015-02-10
[ 5246.189] X Protocol Version 11, Revision 0
[ 5246.191] Build Operating System: Linux 3.17.6-1-ARCH x86_64
[ 5246.194] Current Operating System: Linux Rocco_Lenovo 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:44:05 CET 2015 x86_64
[ 5246.194] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f1165f63-72c5-4bd0-a061-6379dc86c97c rw rcutree.rcu_idle_gp_delay=5
[ 5246.199] Build Date: 11 February 2015 08:27:38AM
[ 5246.201]
[ 5246.203] Current version of pixman: 0.32.6
[ 5246.209] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5246.209] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5246.219] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 16 16:06:34 2015
[ 5246.222] (==) Using config file: "/etc/X11/xorg.conf"
[ 5246.224] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5246.225] (==) ServerLayout "layout"
[ 5246.225] (**) |-->Screen "nvidia" (0)
[ 5246.225] (**) | |-->Monitor "<default monitor>"
[ 5246.225] (**) | |-->Device "nvidia"
[ 5246.225] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[ 5246.225] (**) |-->Inactive Device "intel"
[ 5246.225] (==) Automatically adding devices
[ 5246.225] (==) Automatically enabling devices
[ 5246.225] (==) Automatically adding GPU devices
[ 5246.225] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
[ 5246.225] Entry deleted from font path.
[ 5246.225] (Run 'mkfontdir' on "/usr/share/fonts/OTF/").
[ 5246.225] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 5246.225] Entry deleted from font path.
[ 5246.225] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 5246.225] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 5246.225] Entry deleted from font path.
[ 5246.225] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 5246.225] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 5246.225] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5246.225] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 5246.225] (II) Loader magic: 0x814d40
[ 5246.225] (II) Module ABI versions:
[ 5246.225] X.Org ANSI C Emulation: 0.4
[ 5246.225] X.Org Video Driver: 19.0
[ 5246.225] X.Org XInput driver : 21.0
[ 5246.225] X.Org Server Extension : 9.0
[ 5246.226] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 5246.226] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 5246.227] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[ 5246.227] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5246.227] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[ 5246.228] (--) PCI:*(0:0:2:0) 8086:0416:17aa:3978 rev 6, Mem @ 0xd1000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64
[ 5246.228] (--) PCI: (0:1:0:0) 10de:1392:17aa:3978 rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 5246.228] (II) Open ACPI successful (/var/run/acpid.socket)
[ 5246.228] (II) LoadModule: "glx"
[ 5246.228] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5246.235] (II) Module glx: vendor="NVIDIA Corporation"
[ 5246.235] compiled for 4.0.2, module version = 1.0.0
[ 5246.235] Module class: X.Org Server Extension
[ 5246.235] (II) NVIDIA GLX Module 346.35 Sat Jan 10 20:53:39 PST 2015
[ 5246.235] (II) LoadModule: "nvidia"
[ 5246.235] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 5246.235] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 5246.235] compiled for 4.0.2, module version = 1.0.0
[ 5246.235] Module class: X.Org Video Driver
[ 5246.235] (II) LoadModule: "modesetting"
[ 5246.235] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5246.235] (II) Module modesetting: vendor="X.Org Foundation"
[ 5246.235] compiled for 1.17.1, module version = 1.17.1
[ 5246.235] Module class: X.Org Video Driver
[ 5246.235] ABI class: X.Org Video Driver, version 19.0
[ 5246.235] (II) NVIDIA dlloader X Driver 346.35 Sat Jan 10 20:32:18 PST 2015
[ 5246.235] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 5246.235] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 5246.235] (++) using VT number 1
[ 5246.235] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 5246.235] (II) Loading sub module "fb"
[ 5246.235] (II) LoadModule: "fb"
[ 5246.235] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 5246.235] (II) Module fb: vendor="X.Org Foundation"
[ 5246.235] compiled for 1.17.1, module version = 1.0.0
[ 5246.235] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5246.235] (II) Loading sub module "wfb"
[ 5246.235] (II) LoadModule: "wfb"
[ 5246.235] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 5246.235] (II) Module wfb: vendor="X.Org Foundation"
[ 5246.235] compiled for 1.17.1, module version = 1.0.0
[ 5246.235] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5246.235] (II) Loading sub module "ramdac"
[ 5246.235] (II) LoadModule: "ramdac"
[ 5246.235] (II) Module "ramdac" already built-in
[ 5246.236] (II) modeset(1): using drv /dev/dri/card0
[ 5246.236] (II) modeset(G0): using drv /dev/dri/card0
[ 5246.236] (EE) Screen 1 deleted because of no matching config section.
[ 5246.236] (II) UnloadModule: "modesetting"
[ 5246.236] (II) NVIDIA(0): Creating default Display subsection in Screen section
"nvidia" for depth/fbbpp 24/32
[ 5246.236] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 5246.236] (==) NVIDIA(0): RGB weight 888
[ 5246.236] (==) NVIDIA(0): Default visual is TrueColor
[ 5246.236] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 5246.236] (**) NVIDIA(0): Option "ConstrainCursor" "off"
[ 5246.236] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "on"
[ 5246.236] (**) NVIDIA(0): Option "IgnoreDisplayDevices" "CRT"
[ 5246.236] (**) NVIDIA(0): Enabling 2D acceleration
[ 5246.332] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 5246.333] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 860M (GM107-A) at PCI:1:0:0 (GPU-0)
[ 5246.333] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 5246.333] (--) NVIDIA(0): VideoBIOS: 82.07.34.00.08
[ 5246.333] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 5246.333] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 860M at PCI:1:0:0
[ 5246.333] (--) NVIDIA(0): none
[ 5246.333] (II) NVIDIA(0): Validated MetaModes:
[ 5246.333] (II) NVIDIA(0): "NULL"
[ 5246.333] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 5246.333] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 5246.333] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 5246.333] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[ 5246.333] (==) modeset(G0): RGB weight 888
[ 5246.333] (==) modeset(G0): Default visual is TrueColor
[ 5246.333] (II) Loading sub module "glamoregl"
[ 5246.333] (II) LoadModule: "glamoregl"
[ 5246.333] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 5246.336] (II) Module glamoregl: vendor="X.Org Foundation"
[ 5246.336] compiled for 1.17.1, module version = 1.0.0
[ 5246.336] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5246.336] (II) glamor: OpenGL accelerated X.org driver based.
[ 5246.351] (EE)
[ 5246.351] (EE) Backtrace:
[ 5246.351] (EE) 0: /usr/lib/xorg-server/Xorg (xorg_backtrace+0x56) [0x590416]
[ 5246.351] (EE) 1: /usr/lib/xorg-server/Xorg (0x400000+0x194579) [0x594579]
[ 5246.351] (EE) 2: /usr/lib/libc.so.6 (0x7fe5a1f0d000+0x33540) [0x7fe5a1f40540]
[ 5246.351] (EE) 3: /usr/lib/libX11.so.6 (_XSend+0x2b) [0x7fe597eb80bb]
[ 5246.351] (EE) 4: /usr/lib/libX11.so.6 (_XFlush+0x15) [0x7fe597eb8575]
[ 5246.351] (EE) 5: /usr/lib/libX11.so.6 (_XGetRequest+0x65) [0x7fe597ebb055]
[ 5246.351] (EE) 6: /usr/lib/libX11.so.6 (XQueryExtension+0x4d) [0x7fe597eae5ed]
[ 5246.352] (EE) 7: /usr/lib/libX11.so.6 (XInitExtension+0x32) [0x7fe597ea2392]
[ 5246.352] (EE) 8: /usr/lib/libXext.so.6 (XextAddDisplay+0x4f) [0x7fe597c7138f]
[ 5246.352] (EE) 9: /usr/lib/libnvidia-glsi.so.346.35 (0x7fe5981b8000+0x63017) [0x7fe59821b017]
[ 5246.352] (EE) 10: /usr/lib/libnvidia-glsi.so.346.35 (0x7fe5981b8000+0x4484) [0x7fe5981bc484]
[ 5246.352] (EE) 11: /usr/lib/libEGL.so.1 (0x7fe598442000+0x2381e) [0x7fe59846581e]
[ 5246.352] (EE) 12: /usr/lib/libEGL.so.1 (0x7fe598442000+0x2417a) [0x7fe59846617a]
[ 5246.352] (EE) 13: /usr/lib/libEGL.so.1 (0x7fe598442000+0x2c946) [0x7fe59846e946]
[ 5246.352] (EE) 14: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x99) [0x7fe59a768539]
[ 5246.352] (EE) 15: /usr/lib/xorg/modules/drivers/modesetting_drv.so (0x7fe59adf7000+0x6a86) [0x7fe59adfda86]
[ 5246.352] (EE) 16: /usr/lib/xorg-server/Xorg (InitOutput+0xbcc) [0x47b42c]
[ 5246.352] (EE) 17: /usr/lib/xorg-server/Xorg (0x400000+0x3c78a) [0x43c78a]
[ 5246.352] (EE) 18: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7fe5a1f2d800]
[ 5246.352] (EE) 19: /usr/lib/xorg-server/Xorg (_start+0x29) [0x426e29]
[ 5246.352] (EE)
[ 5246.352] (EE) Segmentation fault at address 0x0
[ 5246.352] (EE)
Fatal server error:
[ 5246.352] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 5246.352] (EE)
[ 5246.352] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5246.352] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 5246.352] (EE)
[ 5246.367] (EE) Server terminated with error (1). Closing log file.
The main thing that I noticed from my xorg log is
[  5246.333] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 860M at PCI:1:0:0
[  5246.333] (--) NVIDIA(0):     none
[  5246.333] (II) NVIDIA(0): Validated MetaModes:
[  5246.333] (II) NVIDIA(0):     "NULL"
Last edited by testing567 (2015-02-17 01:57:57)

Trilby wrote:If you have longish uptimes, I suspect this has nothing to do with the output switch.  The switch may have caused a crash, but the failure to restart X could be due to this issue
It turned out to be exactly this.  Thank you.  It would seem that the function key causing the crash was completely unrelated to my not being able to restart X.  I found the bug report here.
I followed the advice in the comments and got it running by renaming /usr/lib/xorg/modules/libglamoregl.so so glamor can't load.  I'll mark the thread as solved.  Hopefully this bug gets addressed quickly because that fix feels like a dirty hack.
Last edited by testing567 (2015-02-17 01:56:58)

Similar Messages

  • How do I make pressing a function key do an action?

    When the user presses F5, I want to do an action. If possible, I'd like to avoid Javascript.
    Is there some way to declare to the form that I want an arbitrary function key or key-sequence to do an action?
    Thanks,
    Eli

    If you're asking about Pages for iOS (this forum is for iWork for iOS), I don't see an option to make part of an image transparent.
    If you're asking about Pages for your Mac, you can use the instant alpha tool to make the background transparent. There is a separate forum for Pages on the Mac here.

  • Function keys status is not showing on screen

    Hi... please help me.  I m havin lenova ideapad s10-2 netbook. In this when i press fn + function keys action is performing but its status is not displaying on screen. So if i want to switch on WLAN when i press fn+F5 screen is not showing. Also usb devices are not detecting my laptop. Please help me out.......
    Thanks
    Solved!
    Go to Solution.

    shiva2shetty wrote:
    Thanks 4 information. I will try it. Also QS (Quick start) and "one key recovery" is not working when OS is loaded. I need to open from start menu. After that only QS and Function key status display are working. So can you tell me how to load these twodefault  when OS boots.
    Thanks
    Hi for Qucikstart ... if there is still installed .. you could activate in in two ways... Start Computer press immidiate F2 for BIOS in move with arrow keys to CONFIG Page there you could found Quickstart set to enable... leave with press F10 save and exit...
    or in windows XP start control panel you found QUICKSTART Configuration Tool click on this program you could activate at startup save and exit...
    Or if Quickstart is not installed  .. download from here S10-2 Driver Site 
    there you can also found OKR
    sincerely KalvinKlein
    by the way ... did you re-install the system ? which OS did you use? , you didnt say that in your first post  ... that sounds to me that you try to  re-install or use an old XP without SP3 ....
    To fulfill your quest here is the driver page... for all  ... pick your S10-2 OS drivers and install at first the chipset driver...
    Thinkies 2x X200s/X301 8GB 256GB SSD @ Win 7 64
    Ideas Centre A520 ,Yoga 2 256GB SSD,Yoga 2 tablet @ Win 8.1

  • Compaq mini cq10-600 keyboard not typing function keys

    My function keys are lockd into the mode where when I push any of them they are already hot keys.  They are not operating as F1, F2 etc. 
    I need the F1, F2, etc because I am operating a dos program.
    If I press the Function key beside the ctrl key then press F1 it works properly otherwise it is full time as hot keys.
    How can I get it to be as a F1, F2 F3 key???
    Thank you for your help.

    Hi there @joy2015,
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel.
    I understand that your function keys are not working properly. I am happy to help with this.
    I would recommend screening your system for malware, viruses, and other malicious software as a starting point. Then if you find nothing you can try doing a system restore, to a point before you first noticed the issue.
    Using Microsoft System Restore (Windows 7)
    If that does not help, then try working through this page, and let me know what happens.
    Notebook Keyboard Troubleshooting (Windows 7)
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • BSOD with my function key and hardware setup

    I have this problem, it took me a entire day to pinpoint exactly what my problem is.  Well my Antivirus, I tired using different ones, Bitdefender and AVG, and they both seem to cause the same problem.  Everytime I press the function key I get this message:
    Problem signature:
      Problem Event Name:    BlueScreen
      OS Version:    6.0.6002.2.2.0.256.1
      Locale ID:    1046
    Additional information about the problem:
      BCCode:    a
      BCP1:    00000016
      BCP2:    0000001B
      BCP3:    00000000
      BCP4:    82E3B0B5
      OS Version:    6_0_6002
      Service Pack:    2_0
      Product:    256_1
    Files that help describe the problem:
      C:\Windows\Minidump\Mini052010-01.dmp
      C:\Users\Bruno\AppData\Local\Temp\WER-83429-0.sysdata.xml
      C:\Users\Bruno\AppData\Local\Temp\WERB8E2.tmp.version.txt
    Read our privacy statement:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    I'm using Vista Ultimate 32 Bit with SP 2, I tested my memory and hardrive and there is no problem with it.  If I disable my antivirus the function key works, if I enable my AV it causes the BSOD.  It seems that there is a conflict with the Hardware setup and the TVAP issue.  I have the latest ones, but it seems that Toshiba won't come out with new drivers to fix this problem.  The only thing I can do now is disable my function key.  But I don't know if there is anything I could do.  Maybe modify the registry or something.  I cannot remove my AV as well.  I'm using both the Internet Security of it.
    Solved!
    Go to Solution.

    Qosmio F50-10Z 
    Try reinstalling these two utilities in this order. It sometimes helps to uninstall them first.
       Toshiba Flash Cards Support Utility for Windows Vista 32 Bit, 1.54.0.3C, 28/07/08
       Toshiba Value Added Package for Windows Vista 32 Bit, 1.1.19, 28/07/08
    -Jerry

  • Satellite A300 Function keys drop down menu not displaying

    Hey guys,
    i think when i was deleting a whole heap of programs i may have deleted something i shouldn't have by accident. When i press and hold the Fn Key and then press one of the function keys (F1-F12), the computer no longer displays the drop down blue menu that it used to. The function key still works but i can no longer see what function i have selected. (i.e. turn blue tooth on/off or see which monitor i am selecting) The light still illuminates on the key board to indicate that i have pressed the function key it is just the drop down menu no longer appears.
    Any help you can give would be great.

    Hmm thanks for that the problem is that during the deletion of all the programs i also did a clean and removed all my restore points as well, will this stop me from restoring the OS or can i still do this, also not sure if i can install VAP. given i didn't look for or delete the previous one (may be the problem) but before i came to the forums here i found and tried to install the new VAP and it couldn't find the files required for it and shut itself down.
    Thanks for replying i will see what i can do.

  • Function Keys on Dynpro

    Hi,
    I have a Dynpro in this Dynpro there's a Button ... I would like to assing a Function Key on that Button for example
    If I create a Exit Button . When I press F3 (Function Key) the program should exit  .
    I hope your help please!!

    Hello,
    it is pretty easy....
    on you screen PBO create an status and asignn the key you would like to your button....
    then on your PAI....write exit program when sy.ucomm = 'your key'
    on your screen process....
    PROCESS BEFORE OUTPUT.
      MODULE status_0100. -> write this and double click
    PROCESS AFTER INPUT.
      MODULE user_command_0100. -> write this and double click
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STAT'. ->write this and double click AND CREATE THE BUTTON
      SET TITLEBAR 'CALC'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'SAVE'.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN OTHERS.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    CHEERS BYE!!

  • Call a dialog box by a function key

    hi,
         i am having a alv report with alv rows having colors depending on certain condition.i want a color legend (a dialog box that has description of the color function) on pressing f6 function key.
    any comments.

    Hi.
    Declare a GUI status for the ALV.
    In the GUI status, define an OK code for the F6 key.
    In the form for processing ALV user commands, if it is this OK code, display your dialog box.
    There are function modules for dialog boxes, but perhaps the neatest here would be another ALV.
    John

  • How do I enable Function Keys for Capt 5 simulations?

    I have a simualtion where the learner is instructed to press certain function keys (F11, F4) to "activate" a window within out system (this new window is part of the next slide).
    During preview, the function keys are enabled,but when launching the siulation via the WEB or LMS, those keys are not fucitonal and i get the following response by activating the webaddress field instead of moving to the next step.
    is there anything in the settings/properties that i need to modify to get the expected result?

    My understanding of the problem with function-key keystrokes is the browser window thinks you're talking to it before it lets the keystroke pass through to the SWF.  This is further complicated by which browser you're using, or if you publish as EXE.  Not sure about publishing in AIR.
    this thread has a good graphic that shows what works or doesn't:
    http://forums.adobe.com/message/4021083#4021083

  • Function key to execute key-f5 trigger

    Dear all,
    I have migrated a forms 6i to 10gR1 and I would like to call existing KEY-F5 trigger by pressing a function key (F5) on the keyboard.
    How to do that?
    I have tried several things with the file fmrweb.res but without any success yet.
    Anyone to help me?
    Thanks and best regards,
    Sebastien

    I found the solution by using key accelerator
    Thanks and best regards,
    Sebastien

  • FRM 41009: Function Key not allowed

    On a button I have
    ENTER_QUERY;
    I get "FRM 41009: Function Key not allowed" on the message line,when I press the button. Although it works. How can I suppress the error message?
    In the pre-form trigger I set :system.message_level:='20';
    But it does not suppress this. Any workaround? Thx for your help.
    null

    Hi
    You have to put the message level > 25.
    Here what you can found in help section:
    FRM-41009: Function key not allowed. Press %s for list of valid keys.
    Cause: You pressed a function key that is not allowed in this environment.
    Action: Press [Show Keys] to determine which function key you should have pressed.
    Level: >25
    Type: Error
    Hope this help
    Karine

  • Disable the need of the function key when using the control key

    I'm often using the F1-12 keys when using an IDE for developing. Those IDE's use the CTR+F1-12 shortcuts quite a bit and it's always needed to use FN+CTR+F1-12 which is ridiculous and redundant. Is there a way to keep using the functions assigned to F1-12 (Adjust volume, brightness...) without pressing the function key and be able of using CTR or ALT +F1-12 without the need of pressing the function key?

    According to the system help text it is possible. And for me it works as described in the help text on my MacBook Pro.
    But on my  Mac Pro (late 2013) the relevant control (“Use all F1, F2, etc. keys as standard function keys”) is missing form System Preferences >> Keyboard >> Keyboard.
    From the help text for the topic "Use keyboard function keys:"
    If you frequently use the alternate function of a function key, you can switch the keyboard so that the function keys perform the alternate function without your pressing Fn. You then hold down Fn to use a function key’s original hardware control function. If your keyboard doesn’t have an Fn key, try holding down the Control key.
    Choose Apple menu > System Preferences, then click Keyboard.
    Open Keyboard preferences
    Select the “Use all F1, F2, etc. keys as standard function keys” checkbox.

  • Lost function key special functions - flash cards?

    I seem to have lost the function key special functions which I think is related to flash cards. The function LED illuminates but pressing a function key has no effect (brightness, hibernate, monitor switch etc.).
    How can I restore the function. I can't find anything under Toshiba Assit utility.
    Thank you
    Richard

    Hello Richard
    When you press FN button the Flash Cards should be shown at the top of the display. If nothing happens you can try to restart Flash Cards. This option you can find under START > All Programs > TOSHIBA > Utilities > Restart Flash Cards.
    Please try it. If this will not helps please restart your notebook. Be so nice and post the result.

  • "Undefined Function Key. Press Ctrl+F1..." Porting app from 6i to 10G

    I am running into a problem porting my application from Oracle Forms 6i to 10G. When I am querying a record based on a field that is not the first on the screen, I get an "Undefined Function Key. Press Ctrl+F1 for list of valid keys." error. I do not get the error using the same function keys from the first field on the screen. I also do not get the error if I click into another field (besides the one I an querying) before hitting my execute query key.
    I did some research, and found a fix that seems to work. I can add a WHEN_MOUSE_CLICKED trigger to the form and put in the following:
    Go_Item(:System.Mouse_Item);
    That seems to fix the issue. My problem is that I have close to 400 forms to upgrade. I would like to avoid adding this manually to every single form. I have looked into libraries, but I can't seem to figure out how to replicate a WHEN_MOUSE_CLICKED trigger using procedures. I was wondering if there was a way to use the Forms upgrade utility to add this trigger to every form it converts. Does anyone know if that can be done?
    Thanks in advance for your help with this.

    I'm not sure this solves the problem. This would call the trigger, but the trigger does not currently exist. I would still have to manually create the trigger in all 400 (or so) forms. Is there a way to add it in a more global way?
    Thanks.

  • I want to re-map my function keys without pressing fn button

    Hi
    I have a new MBP
    I have unchecked the box that lets me use function keys for other than their original puroses
    So now I can use e.g. my last volume button to work instead as a Mission Control / Show desktop function that is really useful for me as I have one funcitonal hand.
    However I'd like to remap or reassign the function buttons. For example my F1 F2 now do nothing - I could assign them to certain other  functions, but I'd like to assign them back to screen brightness.
    Is there a way I can do this?
    And is there a way i can consign the dashboard to the bin, and use that button for something thats actually useful ?
    Thanks
    tom

    Christophian wrote:
    I did not explain myself because that is patently NOT true. I have 4 laptops at this time. In all of them when I press F5, it is F5 not screen brightness or what ever. In order to access the 'blue' functions like screen brightness, keyboard lights, speaker volume etc. I have to press and hold the fn key. However, on my Envy, I have to press and hold the fn key to access F5 rather than just turning on and off the keyboard lights. Now I wish I could reword this thread.
    OK. I don't claim to be perfect. I just looked at three of the notebooks currently at home The newest, which is a dv7-4180ea (HP loaner) has F keys is configured like on your Envy. The HP NX6320 and the Toshiba Satellite M305D have the F keys as main and have secondary functions. They are more straightforward with the use of the Fn key. It appears that it depends on what the manufacturers decided to do at the time.
    BTW if you look back at my unedited post you will see that I did indeed qualify my statement when I wrote it with the word some. So that is not a patently untrue statement. I try to choose my words carefully.  I will edit this post so you can see what I mean.
    best regards,
    erico
     ed:
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for