Le vendredi 20 novembre 2009 à 20:11 +0700, Mulyadi Santosa a écrit :
Hi
On 11/20/09, Patrick kpa_i...@yahoo.fr wrote:
Does anybody have an idea ? How could I completely disable file caching or
how could I do same result as touch but from the kernel on sysfs file ?
Not a FUSE user
caching or how
could I do same result as touch but from the kernel on sysfs file ?
Thanks in advance for your help
Patrick
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
On Thu, Feb 05, 2009 at 01:18:08PM +, PAtrick Gerber wrote:
Hello all,
I am working with kobject, kset and sysfs. I need, to show a complexe
hierarchie, to add some kset in a kset. For that I use kobject
embedded in the kset:
child_kset = kset_create_and_add(name, NULL
in the child list
of the parent kset. When I add a kobject in a kset I set the kset field of the
kobject for that, but I can't touch the kobject embedded in a kset...
There is another technics for that ? Any help is welecome.
Thanks in advance
Patrick
is never called. So I have nothing in
/sys/class/leds. Do you have any idea why ?
Of course the leds class is activated in my .config (as part of the kernel not
a module).
Thanks in advance for any help.
Patrick
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies
Probably the driver/device name mismatch which has for
effect that driver probe function is not being called.
Can you post your driver for us to see what you
did/are missing?
With pleasure, see the attached code.
Patrick
leds-colibri.c
Description: Binary data
inside the driver was enough. I will look
this point tomorrow.
Thanks
Patrick
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Hello,I would like to try to use sysfs_notify() / poll() mechanism from my
driver to notify some events to my application. I'm looking for a tiny example
showing the use of this mechanism. The driver side with sysfs_notify seems
quite simple but I have absolutely no idea about the application
marek.beli...@gmail.com a écrit :
De: Belisko Marek marek.beli...@gmail.com
Objet: Re: sysfs_notify poll
À: PAtrick Gerber kpa_i...@yahoo.fr
Date: Mercredi 7 Janvier 2009, 13h59
Hi,
On Wed, Jan 7, 2009 at 1:54 PM, PAtrick Gerber
kpa_i...@yahoo.fr wrote:
Ok thanks. Usefull example. But I have
if it supports poll (Nether 'poll' or 'select' return
* an appropriate error code). When in doubt, set a suitable timeout value.
*/
--- En date de : Mer 7.1.09, Belisko Marek marek.beli...@gmail.com a écrit :
De: Belisko Marek marek.beli...@gmail.com
Objet: Re: sysfs_notify poll
À: PAtrick
Date: Mercredi 7 Janvier 2009, 16h26
Hi,
On Wed, Jan 7, 2009 at 4:20 PM, PAtrick Gerber
kpa_i...@yahoo.fr wrote:
I found some occurences of sysfs_notify in different
driver (phidgetkit driver for example).
As I sayd in my previous post now it's working. I
can start poll on my attribute
Date: Mercredi 7 Janvier 2009, 15h46
Hi,
On Wed, Jan 7, 2009 at 3:25 PM, PAtrick Gerber
kpa_i...@yahoo.fr wrote:
I am not sure but I had understanded that we need to
implement the pool syscall, as described in ldd3 books, only
for chardevices. For attributes in sysfs, the poll syscall
an idea of how the
application can receive any kind of event from my driver ? signal ? uevent ?
anything else ?Thanks in advance for every help usefull or not !Patrick
linear address space. ?
Each process gehts its independent 4GB linear address space.
The mapping work is done by the MMU.
HTH
--
Patrick Kirsch
http://spielux.de | Open Source Spiele, Bewertungen, Auftragsentwicklung
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies
with it.
Like mentioned before, check the hardware. Probably, I only guess, some
background process triggers the hang, perhaps you can do a ps auxwf
and send it to serial console or over network.
Shreyansh
Regards,
--
Patrick Kirsch - Quality Assurance Department
SUSE Linux Products GmbH GF: Markus Rex
On Wed, 2008-06-04 at 15:34 +0200, Michal wrote:
Frédéric Weisbecker [EMAIL PROTECTED] writes:
You mean how to get your own kernel's task eip?
No, I mean other process, not current one. I realize that eip changes,
but my process gets stuck somewhere in the kernel for a longer while
and I
, another for irqs, and then tearing them up and
down dynamically for these interrupted kernel code situations (and
perhaps other situs?).. I guess that would work, but it certainly has
some overhead.
-Patrick
--
www.ducksong.com
--
To unsubscribe from this list: send an email with
unsubscribe
along those lines. Bad news.
-Patrick
--
www.ducksong.com
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ
On Fri, 2008-04-11 at 09:40 -0700, bhanu nani wrote:
code snippet is part of Kernel module.
Test code:
--
read()
{
if(down_interruptible())
return error;
mdelay(1);
up();
}
This is my my read implementation of char
19 matches
Mail list logo