Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Want to try to compile drivers for you? Come here and I will try to do that. RK3066 devices

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Re: Want to try to compile drivers for you? Come here and I will try to do that. RK3066 devices

    Originally posted by markust View Post
    Hi Leolas,
    maybe you can try to compile the attached Linux driver for USB2.0-to-LAN adapters using the HG20F9 chipset. The good thing about this adapter is, that it is a real USB 2.0 device, so data rates of 100Mbps with 100-BASE-T are possible in contrast to most other cheap adapters that only support USB1.1.
    Unfortunately, there is no Android driver available so far.
    Thanks,
    Markus

    [ATTACH]2160[/ATTACH]
    Ok tomorrow i will try

    Ok i compiled it for you, no problems with this module:
    Code:
    leo@leo-EX38-DS5:~/android/kernel/omegamoon/HG20F9-master$ make
    make -C ~/android/kernel/omegamoon/rockchip-rk30xx-mk808/ SUBDIRS=/home/leo/android/kernel/omegamoon/HG20F9-master modules CROSS_COMPILE=/home/leo/android/kernel/omegamoon/rockchip-rk30xx-mk808/omegamoon/toolchain/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi- modules
    make[1]: se ingresa al directorio «/home/leo/android/kernel/omegamoon/rockchip-rk30xx-mk808»
      LD      /home/leo/android/kernel/omegamoon/HG20F9-master/built-in.o
      CC [M]  /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.o
    In file included from /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.c:41:0:
    /home/leo/android/kernel/omegamoon/HG20F9-master/axusbnet.c: In function 'rx_submit':
    /home/leo/android/kernel/omegamoon/HG20F9-master/axusbnet.c:321:22: warning: unused variable 'info' [-Wunused-variable]
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.mod.o
      LD [M]  /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.ko
    the module is inside this zip: http://cloud.freak-tab.de/public.php...dfd23e521bb58c RECOMPILED AGAIN.

    To install the module you must download, unzip and copy it to /system/lib/modules/ (You must use a ES file explorer or other root explorer capable of mount system RW)
    From the terminal emulator you must write "insmod /system/lib/modules/thenameofyourmodule.ko"
    Once you check if it works i can make a cwm zip who can install it with the module and a file in init.d so the module will load at each boot automatic.
    I hope it helps and please report if it works and in what stick works.

    Seems that this module is included in the stock mk808b kernel, cause when i tried to load it I get in dmesg:
    Code:
    Error: Driver 'asix' is already registered, aborting...
    So I supose It must be a asix chipset that are supported in the most sticks kernels, but if someone needs it here you can get it from here
    Last edited by leolas; 10 May 2013, 09:36.
    REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
    My devices:
    Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
    MK902 & MK902II(Sponsored by RKM)
    Beelink M8B & Beelink R89 (Sponsored by Beelink)
    Tronsmart VEGA S89H (Sponsored by
    Gearbest.com)
    MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
    Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
    Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

    Comment


      #47
      Originally posted by tonyz2897 View Post
      leolas,
      Any chance of the easycap dc60 linux driver working in android? I'd love to be able to record live tv to an external usb hdd. Here's the driver installation instructions for linux:
      The informations about the STK1160 based EasyCAP DC60 have a new home: http://linuxtv.org/wiki/index.php/Stk1160 I've put together all ...

      I put it in a folder and compressed it as a .zip because the .gz wasn't allowed as an attachment.

      Thanks!
      Compiled, it was designed to an old kernel so it references to smp_lock.h, only need to change this header for the new one smp.h and compilles well:
      Code:
      leo@leo-EX38-DS5:~/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9$ make
      Building
      make[1]: se ingresa al directorio «/home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src»
      make -C ~/android/kernel/omegamoon/rockchip-rk30xx-mk808/ M=/home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src CROSS_COMPILE=/home/leo/android/kernel/omegamoon/rockchip-rk30xx-mk808/omegamoon/toolchain/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi- modules
      make[2]: se ingresa al directorio «/home/leo/android/kernel/omegamoon/rockchip-rk30xx-mk808»
        CC [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap_main.o
        CC [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap_low.o
        CC [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap_sound.o
        CC [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap_ioctl.o
        CC [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap_settings.o
        CC [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap_testcard.o
        CC [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap_ioctlmess.o
        LD [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap.o
        Building modules, stage 2.
        MODPOST 1 modules
        CC      /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap.mod.o
        LD [M]  /home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src/easycap.ko
      make[2]: se sale del directorio «/home/leo/android/kernel/omegamoon/rockchip-rk30xx-mk808»
      make[1]: se sale del directorio «/home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/src»
      make[1]: se ingresa al directorio «/home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/tools»
      make[1]: se sale del directorio «/home/leo/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9/tools»
      leo@leo-EX38-DS5:~/android/kernel/omegamoon/drivers/easycap_dc60/easycap_dc60.0.9$
      The module and the binay trailer compressed in a zip with the bash scripts you may need to make it works:http://cloud.freak-tab.de/public.php...65a47f03c560af
      Sorry I cant tell you how it works, cause I dont have the device. You must load the module to make work the device, but how to use the bash scripts and the bin file trailer I don't know. I suppose you must use a apk designed to android to make work the usb video adaptor.
      REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
      My devices:
      Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
      MK902 & MK902II(Sponsored by RKM)
      Beelink M8B & Beelink R89 (Sponsored by Beelink)
      Tronsmart VEGA S89H (Sponsored by
      Gearbest.com)
      MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
      Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
      Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

      Comment


        #48
        Originally posted by rishidoshi View Post
        hola sir leolas
        any possibilities of making an external usb dvd drive work with mk808b?
        i have an HP HSTNN-PD06 usb drive. possible?
        thanks
        If you can search the linux source drivers for it i will try.
        REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
        My devices:
        Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
        MK902 & MK902II(Sponsored by RKM)
        Beelink M8B & Beelink R89 (Sponsored by Beelink)
        Tronsmart VEGA S89H (Sponsored by
        Gearbest.com)
        MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
        Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
        Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

        Comment


          #49
          Originally posted by leolas View Post
          Compiled, it was designed to an old kernel so it references to smp_lock.h, only need to change this header for the new one smp.h and compilles well:

          The module and the binay trailer compressed in a zip with the bash scripts you may need to make it works:http://cloud.freak-tab.de/public.php...65a47f03c560af
          Sorry I cant tell you how it works, cause I dont have the device. You must load the module to make work the device, but how to use the bash scripts and the bin file trailer I don't know. I suppose you must use a apk designed to android to make work the usb video adaptor.
          Leolas, Thanks for doing this!
          I just moved the module to /system/lib/modules, set permissions to rwxr-xr-x, and tried to insmod. This was the result.
          Code:
          u0_a61@android:/ # insmod /system/lib/modules/easycap.ko
          insmod: init_module '/system/lib/modules/easycap.ko' failed (No such file or directory)
          dmesg returned this.
          Code:
          <4>[ 1194.836527] easycap: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
          I'm not sure what to do from here. I have to work outside this afternoon but I will have more time to try to learn why it won't install this evening. I'm probably doing something wrong.

          Thanks again!

          Tony

          Comment


            #50
            Re: Want to try to compile drivers for you? Come here and I will try to do that. RK3066 devices

            Originally posted by tonyz2897 View Post
            Leolas, Thanks for doing this!
            I just moved the module to /system/lib/modules, set permissions to rwxr-xr-x, and tried to insmod. This was the result.
            Code:
            u0_a61@android:/ # insmod /system/lib/modules/easycap.ko
            insmod: init_module '/system/lib/modules/easycap.ko' failed (No such file or directory)
            dmesg returned this.
            Code:
            <4>[ 1194.836527] easycap: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
            I'm not sure what to do from here. I have to work outside this afternoon but I will have more time to try to learn why it won't install this evening. I'm probably doing something wrong.

            Thanks again!

            Tony
            Ok then i must recompile them again something was wrong. I will try it tomorrow.
            REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
            My devices:
            Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
            MK902 & MK902II(Sponsored by RKM)
            Beelink M8B & Beelink R89 (Sponsored by Beelink)
            Tronsmart VEGA S89H (Sponsored by
            Gearbest.com)
            MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
            Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
            Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

            Comment


              #51
              Originally posted by leolas View Post
              Ok then i must recompile them again something was wrong. I will try it tomorrow.
              Leolas,
              When I searched the result from dmesg I found this:
              If the argument CFLAGS_MODULE=-fno-pic is left off of the make modules command, the modules will build but will fail to install without explanation. The dmesg command will show:
              Code:
              isofs: Unknown symbol _Global_Offset_Table_ (err 0)
              I don't know enough to know if this is applies since it is related to compiling different modules but the circumstances of the failure to install are identical so I thought it may help. Here is a link to the thread in case it turns out to be relevent.
              thriveforums.org ist die beste Quelle für alle Informationen die Sie suchen. Von allgemeinen Themen bis hin zu speziellen Sachverhalten, finden Sie auf thriveforums.org alles. Wir hoffen, dass Sie hier das Gesuchte finden!


              Thanks again,
              Tony

              Comment


                #52
                Originally posted by tonyz2897 View Post
                Leolas,
                When I searched the result from dmesg I found this:


                I don't know enough to know if this is applies since it is related to compiling different modules but the circumstances of the failure to install are identical so I thought it may help. Here is a link to the thread in case it turns out to be relevent.
                thriveforums.org ist die beste Quelle für alle Informationen die Sie suchen. Von allgemeinen Themen bis hin zu speziellen Sachverhalten, finden Sie auf thriveforums.org alles. Wir hoffen, dass Sie hier das Gesuchte finden!


                Thanks again,
                Tony
                Yes it is happening to me some times, some days ago I upgrade my linux distro to ubuntu 13.04 and something was wrong, result I loose all and I installed ubuntu from a usb, I must miss some step at install so I must check where is the fail. Triying to check some things and compile them again

                Ok I compiled it again and all ok, now the module loads without problems in my mk808b, but i cant test it cause i dont have the device.
                here is it:http://cloud.freak-tab.de/public.php...8071f9d4420073

                And thanks a lot for the tip I had the -fno-pic flagg enabled in the driver but sometimes when I compile some driver with the kernel sources dirty, I compiled the kernel sources almost all days changing some things on it (i am trying to make mk808b internal wifi works in custom kernels) and those sources additions are no goods for compile drivers. The issue happens to me usually when I don't use a clean kernel compilation. Dont know why but it happens.
                Last edited by leolas; 10 May 2013, 09:20.
                REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                My devices:
                Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                MK902 & MK902II(Sponsored by RKM)
                Beelink M8B & Beelink R89 (Sponsored by Beelink)
                Tronsmart VEGA S89H (Sponsored by
                Gearbest.com)
                MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                Comment


                  #53
                  How to install the modules:

                  I will train to explain it step by step and very clear. I cant mod a whole rom to add a only module. Its not so difficult, but it spend all my time to do it and I prefer try to explain how to make the things. I am writing a guide for terminal emulator so it cant help a lot of people to use our android system and modify some things without problems. You must be root to use some of this commands. Here are the basics:

                  Install a module in android or linux is like install a driver in windows, and is very simple you only need to install from market a terminal emulator apk, is a command line for android it is open source so a free apk and you can install it from market or download from http://jackpal.github.com/Android-Te...loads/Term.apk

                  Once the terminal emulator is installed you only need to copy the module to the stick, for example to the sdcard, So we will supposed that we have the file mouse.ko and we want to copy this module to /system/lib/modules/ give it the correct permissions and load it, so open terminal emulator and write:


                  Code:
                  [FONT=Verdana]su[/FONT]
                  [FONT=Verdana]mount -o remount,rw /system
                  [/FONT]cp /sdcard/mouse.ko /system/lib/modules/mouse.ko
                  chmod 644 /system/lib/modules/mouse.ko
                  insmod /system/lib/modules/mouse.ko
                  You only need to change mouse.ko for the name of your module. The module must be loaded, I will write how identify the fail in the next days and how to make the modules instaled automatic in each boot with init.d


                  Now for those who want to know how make it, some utils explication of comands in android or linux:

                  Load or unload modules, mount partition, write in system folders, etc... must be done by the superuser or root user, so we must have root enabled in our sticks to load modules, if you are not root you cant, but all customs rom I know are rooted by default, so dont worry about it
                  To make us root in terminal emulator we must write:
                  Code:
                  su
                  Now we are superuser, so we must act with care.

                  To load (install) a module:
                  insmod /path/to/the/module/yourmodulename.ko
                  for example we want to install mouse.ko and the file is in the folder /system/lib/modules/ (this the depault path for the modules in android). so i will write:
                  Code:
                  insmod /system/lib/modules/mouse.ko
                  Simple, isn't?

                  If we want to copy a module to the default folder where the modules must be, we have some little problems, the /system folder is mounted by default in read only, so we or aplications without root permission access cant write in this folder by default, It is a safety precaution so if we want to write or modify our system folder we must write in terminal emulator:
                  Code:
                  mount -o remount,rw /system
                  With this we can modify our system folder, we must use it with care, now we can erase the whole system if we want.

                  In terminal emulator or linux to copy a file the comand is "cp origin/nameofthefile.extension destination/newnameofthefile.newextension"
                  So if we want to copy the file mouse.ko who is in /sdcard/ folder to /system/lib/modules/ we only need to write:
                  Code:
                  cp /sdcard/mouse.ko /system/lib/modules/mouse.ko
                  In android the file have permissions right and we can change the from terminal. If you want to know more for permissions you can see at: http://www.zzee.com/solutions/linux-permissions.shtml but in basic we have 3 groups: owner, group, and other and 3 types of permision read, write and execution. so we have a 3x3 table like:



                  Read Write Execution
                  Owner r w x
                  Group r w x
                  Other r w x

                  So if we see that a file has permissions rwx rw- r-- This means that in file the owner can read write and execute it, the group of the user can only read and write and other users can only reads the file.
                  The permission for the files are associated to binary numbers so :
                  This table shows what numeric values mean:
                  0 --- 000 All types of access are denied
                  1 --x 001 Execute access is allowed only
                  2 -w- 010 Write access is allowed only
                  3 -wx 011 Write and execute access are allowed
                  4 r-- 100 Read access is allowed only
                  5 r-x 101 Read and execute access are allowed
                  6 rw- 110 Read and write access are allowed
                  7 rwx 111 Everything is allowed

                  If you want to give a file permissions rwx rw- r-- you have 764, rwx=7 rw-=6 and r--=4 cause and the command to do that is chmod so we must write "chmod 764 file.ext" to give a file this permissions.
                  Last edited by leolas; 10 May 2013, 12:10.
                  REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                  My devices:
                  Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                  MK902 & MK902II(Sponsored by RKM)
                  Beelink M8B & Beelink R89 (Sponsored by Beelink)
                  Tronsmart VEGA S89H (Sponsored by
                  Gearbest.com)
                  MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                  Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                  Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                  Comment


                    #54
                    Originally posted by leolas View Post
                    Ok tomorrow i will try

                    Ok i compiled it for you, no problems with this module:
                    Code:
                    leo@leo-EX38-DS5:~/android/kernel/omegamoon/HG20F9-master$ make
                    make -C ~/android/kernel/omegamoon/rockchip-rk30xx-mk808/ SUBDIRS=/home/leo/android/kernel/omegamoon/HG20F9-master modules CROSS_COMPILE=/home/leo/android/kernel/omegamoon/rockchip-rk30xx-mk808/omegamoon/toolchain/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi- modules
                    make[1]: se ingresa al directorio «/home/leo/android/kernel/omegamoon/rockchip-rk30xx-mk808»
                      LD      /home/leo/android/kernel/omegamoon/HG20F9-master/built-in.o
                      CC [M]  /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.o
                    In file included from /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.c:41:0:
                    /home/leo/android/kernel/omegamoon/HG20F9-master/axusbnet.c: In function 'rx_submit':
                    /home/leo/android/kernel/omegamoon/HG20F9-master/axusbnet.c:321:22: warning: unused variable 'info' [-Wunused-variable]
                      Building modules, stage 2.
                      MODPOST 1 modules
                      CC      /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.mod.o
                      LD [M]  /home/leo/android/kernel/omegamoon/HG20F9-master/HG20F9.ko
                    the module is inside this zip: http://cloud.freak-tab.de/public.php...dfd23e521bb58c RECOMPILED AGAIN.

                    To install the module you must download, unzip and copy it to /system/lib/modules/ (You must use a ES file explorer or other root explorer capable of mount system RW)
                    From the terminal emulator you must write "insmod /system/lib/modules/thenameofyourmodule.ko"
                    Once you check if it works i can make a cwm zip who can install it with the module and a file in init.d so the module will load at each boot automatic.
                    I hope it helps and please report if it works and in what stick works.

                    Seems that this module is included in the stock mk808b kernel, cause when i tried to load it I get in dmesg:
                    Code:
                    Error: Driver 'asix' is already registered, aborting...
                    So I supose It must be a asix chipset that are supported in the most sticks kernels, but if someone needs it here you can get it from here
                    Hi Leolas,

                    thanks for compiling the driver! However, at "insmod" I am getting a strange error message I already got earlier:

                    insmod: init_module '/system/lib/modules/HG20F9.ko' failed (Device or resource busy)

                    see also here: http://www.freaktab.com/showthread.p...ll=1#post54838

                    I am still on Finless ROM 1.6. Any idea what´s wrong?

                    Comment


                      #55
                      Re: Want to try to compile drivers for you? Come here and I will try to do that. RK3066 devices

                      Originally posted by markust View Post
                      Hi Leolas,

                      thanks for compiling the driver! However, at "insmod" I am getting a strange error message I already got earlier:

                      insmod: init_module '/system/lib/modules/HG20F9.ko' failed (Device or resource busy)

                      see also here: http://www.freaktab.com/showthread.p...ll=1#post54838

                      I am still on Finless ROM 1.6. Any idea what´s wrong?
                      I supose you copied the ko file in /system/lib/modules/ and you give it the correct permissions rw- r-- r--

                      Please can you make some test to check?

                      -Download terminal emulator for market,open it, and type su, superuser will ask about permissions for root, give them to it, put Ethernet and WiFi off, and then power off the stick.
                      Now boot the stick with the usb-Ethernet adapter plugged.
                      Wait untill bot finish.
                      Open terminal emulator, type:
                      su
                      dmesg>/sdcard/dmesg1.txt
                      lsmod>/sdcard/lsmod1.txt
                      insmod /system/lib/modules/HG20F9.ko
                      dmesg>/sdcard/dmesg2.txt
                      lsmod>/sdcard/lsmod2.txt
                      iwconfig>/sdcard/iwconfig.txt
                      lsusb>/sdcard/lsusb.txt

                      Give me the 6 txt files. And if you have a Linux machine, or you can try to run a livecd with ubuntu, please tell it to me too.
                      I will try to help with this info.
                      REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                      My devices:
                      Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                      MK902 & MK902II(Sponsored by RKM)
                      Beelink M8B & Beelink R89 (Sponsored by Beelink)
                      Tronsmart VEGA S89H (Sponsored by
                      Gearbest.com)
                      MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                      Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                      Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                      Comment


                        #56
                        Originally posted by leolas View Post
                        I supose you copied the ko file in /system/lib/modules/ and you give it the correct permissions rw- r-- r--

                        Please can you make some test to check?

                        -Download terminal emulator for market,open it, and type su, superuser will ask about permissions for root, give them to it, put Ethernet and WiFi off, and then power off the stick.
                        Now boot the stick with the usb-Ethernet adapter plugged.
                        Wait untill bot finish.
                        Open terminal emulator, type:
                        su
                        dmesg>/sdcard/dmesg1.txt
                        lsmod>/sdcard/lsmod1.txt
                        insmod /system/lib/modules/HG20F9.ko
                        dmesg>/sdcard/dmesg2.txt
                        lsmod>/sdcard/lsmod2.txt
                        iwconfig>/sdcard/iwconfig.txt
                        lsusb>/sdcard/lsusb.txt

                        Give me the 6 txt files. And if you have a Linux machine, or you can try to run a livecd with ubuntu, please tell it to me too.
                        I will try to help with this info.
                        Yes, permissions of the HG20F9.ko are set to 644.

                        One thing I have to add: When typing "su" in terminal emulator, it doesn´t ask me for permission any more. But I had this already installed and remember I gave permission earlier, probably there was an option "don´t ask me again" which I clicked then. It confirms "su rights granted" though after "su" command.

                        I don´t have a Linux PC, unfortunately, but I have dumped the 6 files you requested:

                        HG20F9 debug.zip

                        Thanks for your help!

                        P.S.: Just noticed that "iwconfig" file is empty, piping into the files doesn´t seem to work, instead the result is displayed on my screen:

                        lo no wireless extensions.
                        sit0 no wireless extensions.
                        ip6tnl0 no wireless extensions.
                        Last edited by markust; 12 May 2013, 15:47.

                        Comment


                          #57
                          Originally posted by markust View Post
                          Yes, permissions of the HG20F9.ko are set to 644.

                          One thing I have to add: When typing "su" in terminal emulator, it doesn´t ask me for permission any more. But I had this already installed and remember I gave permission earlier, probably there was an option "don´t ask me again" which I clicked then. It confirms "su rights granted" though after "su" command.

                          I don´t have a Linux PC, unfortunately, but I have dumped the 6 files you requested:

                          [ATTACH]2202[/ATTACH]

                          Thanks for your help!

                          P.S.: Just noticed that "iwconfig" file is empty, piping into the files doesn´t seem to work, instead the result is displayed on my screen:

                          lo no wireless extensions.
                          sit0 no wireless extensions.
                          ip6tnl0 no wireless extensions.
                          I am modding a rom actually but i will take a look soon.


                          PS: ok I take a look on it and the axis driver is integrated in the kernel, you can see it in dmesg:
                          Code:
                          <6>[    1.027314] usbcore: registered new interface driver asix
                          So that is why it cant be loaded again and fails to load it.
                          I see in dmesg that you use a usb hub, can you try to connect the usb-ethernet device without the hub and see if it works?
                          REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                          My devices:
                          Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                          MK902 & MK902II(Sponsored by RKM)
                          Beelink M8B & Beelink R89 (Sponsored by Beelink)
                          Tronsmart VEGA S89H (Sponsored by
                          Gearbest.com)
                          MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                          Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                          Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                          Comment


                            #58
                            Originally posted by leolas View Post
                            I am modding a rom actually but i will take a look soon.


                            PS: ok I take a look on it and the axis driver is integrated in the kernel, you can see it in dmesg:
                            Code:
                            <6>[    1.027314] usbcore: registered new interface driver asix
                            So that is why it cant be loaded again and fails to load it.
                            I see in dmesg that you use a usb hub, can you try to connect the usb-ethernet device without the hub and see if it works?
                            Actually, I had disconnected the USB hub for this test and connected the Ethernet adapter directly. Interesting that the USB hub still appears in dmesg though it was disconnected.

                            Also interesting, that there is a conflict with an asix driver, as this USB-to-Ethernet adapter does not use an asix chipset. What would be needed to resolve that conflict? Or can I exchange the built-in asix driver with your new compiled HG20F9.ko?

                            Comment


                              #59
                              Originally posted by markust View Post
                              Actually, I had disconnected the USB hub for this test and connected the Ethernet adapter directly. Interesting that the USB hub still appears in dmesg though it was disconnected.

                              Also interesting, that there is a conflict with an asix driver, as this USB-to-Ethernet adapter does not use an asix chipset. What would be needed to resolve that conflict? Or can I exchange the built-in asix driver with your new compiled HG20F9.ko?
                              The drivers you give me shows this conflict, I am not a coder guy, I can repair some dependencies and build the driver, but modify the sources... About remove your actual axis controler, it is integrated in the kernel so no way to make it at least a new kernel is compiled.

                              Are you sure that those sources are for your device?

                              Code:
                              <6>[    1.674370] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
                              <6>[    1.681150] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
                              <6>[    1.688375] usb usb2: Product: DWC OTG Controller
                              <6>[    1.693083] usb usb2: Manufacturer: Linux 3.0.8+ host20_hcd
                              <6>[    1.698651] usb usb2: SerialNumber: usb20_host
                              <6>[    1.703418] hub 2-0:1.0: USB hub found
                              <6>[    1.707174] hub 2-0:1.0: 1 port detected
                              This is cause I tell you that you was using a hub, but forget it, It is normal and not a hub device is the otg port
                              REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                              My devices:
                              Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                              MK902 & MK902II(Sponsored by RKM)
                              Beelink M8B & Beelink R89 (Sponsored by Beelink)
                              Tronsmart VEGA S89H (Sponsored by
                              Gearbest.com)
                              MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                              Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                              Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                              Comment


                                #60
                                Originally posted by leolas View Post
                                Are you sure that those sources are for your device?
                                Pretty sure. I took them directly from the CD that came with the adapter. I also used the Windows driver from the same CD which worked great and performance measured under Windows was great, definitely USB2.0 and not throttled to 6Mbps due to USB1.1.

                                Comment

                                Working...
                                X