> Le 23 déc. 2010 10:11, Timo Juhani Lindfors <timo.lindf...@iki.fi> > a écrit : > >"W. B. Kranendonk" writes: > > > One of my FRs is dizzy: the accelerometers are off. > > Can you send a sample of the accelerometer data? (Preferably in > > the binary format that you can read from /dev/input/)
> On Thu, 12/23/10, sylvain.p...@gmail.com <sylvain.p...@gmail.com> wrote: > With a command line like this : > cat /dev/input/event4 | od -c (or -b or -d dont remember and i am > not on my laptop) Thanks for the hint, it would have been my next question I suppose ;-) I used od -b, which gives octal byte representation: 0017720 230 ] 022 M 371 H 005 \0 003 \0 001 \0 022 \0 \0 \0 0017740 230 ] 022 M \0 I 005 \0 \0 \0 \0 \0 \0 \0 \0 \0 0017760 230 ] 022 M 220 m 005 \0 003 \0 \0 \0 ~ \0 \0 \0 0020000 230 ] 022 M 260 m 005 \0 \0 \0 \0 \0 \0 \0 \0 \0 0020020 230 ] 022 M 035 267 005 \0 003 \0 001 \0 $ \0 \0 \0 0020040 230 ] 022 M K 267 005 \0 \0 \0 \0 \0 \0 \0 \0 \0 0020060 230 ] 022 M 234 \0 006 \0 003 \0 001 \0 022 \0 \0 \0 0020100 230 ] 022 M 305 \0 006 \0 \0 \0 \0 \0 \0 \0 \0 \0 0020120 230 ] 022 M 234 223 006 \0 003 \0 001 \0 $ \0 \0 \0 0020140 230 ] 022 M 273 223 006 \0 003 \0 002 \0 226 003 \0 \0 0020160 230 ] 022 M 277 223 006 \0 \0 \0 \0 \0 \0 \0 \0 \0 0020200 230 ] 022 M 310 270 006 \0 003 \0 002 \0 204 003 \0 \0 0020220 230 ] 022 M 330 270 006 \0 \0 \0 \0 \0 \0 \0 \0 \0 0020240 230 ] 022 M 231 335 006 \0 003 \0 \0 \0 l \0 \0 \0 0020260 230 ] 022 M 244 335 006 \0 003 \0 001 \0 022 \0 \0 \0 0020300 230 ] 022 M 254 335 006 \0 \0 \0 \0 \0 \0 \0 \0 \0 0020320 230 ] 022 M 352 001 \a \0 003 \0 \0 \0 ~ \0 \0 \0 0020340 230 ] 022 M 031 002 \a \0 003 \0 001 \0 $ \0 \0 \0 0020360 230 ] 022 M 037 002 \a \0 \0 \0 \0 \0 \0 \0 \0 \0 0020400 230 ] 022 M 4 p \a \0 003 \0 001 \0 022 \0 \0 \0 0020420 230 ] 022 M b p \a \0 \0 \0 \0 \0 \0 \0 \0 \0 Is that useful? This is while the FR is lying flat on its back. I haven't compared it to output from the other FR yet. Best regards, Boudewijn _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community