Bug#375523: hdaps fails to read gyroscope after suspend/resume
On Mon, Jun 26, 2006 at 06:57:03PM +0200, Bastian Blank wrote:
> On Mon, Jun 26, 2006 at 04:59:09PM +0200, Jeroen van Wolffelaar wrote:
> > I have a thinkpad t41 with gyroscope, readable via the hdaps module.
> > However, after suspend/resuming, the module no longer works -- it yields
> > the same data every time.
>
> The hdaps module is not provided by the kernel. A module have to resume
> its hardware correctly.
dpkg -S hdaps.ko:
linux-image-2.6.15-1-686: /lib/modules/2.6.15-1-686/kernel/drivers/hwmon/hdaps.ko
I didn't claim the problem was in the kernel, by filing this bug I filed
it on the package providing the (presumably buggy, but that's not yet
clear) code.
> > Somehow, probably the resume or the suspend code is disabling the
> > gyroscope or bringing it in a state that it can't bring it out of again.
>
> The suspend code disables the devices according to the spec. The
> gyroscope is a so called plattform device, which don't follows an
> interface. This means that the kernel don't provide any code to suspend
> or resume this device.
Well, maybe this is part of the problem then.
> > If you need more info, please ask, I don't know enough of kernels to
> > know what kind of info is relevant -- I'm using a default etch system
> > with no tweaking to the kernel or to the hdaps module.
>
> It is more likely a problem in the hdaps module.
the hdaps *kernel* module, yes, so my comment regarding not having much
experience with debugging kernel issues applies.
Thanks,
--Jeroen
--
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl
Reply to: