Comment 0 for bug 1210182

Revision history for this message
Florian W. (florian-will) wrote : missing compass user and group

The Ubuntu rootfs comes without the "compass" user and group. That user is expected to exist in cyanogenmod. The compass/accelerometer/proximity sensor in my port fail to work because the user is missing (unless applying patches to use the system user for the akmd service and device nodes). See [1], there are a few device nodes belonging to the compass user and there are even more in some device-specific ueventd.rc files.

[1] http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_system_core.git;a=blob;f=rootdir/ueventd.rc;h=ecaa1abdb4f0b99e21ea2c2b938eaa52e278f070;hb=refs/heads/phablet-saucy

The inofficial cyanogen port for my device has a "compass" group as well, I guess it's the same in cyanogenmod, so I hope you can add that group too.

The file /customization/hooks/02-add_user_to_groups.chroot looks like it is the right place to add that user.