andreasgal/B2G — Issue #158: Vibrator doesn't work in galaxy S II
Author: cgjones
Created: 2012-02-04 02:48:55+00:00
State: open
Labels: demophone

Just recently I noticed that gaia uses navigator.vibrate(), but I've never felt it. I investigated a bit on a flight, notes below

insmod /lib/modules/vibrator.ko
insmod /lib/modules/vibrator.ko
insmod: can't insert '/lib/modules/vibrator.ko': invalid module format

- the vibrator.ko that gets copied into boot/initramfs/lib/modules
after make modules is *different* than the one in
boot/kernel-galaxys2 *after* make kernel completes.

- insmod'ing the vibrator.ko built after the full compile works
perfectly, vibrator fully functional

- mkdir initramfs && make kernel && [set up initramfs] && make kernel
gets the right vibrator.ko into boot/initramfs/lib/modules, but
then we get a crash cycle on rebooting :/