Find the answer to your Linux question:
Results 1 to 2 of 2
Im having some troubles creating sysfs attributes dynamically in my kernel module. I have a set of kobjects registered under /sys/module/<mymodule>/ where i wish to register the attributes. I can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    Dynamically created sysfs attributes


    Im having some troubles creating sysfs attributes dynamically in my kernel module.
    I have a set of kobjects registered under /sys/module/<mymodule>/ where i wish to register the attributes.
    I can do this without problems during module init, but if i try to do it after initialization is done,
    the system hangs..

    Any ideas?

  2. #2
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2
    It seems to be failing when i try to do this from a bottom half handler only.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •