Linux XBMC/natty doesn't resume lirc after sleep
#1
Hi!

I upgraded to Eden using the xbmcbuntu install method. After the install, I've found that the remote breaks after wake. It's not really xbmc that breaks it, it's something else.

wisniewski@xbmc:~$ irw
000000037ff07be0 00 KEY_DOWN mceusb
000000037ff07be1 00 KEY_UP mceusb
000000037ff07be1 01 KEY_UP mceusb
000000037ff07be6 00 KEY_STOP mceusb
000000037ff07bf3 00 KEY_POWER mceusb

<sleep mode and then wake up by lan>

root@xbmc:/home/wisniewski# irw
connect: Connection refused
root@xbmc:/home/wisniewski# /etc/init.d/lirc restart
* Stopping remote control daemon(s): LIRC [fail]
* Loading LIRC modules [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf
root@xbmc:/home/wisniewski# irw
connect: Connection refused
root@xbmc:/home/wisniewski#

If I reboot, things start working again. I found this bug...

https://bugs.launchpad.net/ubuntu/+sourc...bug/816598

but it's for natty and not oneiric. Before I start digging, I was wondering if anybody came across this and if there's a fix. Most of the stuff I've seen in the forums has been xbmc-centric and not much OS specific. I should also mention that I had no problems with the remote and sleep with Dharma.

Thanks!
Reply
#2
Interesting.... When I reboot (to get it working again), start irw to ensure it works, then restart lirc, it doesn't start back up and the symbolic link is gone....
Hi All,

OK, I think I figured it out. I know it's not a fix, but a workaround. I think I will submit it on the trac site, as I don't think it's something related to what hardware I have.

I'm not an init.d whiz, but if you look at /etc/init.d/lirc, in the first part of the file, you have this...


if $MODULES_MISSING; then
log_failure_msg "Unable to load LIRC kernel modules. Verify your"
log_failure_msg "selected kernel modules in /etc/lirc/hardware.conf"
START_LIRCMD=false
START_LIRCD=false
fi
}

When I change the false to true...


if $MODULES_MISSING; then
log_failure_msg "Unable to load LIRC kernel modules. Verify your"
log_failure_msg "selected kernel modules in /etc/lirc/hardware.conf"
START_LIRCMD=true
START_LIRCD=true
fi
}


everything works great. I know this isn't a real fix, but it will work until somebody smarter than me can figure it out...

Reply

Logout Mark Read Team Forum Stats Members Help
XBMC/natty doesn't resume lirc after sleep0