Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Touchscreen Drivers ? for Finless

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Touchscreen Drivers ? for Finless

    Bob, I was reading where someone made virtual touchscreen drivers for the 808. See Here : http://www.dewmill.com/rikomagic.html . Is there any way you could do something like this for the X5. This would allow us to play almost any game if you can. The same guy said the PROBOX already came with virtual touchscreen drivers. Also wanted you to know thsat so far your new Rom is flawless. Thanks

    #2
    Sure I can add that KO module in the future.
    But you can easily do what he says and put it in.

    Also if you want to do it automatically just copy the KO file into /system/lib/modules
    Set the permissions the same as other ko modules
    Make a init.d script and copy it into init.d

    File name of the script should be 00touch

    Put this in the script:

    #!/system/bin/sh

    insmod /system/lib/modules/virtual_touch.ntts.ko



    Remember to put a blank line after the insmod command! If you don't it wont work.
    Now every boot the driver will be loaded.
    Last edited by Finless; 04-05-2013, 19:40.
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"





    Comment


      #3
      Originally posted by Finless View Post
      Sure I can add that KO module in the future.
      But you can easily do what he says and put it in.

      Also if you want to do it automatically just copy the KO file into /system/lib/modules
      Set the permissions the same as other ko modules
      Make a init.d script and copy it into init.d

      File name of the script should be 00touch.sh

      Put this in the script:

      #!/system/bin/sh

      insmod /system/lib/modules/virtual_touch.ntts.ko



      Remember to put a blank line after the insmod command! If you don't it wont work.
      Now every boot the driver will be loaded.
      Bob, I tried adding it in the way he says to do it but it wont work. Do you think it is compatible with your newest rom and 720 kernal ? If you think it should work I will try adding it in the way you said. Thanks again Bob, your new ROM is excellent so far.

      This is what comes up when I try it in terminal emulator:
      u0_a63@android:/ $ suu0_a63@android:/ # cd /sdcard/Download
      u0_a63@android:/sdcard/Download # insmod virtual_touch.ntts.ko
      insmod: can't open 'virtual_touch.ntts.ko'
      255|u0_a63@android:/sdcard/Download #

      Comment


        #4
        I just tested it and it works... but I made a mistake in my instructions above which I just edited.

        the script file name should be 01touch NOT 01touch.sh
        so no file extension or it wont work

        Also be sure to set permissions on the script. Using ES file explorer long press on the script file.
        set permission: check all read boxes, check all write boxes except other, set all execute boxes.

        Should work then.

        To be sure install Android terminal emulator
        at the prompt type
        su
        allow root when dialog pops up
        now type
        lsmod
        it should list the touch driver



        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment


          #5
          Also that guys instructions are not right for terminal emulator!
          You cannot do it from sdcard because it is fat32 and does not have proper Linux permissions.

          If you want to do it in a terminal emulator:

          Get ES file explorer. Make sure to go into ES file explorer settings and turn on
          root explorer
          up to root
          mount system RW

          Copy the ko module to /system/lib/modules
          To make it simple I renamed the ko file to touch.ko
          Again set the permissions of the ko file the same as other ko files.
          Using ES file explorer long press on the file name and select permissions in the list at the bottom

          now open a terminal emulator
          type
          su
          now type
          insmod /system/lib/modules/touch.ko

          To make sure it worked, type
          lsmod
          it should be listed


          Bob
          "Pzebacz im, bo nie wiedzą, co czynią"
          "Прости им, они не ведают, что творят"
          "Perdona loro perché non sanno quello che fanno"
          "Vergib ihnen, denn sie wissen nicht, was sie tun"
          "Vergeef hen want ze weten niet wat ze doen"
          "Pardonne-leur car ils ne savent pas ce qu'ils font"
          "Perdónalos porque no saben que lo que hacen"
          "Oprosti im, jer ne znaju što čine"
          "Forgive them as they know not what they do"





          Comment


            #6
            Originally posted by Finless View Post
            Also that guys instructions are not right for terminal emulator!
            You cannot do it from sdcard because it is fat32 and does not have proper Linux permissions.

            If you want to do it in a terminal emulator:

            Get ES file explorer. Make sure to go into ES file explorer settings and turn on
            root explorer
            up to root
            mount system RW

            Copy the ko module to /system/lib/modules
            To make it simple I renamed the ko file to touch.ko
            Again set the permissions of the ko file the same as other ko files.
            Using ES file explorer long press on the file name and select permissions in the list at the bottom

            now open a terminal emulator
            type
            su
            now type
            insmod /system/lib/modules/touch.ko

            To make sure it worked, type
            lsmodh
            it should be listed


            Bob
            Bob, I got it installed and just realized something else,Using usb/bt joy center it says no gamepad found when Im using your rom but it showed up on the ONELOVEKIR rom. Any idea why ? I have a logitech F310 gamepad if that matters. On the kirk rom ,when i turn on the software ,it says foundF310 gamepad.

            Comment


              #7
              Which ROM?

              Bob
              "Pzebacz im, bo nie wiedzą, co czynią"
              "Прости им, они не ведают, что творят"
              "Perdona loro perché non sanno quello che fanno"
              "Vergib ihnen, denn sie wissen nicht, was sie tun"
              "Vergeef hen want ze weten niet wat ze doen"
              "Pardonne-leur car ils ne savent pas ce qu'ils font"
              "Perdónalos porque no saben que lo que hacen"
              "Oprosti im, jer ne znaju što čine"
              "Forgive them as they know not what they do"





              Comment


                #8
                Originally posted by Finless View Post
                Which ROM?

                Bob
                Bob, I am using your new rom with 720 kernal. It would show up with Kirks rom but his freezes too much. I have not tried with minix rom

                Comment


                  #9
                  Please try it with minix stock ROM my 1.2 was made from (their latest ROM).
                  Nothing I did should have made it not work IF it works in the stock ROM. Possibly Minix left out a driver.

                  Bob
                  "Pzebacz im, bo nie wiedzą, co czynią"
                  "Прости им, они не ведают, что творят"
                  "Perdona loro perché non sanno quello che fanno"
                  "Vergib ihnen, denn sie wissen nicht, was sie tun"
                  "Vergeef hen want ze weten niet wat ze doen"
                  "Pardonne-leur car ils ne savent pas ce qu'ils font"
                  "Perdónalos porque no saben que lo que hacen"
                  "Oprosti im, jer ne znaju što čine"
                  "Forgive them as they know not what they do"





                  Comment


                    #10
                    Originally posted by Finless View Post
                    Please try it with minix stock ROM my 1.2 was made from (their latest ROM).
                    Nothing I did should have made it not work IF it works in the stock ROM. Possibly Minix left out a driver.

                    Bob
                    Bob, I tried the new minix rom and it does not work with it or your rom, only with Kirks Rom. with kirks rom ,when i opened usb/bt joy center it opened a box asking for usb permissions and then my controller shows up but it doesnt do that with your rom or the minix rom.It just says no device found

                    Comment


                      #11
                      Wait..... I bet I know why. There are 3 full sized USB ports. Try one of the set of 2 on the side not the full sized single one next to the MIC and headset jacks.

                      Some of these are HOST ports and some are not. Micro USB port for instance is not a Host port.

                      I noticed in the new ROM in XML permissions there was no HOST USB defined.

                      So again try other full sized USB ports. If it still does not work, I will see if I can fix it.


                      bob
                      "Pzebacz im, bo nie wiedzą, co czynią"
                      "Прости им, они не ведают, что творят"
                      "Perdona loro perché non sanno quello che fanno"
                      "Vergib ihnen, denn sie wissen nicht, was sie tun"
                      "Vergeef hen want ze weten niet wat ze doen"
                      "Pardonne-leur car ils ne savent pas ce qu'ils font"
                      "Perdónalos porque no saben que lo que hacen"
                      "Oprosti im, jer ne znaju što čine"
                      "Forgive them as they know not what they do"





                      Comment


                        #12
                        Originally posted by Finless View Post
                        Wait..... I bet I know why. There are 3 full sized USB ports. Try one of the set of 2 on the side not the full sized single one next to the MIC and headset jacks.

                        Some of these are HOST ports and some are not. Micro USB port for instance is not a Host port.

                        I noticed in the new ROM in XML permissions there was no HOST USB defined.

                        So again try other full sized USB ports. If it still does not work, I will see if I can fix it.


                        bob
                        Bob,I tried all three usb ports and none of them work .Kirks rom is based on the 0117 version and i never tried with original minix rom so i dont know if it worked with that.

                        Comment


                          #13
                          Bob, I noticed when i turn on usb/bt joy center at the top it goes through a list of what it is doing. One of the things it says is that its checking usb permissions,then it says no usb/bt device found, but on kirks rom it pops up a box and asks for usb permission then after i click ok it shows my gamepad. I dont get the pop up box with your rom or minix rom.

                          Comment


                            #14
                            My 1.0 ROM and Kirks ROM are made from the same version so both should work.

                            However as you see Minix broke something with the new ROM and thus it is in my 1.2 ROM as well.

                            I will investigate and see if I can repeat the issue and fix it for Minix
                            I think I know what it is.

                            Bob
                            "Pzebacz im, bo nie wiedzą, co czynią"
                            "Прости им, они не ведают, что творят"
                            "Perdona loro perché non sanno quello che fanno"
                            "Vergib ihnen, denn sie wissen nicht, was sie tun"
                            "Vergeef hen want ze weten niet wat ze doen"
                            "Pardonne-leur car ils ne savent pas ce qu'ils font"
                            "Perdónalos porque no saben que lo que hacen"
                            "Oprosti im, jer ne znaju što čine"
                            "Forgive them as they know not what they do"





                            Comment


                              #15
                              OK so here is the deal.

                              I do not own a BT controller so I have never used six axis APP before nor do I own it.

                              When I run the six axis compatibility APP from Google Play it "says" it appears to be supported by this ROM and gives a BT address. But since I do not have a controller, I cannot test farther or determine what the issue is.

                              Now when you say you have tried all the USB ports, what do you mean? With what? A USB dongle or something?

                              When I asked you that question I was thinking Joy Center APP which is made for USB controllers. So now I am confused a little about what your setup is?

                              Bob
                              "Pzebacz im, bo nie wiedzą, co czynią"
                              "Прости им, они не ведают, что творят"
                              "Perdona loro perché non sanno quello che fanno"
                              "Vergib ihnen, denn sie wissen nicht, was sie tun"
                              "Vergeef hen want ze weten niet wat ze doen"
                              "Pardonne-leur car ils ne savent pas ce qu'ils font"
                              "Perdónalos porque no saben que lo que hacen"
                              "Oprosti im, jer ne znaju što čine"
                              "Forgive them as they know not what they do"





                              Comment

                              Working...
                              X