Thanks for having a look at this. I will try to apply and test your patches on my false positives (hp6710b notebooks accelerometer) and let you know. Will be great if this is addressed.
You're welcome, it's been buggin the crap out of me too
. Just for completeness, could you post the output of:
udevadm info --query property --name /dev/input/js0
for your accelerometer device. (Accelerometer in my laptop doesn't present at /dev/input/js?) I know it will not mis-detect a mouse device now but I'm not sure what the accelerometer presents as.