[android-kernel] Re: /dev/mydev permissions after insmod from init.rc

2010-10-25 Thread ip332
Where did you place insmod in the init.rc? It should be placed before any "on " rule (i.e. before "on boot") The tricky part is the permissions and the best solution will be to add a special rule: on device-added /system/lib/modules/mydev/ko chmod 777 /dev/mydev On Oct 25, 5:46 am, tknv wro

[android-kernel] Re: /dev/mydev permissions after insmod from init.rc

2010-10-25 Thread ip332
Where did you place insmod in the init.rc? It should be placed before any "on " rule (i.e. before "on boot") The tricky part is the permissions and the best solution will be to add a special rule: on device-added /system/lib/modules/mydev/ko On Oct 25, 5:46 am, tknv wrote: > Hi, > > I'm trying

[android-kernel] Re: /dev/mydev permissions after insmod from init.rc

2010-10-25 Thread ip332
Where did you place insmod in the init.rc? It should be placed before any "on " rule (i.e. before "on boot") The tricky part is the permissions and the best solution will be to add a special rule: on device-added /system/lib/modules/mydev/ko On Oct 25, 5:46 am, tknv wrote: > Hi, > > I'm trying

[android-kernel] Re: How to build a customized 2.6.32 kernel for Android 2.2 emulator

2010-10-25 Thread Peter Teoh
On Oct 26, 12:04 am, Yudong wrote: > Hi all, > > I am trying to build a 2.6.32 kernel with NFS client module v4.1 > enabled for the Android 2.2 emulator. I used the kernel source code I > check out from the kernel git: > > http://android.git.kernel.org/common.git > > and switch to branch origin/

[android-kernel] parallel port driver of linux x86

2010-10-25 Thread ajay
hi, I have written a parallel port driver of linux x86 and i am not able to generate the interrupt.could some one help me with this code please I am enabling the interrupt in parallel_init() and the handler is in parallel_hand. pls help!!!I am trying to get this work #include #include #includ

[android-kernel] Re: developing a driver on beagle board

2010-10-25 Thread Pubudu
I recommend you to read on Linux drivers to get the basic idea also. "Linux Device Drivers 3rd Edition" and "Essential Linux Device Drivers" are some pretty good material. On Oct 25, 6:25 am, Vikram wrote: > On Oct 23, 10:47 pm, ajay wrote: > > > hi, > >   thanks actully i wanted a guide to sta

[android-kernel] How to build a customized 2.6.32 kernel for Android 2.2 emulator

2010-10-25 Thread Yudong
Hi all, I am trying to build a 2.6.32 kernel with NFS client module v4.1 enabled for the Android 2.2 emulator. I used the kernel source code I check out from the kernel git: http://android.git.kernel.org/common.git and switch to branch origin/Android-2.6.32 I tried to compiled the kernel with d

[android-kernel] Re: developing a driver on beagle board

2010-10-25 Thread ip332
You need to clarify your goal: is it about drivers development or about Android HAL? Typical HAL implementation (senors.c for example) is not a Linux kernel driver. It is part of the user space programming in according with Android sensors interface requirements and limitations. There are few reso

[android-kernel] Re: /dev/mydev permissions after insmod from init.rc

2010-10-25 Thread tknv
Hi, I'm trying to add my modules. then I add it in init.rc. --- # mydev modules insmod /system/lib/modules/mydev.ko --- But It was not loaded after reboot. Is there some load timing rules ? I would like to load mydev.ko before dalvik boot. and also want to make wait until device initialized befor

[android-kernel] Re: developing a driver on beagle board

2010-10-25 Thread DanM
And don't forget the Android sensor HAL for connecting the driver to the framework I know this is not the device driver but the driver will not work in the system without this code either. Sample is here http://git.omapzoom.org/?p=device/ti/blaze.git;a=blob;f=sensors/sensors.c;h=85baf13ed32a491c4

[android-kernel] Mount as USB drive

2010-10-25 Thread perumal316
Hi All, A general question. Is there any difference in the way the USB drive is mounted in Android as compared to other mobile operating systems? Regards, Perumal -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] Re: Enabling NETFILTER and iptables command

2010-10-25 Thread billmeteor chen
I already download the platform/external/iptables.git, kernel/ common.git and platform/prebuilt.git from android kernel tree. I want to enable iptable command on my HTC hero. Whether it need to download the all kernel tree. Can anyone tell me about that for detail? On 10月22日, 下午9時46分, Hamilt