From: anish198519851985@gmail.com (anish singh)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Sysfs class attribute problem
Date: Tue, 19 Jun 2012 16:02:36 +0530 [thread overview]
Message-ID: <CAK7N6vrFnvnGqp6LHt0bMAA0ar+sr8PxTSwbdWZuKdLANqnzHQ@mail.gmail.com> (raw)
In-Reply-To: <4fe04a1b.4ad3440a.5cc5.432b@mx.google.com>
On Tue, Jun 19, 2012 at 3:14 PM, jeshwanth Kumar N K
<jeshkumar555@gmail.com> wrote:
> 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.
Why don't you post your code?As that will really help and moreover as
this is your code
you won't be breakign any law set by your company.
>
> // in store function I am doing this:
> Myglobal = bus;
>
> Sent from my HTC
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
next prev parent reply other threads:[~2012-06-19 10:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 9:44 Sysfs class attribute problem jeshwanth Kumar N K
2012-06-19 10:32 ` anish singh [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK7N6vrFnvnGqp6LHt0bMAA0ar+sr8PxTSwbdWZuKdLANqnzHQ@mail.gmail.com \
--to=anish198519851985@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).