← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 789819] Re: Lirc mceusb resume problem

 

As part of the installation of LIRC, I created the following (as part of
a how-to recipe):

$ pwd
/etc/udev/rules.d
$ cat 10-local.rules 
KERNEL=="event*",ATTRS{idVendor}=="1784",ATTRS{idProduct}=="0008",SYMLINK="input/irremote"
$ cat 90-mcewakeup.rules 
SUBSYSTEM=="usb", ATTRS{idVendor}=="1784", ATTRS{idProduct}=="0008" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

Wondering if this looks OK? could this be connected to the udev
"restart" that you mentioned?

Also, I found that pm-tools (used in ubuntu to handle suspend/resume) would list any modules to be unloaded in a file here:
/etc/pm/config.d/
however in my installation, this is empty.
I captured the "pm-suspend.log" output, just for reference: http://paste.kde.org/85057/raw/
This doesn't show lirc unloading either. 
Any pointer on where lirc may be unloaded by ubuntu?

Regarding 3), is there a way I could test the patch?

Last but not least, I'm supposed to receive a new remote next month (the
new motorola nyxboard), so I will be able to test with it as well.

Currently, after a resume, irw says "connection refused", cat
/proc/bus/input/devices  no longer shows  the remote device, and
/etc/init.d/lirc restart produces no change. Plugging/unplugging the
receiver and then reloading lirc also produces no result.

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/789819

Title:
  Lirc mceusb resume problem

Status in “lirc” package in Ubuntu:
  New

Bug description:
  Binary package hint: lirc

  Dear All

  I've XBMC 10.1 running on Ubuntu 11.04. I'm using a mceusb dongle

  I've installed lirc and my harmony remote works fine.

  The main problem is after the suspend the remote is not able to resume
  the pc and if I manually do it lirc is not working anymore.

  with ubuntu 10.10 the problem was solved using the following howto:

  http://wiki.xbmc.org/?title=Automati..._resume_script

  but it looks like it's not working on 11.04.

  I've tried to:

  1. stop lirc
  2. rmmod --force lirc_dev
  3. rmmod --force mceusb
  but it looks like I ca't "ERROR resource busy" or sometime the command hang.

  Thank you

  L.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/789819/+subscriptions


References