You are not logged in.

#1 2016-07-08 19:07:24

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Latest lirc update renders remote (streamzap) non-functional [solved]

I setup my streamzap USB remote per my guide and it has been working for years until this 0.9.4 update of lirc.  Now, I cannot get any output from irw at all.  Has anyone else experienced this with another remote?

If I start lircd manually to read the output, it is:

% sudo lircd --nodaemon
lircd-0.9.4a[2583]: Info: lircd:  Opening log, level: Info
lircd-0.9.4a[2583]: Warning: Running as root
lircd-0.9.4a[2583]: Info: Using remote: Streamzap_PC_Remote.
lircd-0.9.4a[2583]: Info: Using remote: devinput.
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MISC
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MOUSE
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_SOUTH
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TOOL_PEN
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER_HAPPY1
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_WHEEL
lircd-0.9.4a[2583]: Info: Using remote: devinput.
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MISC
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MOUSE
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_SOUTH
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TOOL_PEN
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER_HAPPY1
lircd-0.9.4a[2583]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_WHEEL
lircd-0.9.4a[2583]: Notice: lircd(devinput) ready, using /var/run/lirc/lircd
lircd-0.9.4a[2583]: Notice: accepted new client on /var/run/lirc/lircd
lircd-0.9.4a[2583]: Info: initializing 'auto'
lircd-0.9.4a[2583]: Info: Using device: /dev/input/event8
lircd-0.9.4a[2583]: Info: removed client
lircd-0.9.4a[2583]: Info: closing '/dev/input/event8'
lircd-0.9.4a[2583]: Notice: accepted new client on /var/run/lirc/lircd
lircd-0.9.4a[2583]: Info: initializing '/dev/input/event8'
lircd-0.9.4a[2583]: Info: Using device: /dev/input/event8

And running irw as I said, just sits there despite hitting buttons on the remote.  Might be related to FS#49997 but at least there, I can get a crash to occur. 

Downgrading to the following packages restores expected functionality:
*lirc-1:0.9.3.a-2
*libirman-0.4.6-1

Thanks all.

Last edited by graysky (2016-08-14 11:34:00)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2016-07-10 10:12:19

robin67
Member
From: the Netherlands
Registered: 2012-02-18
Posts: 45

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

graysky wrote:

I setup my streamzap USB remote per my guide and it has been working for years until this 0.9.4 update of lirc.  Now, I cannot get any output from irw at all.  Has anyone else experienced this with another remote?

I got the same problem as you with my mce-USB receiver and remote. I didn't look into it yet and also just downgraded for now to solve the issue....

Offline

#3 2016-07-10 12:04:59

robin67
Member
From: the Netherlands
Registered: 2012-02-18
Posts: 45

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

For me it was enough to change the file /etc/lirc/lirc_options.conf

I changed device from /dev/lirc0 to auto

All is working again with 0.9.4

PS. you could also try to change driver to devinput (assuming it is now set to default)

Offline

#4 2016-07-11 15:19:32

boomshalek
Member
Registered: 2007-10-12
Posts: 110

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

robin67 wrote:

For me it was enough to change the file /etc/lirc/lirc_options.conf. I changed device from /dev/lirc0 to auto

Already was set to auto in my case. I am using mce remote too, which doesn't work since last upgrade. I will try to downgrade, but hope for a better solution in the future.
***EDIT: Works after downgrade

Last edited by boomshalek (2016-07-11 15:52:55)

Offline

#5 2016-07-11 21:27:10

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

@robin67 - For me as well, /etc/lirc/lirc_options.conf has 'device = auto' package-provided and does not work with my remote.  Problem is still present and downgrading is the only solution I have found.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2016-07-12 08:39:31

robin67
Member
From: the Netherlands
Registered: 2012-02-18
Posts: 45

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

Sorry to hear it did not help you.

Just thinking up load now what could be the diffrence. Maybe the kernel ? I am using linux-lts ...

Offline

#7 2016-07-12 10:37:13

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

robin67 wrote:

Just thinking up load now what could be the diffrence. Maybe the kernel ? I am using linux-lts ...

Does irrecord work for you?  See https://bugs.archlinux.org/task/49997


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2016-07-12 17:28:32

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

Booting into linux-lts allow lirc to function as expected... very odd!  Even though the remote control works under linux-lts, irrecord still crashes as described in that FS I linked above.

Last edited by graysky (2016-07-12 17:30:56)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#9 2016-07-16 22:57:49

rlees85
Member
From: Daventry, UK
Registered: 2015-04-29
Posts: 96
Website

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

Same problem. It seems 'devinput' is used as the default driver instead of 'default'. Does anyone know why this is? What even is devinput?

Either way, I fixed it by changing 'devinput' to 'default' and the device from 'auto' to '/dev/lirc0'.

Then I had to do a full reboot. Restarting lircd was not enough.

Also not sure if I should raise a bug report for this.

Offline

#10 2016-08-04 18:53:33

boomshalek
Member
Registered: 2007-10-12
Posts: 110

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

graysky wrote:

Booting into linux-lts allow lirc to function as expected... very odd!

Not in my case. I was running linux-lts all the time. Today i have upgraded to 4.4.16.-1-lts. Even with the downgraded lirc packages there was no lirc functionality anmore. So I upgraded lirc  and irman to recent versions. Still no go

Offline

#11 2016-08-14 11:33:46

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

Setting 'driver = default' and 'device = /dev/lirc0' in /etc/lirc/lirc_options.conf fixed this for me.  I also had to regenerate the remote config file to avoid an occasional key press doubling.  Find it in my github repo:

graysky wrote:

I setup my streamzap USB remote per my guide


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#12 2016-08-18 07:18:53

farmerdave
Member
Registered: 2011-11-23
Posts: 114

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

I had the same problem, lirc was working fine for years along with irexec, I'm using mceusb remote and linux-4.4.16-1-lts. I updated lirc and got no output using irw. I did a backup of all my lirc config files, and then fully removed lirc package. This left one residual file in both /usr/lib/lirc/ and /usr/share/lirc/ which I deleted before reinstalling the latest lirc. I then restored my mceusb.conf into /etc/lirc/lird.conf.d/ and now lirc works fine. /etc/lirc/lircd.conf just points to /etc/lirc/lircd.conf.d/ folder. I moved devinput.lirc.conf to devinput.lirc.dist as suggested in the file.

But, I need irexec for my extra remote functions, and my MythTV mappings are not working either. Does anyone else have similar problems? I have ~/.lircrc pointing to ~/.lirc/irexec and ~/.lirc/mythtv just as before but have no luck getting it working.

Edit: should have added that I start lirc using lircd.service and run as root, and I start irexec as my user.
I am finding that the problem is that lirc will not look at my ~/.lircrc file.

Last edited by farmerdave (2016-08-18 08:02:23)

Offline

#13 2016-08-18 10:41:15

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,412
Website

Re: Latest lirc update renders remote (streamzap) non-functional [solved]

If you have the same problem, then the same solution would remedy it. Please don't bump solved topics with new problems -- create a new topic.

https://wiki.archlinux.org/index.php/Co … ow_to_post

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB