[mythtv-users] mce remote (lirc) fails after resume from standby

Alan Marchiori alan at alanmarian.com
Sun Jun 28 03:15:13 UTC 2009


I have most of my issues figured out but getting the remote to work
consistently after standby is still causing problems.  The only
reliable way to get the remote to work is unplug the usb receiver and
plug it back in.  Restarting lirc or myth doesn't help.  Most of the
time it fails but every once in a while it works fine.  Below is the
relevant parts from syslog after a resume (showing the failure).  The
call trace seems to indicate something is breaking... but what, why,
and how to fix it?

Thanks

Jun 27 21:04:37 fe1 kernel: [ 1008.813863] ACPI: Waking up from system
sleep state S3
<snip>...
Jun 27 21:04:37 fe1 kernel: [ 1011.656021] usb 2-1: reset low speed
USB device using ohci_hcd and address 2
Jun 27 21:04:37 fe1 kernel: [ 1012.356020] usb 2-2: reset low speed
USB device using ohci_hcd and address 3
Jun 27 21:04:37 fe1 kernel: [ 1013.044020] usb 2-3: reset low speed
USB device using ohci_hcd and address 4
Jun 27 21:04:37 fe1 kernel: [ 1013.584021] usb 2-4: reset full speed
USB device using ohci_hcd and address 5
Jun 27 21:04:37 fe1 kernel: [ 1013.799863] lirc_mceusb2 2-4:1.0: no
reset_resume for driver lirc_mceusb2?
Jun 27 21:04:37 fe1 kernel: [ 1013.799887] lirc_mceusb2[5]: usb remote
disconnected
Jun 27 21:04:37 fe1 kernel: [ 1013.980023] usb 2-4: reset full speed
USB device using ohci_hcd and address 5
Jun 27 21:04:37 fe1 kernel: [ 1014.189839] lirc_dev:
lirc_register_plugin: sample_rate: 0
Jun 27 21:04:37 fe1 kernel: [ 1014.195835] lirc_mceusb2[5]: Philips
eHome Infrared Transceiver on usb2:5
Jun 27 21:04:37 fe1 kernel: [ 1014.195915] PM: resume devices took 5.376 seconds
Jun 27 21:04:37 fe1 kernel: [ 1014.195921] ------------[ cut here ]------------
Jun 27 21:04:37 fe1 kernel: [ 1014.195923] WARNING: at
/build/buildd/linux-2.6.28/kernel/power/main.c:177
suspend_test_finish+0x7c/0x80()
Jun 27 21:04:37 fe1 kernel: [ 1014.195924] Component: resume devices
Jun 27 21:04:37 fe1 kernel: [ 1014.195925] Modules linked in:
nls_cp437 cifs ppdev bridge stp bnep input_polldev video output xfs lp
parport snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss
snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi
snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore
lirc_mceusb2 i2c_nforce2 serio_raw pcspkr snd_page_alloc k8temp
lirc_dev joydev nvidia(P) hid_logitech ff_memless usbhid forcedeth
fbcon tileblit font bitblit softcursor
Jun 27 21:04:37 fe1 kernel: [ 1014.195946] Pid: 6110, comm: pm-suspend
Tainted: P           2.6.28-13-generic #44-Ubuntu
Jun 27 21:04:37 fe1 kernel: [ 1014.195948] Call Trace:
Jun 27 21:04:37 fe1 kernel: [ 1014.195953]  [<ffffffff80250927>]
warn_slowpath+0xb7/0xf0
Jun 27 21:04:37 fe1 kernel: [ 1014.195956]  [<ffffffff8026d478>] ?
down_trylock+0x38/0x50
Jun 27 21:04:37 fe1 kernel: [ 1014.195959]  [<ffffffff80251040>] ?
try_acquire_console_sem+0x10/0x40
Jun 27 21:04:37 fe1 kernel: [ 1014.195962]  [<ffffffff8025c676>] ?
lock_timer_base+0x36/0x70
Jun 27 21:04:37 fe1 kernel: [ 1014.195965]  [<ffffffff80531fcf>] ?
usb_suspend_both+0x26f/0x310
Jun 27 21:04:37 fe1 kernel: [ 1014.195969]  [<ffffffff80697836>] ?
printk+0x67/0x69
Jun 27 21:04:37 fe1 kernel: [ 1014.195972]  [<ffffffff804188a7>] ?
kobject_put+0x27/0x60
Jun 27 21:04:37 fe1 kernel: [ 1014.195975]  [<ffffffff804b6075>] ?
put_device+0x15/0x20
Jun 27 21:04:37 fe1 kernel: [ 1014.195979]  [<ffffffff804be09a>] ?
dpm_complete+0x18a/0x1a0
Jun 27 21:04:37 fe1 kernel: [ 1014.195981]  [<ffffffff8028003c>]
suspend_test_finish+0x7c/0x80
Jun 27 21:04:37 fe1 kernel: [ 1014.195984]  [<ffffffff80280124>]
suspend_devices_and_enter+0xe4/0x180
Jun 27 21:04:37 fe1 kernel: [ 1014.195986]  [<ffffffff802803d9>]
enter_state+0xe9/0x120
Jun 27 21:04:37 fe1 kernel: [ 1014.195989]  [<ffffffff802804ca>]
state_store+0xba/0x100
Jun 27 21:04:37 fe1 kernel: [ 1014.195991]  [<ffffffff80418747>]
kobj_attr_store+0x17/0x20
Jun 27 21:04:37 fe1 kernel: [ 1014.195993]  [<ffffffff80347675>]
sysfs_write_file+0xc5/0x140
Jun 27 21:04:37 fe1 kernel: [ 1014.195997]  [<ffffffff802e7eeb>]
vfs_write+0xcb/0x130
Jun 27 21:04:37 fe1 kernel: [ 1014.195999]  [<ffffffff802e8040>]
sys_write+0x50/0x90
Jun 27 21:04:37 fe1 kernel: [ 1014.196013]  [<ffffffff8021253a>]
system_call_fastpath+0x16/0x1b
Jun 27 21:04:37 fe1 kernel: [ 1014.196015] ---[ end trace bfba85e0b835c862 ]---
Jun 27 21:04:37 fe1 kernel: [ 1014.196103] PM: Finishing wakeup.
Jun 27 21:04:37 fe1 lircd-0.8.4a[1652]: error reading from /dev/lirc0
Jun 27 21:04:37 fe1 lircd-0.8.4a[1652]: No such device
Jun 27 21:04:37 fe1 kernel: [ 1014.196104] Restarting tasks ... done.
Jun 27 21:04:37 fe1 lircd-0.8.4a[1652]: caught signal
Jun 27 21:04:37 fe1 lircd-0.8.4a[6251]: lircd(default) ready


More information about the mythtv-users mailing list