Hi,
I have written a small module that toggles the capslock LED. To demonstrate
it i want to replace the Existing keyboard module with mine. I tried
lsmod|grep "key" without any success. also checked /proc/modules. I
couldnot find any clue regarding the name of the module i need to
uninstall. So,
Hello :),
Refer this doc for user and kernel communication methods. Hope it helps :).
people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto.html#toc2
Sent from my HTC
Excuse for typo.
- Reply message -
From: "horse_rivers"
Date: Fri, Dec 14, 2012 6:29 am
Subject: can I input
At 2012-12-13 18:11:24,"Daniel Baluta" wrote:
>On Thu, Dec 13, 2012 at 5:17 AM, horse_rivers wrote:
>> is there method for doing this work? take kernel data to user?
>
>Check copy_to_user [1].
how can user application achive to getting data from kernel , I have no idea
about procedure for impl
At 2012-12-13 18:52:53,"Matthias Brugger" wrote:
>On 12/13/2012 04:17 AM, horse_rivers wrote:
>> is there method for doing this work? take kernel data to user?
>
>I think copy_to_user is what you are looking for:
>http://lxr.free-electrons.com/source/include/asm-generic/uaccess.h#L253
>
thanks !
Hi,
I have block driver for a hot-pluggable device PCIe storage device on
kernel version 2.6.43 (which I know isn't a mainline kernel version, but
it's what I am required to build against). The driver itself is
relatively simple and implements the following block operations:
static struct
On Wed, Dec 12, 2012 at 4:17 PM, Pietro Paolini
wrote:
> Hi all,
>
>
>
> I am going to study the Linux implementation of the QoS on the Linux kernel,
> could someone give me some link at documents, papers…
Kernel documentation
http://lxr.free-electrons.com/source/Documentation/power/pm_qos_inter
On 12/13/2012 04:17 AM, horse_rivers wrote:
> is there method for doing this work? take kernel data to user?
I think copy_to_user is what you are looking for:
http://lxr.free-electrons.com/source/include/asm-generic/uaccess.h#L253
Cheers,
Matthias
>
>
> thanks!
>
> __
On Thu, Dec 13, 2012 at 5:17 AM, horse_rivers wrote:
> is there method for doing this work? take kernel data to user?
Check copy_to_user [1].
thanks,
Daniel.
[1] http://lxr.linux.no/#linux+v3.7/arch/x86/lib/usercopy_32.c#L715
___
Kernelnewbies mailin
On Thu, Dec 13, 2012 at 10:55 AM, Shraddha Kamat wrote:
> I notice
>
> do {
>// do something 1 ;
>// do something 2 ;
>...
> } while (0);
>
> being used everywhere in the kernel code
> I just can't guess of any use of this other
> than executing couple of C statements together ?
>
> I
On Thu, Dec 13, 2012 at 02:25:37PM +0530, Shraddha Kamat wrote:
> I notice
>
> do {
>// do something 1 ;
>// do something 2 ;
>...
> } while (0);
>
> being used everywhere in the kernel code
> I just can't guess of any use of this other
> than executing couple of C statements toge
I notice
do {
// do something 1 ;
// do something 2 ;
...
} while (0);
being used everywhere in the kernel code
I just can't guess of any use of this other
than executing couple of C statements together ?
Is there any special purpose of doing this ??
Sorry of such a silly question
11 matches
Mail list logo