On Mon, Jan 18, 2010 at 7:44 PM, perumal316 wrote:
> I just want to print the time when kernel messages are printed from
> the module.
The kernel already does this, no need to add anything on your own.
--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com
So it's just a trial without any further benefit, right?
IMHO, you can't do that.
Dwi Sasongko S
-Original Message-
From: perumal316
Date: Mon, 18 Jan 2010 19:44:58
To: Android Linux Kernel Development
Subject: [android-kernel] Re: Date&Time in LKM
I just want to print the time when k
I just want to print the time when kernel messages are printed from
the module.
On Jan 19, 11:25 am, "Dwi Sasongko S" wrote:
> Hi,
>
> Why do you want to do this?
>
> I mean, do you have something in the kernel that need the current datetime
> value?
>
> If only you have RTC device and also the
Sorry. I forgot those macros are only for build times, not current.
Other than do_gettimeofday(), I know nothing of other ways.
On Jan 19, 11:25 am, "Dwi Sasongko S" wrote:
> Hi,
>
> Why do you want to do this?
>
> I mean, do you have something in the kernel that need the current datetime
> valu
Hi,
Why do you want to do this?
I mean, do you have something in the kernel that need the current datetime
value?
If only you have RTC device and also the driver with sufficient user space API,
it's possible to get current datetime by building a user space application, but
not directly in the
Oh Yah, I just realised, it is displaying the date and time the code
is built. Is there any way to get the current date and time?
Thanks In Advance,
Perumal
On Jan 19, 10:54 am, Greg KH wrote:
> On Mon, Jan 18, 2010 at 6:34 PM, Chew Esmero wrote:
> > you can use the __DATE__ & __TIME__ macro.
On Mon, Jan 18, 2010 at 6:34 PM, Chew Esmero wrote:
> you can use the __DATE__ & __TIME__ macro.
That's only the date and time the code is built, not the current one.
> On Jan 19, 10:23 am, perumal316 wrote:
>> Hi,
>>
>> Currently I am writing a loadable kernel module. I want to printk the
>> c
Thanks alot, I am able to get it work :)
On Jan 19, 10:34 am, Chew Esmero wrote:
> you can use the __DATE__ & __TIME__ macro.
>
> On Jan 19, 10:23 am, perumal316 wrote:
>
> > Hi,
>
> > Currently I am writing a loadable kernel module. I want to printk the
> > current date and time. Is it possible
you can use the __DATE__ & __TIME__ macro.
On Jan 19, 10:23 am, perumal316 wrote:
> Hi,
>
> Currently I am writing a loadable kernel module. I want to printk the
> current date and time. Is it possible? When I searched the net I only
> found one explaining about do_gettimeofday() but it is not pr
Hi,
Currently I am writing a loadable kernel module. I want to printk the
current date and time. Is it possible? When I searched the net I only
found one explaining about do_gettimeofday() but it is not printing
out the actual date and time.
Thanks in Advance,
Perumal
--
unsubscribe: android-ker
No keyboards to be found that feature a micro-usb connector
(MotorolaDroid uses a micro...), so no-joy yet. No converter cables
either.
As far as a USB driver, I got libusb to compile (ARM) and run on the
Droid.
It's nice since it strictly user-space, and does not require any
kernel mods.
However,
11 matches
Mail list logo