Forum
[SOLVED] ATI remote wonder not working after update - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Remotes and CEC support (/forum-26.html)
+--- Thread: [SOLVED] ATI remote wonder not working after update (/thread-3984.html)

Pages: 1 2 3


ATI remote wonder not working after update - Chiron - 10th Jul, 2018 08:15 AM

Good afternoon

since a recent update my ati-remote-wonder is not working anymore
See the last line of this extract, ati_remote is unregistred.

Code:
[    8.799760] lirc_dev: IR Remote Control driver registered, major 243
[    8.803021] IR LIRC bridge handler initialized
[    8.804442] Registered IR keymap rc-rc6-mce
[    8.804780] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver@12/rc/rc0
[    8.805084] input: gpio_ir_recv as /devices/platform/ir-receiver@12/rc/rc0/input0
[    8.811677] input: MCE IR Keyboard/Mouse (gpio-rc-recv) as /devices/virtual/input/input1
[    8.834053] rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) registered at minor = 0
[    9.295714] Registered IR keymap rc-ati-x10
[    9.296000] rc rc1: X10 Wireless Technology Inc USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc1
[    9.296269] input: X10 Wireless Technology Inc USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc1/input2
[    9.296621] input: X10 Wireless Technology Inc USB Receiver mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input3
[    9.317536] usbcore: registered new interface driver ati_remote
[    9.333131] dvb_usb_af9035 1-1.5:1.0: prechip_version=83 chip_version=02 chip_type=9135
[    9.361354] usb 1-1.5: dvb_usb_v2: found a 'Avermedia A835B(3835)' in cold state
[    9.369540] usb 1-1.5: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw'
[    9.599540] dvb_usb_af9035 1-1.5:1.0: firmware version=3.39.1.0
[    9.599585] usb 1-1.5: dvb_usb_v2: found a 'Avermedia A835B(3835)' in warm state
[    9.599601] dvb_usb_af9035 1-1.5:1.0: [0] overriding tuner from 38 to 60
[    9.600374] usb 1-1.5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    9.600550] dvbdev: DVB: registering new adapter (Avermedia A835B(3835))
[    9.648705] af9033 3-001c: firmware version: LINK 3.39.1.0 - OFDM 3.9.1.0
[    9.648728] af9033 3-001c: Afatech AF9033 successfully attached
[    9.648970] usb 1-1.5: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
[    9.677593] it913x it9133bx-tuner.0.auto: ITE IT913X BX successfully attached
[    9.718128] Registered IR keymap rc-it913x-v2
[    9.718448] rc rc2: Avermedia A835B(3835) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc2
[    9.718878] input: Avermedia A835B(3835) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc2/input4
[    9.718933] usb 1-1.5: dvb_usb_v2: schedule remote query interval to 500 msecs
[    9.718957] usb 1-1.5: dvb_usb_v2: 'Avermedia A835B(3835)' successfully initialized and connected
[    9.719485] usbcore: registered new interface driver dvb_usb_af9035
[   12.021525] usb 1-1.5: DVB: adapter 0 frontend 0 frequency 0 out of range (174000000..862000000)
[   12.872965] usbcore: deregistering interface driver ati_remote



I tried to downgrade the kernel with
apt-cache madison linux-image-bcm2836
apt-get install linux-image-bcm2836="4.9.96+-1524776180"

the dmesg output is slightly different but the remote is still not working
Code:
[   13.573643] Registered IR keymap rc-rc6-mce
[   13.575267] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input0
[   13.578282] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[   13.601784] lirc_dev: IR Remote Control driver registered, major 244
[   13.607096] rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) registered at minor = 0
[   13.607118] IR LIRC bridge handler initialized
[   13.623303] IR RC6 protocol handler initialized
[   13.628329] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[   13.819661] dvb_usb_af9035 1-1.5:1.0: prechip_version=83 chip_version=02 chip_type=9135
[   13.821208] usb 1-1.5: dvb_usb_v2: found a 'Avermedia A835B(3835)' in cold state
[   13.838214] usb 1-1.5: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw'
[   13.973642] Registered IR keymap rc-ati-x10
[   13.974598] input: X10 Wireless Technology Inc USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc1/input1
[   13.975906] rc rc1: X10 Wireless Technology Inc USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc1
[   13.976548] input: X10 Wireless Technology Inc USB Receiver mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input2
[   13.977892] usbcore: registered new interface driver ati_remote
[   14.020655] lirc_atiusb: module is from the staging directory, the quality is unknown, you have been warned.
[   14.022676]
               lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[   14.022696] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[   14.022949] usbcore: registered new interface driver lirc_atiusb
[   14.050952] dvb_usb_af9035 1-1.5:1.0: firmware version=3.39.1.0
[   14.051018] usb 1-1.5: dvb_usb_v2: found a 'Avermedia A835B(3835)' in warm state
[   14.053218] dvb_usb_af9035 1-1.5:1.0: [0] overriding tuner from 38 to 60
[   14.055360] usb 1-1.5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[   14.055558] DVB: registering new adapter (Avermedia A835B(3835))
[   14.119188] af9033 3-0038: firmware version: LINK 3.39.1.0 - OFDM 3.9.1.0
[   14.119221] af9033 3-0038: Afatech AF9033 successfully attached
[   14.119417] usb 1-1.5: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
[   14.180985] it913x 3-001c: ITE IT913X BX successfully attached
[   14.239134] init: failsafe main process (523) killed by TERM signal
[   14.381434] Registered IR keymap rc-it913x-v2
[   14.383481] input: Avermedia A835B(3835) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc2/input3
[   14.395327] rc rc2: Avermedia A835B(3835) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc2
[   14.395363] usb 1-1.5: dvb_usb_v2: schedule remote query interval to 500 msecs
[   14.395393] usb 1-1.5: dvb_usb_v2: 'Avermedia A835B(3835)' successfully initialized and connected
[   14.395677] usbcore: registered new interface driver dvb_usb_af9035
[   14.692459] init: xbian-failaccess main process (422) killed by TERM signal
[   17.322170] usb 1-1.5: DVB: adapter 0 frontend 0 frequency 0 out of range (174000000..862000000)
[   18.335064] usbcore: deregistering interface driver ati_remote
[   18.452022] usbcore: deregistering interface driver lirc_atiusb
[   18.629556] lirc_atiusb: module is from the staging directory, the quality is unknown, you have been warned.
[   18.631506]
               lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[   18.631527] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[   18.641422] lirc_atiusb 1-1.3:1.0: lirc_dev: driver lirc_atiusb  registered at minor = 1
[   18.647038] lirc_atiusb[4]: X10 Wireless Technology Inc USB Receiver on usb1:4
[   18.648757] usbcore: registered new interface driver lirc_atiusb

I have checked my config files, everything seems unchanged...
Any idea?


RE: ATI remote wonder not working after update - Nachteule - 10th Jul, 2018 09:51 PM

Which version of xbian-package-lirc do you have installed?

There is a new one in devel repository, but I do not suppose that you have enabled this repository.

Anyway, can you check if xbian-package-lirc has been updated?

FYI: lirc_atiusb module is not longer available since kernel version 4.13, so the xbian-package-lirc package has been modified, but since there are a lot of changes in that package (it does not longer contain binaries, it's just a meta package for lirc), it is still not put into staging repository

You can post /var/log/upstart/lirc.log here, after you have removed that file and system rebooted.


RE: ATI remote wonder not working after update - Chiron - 11th Jul, 2018 07:09 AM

Well I've activated both devel and staging repos, updated, and it won't even boot.
It seems I've been playing too much with this install. Big GrinBig GrinBig Grin
It doesn't matter. I'm leaving for a week of holidays. When I'm back I'll set up everything from scratch, and will let you know what happens.
Thanks a lot Smile


RE: ATI remote wonder not working after update - Nachteule - 11th Jul, 2018 07:15 AM

(11th Jul, 2018 07:09 AM)Chiron Wrote:  Well I've activated both devel and staging repos, updated, and it won't even boot.
It seems I've been playing too much with this install. Big GrinBig GrinBig Grin
It doesn't matter. I'm leaving for a week of holidays. When I'm back I'll set up everything from scratch, and will let you know what happens.
Thanks a lot Smile

Happy holidays Smile


RE: ATI remote wonder not working after update - Chiron - 19th Jul, 2018 06:21 AM

Hello I'm back
I've reformatted my card, activated the devel repo and updated
the file:
Code:
root@xbian:/home/xbian# cat /var/log/upstart/lirc.log
*** LIRC hardware (autodetect, hardware.conf) ***
   SECTION=X10
   DRIVER=atilibusb
   LIRCD_CONF=/run/lirc/lircd-X10.conf
Starting remote control daemon(s) : LIRCD
*** LIRC hardware (autodetect, hardware.conf) ***
   SECTION=X10
   DRIVER=atilibusb
   LIRCD_CONF=/run/lirc/lircd-X10.conf
Starting remote control daemon(s) : LIRCD
*** LIRC hardware (autodetect, hardware.conf) ***
   SECTION=X10
   DRIVER=atilibusb
   LIRCD_CONF=/run/lirc/lircd-X10.conf
Starting remote control daemon(s) : LIRCD


I'm still stuck with my remote, I've tried to play with the config files in /etc/lirc/lircd.conf.d with no success
the x10.conf file is my config file, but kodi ignores it.


RE: ATI remote wonder not working after update - Nachteule - 19th Jul, 2018 06:37 AM

Welcome back Smile

if you run irw, do you see any events when pressing buttons on your remote?

Which version of lirc do you have installed?

Terminal

dpkg -l | grep -w lirc



RE: ATI remote wonder not working after update - Chiron - 19th Jul, 2018 06:44 AM

Code:
root@xbian:/etc/lirc/lircd.conf.d# ls
apple-a1156.conf  devinput.lircd.dist  README.conf.d  srm7500.conf   x10.conf
devinput.conf      mceusb.conf           smt1000t.conf  terratec.conf  xbox.conf
root@xbian:/etc/lirc/lircd.conf.d#  dpkg -l | grep -w lirc
ii  lirc                               0.10.1-1                          armhf        Infra-red remote control support - daemons and utils
ii  xbian-package-lirc                 20180616                          all          Metapackage for Lirc, configured for XBian

irw shows no events


RE: ATI remote wonder not working after update - Nachteule - 19th Jul, 2018 07:46 AM

Hmmm, that's weird Confused

But I'm surprised, tested here and this remote isn't mostly not working, neither atilibusb nor devinput driver is stable. Maybe kernel issue (using 4.18.0 rc4 at the moment)

Have to investigate tomorrow with 4.14 kernel

Btw, lirc version is same I'm using


RE: ATI remote wonder not working after update - Chiron - 19th Jul, 2018 07:39 PM

Btw, upgrading after activating devel repo, replaced krypton by leia alpha.


RE: ATI remote wonder not working after update - Nachteule - 19th Jul, 2018 08:41 PM

(19th Jul, 2018 07:39 PM)Chiron Wrote:  Btw, upgrading after activating devel repo, replaced krypton by leia alpha.

Sure, next Kodi Leia release is in devel repo, and if you run a full upgrade, you'll get this version. But you was never been told to do that Cool

I have some results:

1) The new lirc version (or atilibusb driver) can not deal with the old version of x10-atiwonder.conf remote configuration file
I was downloading version from sourceforge by command irdb-get download atiusb/atilibusb.lircd.conf and build from this version new release of 10-atiwonder.conf file. Now its working again
2) atilibusb driver still a bit unreliable, even with kernel 4.14, sometimes lircd complains:
Code:
lircd-0.10.1[27019]: Error: couldn't initialize USB receiver: Resource temporarily unavailable
in the syslog logfile (you have to install a syslog daemon -- I'm running rsyslog to get the log messages or you have to add
--logfile /var/log/lircd to LIRCD_ARGS parameter in /etc/default/lirc, for example
Terminal

root@kmxbilr2 /tmp # cat /etc/default/lirc | grep LIRCD_ARGS
LIRCD_ARGS="--loglevel=WARNING --logfile /var/log/lircd"
Don't know what the culprit is. Maybe processor speed (Pi3B+ was very worse, Pi3 is better)

Tonight I'll build new version of xbian-package-lirc


RE: ATI remote wonder not working after update - Nachteule - 20th Jul, 2018 05:34 AM

New version built an uploaded into devel repo

Please note, that the new file x10-atiwonder.conf is declared as conf file, means that if you ever had modified this, it will not be overwritten on package install. You will get a x10-atiwonder.conf.dpkg-dist instead.

And --logfile /var/log/lircd has been added to /etc/default/lirc LIRCD_ARGS parameter to make the package a bit more compatible to the prior version


RE: ATI remote wonder not working after update - Chiron - 20th Jul, 2018 05:42 AM

(19th Jul, 2018 08:41 PM)Nachteule Wrote:  
(19th Jul, 2018 07:39 PM)Chiron Wrote:  Btw, upgrading after activating devel repo, replaced krypton by leia alpha.

Sure, next Kodi Leia release is in devel repo, and if you run a full upgrade, you'll get this version. But you was never been told to do that Cool

I have some results:

1) The new lirc version (or atilibusb driver) can not deal with the old version of x10-atiwonder.conf remote configuration file
I was downloading version from sourceforge by command irdb-get download atiusb/atilibusb.lircd.conf and build from this version new release of 10-atiwonder.conf file. Now its working again
2) atilibusb driver still a bit unreliable, even with kernel 4.14, sometimes lircd complains:
Code:
lircd-0.10.1[27019]: Error: couldn't initialize USB receiver: Resource temporarily unavailable
in the syslog logfile (you have to install a syslog daemon -- I'm running rsyslog to get the log messages or you have to add
--logfile /var/log/lircd to LIRCD_ARGS parameter in /etc/default/lirc, for example
Terminal

root@kmxbilr2 /tmp # cat /etc/default/lirc | grep LIRCD_ARGS
LIRCD_ARGS="--loglevel=WARNING --logfile /var/log/lircd"
Don't know what the culprit is. Maybe processor speed (Pi3B+ was very worse, Pi3 is better)

Tonight I'll build new version of xbian-package-lirc

That's great! Thanks a lot.
Concerning Leia I know I should upgrade only the lirc package, but once launched the apt-get upgrade, it was too late. Angel
I will reinstall tomorrow. Will the new version of xbian-package-lirc be in stable or devel repo?


RE: ATI remote wonder not working after update - Nachteule - 20th Jul, 2018 05:44 AM

(20th Jul, 2018 05:42 AM)Chiron Wrote:  I will reinstall tomorrow. Will the new version of xbian-package-lirc be in stable or devel repo?

Already written. devel repo


RE: ATI remote wonder not working after update - Chiron - 20th Jul, 2018 06:35 AM

(20th Jul, 2018 05:44 AM)Nachteule Wrote:  
(20th Jul, 2018 05:42 AM)Chiron Wrote:  I will reinstall tomorrow. Will the new version of xbian-package-lirc be in stable or devel repo?

Already written. devel repo

Cool! Smile
The card is formatted.
I just have to wait for the package to be available.
What would we be doing without you! Big Grin

Code:
root@xbian:/home/xbian# apt-cache madison xbian-package-lirc
xbian-package-lirc |   20180616 | http://apt.xbian.org devel/main armhf Packages
xbian-package-lirc |   20180608 | http://apt.xbian.org devel/main armhf Packages
xbian-package-lirc |   20180607 | http://apt.xbian.org devel/main armhf Packages
xbian-package-lirc |   20170627 | http://apt.xbian.org stable/rpi2-stretch armhf Packages
xbian-package-lirc |   20170115 | http://apt.xbian.org stable/rpi2-stretch armhf Packages
xbian-package-lirc |      1.5.1 | http://apt.xbian.org stable/main armhf Packages
xbian-package-lirc |    1.5.0-3 | http://apt.xbian.org stable/main armhf Packages
xbian-package-lirc |    1.5.0-2 | http://apt.xbian.org stable/main armhf Packages



RE: ATI remote wonder not working after update - Chiron - 21st Jul, 2018 01:01 AM

Okay
I've installed, updated with stable repos, enabled devel repo, and installed xbian-package-lirc=20180719

In dmesg I have
Code:
usbcore: deregistering interface driver ati_remote

Code:
root@xbian:/home/xbian# lsmod
Module                  Size  Used by
cpufreq_conservative    16384  1
zram                   24576  1
zsmalloc               24576  1 zram
it913x                 16384  1
af9033                 40960  1
dvb_usb_af9035         32768  0
dvb_usb_v2             32768  1 dvb_usb_af9035
dvb_core              102400  2 dvb_usb_v2,af9033
ir_lirc_codec          16384  0
lirc_dev               16384  1 ir_lirc_codec
gpio_ir_recv           16384  0
fixed                  16384  0
uio_pdrv_genirq        16384  0
uio                    20480  1 uio_pdrv_genirq
snd_bcm2835            28672  0
snd_pcm                81920  1 snd_bcm2835
snd_timer              28672  1 snd_pcm
snd                    57344  3 snd_timer,snd_bcm2835,snd_pcm
evdev                  20480  4
rpcsec_gss_krb5        32768  0
uinput                 20480  0

in /var/log/lircd I have
Code:
Jul 20 14:51:12.507234 xbian lircd: Warning: lircd:  Opening log, level: Warning
Jul 20 14:51:12.508484 xbian lircd: Warning: Running as root
Jul 20 14:51:12.689266 xbian lircd: Warning: Duplicate remotes "devinput" found, problems ahead
Jul 20 14:51:19.894053 xbian lircd: Error: couldn't initialize USB receiver: Resource temporarily unavailable
Jul 20 14:51:19.894825 xbian lircd: Warning: Failed to initialize hardware
Jul 20 14:53:12.804695 xbian lircd: Error: reading in mode LIRC_MODE_LIRCCODE failed
Jul 20 14:53:13.908074 xbian lircd: Error: couldn't initialize USB receiver: Resource temporarily unavailable

and irw shows no events