[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.14 USB vs. sleep issues



Here some of my experiences on an iBook 12" 1,33Ghz with a vanilla kernel 2.6.14, only patched with swsusp2. USB support is compiled as modules and USB_SUSPEND is enabled.


Case 1:

The iBook wakes up, shows the X screen with applications and everything, then gtkpbbuttons shows, the computer will go to sleep now and it falls back to sleep again. On the second atempt it wakes up normally. This happens about every second time waking up from sleep:

Nov 17 21:42:31 ibookg4 adb: starting probe task...
Nov 17 21:42:31 ibookg4 adb devices: [2]: 2 c4 [7]: 7 1f
Nov 17 21:42:31 ibookg4 ADB keyboard at 2, handler 1
Nov 17 21:42:31 ibookg4 adb: finished probe task...
Nov 17 21:42:34 ibookg4 pbbuttonsd: INFO: Script
'/etc/power/pmcs-pbbuttonsd resume battery ram' launche
d and exited normally
Nov 17 21:42:34 ibookg4 pbbuttonsd: INFO: Script
'/etc/power/pmcs-pbbuttonsd powersave battery ' launche
d and exited normally
Nov 17 21:42:36 ibookg4 pbbuttonsd: INFO: Script
'/etc/power/pmcs-pbbuttonsd suspend battery ram' launch
ed and exited normally
Nov 17 21:42:36 ibookg4 usb 1-1: no poweroff yet, suspending instead
Nov 17 21:42:36 ibookg4 usb usb3: no poweroff yet, suspending instead
Nov 17 21:42:36 ibookg4 usb usb2: no poweroff yet, suspending instead
Nov 17 21:42:36 ibookg4 appletouch 1-2:1.0: suspend 2 fail, code 0
Nov 17 21:42:36 ibookg4 appletouch 1-2:1.0: resume is unsafe!
Nov 17 21:42:36 ibookg4 usb 1-2: no poweroff yet, suspending instead
Nov 17 21:42:36 ibookg4 usb usb1: no poweroff yet, suspending instead
Nov 17 21:42:37 ibookg4 eth0: suspending, WakeOnLan disabled
Nov 17 21:42:37 ibookg4 appletouch 1-2:1.0: PM: suspend 0->2, parent 1-2
already 2
Nov 17 21:42:37 ibookg4 Badness in hcd_unlink_urb at
drivers/usb/core/hcd.c:1300
Nov 17 21:42:37 ibookg4 Call trace:
Nov 17 21:42:37 ibookg4 [c00057d8] check_bug_trap+0x98/0xdc
Nov 17 21:42:37 ibookg4 [c0005a28] ProgramCheckException+0x20c/0x480
Nov 17 21:42:37 ibookg4 [c0004f24] ret_from_except_full+0x0/0x4c
Nov 17 21:42:37 ibookg4 [e21c7cd8] hcd_unlink_urb+0xa4/0x1a0 [usbcore]
Nov 17 21:42:37 ibookg4 [e21c8f2c] usb_kill_urb+0x94/0x128 [usbcore]
Nov 17 21:42:37 ibookg4 [e1023a74] atp_suspend+0x1c/0x3c [appletouch]
Nov 17 21:42:37 ibookg4 [e21c25dc] usb_generic_suspend+0x88/0xb0 [usbcore]
Nov 17 21:42:37 ibookg4 [c0146d28] suspend_device+0xc4/0x134
Nov 17 21:42:37 ibookg4 [c0146e74] device_suspend+0xdc/0x320
Nov 17 21:42:37 ibookg4 [c02a0584] pmac_suspend_devices+0x50/0x1a0
Nov 17 21:42:37 ibookg4 [c02a146c] pmu_ioctl+0x654/0x944
Nov 17 21:42:37 ibookg4 [c0082174] do_ioctl+0x68/0x9c
Nov 17 21:42:37 ibookg4 [c0082260] vfs_ioctl+0xb8/0x400
Nov 17 21:42:37 ibookg4 [c00825e8] sys_ioctl+0x40/0x74
Nov 17 21:42:37 ibookg4 [c0004800] ret_from_syscall+0x0/0x44
Nov 17 21:42:37 ibookg4 usb 1-2: PM: suspend 2->2, parent usb1 already 2
Nov 17 21:42:37 ibookg4 radeonfb (0000:00:10.0): suspending to state: 2...
Nov 17 21:42:37 ibookg4 radeonfb (0000:00:10.0): resuming from state: 2...
Nov 17 21:42:37 ibookg4 PCI: Enabling device 0000:00:10.0 (0000 -> 0003)
Nov 17 21:42:37 ibookg4 radeon: PAD_CTLR_STRENGTH doesn't stabilize !
Nov 17 21:42:37 ibookg4 appletouch: incomplete data package.
Nov 17 21:42:37 ibookg4 PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
Nov 17 21:42:37 ibookg4 PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
Nov 17 21:42:38 ibookg4 eth0: resuming
Nov 17 21:42:38 ibookg4 PHY ID: 4061e4, addr: 0
Nov 17 21:42:39 ibookg4 hda: Enabling Ultra DMA 5
Nov 17 21:42:39 ibookg4 hdc: Enabling MultiWord DMA 2
Nov 17 21:42:45 ibookg4 adb: starting probe task...
Nov 17 21:42:45 ibookg4 adb devices: [2]: 2 c4 [7]: 7 1f
Nov 17 21:42:45 ibookg4 ADB keyboard at 2, handler 1
Nov 17 21:42:45 ibookg4 adb: finished probe task...
Nov 17 21:42:47 ibookg4 pbbuttonsd: INFO: Script
'/etc/power/pmcs-pbbuttonsd resume battery ram' launche
d and exited normally


Case 2:

The iBook woke up, showed the following with blinking cursor but did not respond to any key. This happened one time now.

Nov 19 15:10:27 ibookg4 pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd suspend ac ram' launched and exited normally
Nov 19 15:10:27 ibookg4 usb 1-1: no poweroff yet, suspending instead
Nov 19 15:10:27 ibookg4 eth0: Link down
Nov 19 15:10:27 ibookg4 usb usb3: no poweroff yet, suspending instead
Nov 19 15:10:27 ibookg4 usb usb2: no poweroff yet, suspending instead
Nov 19 15:10:27 ibookg4 appletouch 1-2:1.0: suspend 2 fail, code 0
Nov 19 15:10:27 ibookg4 appletouch 1-2:1.0: resume is unsafe!
Nov 19 15:10:27 ibookg4 usb 1-2: no poweroff yet, suspending instead
Nov 19 15:10:27 ibookg4 usb usb1: no poweroff yet, suspending instead
Nov 19 15:10:28 ibookg4 eth0: suspending, WakeOnLan disabled
Nov 19 15:10:28 ibookg4 appletouch 1-2:1.0: PM: suspend 0->2, parent 1-2 already 2 Nov 19 15:10:28 ibookg4 Badness in hcd_unlink_urb at drivers/usb/core/hcd.c:1300
Nov 19 15:10:28 ibookg4 Call trace:
Nov 19 15:10:28 ibookg4 [c00057d8] check_bug_trap+0x98/0xdc
Nov 19 15:10:28 ibookg4 [c0005a28] ProgramCheckException+0x20c/0x480
Nov 19 15:10:28 ibookg4 [c0004f24] ret_from_except_full+0x0/0x4c
Nov 19 15:10:28 ibookg4 [e21c7cd8] hcd_unlink_urb+0xa4/0x1a0 [usbcore]
Nov 19 15:10:28 ibookg4 [e21c8f2c] usb_kill_urb+0x94/0x128 [usbcore]
Nov 19 15:10:28 ibookg4 [e1023a74] atp_suspend+0x1c/0x3c [appletouch]
Nov 19 15:10:28 ibookg4 [e21c25dc] usb_generic_suspend+0x88/0xb0 [usbcore]
Nov 19 15:10:28 ibookg4 [c0146d28] suspend_device+0xc4/0x134
Nov 19 15:10:28 ibookg4 [c0146e74] device_suspend+0xdc/0x320
Nov 19 15:10:28 ibookg4 [c02a0584] pmac_suspend_devices+0x50/0x1a0
Nov 19 15:10:28 ibookg4 [c02a146c] pmu_ioctl+0x654/0x944
Nov 19 15:10:28 ibookg4 [c0082174] do_ioctl+0x68/0x9c
Nov 19 15:10:28 ibookg4 [c0082260] vfs_ioctl+0xb8/0x400
Nov 19 15:10:28 ibookg4 [c00825e8] sys_ioctl+0x40/0x74
Nov 19 15:10:28 ibookg4 [c0004800] ret_from_syscall+0x0/0x44
Nov 19 15:10:28 ibookg4 usb 1-2: PM: suspend 2->2, parent usb1 already 2
Nov 19 15:10:28 ibookg4 radeonfb (0000:00:10.0): suspending to state: 2...
Nov 19 15:10:28 ibookg4 radeonfb (0000:00:10.0): resuming from state: 2...
Nov 19 15:10:28 ibookg4 PCI: Enabling device 0000:00:10.0 (0000 -> 0003)
Nov 19 15:10:28 ibookg4 radeon: PAD_CTLR_STRENGTH doesn't stabilize !
Nov 19 15:10:28 ibookg4 ohci_hcd 0001:10:1a.0: wakeup
Nov 19 15:10:28 ibookg4 appletouch 1-2:1.0: PM: resume from 0, parent 1-2 still 2
Nov 19 15:10:28 ibookg4 PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
Nov 19 15:10:28 ibookg4 PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
Nov 19 15:10:29 ibookg4 eth0: resuming
Nov 19 15:10:29 ibookg4 PHY ID: 4061e4, addr: 0
Nov 19 15:10:30 ibookg4 hda: Enabling Ultra DMA 5
Nov 19 15:10:30 ibookg4 hdc: Enabling MultiWord DMA 2
Nov 19 15:10:30 ibookg4 usb usb1: PM: resume from 2, parent 0001:10:1a.0 still 2


Case 3:

Sometimes it says "Aiee, killing interrupt handler..." after wakeup but up to now I were not fast enough to take a photo before it rebooted.


I will try the patch now and post my experiences then again.

cu, Magnum

--
Carl Magnus Rosenbaum M.A.                          Tel: 089 - 700 666 26
Administration - Programmierung - Weiterbildung     Fax: 089 - 700 666 86
http://cmr.forestfactory.de/                      Mobil: 0163 - 700 666 2



Reply to: