Opened 16 years ago
Closed 16 years ago
#3678 closed bug (fixed)
[touchpad][patch] Touchpad keep sending extended packets after a shutdown
Reported by: | oco | Owned by: | marcusoverhagen |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/Mouse/PS2 | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Warning : Touchpad support should be enabled in the source tree to reproduce this problem.
When rebooting from Haiku to BeOS, the mouse cursor is not moved correctly.
The touchpad driver should send again standard ps2 packet when leaving.
This is the purpose of the attached patch.
Note : it will become usefull only after resolving the TODO in src/system/kernel/shutdown.c (close all services before leaving).
Tested using this command line :
kill <id_AppServer> <id_InputServer>; shutdown -r
Attachments (3)
Change History (8)
by , 16 years ago
Attachment: | touchpad_reset_r29384.diff added |
---|
comment:1 by , 16 years ago
follow-up: 4 comment:2 by , 16 years ago
Thanks for committing ! Patch to have input drivers closed on shutdown (oco + korli). Please review and commit.
by , 16 years ago
Attachment: | shutdown.c.2.diff added |
---|
Updated patch after discussion beetween axeld, stippi and mmu_man
comment:3 by , 16 years ago
Updated patch after discussion beetween axeld, stippi and mmu_man. Please update the comment if necessary. I am not sure i get all the points.
comment:4 by , 16 years ago
Replying to oco:
Thanks for committing ! Patch to have input drivers closed on shutdown (oco + korli). Please review and commit.
Wouldn't that hypothetically prevent being able to click the Restart button if you pick shutdown instead of restart from Deskbar by mistake?
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks, seems like you got all points just fine! :-D To Rene: That's just the point. The new patch does not stop services unless you actually reboot. So when you attempted to shutdown, input_server will still be running and you can press the Reboot button.
Applied in hrev29948.
Thanks! Committed in hrev29920. I keep the bug open, because the actual symtoms are not yet fixed, as long as input drivers are not closed on shutdown.