[Q] Compile XPAD.KO for Mele A1000G (Kernel 3.3) - Android Q&A, Help & Troubleshooting

Hello,
I want to compile XPAD.KO for Mele A1000G Kernel 3.3
https://github.com/amery/linux-sunxi/tree/import/lichee-3.3/a31-dev
But I´m not quit sure what tools to install under Ubuntu to compile it? I treid to use several guides but all of them seems to be outdated?
Thanks for help

Would also like some information on this. I am wanting to compile xpad.ko for my allwinner a10 device. I want the latest xpad that has support for 3rd party controllers such as my Razer TE, but working for my kernel version. Or information as to how to update my current xpad.ko with vid and pid of this controller. If I get this figured out I will post back to help others.

Related

[Q] How to create a Tun/Tap Driver?

Hi guys,
I don't think that there is a Tun/Tap driver for my Chinatablet U9GT-2 with Android 2.3.1. It has an ARM-Processor and uses the Kernel Version 2.6.32.27.
So I'm looking for a way to build the driver by myself. I've root on the tablet and also a terminal emulator.
So is there a tutorial? Because I'm a linux noob
Thanks guys

[Q] Archos 70 IT kernel modules

Hi,
I have the Archos 70 IT tablet running od Android 2.2 Froyo and USB tuner AverTV Hybrid Volar HX A827. I would like to watching DVB-T using mumudvb (as desribed here) or using LiveTV.
Today, I installed drivers from Avermedia to Ubuntu 9.10. So I have both kernel modules "h826d.ko" and "averusbh826d.ko" for tuner, but I am not possible to put its in my Android tablet via insmod - it says something about incompatibility. How can I compile these kernel modules for Linux to kernel modules for Android?
I really want to play DVB-T in my tablet - in school, home etc. Thank you very much !!!
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
motylu said:
Hi,
I have the Archos 70 IT tablet running od Android 2.2 Froyo and USB tuner AverTV Hybrid Volar HX A827. I would like to watching DVB-T using mumudvb (as desribed here) or using LiveTV.
Today, I installed drivers from Avermedia to Ubuntu 9.10. So I have both kernel modules "h826d.ko" and "averusbh826d.ko" for tuner, but I am not possible to put its in my Android tablet via insmod - it says something about incompatibility. How can I compile these kernel modules for Linux to kernel modules for Android?
I really want to play DVB-T in my tablet - in school, home etc. Thank you very much !!!
Click to expand...
Click to collapse
Nobody help me?

Are HTC ICS DVB-T Modules (.ko files) available ?

I'm trying to get together all the files I need to have a go at getting a DVB-T tuner working with the 3D - I have all the DVB-T modules, but for a lower kernel revision, and from what I've read they probably wont work with this kernel.
I'm really not looking forward to compiling these myself as I use Windows 7 and am aware that there are issues with compiling Linux on a Windows system and being new to Android/Linux cross compiling I could cause myself more problems than I solve.
So the question is, has anyone got info on a repository for these modules compiled for ICS at our kernel revision?

[Q] USB Ethernet adapter / Can't build MCS7830 kernel module

Hi everyone!
I have a rooted Galaxy S2 i9100 with ICS 4.0.3
Kernel version is 3.0.31-Siyah-s2-v5.0.1+
I just bought a USB-ethernet adapter, and I'm trying to make it work with my i9100.
The chipset on the adapter is a MCS7830, and I found the drivers for Linux kernel 3.x here:
( asix.com.tw / FrootAttach / driver / MCS783x_Linux_driver_v1.11.zip ) - sorry, I can't post links yet.
When I plug the adapter, the android recognizes it, but it doesn't generate an eth0 nor an usb0 connection on netcfg.
I've found on other threads that it could be a driver fault, and a possible solution would be to build these drivers as a kernel module. Is it possible? I'm trying to build a .ko module for it, but I still can't even handle the "hello_world.ko". I'd really appreciate and be thankful if someone could build a .ko for this driver.
Thank you in advance!
Any ideas?
Just to let you guys know, I just did it. I'll try to post a tutorial as soon as possible to help people that might have faced the same issues with similar dongles.
I recompiled the needed drivers as modules ("make modules") with the ARM compiler that comes with the Android NDK;
Set up the .config and Makefile from SiyahKernel 5.0.1+ with some values;
Pushed the modules to my phone and loaded manually the modules.
Siyah Kernel actually has many drivers (including other usb-ethernet chipsets)! Learning how to compile specific drivers as modules might be useful for many people.
nice to know that there is someone how found a solution. please post a detailed tutorial! I am desperately trying to get this work for 3 weeks now, without success. i ordered different usb-ethernet-adapters from amazon, i have just 5 days left to send them all back...
a tutorial would be very helpful! btw: does your solution only work with the siyah-kernel or with every kernel on a rooted phone?
thanx in advance, alex
mc.escher said:
Just to let you guys know, I just did it. I'll try to post a tutorial as soon as possible to help people that might have faced the same issues with similar dongles.
I recompiled the needed drivers as modules ("make modules") with the ARM compiler that comes with the Android NDK;
Set up the .config and Makefile from SiyahKernel 5.0.1+ with some values;
Pushed the modules to my phone and loaded manually the modules.
Siyah Kernel actually has many drivers (including other usb-ethernet chipsets)! Learning how to compile specific drivers as modules might be useful for many people.
Click to expand...
Click to collapse

[Q] Compiling a kernal module from stage 1

Hi
Could anybody point me in the direction of sourcing, locating and compiling a kernel module please? I have found many guides but they all seem to start halfway in the process ("assuming you have already managed to...", "assuming you are already proficient with...")
I have a cheap Android Chinese TV box. It came without joydev.ko so I can't use it with joypads/sticks, which is a pretty big limitation considering it has 4 usb ports which work fine with keyboards, mice and webcams.
I already have an Eclipse environemt set up which I use for Java/Android development but I've never dabbled with anything like this before.
I guess the steps required are something like this:
Locate source code for my particular Android version (Android 4.2.2, Kernel 3.3.0) - where do I do that? Do I need the entire source or can I just download and compile the module by itself?
Set up the cross compiler - is this a standard thing, or does it depend on my hardware? My chipset is an Allwinner A20 ARM Cortex-A7(Dual Core)
Compile the module.
So, have I got the steps right? If not, please correct me. If so.... how do I go about doing the above?

Categories

Resources