You are not logged in.

#1 2011-01-18 07:05:59

emk
Member
Registered: 2010-05-11
Posts: 39

LIRC no /dev/lirc0

Hi
Im running stock 2.6.36-ARCH with lirc and lirc-utils. I have a hauppuage PVR-150 card for mythtv in this box. Problem is that Lirc is not working. No /dev/lirc0 is created when I start lircd and so my remote does not work. I have no output from irw. It seems the remote is not just detected. This setup was working fine on Ubuntu up to 10.10 and I just switched it to Arch and now lirc is not working. Anybody have the same problem? Lircd log shows a warning "failure to initialize hardware" why. I've moved the PVR-150 card to a different pci clot with same result. I'm hoping I don't have to go back to Ubuntu because of this issue.

emk

Offline

#2 2011-01-23 18:06:43

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 142
Website

Re: LIRC no /dev/lirc0

Well I seem to have the same issue, when trying to get Leadtek DTV2000DS Remote working, acording to: http://www.linuxtv.org/wiki/index.php/L … rt_.282.29

Could someone hint me, what's wrong, or how to find out why the /dev/lirc0 is not created?


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#3 2011-01-23 18:34:33

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: LIRC no /dev/lirc0

Ubuntu isn't exactly running 2.6.36. Lirc has been undergoing some changes recently.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2011-01-23 21:55:03

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 142
Website

Re: LIRC no /dev/lirc0

Well I thought that the configuration might be a bit outdated. Is there some up-to-date walktrhought how to get it work in general? I find the Arch wiki article a bit confusing to follow and the lirc pages are about 0.8.7, no mention of some development version of 0.9, which is in the Arch's repos. Would it be a worth try to compile 0.8.7 for Arch, or am I deemed to hit some obstacle due to too new packages in Arch?

More I have a feeling the problem is somewhere early in the setup. Lirc is installed, some lirc* modules loaded, and at that time the /dev/lirc0 should be created or is that supposed to be due to some doing of the lircd daemon?


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#5 2011-01-25 03:52:43

emk
Member
Registered: 2010-05-11
Posts: 39

Re: LIRC no /dev/lirc0

I read somewhere (can't seem to find it now) that the version of Lirc in Arch 0.9.0.pre1-3 does not play well with the 2.6.36 kernel. I made a bug report against Arch at https://bugs.archlinux.org/task/22549. Perhaps adding info and voting on this may help get something done. I'm not sure whether its Arch that needs to downgrade Lirc in the repos or whether its upstream that needs to fix this. Either way I'm looking at bypassing Lirc for Mythtv.

emk

Offline

#6 2011-01-25 08:49:40

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 142
Website

Re: LIRC no /dev/lirc0

Voted and commented for the bug report.
I will try to downgrade the lirc to stable version 0.8.7 to determine, if it is working there. Or does Ubuntu use even older version?


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#7 2011-01-26 03:26:12

emk
Member
Registered: 2010-05-11
Posts: 39

Re: LIRC no /dev/lirc0

I don't have any Ubuntu boxes anymore, but I assume they use 0.8.7~pre3-0ubuntu1  which is what Linux Mint 10 is using on a 2.6.35-23-generic kernel.

emk

Offline

#8 2011-01-26 09:36:31

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 142
Website

Re: LIRC no /dev/lirc0

OK, I have succesfully downgraded lirc to 0.8.7. I went through the configuration files again and if set following:

[nik@hikari ~]$ cat /etc/conf.d/lircd.conf
#
# Parameters for lirc daemon
#

LIRC_DEVICE="/dev/input/dtv2000ds_remote"
LIRC_DRIVER="devinput"
LIRC_EXTRAOPTS=""
LIRC_CONFIGFILE=""

(/dev/input/dtv2000ds_remote is created by udev as mentioned in linked howto)
I get rid of the fail to initialize hardware message, instead I get these:

Jan 25 16:37:08 hikari lircd: caught signal
Jan 25 16:37:09 hikari lircd: lircd(devinput) ready, using /var/run/lirc/lircd
Jan 25 16:37:19 hikari lircd: accepted new client on /var/run/lirc/lircd
Jan 25 16:37:19 hikari lircd: initializing '/dev/input/dtv2000ds_remote'
Jan 25 16:37:20 hikari lircd: removed client
Jan 25 16:37:20 hikari lircd: closing '/dev/input/dtv2000ds_remote'
Jan 25 16:37:28 hikari lircd: accepted new client on /var/run/lirc/lircd
Jan 25 16:37:28 hikari lircd: initializing '/dev/input/dtv2000ds_remote'
Jan 25 16:37:33 hikari lircd: WARNING: you are using an obsolete devinput config file: Success
Jan 25 16:37:33 hikari lircd: WARNING: get the new version at http://lirc.sourceforge.net/remotes/dev … f.devinput: Success
Jan 25 16:37:47 hikari lircd: removed client

I get the same even when I download mentioned file from the web.
Now I am bit confused. So is the device file supposed to be created by the lirc daemon, or by the udev, or some other means? And where am I supposed to get non obsolete configuration, if not the upstream. :-/
And the /etc/lirc/hardware.conf is not used with Arch?


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#9 2011-01-30 23:34:25

dingus
Member
From: London
Registered: 2006-02-02
Posts: 18

Re: LIRC no /dev/lirc0

Nicky726 wrote:

OK, I have succesfully downgraded lirc to 0.8.7. I went through the configuration files again ...

I have the same problems with 0.8.7 & kernel 2.6.36 (as well as with 0.9.0pre1), could you try downgrading even further to kernel 2.6.35 & lirc 0.8.6-7, that works for me for the moment until a better solution is found. I think the lirc/kernel version may be the problem rather than your configs.

Matt

(The packages are fairly old but I was able to get them from here if you haven't got them: http://alfa.spark-media.ru/mirror/archl … g/os/i686/ )

Last edited by dingus (2011-01-30 23:37:08)

Offline

#10 2011-01-31 18:46:53

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 142
Website

Re: LIRC no /dev/lirc0

Thank you. I'll go for a week away from the computer in question, so I'll try it when I return.


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#11 2011-02-02 07:49:15

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: LIRC no /dev/lirc0

for the above reasons i have built some stuff of my own

in my repository you will find kernel26-bemm ( 2.6.35.10 PREEMPT && cgroup patch ) and lirc-bemm ( 0.8.7 ) and those are working fine for me on my mediacenter

sorry forgot, you can find my repository by clicking the link below myArchWiki

Last edited by BlackIkeEagle (2011-02-02 07:50:40)


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#12 2011-02-06 17:41:58

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 142
Website

Re: LIRC no /dev/lirc0

Thx BlackEagle. Your kernel+lirc works. Interestingly enough there are the same messages in the log. And following configuration is needed, or it behaves as a keyboard:

#
# Parameters for lirc daemon
#
LIRC_DEVICE="/dev/input/dtv2000ds_remote"
LIRC_DRIVER="devinput"

Hope this gets fixed, as my plans are having this card and remote on Zacate, for which I would need .38 kernel.


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#13 2011-03-19 01:13:55

dingus
Member
From: London
Registered: 2006-02-02
Posts: 18

Re: LIRC no /dev/lirc0

I've just updated to kernel26 2.6.38 and lirc 0.9.0.pre1-5 from testing. My remote is now fully funtional although I had to fiddle with some configs. I am using:

DRIVER="devinput"
DEVICE="/dev/input/by-path/{whatever}-event-ir" (could have made a udev rule for this to a create /dev/something)

and lircd.conf from /usr/share/lirc/remotes/devinput/lircd.conf.devinput (this is the only bit I had to change)

This gives me fully working remote buttons in irw and no spurious messages in the logs, I hope that the new kernel version fixes the problem for everyone else too.

Offline

Board footer

Powered by FluxBB