[SOLVED] lirc X10 stopped working after apt-get upgrade - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Hardware (/forum-7.html) +--- Forum: Remotes and CEC support (/forum-26.html) +--- Thread: [SOLVED] lirc X10 stopped working after apt-get upgrade (/thread-3527.html) |
lirc X10 stopped working after apt-get upgrade - -AB- - 15th Apr, 2016 02:25 AM Hi all, I have a Raspberry Pi 2B with an X10 remote. Everything fine so far, until last week I decided to change a running system, and apt-get updated and upgraded. After reboot, remote not working. mode2 --raw still responds to key presses, lirc deamon starts without complaints, but irw does not output anything, it doesn't even get to that, as it closes instantly without *any* output. Terminal xbian@mumepc ~ $ irw xbian@mumepc ~ $ The only thing I found and thought might be a problem was the following lines in dmesg: Code: [ 9.741303] bcm2708_rng_init=afbfe000 Can I discourage lirc from using the GPIO pins? The X10 uses a USB connector anyway: Code: [ 4.312574] usb 1-1.3: new low-speed USB device number 4 using dwc_otg Any more information I can provide? Really don't know how to proceed here Thanks in advance RE: lirc X10 stopped working after apt-get upgrade - Nachteule - 15th Apr, 2016 03:04 AM First question, do you have staging and/or devel repo enabled in /etc/apt/sources.list.d/xbian.list? RE: lirc X10 stopped working after apt-get upgrade - -AB- - 15th Apr, 2016 06:03 AM (15th Apr, 2016 03:04 AM)Nachteule Wrote: First question, do you have staging and/or devel repo enabled in /etc/apt/sources.list.d/xbian.list? Don't think so.... *checks* Nope: Terminal xbian@mumepc ~ $ cat /etc/apt/sources.list.d/xbian.list deb mirror://apt.xbian.org/mirror.txt stable main rpi2-jessie ### deb mirror://apt.xbian.org/mirror.txt staging main rpi2-jessie ### deb mirror://apt.xbian.org/mirror.txt devel main rpi2-jessie RE: lirc X10 stopped working after apt-get upgrade - Nachteule - 15th Apr, 2016 06:39 AM Ok, so lirc package was not updated. If you do not need rpi lirc, you could disable it in /boot/config.txt Code: #dtoverlay=lirc-rpi And next: please check if module lirc_atiusb is loaded. It wasn't there in older kernel packages, so I suppose you don't need it if it is loaded, try to blacklist it by adding line Quote:blacklist lirc_atiusb to file /etc/modprobe.d/xbian.conf (dont forget to add <return> to this line) RE: lirc X10 stopped working after apt-get upgrade - -AB- - 15th Apr, 2016 08:00 AM (15th Apr, 2016 06:39 AM)Nachteule Wrote: If you do not need rpi lirc, you could disable it in /boot/config.txtActually I had that disabled already. Don't know why I still get the error in dmesg. (15th Apr, 2016 06:39 AM)Nachteule Wrote: please check if module lirc_atiusb is loaded. It wasn't there in older kernel packages, so I suppose you don't need itYaaaay, I vividly remember this workaround to make it work in the first place. Back then, the X10 was recognized as a keyboard, and only left/right buttons worked. If it had shown similar behavior, I'd have searched for the blacklist again, but it didn't do anything at all, so I didn't think of that.... Anyway, added the module to the blacklist, reboot, worked again. Big thanks, also from my girlfriend |