Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lirc problem- device node disappeared
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
degreseven
n00b
n00b


Joined: 26 Sep 2006
Posts: 10

PostPosted: Sat Apr 07, 2007 10:29 pm    Post subject: lirc problem- device node disappeared Reply with quote

So, about a week ago while I was in the middle of watching a recording in mythtv my machine completely locked up solid-- first time that's happened to me, the machine has been up & running for a year or so. After resetting it, everything seemed normal, but the remote no longer worked (remote has worked fine for several months). I found that the device node is not being created (normally it is /dev/lirc/0). All I see now is...
Code:

ramrod ~ # ls /dev/lirc*
/dev/lircd


I have verified that both the lirc_i2c and lirc_dev modules are loading properly with no errors, as well as the i2c_core module, and the lirc daemon is running. As far as I can remember I have made no changes at all to the machine in quite a while. I tried re-emerging/ updating lirc, udev, pvr-firmware, ivtv, kernel ... anything I thought might be related. This changed nothing.

dmesg | grep lirc shows...

Code:

lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.
lirc_dev: IR Remote Control driver registered, at major 61
lirc_dev: IR Remote Control driver registered, at major 61
lirc_dev: IR Remote Control driver registered, at major 61
lirc_dev: IR Remote Control driver registered, at major 61



The only error message I can find anywhere (other than that 'kernel tainted' thing above- which I don't think matters) is this...

Code:

ramrod ~ # ivtvctl --reset-ir
ioctl VIDIOC_INT_RESET failed: Invalid argument


But maybe I'm not getting the command right? I couldn't find any documentation on the ivtvctl tool.

Hardware is a Hauppauge PVR-150 with included remote. current software versions I am running (since updating in the attempt to fix my problem)...

kernel: 2.6.19-gentoo-r5
ivtv: 0.10.1-r1
pvr-firmware: 20070217
lirc: 0.8.1
udev: 104-r12

Last update before the crash was 3 months ago or so, nothing too old.

I have spend hours googling for solutions, but have found none. *Any* help would be greatly appreciated. Please let me know if you need any more info about my system.[/code]

Thanks in advance.
Back to top
View user's profile Send private message
degreseven
n00b
n00b


Joined: 26 Sep 2006
Posts: 10

PostPosted: Tue Apr 10, 2007 2:21 am    Post subject: Reply with quote

no ideas at all?
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Thu Apr 19, 2007 2:24 am    Post subject: Reply with quote

I'm having the same problem. /etc/conf.d/lircd still has the option listed correctly too.

EDIT:

Have you recently upgraded to the 2.6.20-series kernel? I just did since it went stable, and mythtv seems to have lost all of my scheduled recordings and I have the device node problem. When I boot into my old 2.6.19-r5 kernel all is well.
Back to top
View user's profile Send private message
Prisoner
n00b
n00b


Joined: 17 Jul 2007
Posts: 1

PostPosted: Tue Jul 17, 2007 8:10 pm    Post subject: Reply with quote

I very recently had a similar problem to this where the node seemed to suddenly randomly disappear; and tried re-emerging everything I could think of but to no avail.

Eventually, I managed to get my /dev/lirc/0 node back by running depmod -a after re-emerging lirc. I also had to put lirc_dev and lirc_i2c in my /etc/modules.autoload.d file because (I think) udev wasn't loading them properly.

I'm a relative newbie but I thought that depmod -a was run by the emerge script? Anyway, the above procedure worked for me and my lircd seems quite happy. btw, I'm running kernel 2.6.20-r9 and also using the ir blaster module from http://www.blushingpenguin.com/mark/blog/?p=24.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3349
Location: de

PostPosted: Wed Jul 25, 2007 9:29 pm    Post subject: Reply with quote

depmod -a didn't help for me.

I upgraded from Kernel 2.6.21-r3 to 2.6.22-r1, rebuilt lirc.

modprobe lirc_dev and lirc_i2c works quite well. Also dmesg shows something like:
Code:
lirc_dev: IR Remote Control driver registered, at major 61


But there's no device. Only /dev/lircd is available. Thus I had to reboot the old kernel. If someone finds a working solution, I give 2.6.22 a second chance.
Back to top
View user's profile Send private message
Sephiroth_666
n00b
n00b


Joined: 19 Nov 2006
Posts: 3

PostPosted: Tue Jul 31, 2007 6:28 pm    Post subject: Reply with quote

same problem here with kernel 2.6.20-r8. Anyone found anything please? :/
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3349
Location: de

PostPosted: Wed Aug 15, 2007 2:36 pm    Post subject: Reply with quote

Ok, I found the solution:

make oldconfig didn't shift the complete config of kernel 2.6.21 to 2.6.22.

I was really surprised, when I recognized that my IR-device wasn't found in dmesg. Then I found out, it didn't even recognize the whole tv card. So I looked into the kernel config, reactivated my tv card and enjoyed having my lirc device back.

Hopefully this was the only thing that oldconfig forgot to do.
Back to top
View user's profile Send private message
pbienst
Retired Dev
Retired Dev


Joined: 29 May 2002
Posts: 70
Location: Belgium

PostPosted: Wed Aug 15, 2007 6:01 pm    Post subject: Reply with quote

I have a similar problem after upgrading to lirc 0.8.2 and to kernel 2.6.22.

I tried putting this into /etc/conf.d/lircd, but to no avail:
LIRCD_OPTS="-d /dev/lirc/0 "

I have a pctv remote, which doesn't require kernel modules, so I don't think the solutions mentioned in this thread are valid in my case...
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 486
Location: Oleiros

PostPosted: Fri Aug 17, 2007 8:39 am    Post subject: Reply with quote

Same problem here with the pctv pro. The TV tuner works perfectly but the remote stopped working after updating something (I don't know exactly what. lirc 0.8.2-r1?) Besides,
Code:

aguarrio ~ # dmesg |grep -i lirc
aguarrio ~ #

is that normal?
Did anyone solve the problem?

EDIT: yeah, lirc 0.8.2-r1 is the problem in my case (maybe I should have tried before posting :oops: ). lirc 0.8.1 with kernel 2.6.21-4 works like a charm. And it seems ok for dmesg not to contain anything about lirc.
Back to top
View user's profile Send private message
laststraw
n00b
n00b


Joined: 18 Mar 2003
Posts: 16

PostPosted: Sat Aug 18, 2007 6:05 pm    Post subject: 2.6.22 serial patch Reply with quote

I have not applied this patch yet ... but supposedly this is an answer for those of us using serial IR.

http://www.nabble.com/%22setserial--dev-ttyS1-uart-none%22-broken-in-2.6.22--tf4219669.html#a12098479

I applied this patch and now all is good.

So I am using the latest kernel and the latest lirc
Back to top
View user's profile Send private message
redpenguin
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2006
Posts: 134

PostPosted: Tue Aug 21, 2007 12:43 pm    Post subject: Reply with quote

Well, I just updated the system, and found my remote not working (Pinnacle PCTV one connected to serial port). Now, before update I had lirc-0.8.1 here. It worked with gentoo-sources-2.6.22-r2 like a charm. The update took lirc up to version 0.8.2-r1. After this, it stopped working. Then I downgraded to 0.8.1 and the remote works again. So, I think the culprit in this case is lirc, not the kernel. Try downgrading to lirc-0.8.1, I think it could help some of you out here. Let me know if this helps some of you ;)

P.S.
Is it just me or http://gentoo-wiki.com/Lirc is a bit outdated?
Back to top
View user's profile Send private message
jakomo
n00b
n00b


Joined: 01 Jun 2007
Posts: 26
Location: Lisboa/Portugal

PostPosted: Sun Sep 30, 2007 10:34 pm    Post subject: pctv pro ir receiver Reply with quote

Hi everybody!

I have a Pinnacle Hybrid PCTV Pro PCI and I'm having trouble setting up de IR remote.

I'v tried with the dev/input driver on /dev/input/event6 (cat /proc/bus/input/devices tells me it's the ir receiver) and with the pctv driver on /dev/ttyS0-3 to no effect.

both irecord and irw seem to work but they don't get any key from the remote. And I know the remote is working because the TVset LED blinks to the IR ;)

I tried to downgrade to lirc-0.8.1, no luck either.

I've never seen a /dev/lirc/0 ...

Could someone with this remote (I think it's the same as in the 310i...) please tell me if there is any other way or if i'm doing something wrong?

I'm using gentoo-sources-2.6.22-r8.

Many thanks,

Jakomo
Back to top
View user's profile Send private message
Karlhungus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2005
Posts: 79
Location: Halifax, Nova Scotia

PostPosted: Sun Sep 30, 2007 11:34 pm    Post subject: Reply with quote

This is probably a shot in the dark but today i updated to gentoo-sources-2.6.22-r8 and my remote went away as well (using the remote attached to my PVR-150). Even after module-rebuild rebuild. So i emerged lirc (cause /lib/modules/mykernelverssion/misc/lirc*) didn't exist, i also tried adding it manually to module-rebuild (it said it already existed). modprobe lirc_dev, lirc_i2c did nothing (i think because i have to restart lircd), in anycase after a reboot it all came up fine again.
Back to top
View user's profile Send private message
jakomo
n00b
n00b


Joined: 01 Jun 2007
Posts: 26
Location: Lisboa/Portugal

PostPosted: Mon Oct 01, 2007 1:21 am    Post subject: Reply with quote

Well I've rebooted many times and still can't get neither cat /dev/input/event6 nor irrecord nor irw showing anything when I press buttons...

BTW, I'm on AMD64, do you think it might have anything to do with this?

Thanks,

Jakomo
Back to top
View user's profile Send private message
Karlhungus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2005
Posts: 79
Location: Halifax, Nova Scotia

PostPosted: Mon Oct 01, 2007 9:26 pm    Post subject: Reply with quote

jakomo wrote:
Well I've rebooted many times and still can't get neither cat /dev/input/event6 nor irrecord nor irw showing anything when I press buttons...

BTW, I'm on AMD64, do you think it might have anything to do with this?

Thanks,

Jakomo


I'm on amd64 as well, but different remote. What's dmesg say?
Back to top
View user's profile Send private message
jakomo
n00b
n00b


Joined: 01 Jun 2007
Posts: 26
Location: Lisboa/Portugal

PostPosted: Tue Oct 02, 2007 1:06 am    Post subject: Pinnacle Hybrid PCTV Pro PCI Reply with quote

OK... update...

Although it doesn't make much sense, after unpluging everything (for totally unrelated reasons), enabling serial support in the kernel (which I hadn't :oops: ) and disabling the onboard serial port on BIOS (why not, could be be a resource conflict, right?), I finally got something to show up in cat /dev/input/event6 when I press buttons

However it doesn't happen often (most times I press buttons and nothing happens) and when it does it's quite delayed to the button presses.

After starting lircd, irw doesn't get anything and irrecord bails out saying "irrecord: gap not found, can't continue" Sometimes irrecord startes showing some dots but the end result is the same.

Quote:
Press RETURN to continue.


Hold down an arbitrary button.
................irrecord: gap not found, can't continue



Oh, and /dev/ttyS0-3 don't seem to have anything... so, was serial support that important????

Info:

Quote:
LIRC_DEVICES="devinput"


cat /proc/bus/input/devices

Quote:
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="Pinnacle PCTV"
P: Phys=i2c-1/1-0047/ir0
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=kbd event6
B: EV=100003
B: KEY=108fc010 210080200000000 0 48000 2180c0000801 9e168000000000 4ffc


dmesg shows this in relation to the IR receiver

Quote:
input: Pinnacle PCTV as /class/input/input6
ir-kbd-i2c: Pinnacle PCTV detected at i2c-1/1-0047/ir0 [saa7133[0]]


Bottom line, it seems that the hardware works but very slugishly... that can't be normal...
Any ideas?

Thanks, very much... :)

Jakomo
Back to top
View user's profile Send private message
Karlhungus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2005
Posts: 79
Location: Halifax, Nova Scotia

PostPosted: Tue Oct 02, 2007 4:17 am    Post subject: Reply with quote

I think you're probably beyond what i can do to help, IIRC irw should output the remotes commands, do you get sluggishness in irw?
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Tue Oct 02, 2007 6:26 pm    Post subject: Reply with quote

I already posted this in another thread, maybe one of you has a clue what's going on:

I have a very similar problem here. My mouse freezes while watching movies. It turned out that this was caused by the lirc support in mplayer. I usre the devinput driver for my Hauppage HVR1100.

If I do a
Code:
cat /dev/input/event4
I can see events from the mouse and my remote control appering in the terminal. So both have been assigned the same device file in /dev/input/. I think this is clearly a bug. Obviuously the mouse freezes when mplayers lirc support blocks the device.

Has anyone an idea what causes this behavior and how to fix it?

BTW.: This is one of the cases where a [SOLVED] in the subject line turns out to be not very usefull if someone reopens that topic ...

[EDIT] Additional info: On /dev/input/event2 (which is assigned to the IR by the kernel) I see the raw events from the remote control, on /dev/input/event4 the already proccessed events (the keys by thier clear text names) appaer. To make it even more strange: I have a udev rule which creates a link /dev/input/irremote. This rule identifies the TV card to which the IR reciever belongs by the vendor ID. This link points to /dev/input/event4.

Kernel version: 2.6.22-gentoo-r8
lirc: 0.8.2-r1
udev: 115-r1

Self written udev rule:
Code:
/etc/udev/rules.d/11-lirc.rules:KERNEL=="event*", SYSFS{vendor}=="0x10de", NAME="input/%k", SYMLINK="input/irremote", MODE="0666"


Has anyone an idea what's going on?

[EDIT] OK, my problem was solved by changing the above mentioned udev rule. I changed the identification by vendor id to the identification by the name SYSFS{name}=="cx88 IR (Hauppauge WinTV-HVR110", and the problem was solved. I still do not understand why the previosly working udev rule failed, and why I still see the IR events on the mouse device, but as long as it works I stop further investigations because of lack of time.
Back to top
View user's profile Send private message
pbienst
Retired Dev
Retired Dev


Joined: 29 May 2002
Posts: 70
Location: Belgium

PostPosted: Tue May 06, 2008 8:23 pm    Post subject: Reply with quote

pbienst wrote:
I have a similar problem after upgrading to lirc 0.8.2 and to kernel 2.6.22.

I tried putting this into /etc/conf.d/lircd, but to no avail:
LIRCD_OPTS="-d /dev/lirc/0 "

I have a pctv remote, which doesn't require kernel modules, so I don't think the solutions mentioned in this thread are valid in my case...


I was able to solve this by updading the lircd.conf file (according to the lircd website they indeed changed that file after 0.8.1 for the pctv), and by using LIRCD_OPTS="-d /dev/ttyS1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum