Keyboard/Mouse problem after resume:
- external USB keyboard works fine after resume

- I have attached an extract of the messages file with suspend, wait 5 min, resume (suspend and resume with power button), but I don't know what could be related to keyboard/mouse.

On 12/14/2009 02:43 PM, Paul Fox wrote:
smparrish will correct me if i'm wrong, but i believe the release
you're testing runs powerd, not ohmd.  the presence of the control
panel, and its inability to control powerd's behavior, is a bug,
or an unimplemented feature -- take your pick.

(you can disable powerd if you wish, with "initctl stop powerd",
and move /etc/events.d/powerd elsewhere.  then start ohmd as you
did below.)

i'm curious about the keyboard/mouse not waking things up properly,
but i have zero time to look at it currently.

to prevent powerd from suspending the laptop, edit /etc/powerd/powerd.conf,
and adjust the timeout s to something big, like "999999999".

paul

philipp wrote:
  >  Switching off pm doesn't work (with control panel GUI or command):
  >  [o...@xo-11-08-d6 logs]$ sugar-control-panel -s automatic_pm off
  >  /usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning:
  >  the sha module is deprecated; use the hashlib module instead
  >     import sha
  >  sugar-control-panel: org.freedesktop.DBus.Error.ServiceUnknown: The name
  >  org.freedesktop.ohm was not provided by any .service files
  >
  >  After starting ohmd with "sudo service ohmd start" (per default service
  >  ohmd is off for all runlevels) it is possible to switch off automatic_pm
  >  (at least no error anymore), but it still suspends after some time and
  >  with resume is the same problem as before.
  >
  >  Is ohmd supposed to be on or off?
  >
  >  On 12/12/2009 01:55 AM, Steven M. Parrish wrote:
  >  >  If you are going to try out OS10 for the XO-1 here are a few things 
that need
  >  >  testing.
  >  >
  >  >  Does it boot consistently into Sugar?  Gnome?
  >  >
  >  >  Any strange lockups?  If so what were you doing?
  >  >
  >  >  Can you upgrade packages using "yum update" from the command line?
  >  >
  >  >  Does sound work?
  >  >
  >  >  Can you suspend?  Does it wake up?
  >  >
  >  >
  >  >  Please report any issues you have.
  >  >
  >  >  Steven
  >  >
  >  >
  >  _______________________________________________
  >  Devel mailing list
  >  Devel@lists.laptop.org
  >  http://lists.laptop.org/listinfo/devel

=---------------------
  paul fox, p...@laptop.org

Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.472876] dcon_freeze_store: 1
Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.472935] dcon_source_switch to DCON
Dec 14 09:45:22 xo-11-08-d6 olpc-kbdshim-hal[1618]: idle timers set to 120 130 
240
Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.490375] olpc-dcon: The DCON has 
control
Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.580215] dcon_freeze_store: 1
Dec 14 09:45:23 xo-11-08-d6 kernel: [ 1134.435189] dcon_freeze_store: 0
Dec 14 09:45:23 xo-11-08-d6 kernel: [ 1134.435235] dcon_source_switch to CPU
Dec 14 09:45:23 xo-11-08-d6 kernel: [ 1134.456591] olpc-dcon: The CPU has 
control
Dec 14 09:45:29 xo-11-08-d6 kernel: [ 1140.549089] usb 1-1: USB disconnect, 
address 8
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Interface eth0.IPv4 no longer 
relevant for mDNS.
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Leaving mDNS multicast group on 
interface eth0.IPv4 with address 192.168.1.144.
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Withdrawing address record for 
fe80::217:c4ff:fe11:8d6 on eth0.
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Withdrawing address record for 
192.168.1.144 on eth0.
Dec 14 09:45:29 xo-11-08-d6 dhclient: receive_packet failed on eth0: Network is 
down
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: <info>  (eth0): supplicant 
connection state:  completed -> disconnected
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: <info>  (eth0): now unmanaged
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: <info>  (eth0): device state 
change: 8 -> 1 (reason 36)
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: <info>  (eth0): deactivating device 
(reason: 36).
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: <info>  eth0: canceled DHCP 
transaction, dhcp client pid 3038



Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1140.637777] PM: Syncing filesystems ... 
done.
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1140.640153] Freezing user space 
processes ... (elapsed 0.01 seconds) done.
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1140.658149] Freezing remaining freezable 
tasks ... (elapsed 1.08 seconds) done.
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.746749] Suspending console(s) (use 
no_console_suspend to debug)
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.767021] mmc_suspend_host: turning 
off power on mmc0
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.767047] sdhci_set_ios: power off for 
mmc0 from c05e60d1
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.767155] sdhci-pci 0000:00:0c.1: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.773519] sdhci_pci_probe: Enable PME 
set to 0x1a0c108
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.774862] ehci_hcd 0000:00:0f.5: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.780377] ohci_hcd 0000:00:0f.4: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.798950] olpc_do_sleep!
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.798950] ohci_hcd 0000:00:0f.4: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.798950] ehci_hcd 0000:00:0f.5: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.206924] sdhci_pci_probe: Enable PME 
is 0x1a0c008
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.206953] pci 0000:00:0c.2: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.211287] ohci_hcd 0000:00:0f.4: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.213618] sdhci_set_power: new power 
value = 14
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.259919] sdhci_set_ios: power off for 
mmc0 from c05e60d1
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.259938] sdhci_set_power: new power 
value = 0
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.295472] usb usb2: root hub lost 
power or was reset
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.295505] ehci_hcd 0000:00:0f.5: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.295554] usb usb1: root hub lost 
power or was reset
Dec 14 09:50:51 xo-11-08-d6 avahi-daemon[1510]: Withdrawing address record for 
fe80::217:c4ff:fe11:0 on msh0.
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1142.476938] Restarting tasks ... done.
Dec 14 09:50:51 xo-11-08-d6 olpc-kbdshim-hal[1618]: idle timers set to 120 130 
240
Dec 14 09:50:51 xo-11-08-d6 NetworkManager: 
nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
Dec 14 09:50:51 xo-11-08-d6 NetworkManager: 
nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' 
failed
Dec 14 09:50:51 xo-11-08-d6 NetworkManager: <info>  (eth0): cleaning up...
Dec 14 09:50:51 xo-11-08-d6 olpc-kbdshim-hal[1618]: idle timers set to 120 130 
240
Dec 14 09:50:51 xo-11-08-d6 NetworkManager: <info>  (msh0): now unmanaged
Dec 14 09:50:51 xo-11-08-d6 NetworkManager: <info>  (msh0): device state 
change: 3 -> 1 (reason 36)
Dec 14 09:50:51 xo-11-08-d6 NetworkManager: <info>  (msh0): cleaning up...
Dec 14 09:50:52 xo-11-08-d6 kernel: [ 1143.010330] usb 1-1: new high speed USB 
device using ehci_hcd and address 9
Dec 14 09:50:52 xo-11-08-d6 kernel: [ 1143.044748] dcon_freeze_store: 0
Dec 14 09:50:52 xo-11-08-d6 kernel: [ 1143.100540] dcon_freeze_store: 0
Dec 14 09:50:52 xo-11-08-d6 nm-dispatcher.action: Error in get_property: Method 
"Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" 
doesn't exist#012
Dec 14 09:50:52 xo-11-08-d6 kernel: [ 1143.165227] usb 1-1: configuration #1 
chosen from 1 choice
Dec 14 09:50:52 xo-11-08-d6 kernel: [ 1143.187507] usb 1-1: firmware: 
requesting usb8388.bin
Dec 14 09:50:53 xo-11-08-d6 kernel: [ 1144.171684] usb8xxx: Firmware ready 
event received
Dec 14 09:50:53 xo-11-08-d6 kernel: [ 1144.180413] libertas: 00:17:c4:11:08:d6, 
fw 5.110.22p23, cap 0x000003a3
Dec 14 09:50:53 xo-11-08-d6 kernel: [ 1144.192366] libertas: eth0: Marvell WLAN 
802.11 adapter
Dec 14 09:50:53 xo-11-08-d6 kernel: [ 1144.195193] libertas: PREP_CMD: command 
0x0074 failed: 2
Dec 14 09:50:53 xo-11-08-d6 kernel: [ 1144.195213] usb8xxx: Firmware does not 
seem to support PS mode
Dec 14 09:50:53 xo-11-08-d6 NetworkManager: <info>  (eth0): driver supports 
SSID scans (scan_capa 0x01).
Dec 14 09:50:53 xo-11-08-d6 NetworkManager: <info>  (eth0): new 802.11 WiFi 
device (driver: 'usb')
Dec 14 09:50:53 xo-11-08-d6 NetworkManager: <info>  (eth0): exported as 
/org/freedesktop/Hal/devices/net_00_17_c4_11_08_d6
Dec 14 09:50:53 xo-11-08-d6 NetworkManager: <info>  (msh0): driver supports 
SSID scans (scan_capa 0x01).
Dec 14 09:50:53 xo-11-08-d6 NetworkManager: <info>  (msh0): new 802.11 WiFi 
device (driver: 'usb')
Dec 14 09:50:53 xo-11-08-d6 NetworkManager: <info>  (msh0): exported as 
/org/freedesktop/Hal/devices/net_00_17_c4_11_00_00
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (eth0): device state 
change: 1 -> 2 (reason 2)
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (eth0): bringing up device.
Dec 14 09:50:58 xo-11-08-d6 kernel: [ 1149.047125] ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (eth0): preparing device.
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (msh0): deactivating device 
(reason: 2).
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <WARN>  nm_device_wifi_set_mode(): 
error setting card msh0 to mode 2: Operation not supported
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (eth0): supplicant 
interface state:  starting -> ready
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (eth0): device state 
change: 2 -> 3 (reason 0)
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (msh0): supplicant 
interface state:  starting -> ready
Dec 14 09:50:58 xo-11-08-d6 NetworkManager: <info>  (msh0): device state 
change: 2 -> 3 (reason 0)
Dec 14 09:50:59 xo-11-08-d6 avahi-daemon[1510]: Registering new address record 
for fe80::217:c4ff:fe11:0 on msh0.*.
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) starting 
connection 'Auto PEPY'
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  (eth0): device state 
change: 3 -> 4 (reason 0)
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 1 
of 5 (Device Prepare) scheduled...
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 1 
of 5 (Device Prepare) started...
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 2 
of 5 (Device Configure) scheduled...
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 1 
of 5 (Device Prepare) complete.
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 2 
of 5 (Device Configure) starting...
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  (eth0): device state 
change: 4 -> 5 (reason 0)
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0/wireless): 
connection 'Auto PEPY' has security, and secrets exist.  No new secrets needed.
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Config: added 'ssid' value 
'PEPY'
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Config: added 'scan_ssid' 
value '1'
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Config: added 'key_mgmt' 
value 'NONE'
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Config: added 'wep_key0' 
value '<omitted>'
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Config: added 
'wep_tx_keyidx' value '0'
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 2 
of 5 (Device Configure) complete.
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  Config: set interface 
ap_scan to 1
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  (eth0): supplicant 
connection state:  scanning -> disconnected
Dec 14 09:51:20 xo-11-08-d6 NetworkManager: <info>  (eth0): supplicant 
connection state:  disconnected -> associating
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  (eth0): supplicant 
connection state:  associating -> associated
Dec 14 09:51:21 xo-11-08-d6 kernel: [ 1172.171067] ADDRCONF(NETDEV_CHANGE): 
eth0: link becomes ready
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  (eth0): supplicant 
connection state:  associated -> completed
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  Activation (eth0/wireless) 
Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 
'PEPY'.
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 3 
of 5 (IP Configure Start) scheduled.
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 3 
of 5 (IP Configure Start) started...
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  (eth0): device state 
change: 5 -> 7 (reason 0)
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Beginning 
DHCP transaction.
Dec 14 09:51:21 xo-11-08-d6 dhclient: Internet Systems Consortium DHCP Client 
4.1.0p1
Dec 14 09:51:21 xo-11-08-d6 dhclient: Copyright 2004-2009 Internet Systems 
Consortium.
Dec 14 09:51:21 xo-11-08-d6 dhclient: All rights reserved.
Dec 14 09:51:21 xo-11-08-d6 dhclient: For info, please visit 
http://www.isc.org/sw/dhcp/
Dec 14 09:51:21 xo-11-08-d6 dhclient:
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  dhclient started with pid 
3331
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 3 
of 5 (IP Configure Start) complete.
Dec 14 09:51:21 xo-11-08-d6 NetworkManager: <info>  DHCP: device eth0 state 
changed normal exit -> preinit
Dec 14 09:51:21 xo-11-08-d6 dhclient: Listening on LPF/eth0/00:17:c4:11:08:d6
Dec 14 09:51:21 xo-11-08-d6 dhclient: Sending on   LPF/eth0/00:17:c4:11:08:d6
Dec 14 09:51:21 xo-11-08-d6 dhclient: Sending on   Socket/fallback
Dec 14 09:51:22 xo-11-08-d6 avahi-daemon[1510]: Registering new address record 
for fe80::217:c4ff:fe11:8d6 on eth0.*.
Dec 14 09:51:23 xo-11-08-d6 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 
port 67
Dec 14 09:51:23 xo-11-08-d6 dhclient: DHCPACK from 192.168.1.1
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>  DHCP: device eth0 state 
changed preinit -> reboot
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 4 
of 5 (IP Configure Get) scheduled...
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 4 
of 5 (IP Configure Get) started...
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>    address 192.168.1.144
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>    prefix 24 (255.255.255.0)
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>    gateway 192.168.1.1
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>    nameserver '202.47.96.146'
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>    nameserver '202.47.96.147'
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>    nameserver '202.71.32.243'
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 5 
of 5 (IP Configure Commit) scheduled...
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 4 
of 5 (IP Configure Get) complete.
Dec 14 09:51:23 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 5 
of 5 (IP Configure Commit) started...
Dec 14 09:51:23 xo-11-08-d6 avahi-daemon[1510]: Joining mDNS multicast group on 
interface eth0.IPv4 with address 192.168.1.144.
Dec 14 09:51:23 xo-11-08-d6 avahi-daemon[1510]: New relevant interface 
eth0.IPv4 for mDNS.
Dec 14 09:51:23 xo-11-08-d6 avahi-daemon[1510]: Registering new address record 
for 192.168.1.144 on eth0.IPv4.
Dec 14 09:51:23 xo-11-08-d6 dhclient: bound to 192.168.1.144 -- renewal in 
42270 seconds.
Dec 14 09:51:24 xo-11-08-d6 NetworkManager: <info>  (eth0): device state 
change: 7 -> 8 (reason 0)
Dec 14 09:51:24 xo-11-08-d6 NetworkManager: <info>  Policy set 'Auto PEPY' 
(eth0) as default for routing and DNS.
Dec 14 09:51:24 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) 
successful, device activated.
Dec 14 09:51:24 xo-11-08-d6 NetworkManager: <info>  Activation (eth0) Stage 5 
of 5 (IP Configure Commit) complete.

_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to