[FIX] [DRIVER] Kernel Module Pack V4

Search This thread

saturn_de

Senior Member
Jan 29, 2010
156
162
Here is kernel module pack version 4.

The modules should load without any problems.

If you need more drivers, PM me the module name or the .config changes.

Installing:
Create a directory /data/local/modules and copy the *.ko files to /data/local/modules via your method of choice (e.g., Root Explorer)

Fix for hangs/stalls/lags, because of background disk I/O
Code:
su 
cd /data/local/modules
insmod cfq-iosched.ko
echo cfq >/sys/block/mmcblk0/queue/scheduler

Modules for some Logitech Joysticks:
Code:
su
cd /data/local/modules
insmod ff-memless.ko
insmod hid-logitech.ko

Modules for IPSec VPN support:
Code:
su
cd /data/local/modules
insmod tun.ko
insmod ah4.ko
insmod xfrm_user.ko
insmod xfrm4_mode_tunnel.ko

Modules included are:
Code:
adi.ko
ah4.ko
cifs.ko
cfq-iosched.ko
deadline-iosched.ko
ff-memless.ko
gameport.ko
hid-logitech.ko
iforce.ko
ipip.ko
md4.ko
tun.ko
xfrm4_mode_tunnel.ko
xfrm_user.ko

The file config.txt in the zip archive is the actual .config used.

Howto build them?

  • Install chroot Ubuntu or any other distribution on your Prime.
  • chroot to the distribution
  • wget the kernel source from Asus
  • $ mkdir linux; cd linux
  • unpack the kernel source here
  • modify Makefile, Find the CFLAGS_MODULE line, add -fno-pic this flag to the end of the line: CFLAGS_MODULE = -fno-pic
  • $ zcat /proc/config.gz > .config
  • $ make oldconfig
  • modify .config or use "make menuconfig"
  • $ make -j5 modules
  • $ make modules_install
  • $ depmod -a
  • $ find /lib/modules/$(uname -r) -name '*.ko'

Module description:

+CONFIG_INET_XFRM_MODE_TUNNEL=m
+CONFIG_XFRM_USER=m
Support for IPsec user configuration interface used by native Linux tools.
Module: xfrm4_mode_tunnel.ko xfrm_user.ko

+CONFIG_NET_IPIP=m
IP tunneling
http://cateee.net/lkddb/web-lkddb/NET_IPIP.html
Module: ipip.ko

+CONFIG_INET_AH=m
Support for IPsec AH.
Module: ah4.ko

+CONFIG_TUN=m
http://cateee.net/lkddb/web-lkddb/TUN.html
TUN/TAP provides packet reception and transmission for user space programs. It can be viewed as a simple Point-to-Point or Ethernet device, which instead of receiving packets from a physical media, receives them from user space program and instead of sending packets via physical media writes them to the user space program.

+CONFIG_HID_LOGITECH=m
+CONFIG_INPUT_FF_MEMLESS=m
Modules for Logitech FF pads, wheels, joysticks
Module: ff-memless.ko hid-logitech.ko

+CONFIG_GAMEPORT=m
+CONFIG_JOYSTICK_ADI=m
Logitech ADI digital joysticks and gamepads
Might not be needed on the prime, because there is no gameport :)
Module: gameport.ko adi.ko

+CONFIG_JOYSTICK_IFORCE=m
http://cateee.net/lkddb/web-lkddb/JOYSTICK_IFORCE.html
vendor: 044f ("ThrustMaster, Inc."), product: a01c
vendor: 046d ("Logitech, Inc."), product: c281 ("WingMan Force")
vendor: 046d ("Logitech, Inc."), product: c291 ("WingMan Formula Force")
vendor: 05ef ("AVB, Inc. [anko?]"), product: 020a ("Top Shot Pegasus Joystick")
vendor: 05ef ("AVB, Inc. [anko?]"), product: 8884 ("Mag Turbo Force Wheel")
vendor: 05ef ("AVB, Inc. [anko?]"), product: 8888 ("Top Shot Force Feedback Racing Wheel")
vendor: 061c ("Act Labs, Ltd"), product: c084
vendor: 061c ("Act Labs, Ltd"), product: c0a4
vendor: 06f8 ("Guillemot Corp."), product: 0001
vendor: 06f8 ("Guillemot Corp."), product: 0003
vendor: 06f8 ("Guillemot Corp."), product: 0004
vendor: 06f8 ("Guillemot Corp."), product: a302
Module: iforce.ko

+CONFIG_CIFS=m
+CONFIG_CRYPTO_MD4=m
This is the client VFS module for the Common Internet File System (CIFS) protocol which is the successor to the Server Message Block (SMB) protocol, the native file sharing mechanism for most early PC operating systems. The CIFS protocol is fully supported by file servers such as Windows 2000 (including Windows 2003, NT 4 and Windows XP) as well by Samba (which provides excellent CIFS server support for Linux and many other operating systems). Limited support for OS/2 and Windows ME and similar servers is provided as well.
Module: cifs.ko md4.ko



ChangeLog:
v4:
  • cfq-iosched.ko
  • deadline-iosched.ko
v3:
  • added cifs.ko
v2:
  • stripped the modules from the debug symbols, package is much smaller now
 

Attachments

  • modules-v3.zip
    207.5 KB · Views: 1,216
  • modules-v4.zip
    224.6 KB · Views: 3,697
Last edited:

demandarin

Senior Member
Apr 7, 2010
7,021
2,038
Alexandria, Va
Any list as to what each of these new driver modules included goes with? are these like controller drivers or different/new USB drivers not included on stock prime. just trying to find out what each of them go to.
 

curreyr

Senior Member
Dec 1, 2011
152
49
kind of surprised to see:
# CONFIG_CRYPTO_DEV_TEGRA_AES is not set

My initial looking indicates that unless that's baked in, android might not make use of it :(
I'll research a bit more tho.

Should be useful when we can get custom ROMs in the oven!
 

saturn_de

Senior Member
Jan 29, 2010
156
162
Any list as to what each of these new driver modules included goes with? are these like controller drivers or different/new USB drivers not included on stock prime. just trying to find out what each of them go to.

Added some more information about the modules, what I could find quickly..
 

Dhyneland

Senior Member
Nov 29, 2007
237
56
Kansas City, Mo
This might not be the correct place for this and if so I apologize.

Is this thread about finding/compiling drivers for things so that they will work when plugged into the usb port on the keyboard dock? If so how would I go about making this usb headset work?

http://h10025.www1.hp.com/ewfrf/wc/...n&lc=en&product=4085832&task=prodinfoCategory

Again I am sorry if I have totally misunderstood the point of this thread. Thanks!
 

saturn_de

Senior Member
Jan 29, 2010
156
162
Fix for hangs/stalls/lags, because of background disk I/O
Code:
su 
cd /data/local/modules
insmod cfq-iosched.ko
echo cfq >/sys/block/mmcblk0/queue/scheduler
 
  • Like
Reactions: HOFFERN342

saturn_de

Senior Member
Jan 29, 2010
156
162
This might not be the correct place for this and if so I apologize.

Is this thread about finding/compiling drivers for things so that they will work when plugged into the usb port on the keyboard dock? If so how would I go about making this usb headset work?

http://h10025.www1.hp.com/ewfrf/wc/...n&lc=en&product=4085832&task=prodinfoCategory

Again I am sorry if I have totally misunderstood the point of this thread. Thanks!

Ok, boot your PC/Laptop from a Linux Live CD or a locally installed Linux. Log in, start a terminal, plug in the headset and show me the output of:

# dmesg | tail -20
# lsusb
# lsmod
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    Here is kernel module pack version 4.

    The modules should load without any problems.

    If you need more drivers, PM me the module name or the .config changes.

    Installing:
    Create a directory /data/local/modules and copy the *.ko files to /data/local/modules via your method of choice (e.g., Root Explorer)

    Fix for hangs/stalls/lags, because of background disk I/O
    Code:
    su 
    cd /data/local/modules
    insmod cfq-iosched.ko
    echo cfq >/sys/block/mmcblk0/queue/scheduler

    Modules for some Logitech Joysticks:
    Code:
    su
    cd /data/local/modules
    insmod ff-memless.ko
    insmod hid-logitech.ko

    Modules for IPSec VPN support:
    Code:
    su
    cd /data/local/modules
    insmod tun.ko
    insmod ah4.ko
    insmod xfrm_user.ko
    insmod xfrm4_mode_tunnel.ko

    Modules included are:
    Code:
    adi.ko
    ah4.ko
    cifs.ko
    cfq-iosched.ko
    deadline-iosched.ko
    ff-memless.ko
    gameport.ko
    hid-logitech.ko
    iforce.ko
    ipip.ko
    md4.ko
    tun.ko
    xfrm4_mode_tunnel.ko
    xfrm_user.ko

    The file config.txt in the zip archive is the actual .config used.

    Howto build them?

    • Install chroot Ubuntu or any other distribution on your Prime.
    • chroot to the distribution
    • wget the kernel source from Asus
    • $ mkdir linux; cd linux
    • unpack the kernel source here
    • modify Makefile, Find the CFLAGS_MODULE line, add -fno-pic this flag to the end of the line: CFLAGS_MODULE = -fno-pic
    • $ zcat /proc/config.gz > .config
    • $ make oldconfig
    • modify .config or use "make menuconfig"
    • $ make -j5 modules
    • $ make modules_install
    • $ depmod -a
    • $ find /lib/modules/$(uname -r) -name '*.ko'

    Module description:

    +CONFIG_INET_XFRM_MODE_TUNNEL=m
    +CONFIG_XFRM_USER=m
    Support for IPsec user configuration interface used by native Linux tools.
    Module: xfrm4_mode_tunnel.ko xfrm_user.ko

    +CONFIG_NET_IPIP=m
    IP tunneling
    http://cateee.net/lkddb/web-lkddb/NET_IPIP.html
    Module: ipip.ko

    +CONFIG_INET_AH=m
    Support for IPsec AH.
    Module: ah4.ko

    +CONFIG_TUN=m
    http://cateee.net/lkddb/web-lkddb/TUN.html
    TUN/TAP provides packet reception and transmission for user space programs. It can be viewed as a simple Point-to-Point or Ethernet device, which instead of receiving packets from a physical media, receives them from user space program and instead of sending packets via physical media writes them to the user space program.

    +CONFIG_HID_LOGITECH=m
    +CONFIG_INPUT_FF_MEMLESS=m
    Modules for Logitech FF pads, wheels, joysticks
    Module: ff-memless.ko hid-logitech.ko

    +CONFIG_GAMEPORT=m
    +CONFIG_JOYSTICK_ADI=m
    Logitech ADI digital joysticks and gamepads
    Might not be needed on the prime, because there is no gameport :)
    Module: gameport.ko adi.ko

    +CONFIG_JOYSTICK_IFORCE=m
    http://cateee.net/lkddb/web-lkddb/JOYSTICK_IFORCE.html
    vendor: 044f ("ThrustMaster, Inc."), product: a01c
    vendor: 046d ("Logitech, Inc."), product: c281 ("WingMan Force")
    vendor: 046d ("Logitech, Inc."), product: c291 ("WingMan Formula Force")
    vendor: 05ef ("AVB, Inc. [anko?]"), product: 020a ("Top Shot Pegasus Joystick")
    vendor: 05ef ("AVB, Inc. [anko?]"), product: 8884 ("Mag Turbo Force Wheel")
    vendor: 05ef ("AVB, Inc. [anko?]"), product: 8888 ("Top Shot Force Feedback Racing Wheel")
    vendor: 061c ("Act Labs, Ltd"), product: c084
    vendor: 061c ("Act Labs, Ltd"), product: c0a4
    vendor: 06f8 ("Guillemot Corp."), product: 0001
    vendor: 06f8 ("Guillemot Corp."), product: 0003
    vendor: 06f8 ("Guillemot Corp."), product: 0004
    vendor: 06f8 ("Guillemot Corp."), product: a302
    Module: iforce.ko

    +CONFIG_CIFS=m
    +CONFIG_CRYPTO_MD4=m
    This is the client VFS module for the Common Internet File System (CIFS) protocol which is the successor to the Server Message Block (SMB) protocol, the native file sharing mechanism for most early PC operating systems. The CIFS protocol is fully supported by file servers such as Windows 2000 (including Windows 2003, NT 4 and Windows XP) as well by Samba (which provides excellent CIFS server support for Linux and many other operating systems). Limited support for OS/2 and Windows ME and similar servers is provided as well.
    Module: cifs.ko md4.ko



    ChangeLog:
    v4:
    • cfq-iosched.ko
    • deadline-iosched.ko
    v3:
    • added cifs.ko
    v2:
    • stripped the modules from the debug symbols, package is much smaller now
    5
    2
    Version 2 now a lot smaller, because the debugging symbols have been removed.
    1
    Could you attach the .config you're using?

    Thanks

    It's in the zip-file ... "config.txt"
    1
    Did you explicitly use the NDK to cross-compile? Or did the package from Asus just work?

    Oh, and I didn't cross compile... I compiled natively on the Prime in a chrooted Ubuntu.