[lm-sensors] new abituguru driver in mm kernel

Hans de Goede j.w.r.degoede at hhs.nl
Fri Jul 14 21:43:23 CEST 2006



Sunil Kumar wrote:
> you mean the hardware itself is not in the right state? Or its in the right
> state but not in the state that you expect to be the right state? I am
> confused I guess because suspending to disk should be like a shutdown to
> the
> hardware. suspend to RAM might be a different beast because of BIOS
> involvement.
> 

The problem is that my driver currently does not take the option of
suspendin (in anyway) into account. When the driver loads it puts the
hardware in the "ready" state and whenever it does something with the
hardware (making it not ready) it puts it back in the ready state when
its done. So the driver expects the hardware to be in the ready state
when it next tries to read from the hardware. However due to the
suspend/resume cycly the hardware is most likely no longer in the ready
state. My driver should be able to recover from this but complains that
things did not go as expected. Hence my question:

>> After suspend/resume does it happen just once/twice, or does it happen
>> regulary after suspend / resume.

Because if it only happens once or twice after a single suspend/restore
then my theory is most likely correct and then I'll try to fix my
driver. If it happens many times after a single suspend/resume it might
very well be something else.

Regards,

Hans




More information about the lm-sensors mailing list