kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Sysfs class attribute problem
@ 2012-06-19  9:44 jeshwanth Kumar N K
  2012-06-19 10:32 ` anish singh
  0 siblings, 1 reply; 6+ messages in thread
From: jeshwanth Kumar N K @ 2012-06-19  9:44 UTC (permalink / raw)
  To: kernelnewbies

Hello all

I am new to sysfs interface ans I read about in mochel's documentation. And doing some experiements on it. Let's come to Tue problem, in my module I have a global variable type char* myglobal and it s static, I am putting that value in my one and only class attribute using show function. But for the same if I a user put some value in to the using echo or something, the attribute value is not changing. And one more thing s after I passed the value to the attribute my system not shutting down :( . Please help me how to read values.

// in store function I am doing this:
Myglobal = bus;

Sent from my HTC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120619/3ed6a6e0/attachment.html 

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.154.1340215374.2625.kernelnewbies@kernelnewbies.org>]

end of thread, other threads:[~2012-06-21 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-19  9:44 Sysfs class attribute problem jeshwanth Kumar N K
2012-06-19 10:32 ` anish singh
2012-06-20 18:02   ` Jeshwanth Kumar N K Jeshu
2012-06-21  3:34     ` anish singh
2012-06-21 18:28       ` Jeshwanth Kumar N K Jeshu
     [not found] <mailman.154.1340215374.2625.kernelnewbies@kernelnewbies.org>
2012-06-21  8:23 ` Pranay Kumar Srivastava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).