• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Setting keymap does not update boot.php

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    6
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      Quazz Moderator
      last edited by Quazz

      So, I was trying to mess around in debug mode and noticed the keymap appeared to not working. I checked the list on the wiki and be-latin1 is listed, so it should work.

      I decided to check out boot.php and noticed the keymap argument is empty, even though the value is filled in under FOG General Settings.

      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=192.168.1.154/fog/ consoleblank=0 rootfstype=ext4 nolapic_timer loglevel=4
      imgfetch init_32.xz
      boot || goto MENU
      :fog.memtest
      kernel memdisk iso raw
      initrd memtest.bin
      boot || goto MENU
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=192.168.1.154/fog/ consoleblank=0 rootfstype=ext4 nolapic_timer loglevel=4
      imgfetch init_32.xz
      boot || goto MENU
      :fog.reginput
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=192.168.1.154/fog/ consoleblank=0 rootfstype=ext4 nolapic_timer loglevel=4 mode=manreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.reg
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=192.168.1.154/fog/ consoleblank=0 rootfstype=ext4 nolapic_timer loglevel=4 mode=autoreg
      

      This of course means I can’t use my designated keymap in those items.
      Running Centos 7, FOG revision 8601

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Found and confirmed the issue. Thanks for reporting. It’s been patched and is currently pushed.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        Q 1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator @Tom Elliott
          last edited by Quazz

          @Tom-Elliott Thanks for the quick response, I can confirm boot.php being filled in properly now.

          Unfortunately the keymap seems to still not take effect (I’ve currently only tested in debug mode), I’ve tried the azerty keymap instead and the result is the same.

          Any idea on what might be the cause of this?

          edit: Derp, after taking a closer look, debug mode does not load the keymap at all so of course that won’t work!

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Quazz
            last edited by

            @Quazz I don’t know how linux enables the keymap, but I think the keymap= portion requires a special layout. This would need to be reflected in the definition as well.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              I can take a look at that, it would seem odd to want keymap for non-debug considering you don’t have access to the keyboard normally.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @Tom Elliott
                last edited by

                @Tom-Elliott Thanks, that would be really helpful to a lot of people I feel. It’s of course possible to setup a putty session or something, but having keymaps in debug mode sounds awesome.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                160

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project