Re: Sysfs class attribute problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 19, 2012 at 3:14 PM, jeshwanth Kumar N K
<jeshkumar555@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux