Open Bug 673374 Opened 10 years ago Updated 2 years ago

Orientation support is broken on HP laptops

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bugzilla.mozilla.org, Unassigned)

Details

I have a HP dm1-3000 laptop, which I run Debian on. The laptop's accelerometer is detected by the lis3lv02d module in the Linux kernel I am running, so bug 562175 leads me to believe that it should be working. However, accelerometer demos like the one at http://www.squarefree.com/smoother-orientation-demo.html do not work, even on the latest nightly - 8.0a1 (2011-07-21).

The current trunk version of dom/system/unix/nsDeviceMotionSystem.cpp contains a link to "/sys/devices/platform/lis3lv02d/calibrate", which does not exist on my system. Looking at the lm-sensors mailing list, it looks like this was removed from the kernel driver, because the lis3lv02d chip is pre-calibrated:

http://lists.lm-sensors.org/pipermail/lm-sensors/2009-November/027166.html
I don't believe we support the prefixed orientation event anymore (ie. MozOrientation) that the test uses.
I just found http://sandbox.juurlink.org/accelerometer/ , which supports both MozOrientation and DeviceOrientation, but it still did not work. If there is another demo that should be used to determine support, please let me know about it.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
my Orientation sensor was not working after I replaced the screen of my laptop. it was fixed by contacting hp support if this is the issues of HP accelerometer then you may visit here https://hpetechnicalsupportnumber.com/blog/fix-hp-accelerometer-error-windows-10/ it might help you to understand or solve your issues.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.