Open Bug 673374 Opened 11 years ago Updated 3 years ago

Orientation support is broken on HP laptops


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






(Reporter:, Unassigned)


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 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:
I don't believe we support the prefixed orientation event anymore (ie. MozOrientation) that the test uses.
I just found , 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.

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 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.