Skip to contentSkip to conversation

Status of Regression/Bug 13407 adb trackpad disappears after suspend to ram?

DISCUSSION Martin Wache 3 participants 10 messages Sep 27, 2009 – Sep 28, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

I'd like to ask if there is any news on the bug 13407

http://bugzilla.kernel.org/show_bug.cgi?id=13407

The status of the bugreport is "NEEDINFO", I'm also hit by this bug, using 2.6.31 on an iBook G4. Can I help in anyway to get this bug fixed? I'm happy to provide any info I can, if there is need for more info. I would also try patches if that helps.

Thank you,

Martin Wache

#1 lore raw
Quoted 10 lines · Martin Wache

Hi all,

I'd like to ask if there is any news on the bug 13407

http://bugzilla.kernel.org/show_bug.cgi?id=13407

The status of the bugreport is "NEEDINFO", I'm also hit by this bug, using 2.6.31 on an iBook G4. Can I help in anyway to get this bug fixed? I'm happy to provide any info I can, if there is need for more info. I would also try patches if that helps.

A patch has been submitted which is reported to fix the issue:

http://patchwork.kernel.org/patch/49462/

Please test it as requested.

Best,
Rafael

#2 lore raw

Hi,

Quoted 6 lines · Rafael J. Wysocki

A patch has been submitted which is reported to fix the issue:

http://patchwork.kernel.org/patch/49462/

Please test it as requested.

Thank you for the info :-)

Unfortunately, applying the patch on top of 2.6.31 doesn't improve the situation for me, rather the opposite. Under X I get no reaction on any
keypress on the keyboard or movement on the trackpad. Even plugging in
an USB mouse and keyboard didn't help, the usb port doesn't provide an power to the mouse (at least the led in the mouse doesn't light up). Before X starts up the keyboard does respond, also the trackpad seems to be detected. Doing a suspend/resume cycle doesn't change the situation.

I'm not sure if there was a miscompilation, I didn't do a "make clean", I just applied the patch and did a "make". Should this be enough? Compiling the whole kernel unfortunately takes quite a while on my iBook :-( I will see if I can connect to the iBook via net and get some information on what is happening, or maybe I try to start it up without X. Would it help you if I send you the logs, etc? Which information would help you?

Thanks,

Martin

#3 lore raw
In reply to Rafael J. Wysocki

Hi,

Quoted 6 lines · Rafael J. Wysocki

A patch has been submitted which is reported to fix the issue:

http://patchwork.kernel.org/patch/49462/

Please test it as requested.

Thank you for the info :-)

Unfortunately, applying the patch on top of 2.6.31 doesn't improve the situation for me, rather the opposite. Under X I get no reaction on any
keypress on the keyboard or movement on the trackpad. Even plugging in
an USB mouse and keyboard didn't help, the usb port doesn't provide an power to the mouse (at least the led in the mouse doesn't light up). Before X starts up the keyboard does respond, also the trackpad seems to be detected. Doing a suspend/resume cycle doesn't change the situation.

I'm not sure if there was a miscompilation, I didn't do a "make clean", I just applied the patch and did a "make". Should this be enough? Compiling the whole kernel unfortunately takes quite a while on my iBook :-( I will see if I can connect to the iBook via net and get some information on what is happening, or maybe I try to start it up without X. Would it help you if I send you the logs, etc? Which information would help you?

Thanks,

Martin

#4 lore raw
Quoted 12 lines · Martin Wache

Hi,

Quoted 6 lines · Rafael J. Wysocki

A patch has been submitted which is reported to fix the issue:

http://patchwork.kernel.org/patch/49462/

Please test it as requested.

Thank you for the info :-)

Quoted 7 lines

Unfortunately, applying the patch on top of 2.6.31 doesn't improve the situation for me, rather the opposite. Under X I get no reaction on any
keypress on the keyboard or movement on the trackpad. Even plugging in
an USB mouse and keyboard didn't help, the usb port doesn't provide an power to the mouse (at least the led in the mouse doesn't light up). Before X starts up the keyboard does respond, also the trackpad seems to be detected. Doing a suspend/resume cycle doesn't change the situation.

That looks like a different problem than the one I fixed. Is there an email thread or a bugzilla entry that describes the setup precisely, the symptoms, kernel logs etc... ?

Quoted 7 lines

I'm not sure if there was a miscompilation, I didn't do a "make clean", I just applied the patch and did a "make". Should this be enough? Compiling the whole kernel unfortunately takes quite a while on my iBook :-( I will see if I can connect to the iBook via net and get some information on what is happening, or maybe I try to start it up without X. Would it help you if I send you the logs, etc? Which information would help you?

Start with sending the dmesg, the output of cat /proc/cpuinfo, and the Xorg log (/var/log/Xorg.0.log)

Cheers,
Ben.

Quoted 3 lines

Thanks,

Martin

#5 lore raw
In reply to Martin Wache
Quoted 12 lines · Martin Wache

Hi,

Quoted 6 lines · Rafael J. Wysocki

A patch has been submitted which is reported to fix the issue:

http://patchwork.kernel.org/patch/49462/

Please test it as requested.

Thank you for the info :-)

Quoted 7 lines

Unfortunately, applying the patch on top of 2.6.31 doesn't improve the situation for me, rather the opposite. Under X I get no reaction on any
keypress on the keyboard or movement on the trackpad. Even plugging in
an USB mouse and keyboard didn't help, the usb port doesn't provide an power to the mouse (at least the led in the mouse doesn't light up). Before X starts up the keyboard does respond, also the trackpad seems to be detected. Doing a suspend/resume cycle doesn't change the situation.

That looks like a different problem than the one I fixed. Is there an email thread or a bugzilla entry that describes the setup precisely, the symptoms, kernel logs etc... ?

Quoted 7 lines

I'm not sure if there was a miscompilation, I didn't do a "make clean", I just applied the patch and did a "make". Should this be enough? Compiling the whole kernel unfortunately takes quite a while on my iBook :-( I will see if I can connect to the iBook via net and get some information on what is happening, or maybe I try to start it up without X. Would it help you if I send you the logs, etc? Which information would help you?

Start with sending the dmesg, the output of cat /proc/cpuinfo, and the Xorg log (/var/log/Xorg.0.log)

Cheers,
Ben.

Quoted 3 lines

Thanks,

Martin

#6 lore raw
Quoted 2 lines · Benjamin Herrenschmidt

Start with sending the dmesg, the output of cat /proc/cpuinfo, and the Xorg log (/var/log/Xorg.0.log)

Also throw in your .config (and while at it, try using the standard pmac32_defconfig).

Cheers,
Ben.

#7 lore raw
In reply to Benjamin Herrenschmidt
Quoted 2 lines · Benjamin Herrenschmidt

Start with sending the dmesg, the output of cat /proc/cpuinfo, and the Xorg log (/var/log/Xorg.0.log)

Also throw in your .config (and while at it, try using the standard pmac32_defconfig).

Cheers,
Ben.

#8 lore raw
In reply to Benjamin Herrenschmidt
Quoted 21 lines · Benjamin Herrenschmidt
Quoted 12 lines · Martin Wache

Hi,

Quoted 6 lines · Rafael J. Wysocki

A patch has been submitted which is reported to fix the issue:

http://patchwork.kernel.org/patch/49462/

Please test it as requested.

Thank you for the info :-)

Quoted 7 lines

Unfortunately, applying the patch on top of 2.6.31 doesn't improve the situation for me, rather the opposite. Under X I get no reaction on any
keypress on the keyboard or movement on the trackpad. Even plugging in
an USB mouse and keyboard didn't help, the usb port doesn't provide an power to the mouse (at least the led in the mouse doesn't light up). Before X starts up the keyboard does respond, also the trackpad seems to be detected. Doing a suspend/resume cycle doesn't change the situation.

Quoted 4 lines

That looks like a different problem than the one I fixed. Is there an email thread or a bugzilla entry that describes the setup precisely, the symptoms, kernel logs etc... ?

The USB not working was indeed a separate issue, I striped down my kernel config before building 2.6.31 and striped it down too much. After fixing the config the usb is again working.

What I don't really understand is that now after I fixed the usb kernel config and recompiled also the adb keyboard and trackpad are working again. To test the original issue, I did several suspend/resume cycles and my trackpad is still working :-).
Without the patch the trackpad was almost never working after a suspend/resume cycle, so the adb trackpad issue seems to be fixed with your patch.
Thank you very much :-)

Bye,

Martin

#9 lore raw
In reply to Benjamin Herrenschmidt
Quoted 13 lines · Benjamin Herrenschmidt
Quoted 12 lines · Martin Wache

Hi,

Quoted 6 lines · Rafael J. Wysocki

A patch has been submitted which is reported to fix the issue:

http://patchwork.kernel.org/patch/49462/

Please test it as requested.

Thank you for the info :-)

Quoted 9 lines
Quoted 4 lines

Unfortunately, applying the patch on top of 2.6.31 doesn't improve the situation for me, rather the opposite. Under X I get no reaction on any
keypress on the keyboard or movement on the trackpad. Even plugging in
an USB mouse and keyboard didn't help, the usb port doesn't provide an power to the mouse (at least the led in the mouse doesn't light up). Before X starts up the keyboard does respond, also the trackpad seems to be detected. Doing a suspend/resume cycle doesn't change the situation.

That looks like a different problem than the one I fixed. Is there an email thread or a bugzilla entry that describes the setup precisely, the symptoms, kernel logs etc... ?

The USB not working was indeed a separate issue, I striped down my kernel config before building 2.6.31 and striped it down too much. After fixing the config the usb is again working.

What I don't really understand is that now after I fixed the usb kernel config and recompiled also the adb keyboard and trackpad are working again. To test the original issue, I did several suspend/resume cycles and my trackpad is still working :-).
Without the patch the trackpad was almost never working after a suspend/resume cycle, so the adb trackpad issue seems to be fixed with your patch. Thank you very much :-)

Bye,

Martin