no keyboard after suspend on ti powerbook G4

Bug #66255 reported by sam tygier
14
Affects Status Importance Assigned to Milestone
linux-meta (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-source

sometimes after waking from sleep on a apple G4 titanium powerbook the keyboard does not work.

every thing else seems fine. by highlighting and middle clicking i can use the terminal.

dmesg

[ 8663.508672] ra0: got suspend request (event 2)
[ 8664.169501] eth1: Airport entering sleep mode
[ 8664.170224] eth0: suspending, WakeOnLan disabled
[ 8664.201027] radeonfb (0000:00:10.0): suspending to state: 2...
[ 8664.201625] uninorth-agp: disabling AGP on device 0000:00:10.0
[ 8664.201642] uninorth-agp: disabling AGP on bridge 0000:00:0b.0
[ 8664.201654] radeonfb (0000:00:10.0): switching to D2 state...
[ 8665.122815] radeonfb (0000:00:10.0): resuming from state: 2...
[ 8665.122860] radeonfb (0000:00:10.0): switching to D0 state...
[ 8665.859778] agpgart: Putting AGP V2 device at 0000:00:0b.0 into 1x mode
[ 8665.859796] agpgart: Putting AGP V2 device at 0000:00:10.0 into 1x mode
[ 8666.102670] PM: Writing back config space on device 0001:10:1a.0 at offset 1 (was 2100003, writing 2100007)
[ 8666.814797] eth0: resuming
[ 8666.880141] PHY ID: 2060e1, addr: 0
[ 8668.919757] eth1: Airport waking up
[ 8669.283685] hda: Enabling Ultra DMA 4
[ 8669.854202] hdc: Enabling MultiWord DMA 2
[ 8670.467587] PCI: Enabling device 0001:11:00.0 (0000 -> 0002)
[ 8670.467604] ra0: got resume request
[ 8670.467612] PM: Writing back config space on device 0001:11:00.0 at offset f (was 100, writing 13a)
[ 8670.467638] PM: Writing back config space on device 0001:11:00.0 at offset 4 (was ffffe000, writing f3000000)
[ 8670.467654] PM: Writing back config space on device 0001:11:00.0 at offset 1 (was 4100002, writing 4100006)
[ 8670.473097] agpgart: Putting AGP V2 device at 0000:00:0b.0 into 1x mode
[ 8670.473116] agpgart: Putting AGP V2 device at 0000:00:10.0 into 1x mode
[ 8670.473776] [drm] Loading R200 Microcode
[ 8670.740244] adb: starting probe task...
[ 8670.994511] adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
[ 8671.001159] ADB keyboard at 2, handler 1
[ 8671.016560] ADB mouse at 3, handler set to 4 (trackpad)
[ 8671.076210] adb: finished probe task...
[ 8671.347324] irq 58: nobody cared (try booting with the "irqpoll" option)
[ 8671.347342] Call Trace:
[ 8671.347348] [C22BBE80] [C0007BE4] show_stack+0x3c/0x194 (unreliable)
[ 8671.347371] [C22BBEB0] [C00548E0] __report_bad_irq+0x34/0xac
[ 8671.347385] [C22BBED0] [C0054A34] note_interrupt+0xdc/0x270
[ 8671.347396] [C22BBF00] [C005439C] __do_IRQ+0x174/0x180
[ 8671.347406] [C22BBF20] [C00059EC] do_IRQ+0x48/0x8c
[ 8671.347417] [C22BBF40] [C001213C] ret_from_except+0x0/0x14
[ 8671.347432] --- Exception: 501 at 0xf6ddc10
[ 8671.347474] LR = 0xf6db984
[ 8671.347478] handlers:
[ 8671.347483] [<f21abc84>] (yenta_interrupt+0x0/0x11c [yenta_socket])
[ 8671.347508] Disabling IRQ #58
[ 8686.214413] rt2500 EEPROM: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Channel
[ 8686.214430] rt2500 EEPROM: 8 8 8 8 8 7 7 7 7 7 7 7 7 7 dBm Maximum
[ 8686.523723] kernel BUG in queue_work at kernel/workqueue.c:110!
[ 8686.523734] Oops: Exception in kernel mode, sig: 5 [#1]
[ 8686.523739]
[ 8686.523742] Modules linked in: nls_utf8 nls_cp437 vfat fat sg sd_mod usb_storage libusual af_packet rt2500 binfmt_misc rfcomm hidp l2cap bluetooth radeon drm ppdev lp parport cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_ondemand cpufreq_conservative dm_mod md_mod sr_mod snd_powermac sbp2 scsi_mod apm_emu pcmcia snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc sungem sungem_phy snd soundcore airport orinoco hermes snd_aoa_soundbus pmac_zilog serial_core uninorth_agp agpgart yenta_socket rsrc_nonstatic pcmcia_core tsdev evdev usbhid ext3 jbd ohci_hcd usbcore ohci1394 ieee1394 ide_cd cdrom ide_disk capability commoncap
[ 8686.523826] NIP: C003DCE0 LR: F278628C CTR: C003DD00
[ 8686.523832] REGS: c1f81e00 TRAP: 0700 Not tainted (2.6.17-10-powerpc)
[ 8686.523837] MSR: 00029032 <EE,ME,IR,DR> CR: 24000048 XER: 20000000
[ 8686.523848] TASK = effc0600[4] 'events/0' THREAD: c1f80000
[ 8686.523853] GPR00: 00000001 C1F81EB0 EFFC0600 00000000 DE3DFAE8 00000001 DE3DD0B8 10C02B00
[ 8686.523865] GPR08: 00000000 00000000 C21575C0 DE3DFAEC 94063111 00000000 016AB5F0 00241B00
[ 8686.523877] GPR16: 00241AB8 00241AB4 01646FF4 016AAFA0 01646F04 016AB5E8 01647B38 016AB1BC
[ 8686.523889] GPR24: 00000000 C02B0000 00000001 EFFEE778 C1F81F28 DE3E0280 00000001 DE3D0280
[ 8686.523902] NIP [C003DCE0] queue_work+0x48/0x68
[ 8686.523916] LR [F278628C] MlmeHandler+0x18/0x28 [rt2500]
[ 8686.523957] Call Trace:
[ 8686.523960] [C1F81EB0] [00000001] 0x1 (unreliable)
[ 8686.523979] [C1F81EC0] [F278628C] MlmeHandler+0x18/0x28 [rt2500]
[ 8686.523994] [C1F81ED0] [F2786494] MlmeAutoReconnectLastSSID+0x78/0x8c [rt2500]
[ 8686.524009] [C1F81F10] [F2789530] MlmeCntlMachinePerformAction+0x1a0/0x1cc [rt2500]
[ 8686.524025] [C1F81F20] [F278685C] MlmeWork+0x178/0x180 [rt2500]
[ 8686.524040] [C1F81F50] [C003DF58] run_workqueue+0xa4/0x11c
[ 8686.524048] [C1F81F70] [C003E5FC] worker_thread+0x124/0x148
[ 8686.524057] [C1F81FC0] [C0041F38] kthread+0xc0/0xfc
[ 8686.524067] [C1F81FF0] [C0012C50] kernel_thread+0x44/0x60
[ 8686.524081] Instruction dump:
[ 8686.524085] 7d2b0378 7d60212d 40a2fff4 71200001 39640004 38600000 40820028 80040004
[ 8686.524097] 7d600278 7c000034 5400d97e 68000001 <0f000000> 806a0000 4bfffe7d 38600001
[ 8686.524110] <6>eth1: New link status: Connected (0001)
[ 8690.696753] eth1: New link status: Disconnected (0002)
[ 8690.824490] eth1: New link status: Connected (0001)
[ 8928.362991] rt2500MlmeEnqueue full, msg dropped and may corrupt MLME

Revision history for this message
sam tygier (samtygier) wrote :

this is in egdy, but i also saw it a few times in the last few months in dapper

Revision history for this message
Timothy Smith (tas50) wrote :

can you attach the output of cat /proc/cpuinfo

Revision history for this message
sam tygier (samtygier) wrote :

sam@titania:~$ cat /proc/cpuinfo
processor : 0
cpu : 7455, altivec supported
clock : 667.000000MHz
revision : 0.3 (pvr 8001 0303)
bogomips : 66.56
timebase : 33331553
platform : PowerMac
machine : PowerBook3,5
motherboard : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as : 80 (PowerBook Titanium IV)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld

also i am begining to think this is related to the rt2500 driver. the problem seems to only happen if i have my belkin f5d7010 pcmcia wifi card plugged in.

Revision history for this message
Chuck Short (zulcss) wrote :

Which kernel is this?

Changed in linux-meta:
status: Unconfirmed → Needs Info
Revision history for this message
sam tygier (samtygier) wrote :

the edgy kernel is 2.6.15

Revision history for this message
KristofferLarsen (kri) wrote :

I have the same problem on a HP NW8440 Laptop. Suspend and resume seems to be working except for the Keyboard and the internal touchpad.

I have tried to attach a external USB keyboard and that works after suspend and resume.

Revision history for this message
XXarles (carlosbm) wrote :

Also happens to me. No keyboard after resume, but touchpad is OK.
Asus F3JC
Ubuntu Feisty AMD64
Core 2 T 5500 Nvidia GeForce Go 7300
Linux asus 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux

Revision history for this message
Joe Caputo (jcaputo1) wrote :

Seeing this on a Dell Inspiron E1505 -- built-in keyboard & trackpad non-responsive, external USB mouse worked when I plugged one in.

Never had this problem with Dapper or Edgy. /proc/cpuinfo below.

caputo@snowmane:~$ uname -a
Linux snowmane 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

caputo@snowmane:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU T2050 @ 1.60GHz
stepping : 8
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor est tm2 xtpr
bogomips : 3200.69
clflush size : 64

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU T2050 @ 1.60GHz
stepping : 8
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor est tm2 xtpr
bogomips : 3193.04
clflush size : 64

caputo@snowmane:~$

Revision history for this message
Jan Skowron (jan-skowron) wrote : Re: no keyboard after suspend on ti powerbook G4, on hp nx7400 and so on

Solution:

  sudo sh -c 'echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind'
  sudo sh -c 'echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind'

Problem with keyboard not working after resume from suspend is in driver i8042. Until it will be fixed I advise to use this workaroud.
Other solution is to complile i8042 as module (and maybe psmouse) and unload it before suspend, that load it after resume.

I have put two above lines into my Power Manager configuration (/etc/pm/hooks/). If you are using diferent suspend script put it there.
I have laptop HP nx7400 with Fedora Core 6, as I can see this problem is common through all Linux distibutions and all manufacturers. On hundreds of forums there are questions like: "What to do if my keyboard and touchpad doesnt wake up after resume from suspend or thaw after hibernate" or topics like "no keyboard after suspend" and "keyboard problem after resume from hibernation". I think it is imperativie to solve this problem once and for all.

Problem solved but only temporarlly!
Solution from: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/23497/comments/17

PS. sometimes after resume scroll on touchpad doest work, going to text console (Alt+F1) and back (Alt+F7) often helps.

Revision history for this message
isia (visataev) wrote :

Hi all. I have similar problem, but it's happens periodicaly not depending on suspending or else.

"rt61MlmeEnqueue full, msg dropped and may corrupt MLME"

As i undarstand this is problem with wifi driver.

MSI megaboog M673

2.6.20-16-generic

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-meta (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.