Topic: accelerometer device

/dev/accel seems to be accessible when you shut the control panel down.  I was wondering if anybody has started looking at it outside flash.

The chumby is totally cool.

Re: accelerometer device

/dev/accel is a low-level driver that is responded to by the driver chumby_accel.ko

The source code for the driver can be found in http://files.chumby.com/source/ironforg … 1.0.tar.gz at /drivers/char/chumby_accel.c. From there, you can find how the output format of the driver is formatted:

struct accelReadData {
  unsigned int version;
  unsigned int timestamp;
  unsigned int inst[3];  // x, y, z
  unsigned int avg[3];
  unsigned int impact[3]; // values for the last impact peak acceleration
  unsigned int impactTime;
  unsigned int impactHint;
  unsigned int gRange;    // g range in milli-g's
};

The driver also internally logs the data at a high temporal resolution. This is intended to provide a facility to the driver writer to extract high-quality acceleration readings required for operations such as integration to velocity and position.

7BAA 2E53 01C1 DCFF 497B  E7F0 9699 A303 78F0 D9B9

Re: accelerometer device

Source code, what an awesome concept wink

I had totally forgotten that I was dealing with an open platform.  I've spent the last six months "dealing" with linksys arm hell.  Nslu2s are cool, but you are always fighting.

Thanks Bunnie,

You've made my world better. wink

Re: accelerometer device

Ok,

I put some stuff into a blog entry.  The chumby finally made me get a blog.

http://www.edknuth.net/blog/?p=3

Re: accelerometer device

it would be useful for multiple procs to read  accelerometer data.