login
Header Space

 
 

what class should i use to register my devices

September 2, 2008 - 10:22am
Submitted by Anonymous on September 2, 2008 - 10:22am.
Linux

I have sensor driver which control lot of my devices like accelerometer,gyrometer,ALS,compass,thermal. Initially I was using IOCTL method. Now I have task to make it open source driver using sysfs interface. I don’t find any class as sensor->accelerometer0 or gyrometer.
One way is to create new class type as sensors and then have acclerometer0. I don’t want to do that. Is there any other way to get my devices under the existing frame work. Please let me know how to do that as I am new to sysfs.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary