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

    Touchscreen in PXE boot

    Scheduled Pinned Locked Moved
    FOG Problems
    touchscreen pxe menu pxe
    5
    11
    2.9k
    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.
    • R
      rwakc
      last edited by

      Server
      • FOG Version: 1.4.0 (SVN 6069)
      • OS: CentOS Linux 7.3.1611
      • Kernel: Linux 3.10.0-514.10.2.el7.x86_64
      Client
      • Service Version:
      • OS: Windows 7 x86
      PXE
      • undionly.kpxe
      Description

      I have terminals on which I would like to be able to deploy images without connecting a keyboard, but instead use the touchscreen that all the terminals have.

      The idea is that a worker would be able to choose which image to deploy via touchscreen.

      I have searched around if there is a possibility to enable mouse in PXE menu, but I had no luck in finding the answer.

      If mouse like input is out of the question, then I would like to know if there is a possibility to load a driver, that I would write, for the touchscreen, which would make it act as a keyboard.

      Thank you for any information.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        Well that’s an interesting question. Although I have to admit that I am not very optimistic this can be done (in reasonable time).

        I haven’t heard of mouse support for iPXE and can’t find anything about it on the web. Not saying that there isn’t but I couldn’t spot it (yet).

        Regarding a driver that would make it possible to use a touchscreen as keyboard… This is not something you can solve loading a driver. You need to have a user interface loaded where one can select an image by clicking or you could come up with a virtual keyboard (maybe even within iPXE) that allows you to enter key presses through clicks.

        Maybe this is something to look into: https://linux.die.net/man/8/gpm

        Well that’s just a few first thoughts on this. I am sure others here in the forum have more ideas on this as well.

        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 would imagine if the device is a tablet and has a keyboard interface for use regardless of where it’s at in the boot sequence, it should work as is. (Surface Pro’s come to mind though I’ll be honest and state I never tested this without a physical keyboard near by.) Either way, @Sebastian-Roth is most likely correct here. If the iPXE kernel doesn’t allow access to this element of the device, then a driver would likely need to be written (which I don’t know how simple that would be to achieve.)

          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

          R 1 Reply Last reply Reply Quote 0
          • R
            rwakc @Tom Elliott
            last edited by

            @Tom-Elliott It is a stand alone computer on which the capacitive touch is connected via USB and identifies as HID

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @rwakc
              last edited by george1421

              @rwakc Will this device work if you use a linux live OS? The idea is if a mainstream linux distro supports it there may be a way for fos to support it. I say that with the caveat that the touch screen needs to work as a keyboard.

              The first step is to see if the input device can be seen via a linux OS.

              How many of these systems are we talking about here too??

              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!

              R 1 Reply Last reply Reply Quote 0
              • R
                rwakc @george1421
                last edited by rwakc

                @george1421 Ok, I will try this and post my findings. I will try with Fedora bootable USB. However I do not think that I will be able to do this before monday.

                At start only a few, but if it works, when the order comes it may go upwards of 100/month, but this number can vary a lot.

                The problem is that we need to deploy different images depending on the country the systems are going to. The machines are deployed 8 at a time.

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @rwakc
                  last edited by

                  @rwakc OK if you are talking 100/s a month then we have a different scope than 1 or 2 a month.

                  <enable brain storming session>
                  Here is what I’m thinking (it will take input from others in this tread too). I use another FOSS project called thinstation. This is a complete linux OS in 300MB file (we can skinny that down if needed). We should be able to pxe boot that OS. The XWindows GUI in thinstation may support that touch screen. I can load firefox into that OS and set a default web page. That web page could be on the fog server but not one of the official FOG web gui pages. From that web page you would have your OS selections. The web page would then schedule a deployment task on the fog server using the restful interface.

                  The issue I see so far is instructing the target computer to reboot after the menu selection has been made.

                  Ideally it would be great to do this in iPXE and not have to mess with a third party solution. Right now I’m just saying its possible, not that its the best or only solution.
                  </enable brain storming session>

                  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!

                  JunkhackerJ 1 Reply Last reply Reply Quote 0
                  • JunkhackerJ
                    Junkhacker Developer @george1421
                    last edited by

                    @george1421 or, he could temporarily attach a keyboard

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    george1421G R 2 Replies Last reply Reply Quote 2
                    • george1421G
                      george1421 Moderator @Junkhacker
                      last edited by

                      @Junkhacker said in Touchscreen in PXE boot:

                      or, he could temporarily attach a keyboard

                      Why go simple when it can be a way over designed solution??

                      But you are right, simple is better.

                      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!

                      1 Reply Last reply Reply Quote 0
                      • R
                        rwakc @Junkhacker
                        last edited by

                        @Junkhacker Since it is a closed system when it comes out of assembly plugging in a keyboard would be quite hard(although not impossible).

                        The solution we use now is cloning hard drives before assembly.

                        JunkhackerJ 1 Reply Last reply Reply Quote 0
                        • JunkhackerJ
                          Junkhacker Developer @rwakc
                          last edited by

                          @rwakc well, it would be technically possible to set up a method where you could be automatically imaging any device pxe booted from the network, and set up multiple dhcp scopes on different network ports, serving out different pxe boot files with embedded scripts. that way, you’d be able to choose what image the system gets imaged with by choosing what network you plug the device into.

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                          158

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project