#2362: 2.6.32.20 kernel from SHR-U has angle offset in the Accelerometer's output ---------------------+------------------------------------------------------ Reporter: GarthPS | Owner: openmoko-kernel Type: defect | Status: new Priority: highest | Milestone: Component: kernel | Version: Severity: normal | Keywords: kernel Accelerometer Haspatch: 0 | Blockedby: Estimated: | Patchreview: Blocking: | Reproducible: always ---------------------+------------------------------------------------------
Comment(by pwerken): Hardcoding such things is always a Bad Idea. Userland can already look in /sys/class/input/inputX to find the right device (in this case "lis302-2 (bottom)"). Or alternatively use it to generate a list of found/compatible devices for the user to select from. -- Ticket URL: <https://docs.openmoko.org/trac/ticket/2362#comment:3> docs.openmoko.org <http://docs.openmoko.org/trac/> openmoko trac