[android-kernel] conf file

2010-01-07 Thread perumal316
Hi, I am writing a module that will print out the parameters of system calls. I want to do this for different system calls. Is it possible to write a config file to generalise the process? I tried searching the net but couldn't find any reference on doing such a thing. Thanks in Advance, Perumal

Re: [android-kernel] Re: Loading modules at boot-time.

2010-01-07 Thread Yi Sun
here is the path of the script and I'm assuming you have already changed the configuration file to build your module bootable/newinstaller/initrd/scripts/0-auto-detect On Thu, Jan 7, 2010 at 7:25 PM, o0110o wrote: > Will try out your suggestions A.S.A.P. > Thanks everybody! > > On Jan 7, 10:57 pm

Re: [android-kernel] Re: printk in Android

2010-01-07 Thread Greg KH
On Thu, Jan 7, 2010 at 7:40 PM, perumal316 wrote: > Actually I want to show to user, but if in the phone if there any way > where these messages can be shown to them without them have to go to > terminal and dmesg? On the android platform, no, there isn't, unless you write an application that mon

Re: [android-kernel] Re: printk in Android

2010-01-07 Thread Greg KH
On Thu, Jan 7, 2010 at 7:25 PM, perumal316 wrote: > > Is it possible to write to file in kernel programming? Yes, but again, you do not want to do that. Go read the kernelnewbies.org site for why. http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad I suggest reading up on that site f

[android-kernel] Re: printk in Android

2010-01-07 Thread perumal316
Actually I want to show to user, but if in the phone if there any way where these messages can be shown to them without them have to go to terminal and dmesg? On Jan 8, 11:33 am, Dianne Hackborn wrote: > Er...  I suspect you want to how them to the -developer-, not the user, in > which case they

Re: [android-kernel] Re: printk in Android

2010-01-07 Thread Greg KH
On Thu, Jan 7, 2010 at 6:23 PM, perumal316 wrote: > > I am writing a kernel module which prints out a message each time a > system call is being made. I want to show these messages to user. No, you really don't want to do ever do that. Remember, the user made the system call in the first place,

Re: [android-kernel] Re: printk in Android

2010-01-07 Thread Dianne Hackborn
Er... I suspect you want to how them to the -developer-, not the user, in which case they should be perfectly fine using the shell and dmesg to see the, shouldn't they? On Thu, Jan 7, 2010 at 6:23 PM, perumal316 wrote: > > I am writing a kernel module which prints out a message each time a > sy

[android-kernel] Re: Loading modules at boot-time.

2010-01-07 Thread o0110o
Will try out your suggestions A.S.A.P. Thanks everybody! On Jan 7, 10:57 pm, Yi Sun wrote: > If you are using android-x86 the you don't need to change init.rc.   > Take a look at the autodetect script in the newinstaller directory.   > For quicker answer on android-x86, please send question to an

[android-kernel] Re: printk in Android

2010-01-07 Thread perumal316
Is it possible to write to file in kernel programming? On Jan 8, 10:23 am, perumal316 wrote: > I am writing a kernel module which prints out a message each time a > system call is being made. I want to show these messages to user. > > On Jan 7, 10:56 pm, Greg KH wrote: > > > On Wed, Jan 6, 2010

[android-kernel] Re: printk in Android

2010-01-07 Thread perumal316
I am writing a kernel module which prints out a message each time a system call is being made. I want to show these messages to user. On Jan 7, 10:56 pm, Greg KH wrote: > On Wed, Jan 6, 2010 at 9:13 PM, perumal316 wrote: > > Hi All, > > > Thanks for the input. But I am currently writing a modul

Re: [android-kernel] Re: Loading modules at boot-time.

2010-01-07 Thread Yi Sun
If you are using android-x86 the you don't need to change init.rc. Take a look at the autodetect script in the newinstaller directory. For quicker answer on android-x86, please send question to android-x86 discussion group. Yi On 2010-1-7, at 17:45, Chew Esmero wrote: I'm not sure with

[android-kernel] Re: Loading modules at boot-time.

2010-01-07 Thread Chew Esmero
I'm not sure with the x86 source code. I'm using donut source for devphone right now and the init.rc I modified is the one in system/ core/rootdir/init.rc (which is working). Try modifying that file. On Jan 7, 11:11 am, o0110o wrote: > Thanks for your response. I'm working with Android-x86 1.6 (d

[android-kernel] Enhancement to Emulator

2010-01-07 Thread Thisara Rupasinghe
Hi all, Im trying to write an application using bluetooth. But using the android emulator, can i try that out. I mean is it emulated that feature(bluetooth). Or even the camera feature. And also if i would like to enhance the capabilities of this emulator can i contribute? Where can i find the sou

Re: [android-kernel] Regarding android-86 Live CD

2010-01-07 Thread Yi Sun
Send message to android-x86 group may give you a quicker answer. Anyway, will VESA work? The system may not be able to recognize your hardware and install the right driver. Yi On Thu, Jan 7, 2010 at 5:16 AM, uday bhaskar wrote: > Hi, >  I got a small problem, when i started android-x86 Live CD in

Re: [android-kernel] Re: Loading modules at boot-time.

2010-01-07 Thread zhang derrick
there are two files for .rc file, one is default file named init.rc in android/system/core/rootdir/init.rc and another is used for hardware in android/system/core/rootdir/etc/init..rc , instead of HW code, such as qcom, goldfish, it's according to you phone HW. Derrick. 2010/1/7 o0110o

[android-kernel] [Uevent]Uevent Path String

2010-01-07 Thread Chang Oh Heo
Hi, all I wirte headset driver. My coworker wants modifiy uevent path for headset. Then I make /sys/class/accessory/headset with switch_class.c But coworker use private static final String HEADSET_UEVENT_MATCH = "change@ /class/accessory/headset";. Is it right? what mean "change@". And How to fi

Re: [android-kernel] Re: printk in Android

2010-01-07 Thread Greg KH
On Wed, Jan 6, 2010 at 9:13 PM, perumal316 wrote: > Hi All, > > Thanks for the input. But I am currently writing a module for Android. > In module programming there is only printk but is it possible to show > the kernel messages to the users? Meaning the user who will be using > the Android phone

[android-kernel] Regarding android-86 Live CD

2010-01-07 Thread uday bhaskar
Hi, I got a small problem, when i started android-x86 Live CD in "start with out installation". Display Resolution is not supporting. I didn't know how to solve it. Can any one tell me. System Details: M/B: Intel 945GCPE Processor:Dual Core Monitor: