[Q] MK802IIIS Android Stick + AX88179 kernel module compile - General Questions and Answers

ok so I got a lot of help here getting this compiled from this site, this is where I'm at.
I have this: BobjGear USB 3.0 SuperSpeed to RJ45 Gigabit Ethernet Adapter (on amazon)
and it has linux driver source I got from the manufacturer, but running into "version magic" problems starting with the "usbnet" driver in the official source (the driver requires this, plus its a good "test" to see if I can compile these things).
I have the NDK toolchain stuff and ran it against the git depository "linux-sunxi" (sorry can't post links yet )
It seems I'm missing the SMP support for this thing, and I'm not completely sure how to add that in
This is the dmesg on the successful compile: usbnet: version magic '3.0.8+ preempt mod_unload ARMv7 ' should be '3.0.8+ SMP preempt mod_unload ARMv7 ' '
Seems I'm close, just need SMP support to be loaded in. Any help would be appreciated. This is the command I ran to compile against this kernel:
Code:
make ARCH=arm CROSS_COMPILE=~/Downloads/android/android-ndk-r8d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- -C ~/Downloads/android/linux-sunxi/ -j4 modules

Someone has to know how to get this done lol, doesn't SEEM like it's hard and I've been poking around in menuconfig for some way to find this and it seems the git repository for linux-sunxi doesn't have SMP listed in it's kernel config, I've used both that and lichee-3.0.8-sun4i branches linux-sunxi 3.0 recommended branch to try to compile these modules (usbnet and ax88179_178a).
Again, this is a MK802IIIS with a usb ax88179 chipset gigabit ethernet adapter. The modules compile a-ok, but there is a version magic problem and I do believe it has to do with the lack of SMP support that seems to be nowhere to be found in this kernel source.

ax88179
hello, I wanna ask if somebody can help me to compile this Linux driver ax88179 for ainol novo7 venus 4.1.1 android version,3.4.0+

AX88179 simple method for installing on many device?
portacosmin said:
hello, I wanna ask if somebody can help me to compile this Linux driver ax88179 for ainol novo7 venus 4.1.1 android version,3.4.0+
Click to expand...
Click to collapse
I need same thing, i would like to create a driver of this ax88179 adapter that i could insert in all my rooted Android (4.x.x all) device, using if possible TWRP recovery.
Thanks in advance

any news on this??
desperately trying to find kernel for mk802iiis which supporty ax88179!!
any help appreciated!
thank you very much!

lord boeffla might help you guys

Still no compiled drivers for this chipset?
I have this USB adapter and would like to use it.
Anyone have the compiled Android drivers?

Wilsonb said:
I have this USB adapter and would like to use it.
Anyone have the compiled Android drivers?
Click to expand...
Click to collapse
I haven't worked on it since just getting a more compatible USB 10/100 mbit network adapter. It was really *****y and kind of a shame since would it would've been nice to take advantage of some gigabit speeds in my house. Maybe I'll pick it up again and try it for the heck of it. I think there might be more required kernel support for this thing to work that I simply didn't put together. If anyone has progress on this, it seems a lot of us have this adapter sitting around, there really needs to be some android driver builds.

Same here
I just picked up a Galaxy Tab Pro 12.2 along with an Aluratek ether net adapter/USB hub. Tried to download the driver directly from manufacturer, but it will not install. I know literally nothing about compiling drivers. Any and all help would REALLY be appreciated!

Related

[Q] does anyone have XOOM ftdi_sio.ko kernel driver?

Hi there,
did anybody build ftdi_sio kernel driver for XOOM? I desperately need it and I doesnt know how to compile it against xoom kernel.
my kernel version is:
Code:
Linux version 2.6.36.3-gc2bee64 ([email protected]) (gcc v
ersion 4.4.3 (GCC) ) #1 SMP PREEMPT Tue May 3 15:33:26 PDT 2011
If anyone has it or can do it for me, I would be very happy
jupiik said:
Hi there,
did anybody build ftdi_sio kernel driver for XOOM? I desperately need it and I doesnt know how to compile it against xoom kernel.
my kernel version is:
Code:
Linux version 2.6.36.3-gc2bee64 ([email protected]) (gcc v
ersion 4.4.3 (GCC) ) #1 SMP PREEMPT Tue May 3 15:33:26 PDT 2011
If anyone has it or can do it for me, I would be very happy
Click to expand...
Click to collapse
Tell me more about this module. We can likely add it to our kernel config.
that's the usb to serial i/o driver. Also known as pl2303 chipset support. It would go great with the bt5 mod. Would allow connection to ttl serial ports likethe ones in routers, phones, and NAS devices. I.d be glad to test it as I've got several pl2303 serial converters.
I'd like this too. Have several FTDI usb/serial devices.. but only used in Windows. Is there a terminal app that could talk to a virtual com port? I see FTDI even has pages devoted to Android!
+1
+1
i can test it if will be possible
I use FTDI on android with the RXTX library: v-lad.org/projects/gnu.io.android witch allows me to work only in java and this library creates input output streams for me. Its fine but my application has to actually instal ftdi_sio.ko to kernel every time it is running first time after reboot and for xoom I cannot even find this module and I dont know how to build one. It would be nice if there were some kernels supporting this so that it can be used straight away after pluging in usb2serial chip.
+1 for the USB to serial adapter support. I use these guys all the time with windows to talk to FPGAs and the sort. I'd be willing to test, possibly even assist with the work (though I've never successfully compiled a kernel before - I tried tiamat once).
Thanks.
OK guys ill cook this up. Nice to get to a "more experienced " user thread.
Ok guys, give this a run
http://goo.gl/MhIBX
The link to the driver is not working anymore. Would the driver work for the ICS stable version of the eos ROM?

[Q] tun.ko for kernel 2.6.36.3-g111d827

Hi,
I'm a totally new to android. Can anyone help me find a compiled tun.ko driver for kernel 2.6.36.3-g111d827. I am trying to get Cisco Anyconnect working on my Xoom without much success.
Any help will be appreciated.
Regards,
Donny
Here is tun.ko compiled specifically for vermagic=2.6.36.3-g111d827 SMP preempt mod_unload ARMv7 (that is, for kernel 2.6.36.3-g111d827, motorola xoom).
I've also included a version of the vpn connections APK. Even with the updated version of tun.ko (freshly compiled from git source), I couldn't get vpn connections to connect to the VPN to save my life with HTK75D. So I learned about VPNC-debug.apk and it works like a charm.
Good luck.
Sov

[DEV] LANYU 910 / Airpaid RK2918 - Kernel / ICS WorkInProgress

Working on porting ICS to the Lanyu 910 / X10 Airpad MID-910. I think the kernel sources used for the Pascal2 could possibly work with the 910 after some config changes.
Basically with the 910 we have no stock kernel source available for reference, no stock configuration, no detailed hardware inside the device.. We know it uses the rk2918 rockchip and I know it uses the SWL-2480 / Marvel 8686, simply from observing the identifying markings on the chip. Other than that, all we know is that it uses a 2.6.32 kernel with android 2.3, has an unknown 7" capacitive touch screen, unknown camera, etc. In order for ICS to work with the 910 we'll have to use a 3.0.8+ kernel or backport all of the required components from 3.x to our working 2.6.32 sources -however we don't have the patched sources for the stock firmware, so we are better off to just use 3.0.8 kernel that the source is available for on many rk2918 devices - of course we'd have to make configuration changes to our specific hardware, and possibly patch the sources with modified/new source code for our specific hardware (if we can obtain it).
Pascal 2 has a realtek based wireless chipset.. 910 uses the SWL-2940 / Marvel 8686, the module for this is also included in the kernel sources. The 910 has an unknown touchscreen, so the kernel for the pascal2 may or may not work with the touch screen settings. It is quiet difficult to work on the kernel without in depth knowledge of all the hardware. The 910 has Lanyu printed on the motherboard, and I'm not successful in finding any detailed hardware information for the board on the 910.
Also I am concerned with the memory mappings since the 910 only has 512mb ram and the pascal2 has 1GB+
Really wish these Chinese tablet manufacturers would follow the rules of GPL and release their source code, it would help A LOT with getting ICS to work with the 910.
As far as the rockchip and the ICS rom that vurrut has put together, I am almost 100% sure that the system.img that he used will work with the 910 as long as I get a working 3.0.8 kernel for ICS reconfigured/recompiled and implement some changes in the boot.img for the init services relating to hardware.
If anyone has the X10 airpad (rk2918 based) or the Lanyu 910 and has some important information regarding the internal hardware, please contact me with details, as I can probably get a working kernel for our device in a matter of hours.
Needed:
Gsensor/Accelerometer MFG/Model
Input Keys Controller - MFG/Model
Battery Sensor Chip - MFG/Model
TouchScreen/Display - MFG/Model
Other mainboard chipsets - MFG/Model (excluding RK2918 Rockchip SoC)
It would be of much help if there was someone here knows the MFG/Model of any of the above hardware, and it would also be a great help if anyone knows what linux kernel drivers are used for any of the components inside the 910.
When I was working with the Kindle Fire kernel I had found a very helpful information page on the internal parts of the device, with very detailed information - it was really helpful. I know that with these generic Chinese tablets finding such info may be much more difficult due to lack of interest and lack of popularity when compared to major brand tablets such as the Kindle Fire - but if anyone out there has ran across similar information it would give us GREAT progress in developing an ICS ROM for the 910. Here is a link to the breakdown of components in the Kindle Fire:
http://www2.electronicproducts.com/Amazon_Kindle_Fire_D01400_Tablet-whatsinside_text-123.aspx
The thread to the ICS ROM for Pacal 2 (rk2918) device is here: http://forum.xda-developers.com/showthread.php?t=1734181
A big thanks to Vurrut for all of his work! Hopefully we can use parts of his ROM to get ICS running on our Lanyu/Airpad!
Pls open a terminal, type "dmesg" and upload the log. Then we will see
If you have luck your build has also the kernel config file. You will find it under /proc/config.gz.
- Oma -
Oma7144 said:
Pls open a terminal, type "dmesg" and upload the log. Then we will see
If you have luck your build has also the kernel config file. You will find it under /proc/config.gz.
- Oma -
Click to expand...
Click to collapse
Do you honestly think I would be working on a Linux kernel without a knowledge of the existence of dmesg or config.gz? Did you also forget to remind me of adb shell logcat -d >> logcat.log ?
Sent from my A100 using xda premium
linuxsociety said:
Do you honestly think I would be working on a Linux kernel without a knowledge of the existence of dmesg or config.gz? Did you also forget to remind me of adb shell logcat -d >> logcat.log ?
Click to expand...
Click to collapse
Sry. You've been asking for touch, sensors etc.. In the named logs you will find all that.
- Oma -
Oma7144 said:
Sry. You've been asking for touch, sensors etc.. In the named logs you will find all that.
- Oma -
Click to expand...
Click to collapse
Only partial information can be obtained in this manner as it will only show what device modules are loaded, the information I was wanting was precise model information of the chipsets used in the tablet. And the config for the stock kernel is not included in procfs anyway as the developers must have not said =Y to CONFIG_IKCONFIG
Sent from my A100 using xda premium
]
Code:
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_I2C_LZ300 is not set
CONFIG_I2C_LZ300_ST=y
# CONFIG_I2C_SIS809 is not set
# CONFIG_INPUT_MISC is not set
CONFIG_INPUT_GPIO=y
#
# Magnetometer sensors
#
# CONFIG_COMPASS_AK8975 is not set
# CONFIG_COMPASS_AK8973 is not set
CONFIG_G_SENSOR_DEVICE=y
# CONFIG_GS_MMA7660 is not set
CONFIG_GS_MMA8452=y
# CONFIG_GS_L3G4200D is not set
# CONFIG_INPUT_JOGBALL is not set
# CONFIG_LIGHT_SENSOR_DEVICE is not set
With the Model (SIS809, MMA8452, AK8975 etc.) you have all what you need. This you will also find in the dmsg log.
That's enough to compile from sources.
Anyway.
- Oma -
Oma7144 said:
]
Code:
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_I2C_LZ300 is not set
CONFIG_I2C_LZ300_ST=y
# CONFIG_I2C_SIS809 is not set
# CONFIG_INPUT_MISC is not set
CONFIG_INPUT_GPIO=y
#
# Magnetometer sensors
#
# CONFIG_COMPASS_AK8975 is not set
# CONFIG_COMPASS_AK8973 is not set
CONFIG_G_SENSOR_DEVICE=y
# CONFIG_GS_MMA7660 is not set
CONFIG_GS_MMA8452=y
# CONFIG_GS_L3G4200D is not set
# CONFIG_INPUT_JOGBALL is not set
# CONFIG_LIGHT_SENSOR_DEVICE is not set
With the Model (SIS809, MMA8452, AK8975 etc.) you have all what you need. This you will also find in the dmsg log.
That's enough to compile from sources.
Anyway.
- Oma -
Click to expand...
Click to collapse
Mr. Oma, I am sorry but I think you may be in the wrong thread, the Lanyu 910 only shares one thing in common with the other common RK2918 based tablets, and that is the RK2918 its self, the rest of the hardware that makes up the full system is different on the 910/Airpad than the more popular tablets that are using the RK2918. For example you probably use a RTL based wifi chip in the config you are using also, where the 910/AP uses the SWL-2480 which uses a Marvel 8686 driver in the linux kernel or you can use the libertas driver in more recent kernels. What exactly is the config you pasted here from? At this point I know the internal hardware enough to get a proper config file for the 910/Airpad, however there are compile issues with certain components and without resolving the compile issues there is no kernel image going to be generated unless I disable the problems at hand in the config, if you want more up-to-date information then head over the the x10 forums and check the original thread for 910/AP kernel development: http://forums.x10.com/index.php?topic=27184.0
Have you seen this?
Here is another Tab using SWL-2480 (looks like an Aoson M12).
Here is another 3.0.8 source, originally from a Chinese Tab named Xinboa.
Maybe that helps.
- Oma -
Oma7144 said:
Have you seen this?
Here is another Tab using SWL-2480 (looks like an Aoson M12).
Here is another 3.0.8 source, originally from a Chinese Tab named Xinboa.
Maybe that helps.
- Oma -
Click to expand...
Click to collapse
I appreciate your effort in helping me find info, but I have already researched most the possibilities and am already aware of the sites you linked. The problems aren't finding hardware specs, the problem now is getting 3.0.8 sources to compile with the Airpads hardware selected in the configuration, as I posted in the x10 forum, it doesn't appear that any 3.0.8 kernels have been successfully compiled for other devices using the same board-config as the 910, in fact the link you specified with the swl-2480 is the only device that has similar hardware aside from the rk2918 that I have found. The wifi and audio both fail to compile with Ody.se sources. I have decided to put most of my work now into testing/development of Jelly Bean for the Acer Iconia Tab, as it doesn't seem that many others are interested in the 910/Airpad development. Thanks again
Ok.
Odys-Xpress sources? That's kernel 2.6.32.27, isn't it?
But try the sources from above link. Could search for that
A library for Marvell 8686 SDIO WLAN devices.
So far, the following modules have been verified:
(1) Samsung SWL-2480
(2) Azurewave AW-GH321
(3) USI WM-G-MR-09
(4) Murata SP-8HEP-P
I don't know if they will compile.
- Oma -
Oma7144 said:
Ok.
Odys-Xpress sources? That's kernel 2.6.32.27, isn't it?
But try the sources from above link. Could search for that
A library for Marvell 8686 SDIO WLAN devices.
So far, the following modules have been verified:
(1) Samsung SWL-2480
(2) Azurewave AW-GH321
(3) USI WM-G-MR-09
(4) Murata SP-8HEP-P
I don't know if they will compile.
- Oma -
Click to expand...
Click to collapse
They won't compile with 4.2.0 or 4.4.0 arm eabi toolchain in 3.0.8 sources, i tried them, since 3.0.8 it has been replaced with libertas instead of mv8686, i've done looked into all of it man
linuxsociety said:
They won't compile with 4.2.0 or 4.4.0 arm eabi toolchain in 3.0.8 sources, i tried them, since 3.0.8 it has been replaced with libertas instead of mv8686, i've done looked into all of it man
Click to expand...
Click to collapse
Use gcc 4.5.2 or higher.
- Oma -
Oma7144 said:
Use gcc 4.5.2 or higher.
- Oma -
Click to expand...
Click to collapse
I also tried gcc 4.6.2 and 4.6.3 natively setup with cross compile in Gentoo / Funtoo - I get the same same errors with the wifi and the audio as using the appropriate eabi-arm toolchains.. I tracked down the problems though, it is a dephell with major code changes in common headers. The headers that are included in the sources have changed from 2.6.32.27 and to 3.0.8 and porting everything up to current is quiet more code changes than I am willing to work on. Like I have said though, I am no longer working on this kernel for the generic devices 910/AP, I have more work on my slate now than I need working on the Acer Vangogh / Vendetta kernels for Jelly Bean to incorporate Tiny HAL and newer tegra changes keeping compatability with the only Acer source we have available. But at least I am not limited to products that aren't following the GPL appropriately, and the use of uncommon hardware that makes debugging damn near impossible. I almost have the Vangogh board and Acer specifics ported over to 3.1's grouper from the nexus project and it's much more smoother than working with that chinese developed tab
Ok, than have a good time!
Greetings to Southern Kentucky.
- Oma -
linuxsociety said:
If anyone has the X10 airpad (rk2918 based) or the Lanyu 910 and has some important information regarding the internal hardware, please contact me with details, as I can probably get a working kernel for our device in a matter of hours.
Click to expand...
Click to collapse
Here you go: eboda-TS, MV8686 WLAN, MMA8452Q Sensor, WM8988 Audio, ANX7150 HDMI, HYM8563 Clock, APX192 Powermgt.
Could you pls compile a kernel?
- Oma -

[Q] mk808b w/ mcs7832 lan adapter problem

hi all, i own a mk808b running finless 1.6a
I'm trying to use an ethernet adapter w/ chipset mcs7832 which is the late model of mcs7830.
I've found a driver that comes from a 8 years old "c" file and it doesn't run my mcs7832.
Now i've found the latest source code for this driver but i need someone to tell me how to compile this or compile it for me. (I 'd like to learn but i know you don't all have the time to play teacher)
here is the file
docs.google.com/file/d/0B5BbKwRj8UvHV3NHczdtOFhteTg/edit?usp=sharing

[Completed] Help with flashing updates to use a wireless usb adapter

I dunno what thread i should be putting this but here goes...
Is there anyone out here that can compile a kernel module with eeprom_93cx6, mac80211, rtl8187 and ath9k that i can flash update on my flare4 device? ( android lollipop 5.1, kernel v.3.10.65 ) I will be using those kernel module to use in kali linux and also make it work in Reaver. because the built in wifi device is not supported and i will need to use a external usb wifi adapter.
I know there's a ton of tutorials on how to compile a kernel module but i am always stuck at something and i can't make it work
If you guys can make a compiled kernel module mentioned above in which i can flash in my phone pls lemme know, i will be truly grateful.
tuksoil said:
I dunno what thread i should be putting this but here goes...
Is there anyone out here that can compile a kernel module with eeprom_93cx6, mac80211, rtl8187 and ath9k that i can flash update on my flare4 device? ( android lollipop 5.1, kernel v.3.10.65 ) I will be using those kernel module to use in kali linux and also make it work in Reaver. because the built in wifi device is not supported and i will need to use a external usb wifi adapter.
I know there's a ton of tutorials on how to compile a kernel module but i am always stuck at something and i can't make it work
If you guys can make a compiled kernel module mentioned above in which i can flash in my phone pls lemme know, i will be truly grateful.
Click to expand...
Click to collapse
Greetings and welcome to assist, Unfortunately this isn't the sort of thing we do, if you try posting your errors here
http://forum.xda-developers.com/android/help
the experts there will look at them for you
Good Luck
Sawdoctor

Categories

Resources