RK30xx kernel source for custom modding...

Re: RK30xx kernel source for custom modding...

Postby BooLE » Tue Oct 16, 2012 3:42 pm

BooLE
 
Posts: 61
Joined: Tue Sep 25, 2012 9:41 am

Re: RK30xx kernel source for custom modding...

Postby deadhp1 » Tue Oct 16, 2012 5:22 pm

I'm currently attempting to build btusb and xbox controller modules based off this kernel. If we get them working I can put together a stock rom with these modules loaded.
deadhp1
 
Posts: 599
Joined: Thu Sep 20, 2012 5:22 pm

Re: RK30xx kernel source for custom modding...

Postby eCCoMaNia » Tue Oct 16, 2012 5:44 pm

deadhp1 wrote:I'm currently attempting to build btusb and xbox controller modules based off this kernel. If we get them working I can put together a stock rom with these modules loaded.

can we have same features for ug802 ? or it is restricted with mk808 ?
eCCoMaNia
 
Posts: 111
Joined: Wed Sep 26, 2012 10:56 am

Re: RK30xx kernel source for custom modding...

Postby Biont » Tue Oct 16, 2012 6:20 pm

deadhp1 wrote:I'm currently attempting to build btusb and xbox controller modules based off this kernel. If we get them working I can put together a stock rom with these modules loaded.


Oh man that would be great.
Biont
 
Posts: 15
Joined: Sun Oct 07, 2012 10:15 am

Re: RK30xx kernel source for custom modding...

Postby deadhp1 » Tue Oct 16, 2012 6:25 pm

I got a version mismatch on the btusb.ko file I'll just keep trying to build the kernel.
edit: after changing the makefile to "extraversion = +" I've been sucessful in building btusb.ko and xplay.ko(xbox controller) modules. After moving them into /system/lib/modules/ I can load them in terminal with the insmod command.
I'm not sure what else I need to do with bluetooth though, and I don't have a wired xbox controller to test xplay with.
deadhp1
 
Posts: 599
Joined: Thu Sep 20, 2012 5:22 pm

Re: RK30xx kernel source for custom modding...

Postby kmunir » Tue Oct 16, 2012 8:37 pm

@deadhp1 great work. can you upload both of these files so that anyone with these components can try them out for you if you dont have these?
kmunir
 
Posts: 75
Joined: Wed Sep 26, 2012 11:48 am

Re: RK30xx kernel source for custom modding...

Postby Omegamoon » Wed Oct 17, 2012 9:29 am

@geekbuying, a quick question, since you seem to read this forum occasionally. You said more than once that you are in contact with the MK808 manufacturer, which is a good thing!

Could you please request the full kernel source code from the manufacturer? The manufacturer is bound by the GNU GPL license, which means they have to make the linux kernel source code freely available! Please make them aware of this!
For updates please visit www.omegamoon.com
A big round of applause to yobikap for donating a MK808 and tonikasch for donating a MK808B!

If you like what I'm doing, consider a small donation by clicking the "Donate" button on my website
User avatar
Omegamoon
 
Posts: 107
Joined: Mon Oct 15, 2012 5:43 am

Re: RK30xx kernel source for custom modding...

Postby eminarcissus » Wed Oct 17, 2012 11:14 am

tried build a full image with rk29 vpu source.
Failed at the end of compilation

arch/arm/plat-rk/built-in.o: In function `vpu_service_open':
memtester.c:(.text+0xbac): undefined reference to `malloc_sizes'
arch/arm/plat-rk/built-in.o: In function `vpu_service_ioctl':
memtester.c:(.text+0x12cc): undefined reference to `cru_set_soft_reset'
memtester.c:(.text+0x12d8): undefined reference to `cru_set_soft_reset'
memtester.c:(.text+0x12e4): undefined reference to `cru_set_soft_reset'
memtester.c:(.text+0x12f0): undefined reference to `cru_set_soft_reset'
memtester.c:(.text+0x1310): undefined reference to `cru_set_soft_reset'
arch/arm/plat-rk/built-in.o:memtester.c:(.text+0x1320): more undefined references to `cru_set_soft_reset' follow
arch/arm/plat-rk/built-in.o: In function `vpu_service_ioctl':
memtester.c:(.text+0x14d0): undefined reference to `malloc_sizes'
arch/arm/plat-rk/built-in.o: In function `vpu_mem_open':
memtester.c:(.text+0x2620): undefined reference to `malloc_sizes'
arch/arm/plat-rk/built-in.o: In function `new_link_by_index':
memtester.c:(.text+0x26f4): undefined reference to `malloc_sizes'
arch/arm/plat-rk/built-in.o: In function `new_link_by_region':
memtester.c:(.text+0x276c): undefined reference to `malloc_sizes'
make: *** [.tmp_vmlinux1] Error 1
eminarcissus
 
Posts: 10
Joined: Fri Oct 05, 2012 6:03 am

Re: RK30xx kernel source for custom modding...

Postby mogadishur » Wed Oct 17, 2012 2:03 pm

deadhp1,

I would be very thankful if you got xbox controllers working. Though you mentioned wired controllers, does the same module apply to the dongle for wireless controllers?
mogadishur
 
Posts: 16
Joined: Thu Oct 04, 2012 2:32 pm

Re: RK30xx kernel source for custom modding...

Postby deadhp1 » Wed Oct 17, 2012 2:46 pm

First off all my testing so far is in MK808 ICS not JB. I've also tested this on ICS for the UG802.
So I've made a bit of progress using btusb.ko, but I still can't use the UI to connect. I can connect to a device manually through terminal.
This is what I've done:
Plug in your usb bluetooth.(I usually do a dmesg in terminal to see what it is, all of my bt adapters are 0a12:0001)
Copy btusb.ko to /system/lib/modules/
open terminal and type the following commands:
Code: Select all
su
insmod /system/lib/modules/btusb.ko

Check to see if it is recognized.
Code: Select all
hciconfig

mine comes back as hci0
If it's recognized bring the device up
Code: Select all
hciconfig hci0 up

Then you can scan for devices using:
Code: Select all
hcitool scan


Thats about as far as I have gotten. I can see my wii controller with scan.
I've attached the btusb.ko I built below. The one built in the other thread should work too.
I also attached the xplay.ko I built. I'm still not sure what it actually works with, but I saw xbox controller so I built it anyway.
You do not have the required permissions to view the files attached to this post.
deadhp1
 
Posts: 599
Joined: Thu Sep 20, 2012 5:22 pm

PreviousNext

Return to Development

Who is online

Users browsing this forum: YaCy [Bot] and 2 guests