[FIX] [DRIVER] Kernel Module Pack V4

Search This thread

benefit14snake

Senior Member
Dec 23, 2011
819
174
Henrico, VA
So after you put the modules in the directory its installed? Do I have to restart? I am mainly interested in the io module. Please advise.


Sent from my Transformer Prime TF201 using Tapatalk
 

Phoneguy589

Senior Member
May 1, 2011
1,859
332
S.E. Florida
When i make the folder it puts a star on the folder and I can't copy files into it. I am using root explorer. Any suggestions would be great.

Sent from my Transformer Prime TF201 using xda premium
 

beavertank

Senior Member
Nov 29, 2010
83
16
Ypsilanti
There appears to be an issue with cifs.ko, within a couple hours of insmodding it Google services will begin to continuously force close.
 

Dhyneland

Senior Member
Nov 29, 2007
237
56
Kansas City, Mo
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

I get this..
Code:
root@localhost:~# dmesg | tail -30
[ 2327.242125] tegra_usb_resume-
[ 2329.278379] tegra_usb_suspend+
[ 2329.279268] tegra->phy->instance=2
[ 2329.280091] tegra_usb_suspend: before ehci_halt
[ 2329.281586] tegra_usb_suspend: after ehci_halt, ret = 0
[ 2329.282521] tegra_usb_suspend-
[ 2331.468155] tegra_watchdog_touch
[ 2331.471079] nct1008_get_temp: ret temp=27C 
[ 2336.477966] tegra_watchdog_touch
[ 2336.478759] nct1008_get_temp: ret temp=27C 
[ 2341.487995] tegra_watchdog_touch
[ 2341.488753] nct1008_get_temp: ret temp=27C 
[ 2346.498184] tegra_watchdog_touch
[ 2346.501430] nct1008_get_temp: ret temp=27C 
[ 2351.508029] tegra_watchdog_touch
[ 2351.508772] nct1008_get_temp: ret temp=28C 
[ 2356.518132] tegra_watchdog_touch
[ 2356.526672] nct1008_get_temp: ret temp=27C 
[ 2360.094532] tegra_usb_resume+
[ 2360.096056] tegra->phy->instance=2
[ 2360.138431] tegra_usb_resume-
[ 2360.389745] usb 1-1.2: new full speed USB device number 17 using tegra-ehci
[ 2360.436821] usb 1-1.2: New USB device found, idVendor=03f0, idProduct=8c07
[ 2360.437490] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2360.438806] usb 1-1.2: Product: HP Digital Stereo Headset
[ 2360.439754] usb 1-1.2: Manufacturer: HP
[ 2360.460607] input: HP HP Digital Stereo Headset as /devices/platform/tegra-ehci.2/usb1/1-1/1-1.2/1-1.2:1.3/input/input15
[ 2360.461786] generic-usb 0003:03F0:8C07.000A: input: USB HID v1.00 Device [HP HP Digital Stereo Headset] on usb-tegra-ehci.2-1.2/input3
[ 2361.529401] tegra_watchdog_touch
[ 2361.530893] nct1008_get_temp: ret temp=28C
root@localhost:~# lsusb
root@localhost:~# lsmod
Module                  Size  Used by
bcm4329               207334  0 
texfat                111859  0 
tntfs                 359222  0
root@localhost:~#
 
Last edited:
  • Like
Reactions: jedi5diah

ddarvish

Senior Member
Dec 20, 2009
420
37
I was wondering and would love you forever if you can add support for Apple Bluetooth keyboard and BT magic mouse. they both pair with the tablet but neither does anything as far as input goes.. i can pair them with my galaxy nexus and both work perfectly so i am sure it is some sort of weird driver issue. It would be amazing if you could make this work asap


thanks
 

saturn_de

Senior Member
Jan 29, 2010
156
162
I said PC/Laptop with Linux... not on the ATP.

I get this..
Code:
root@localhost:~# dmesg | tail -30
[ 2327.242125] tegra_usb_resume-
[ 2329.278379] tegra_usb_suspend+
[ 2329.279268] tegra->phy->instance=2
[ 2329.280091] tegra_usb_suspend: before ehci_halt
[ 2329.281586] tegra_usb_suspend: after ehci_halt, ret = 0
[ 2329.282521] tegra_usb_suspend-
[ 2331.468155] tegra_watchdog_touch
[ 2331.471079] nct1008_get_temp: ret temp=27C 
[ 2336.477966] tegra_watchdog_touch
[ 2336.478759] nct1008_get_temp: ret temp=27C 
[ 2341.487995] tegra_watchdog_touch
[ 2341.488753] nct1008_get_temp: ret temp=27C 
[ 2346.498184] tegra_watchdog_touch
[ 2346.501430] nct1008_get_temp: ret temp=27C 
[ 2351.508029] tegra_watchdog_touch
[ 2351.508772] nct1008_get_temp: ret temp=28C 
[ 2356.518132] tegra_watchdog_touch
[ 2356.526672] nct1008_get_temp: ret temp=27C 
[ 2360.094532] tegra_usb_resume+
[ 2360.096056] tegra->phy->instance=2
[ 2360.138431] tegra_usb_resume-
[ 2360.389745] usb 1-1.2: new full speed USB device number 17 using tegra-ehci
[ 2360.436821] usb 1-1.2: New USB device found, idVendor=03f0, idProduct=8c07
[ 2360.437490] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2360.438806] usb 1-1.2: Product: HP Digital Stereo Headset
[ 2360.439754] usb 1-1.2: Manufacturer: HP
[ 2360.460607] input: HP HP Digital Stereo Headset as /devices/platform/tegra-ehci.2/usb1/1-1/1-1.2/1-1.2:1.3/input/input15
[ 2360.461786] generic-usb 0003:03F0:8C07.000A: input: USB HID v1.00 Device [HP HP Digital Stereo Headset] on usb-tegra-ehci.2-1.2/input3
[ 2361.529401] tegra_watchdog_touch
[ 2361.530893] nct1008_get_temp: ret temp=28C
root@localhost:~# lsusb
root@localhost:~# lsmod
Module                  Size  Used by
bcm4329               207334  0 
texfat                111859  0 
tntfs                 359222  0
root@localhost:~#
 

Dhyneland

Senior Member
Nov 29, 2007
237
56
Kansas City, Mo
I have compiled some modules according to your instructions in the OP. But I am getting an error when trying to apply them.

Code:
$ su
# cd /data/local/modules/
# ls
snd-hrtimer.ko 
snd-hwdep.ko 
snd-mixer-oss.ko 
snd-page-alloc.ko 
snd-pcm-oss.ko 
snd-pcm.ko 
snd-rawmidi.ko
snd-seq-device.ko
snd-seq-dummy.ko
snd-seq-midi-event.ko
snd-seq-midi.ko
snd-seq.ko
snd-timer.ko
snd-usb-audio.ko
snd-usbmidi-lib.ko
snd.ko
usbhid.ko
# insmod snd-usb-audio.ko
[B]insmod: init_module 'snd-usb-audio.ko' failed (No such file or directory)[/B]

What am I doing wrong here? Any tips/tricks/guides? Thanks!
 

Attachments

  • config.txt
    78.1 KB · Views: 17

saturn_de

Senior Member
Jan 29, 2010
156
162
I have compiled some modules according to your instructions in the OP. But I am getting an error when trying to apply them.

Code:
$ su
# cd /data/local/modules/
# ls
snd-hrtimer.ko 
snd-hwdep.ko 
snd-mixer-oss.ko 
snd-page-alloc.ko 
snd-pcm-oss.ko 
snd-pcm.ko 
snd-rawmidi.ko
snd-seq-device.ko
snd-seq-dummy.ko
snd-seq-midi-event.ko
snd-seq-midi.ko
snd-seq.ko
snd-timer.ko
snd-usb-audio.ko
snd-usbmidi-lib.ko
snd.ko
usbhid.ko
# insmod snd-usb-audio.ko
[B]insmod: init_module 'snd-usb-audio.ko' failed (No such file or directory)[/B]

What am I doing wrong here? Any tips/tricks/guides? Thanks!

You have to take the original ASUS config and start from there and the limitation is, that with "make menuconfig" you are only allowed to switch on modules and not change from "compiled in" to "module". You only can add "M" (modules) and not change what is compiled in.
 
  • Like
Reactions: Dhyneland

SteveCheeseman

Senior Member
Aug 2, 2010
243
8
i cant seem to get this working.. im not too experienced with this sort of thing, but this is what im doing
- place the .ko files in the /data/local/modules folder
- open Terminal Emulator
- type 'su' -> 'cd /data/local/modules' -> 'insmod cfq-iosched.ko'
- but i get the message 'insmod: can't open 'cfq-iosched.ko'' when i do so

am i doing something wrong? (yes i am rooted)
 

mdalacu

Senior Member
Dec 13, 2006
880
197
Bucharest
dmsimpleapps.blogspot.ro
I can't mount anything from network shares using cifs.ko. I always am getting "invalid argument" in terminal emulator , also in cifs manager.

What am i doing wrong?
$su
#cd /data/local/modules
#insmod cifs.ko
#mount -t cifs -o guest //192.168.0.100/MyShare /mnt/cifs/MyShare #the folder exists

On other devices i had to insert slow-work.ko module for cifs to work, is it necessary here?
Thank you
 

kachun

New member
Aug 27, 2009
2
1
You need to use 'busybox mount -t cifs...'.

Before mount, you also need 'insmod md4.ko'.
 

kachun

New member
Aug 27, 2009
2
1
I retested. These are the commands work for me...

su
cd /system/lib/modules
insmod md4.ko
insmod cifs.ko
lsmod # make sure md4.ko cifs.ko loaded
mount -t cifs -o username=me,password=xxx //10.10.10.1/movies /mnt/cifs/movies

It is Kindle Fire's mount that does not support -t cifs, so busybox is not necessary with TP's mount. Look like it was your '-o guest' that needed to be '-o username=guest'.
 
  • Like
Reactions: mdalacu

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.