| View previous topic :: View next topic |
| Author |
Message |
degreseven n00b

Joined: 26 Sep 2006 Posts: 10
|
Posted: Sat Apr 07, 2007 10:29 pm Post subject: lirc problem- device node disappeared |
|
|
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 |
|
 |
degreseven n00b

Joined: 26 Sep 2006 Posts: 10
|
Posted: Tue Apr 10, 2007 2:21 am Post subject: |
|
|
| no ideas at all? |
|
| Back to top |
|
 |
j79zlr Apprentice


Joined: 05 Dec 2004 Posts: 235 Location: Chicago, IL
|
Posted: Thu Apr 19, 2007 2:24 am Post subject: |
|
|
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 |
|
 |
Prisoner n00b

Joined: 17 Jul 2007 Posts: 1
|
Posted: Tue Jul 17, 2007 8:10 pm Post subject: |
|
|
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 |
|
 |
musv Advocate


Joined: 01 Dec 2002 Posts: 3349 Location: de
|
Posted: Wed Jul 25, 2007 9:29 pm Post subject: |
|
|
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 |
|
 |
Sephiroth_666 n00b

Joined: 19 Nov 2006 Posts: 3
|
Posted: Tue Jul 31, 2007 6:28 pm Post subject: |
|
|
| same problem here with kernel 2.6.20-r8. Anyone found anything please? :/ |
|
| Back to top |
|
 |
musv Advocate


Joined: 01 Dec 2002 Posts: 3349 Location: de
|
Posted: Wed Aug 15, 2007 2:36 pm Post subject: |
|
|
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 |
|
 |
pbienst Retired Dev

Joined: 29 May 2002 Posts: 70 Location: Belgium
|
Posted: Wed Aug 15, 2007 6:01 pm Post subject: |
|
|
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 |
|
 |
mani001 Guru

Joined: 04 Dec 2004 Posts: 486 Location: Oleiros
|
Posted: Fri Aug 17, 2007 8:39 am Post subject: |
|
|
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 ). 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 |
|
 |
laststraw n00b

Joined: 18 Mar 2003 Posts: 16
|
|
| Back to top |
|
 |
redpenguin Tux's lil' helper

Joined: 22 May 2006 Posts: 134
|
Posted: Tue Aug 21, 2007 12:43 pm Post subject: |
|
|
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 |
|
 |
jakomo n00b

Joined: 01 Jun 2007 Posts: 26 Location: Lisboa/Portugal
|
Posted: Sun Sep 30, 2007 10:34 pm Post subject: pctv pro ir receiver |
|
|
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 |
|
 |
Karlhungus Tux's lil' helper


Joined: 19 Jun 2005 Posts: 79 Location: Halifax, Nova Scotia
|
Posted: Sun Sep 30, 2007 11:34 pm Post subject: |
|
|
| 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 |
|
 |
jakomo n00b

Joined: 01 Jun 2007 Posts: 26 Location: Lisboa/Portugal
|
Posted: Mon Oct 01, 2007 1:21 am Post subject: |
|
|
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 |
|
 |
Karlhungus Tux's lil' helper


Joined: 19 Jun 2005 Posts: 79 Location: Halifax, Nova Scotia
|
Posted: Mon Oct 01, 2007 9:26 pm Post subject: |
|
|
| 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 |
|
 |
jakomo n00b

Joined: 01 Jun 2007 Posts: 26 Location: Lisboa/Portugal
|
Posted: Tue Oct 02, 2007 1:06 am Post subject: Pinnacle Hybrid PCTV Pro PCI |
|
|
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 ) 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 |
|
 |
Karlhungus Tux's lil' helper


Joined: 19 Jun 2005 Posts: 79 Location: Halifax, Nova Scotia
|
Posted: Tue Oct 02, 2007 4:17 am Post subject: |
|
|
| 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 |
|
 |
furanku l33t


Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Tue Oct 02, 2007 6:26 pm Post subject: |
|
|
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 |
|
 |
pbienst Retired Dev

Joined: 29 May 2002 Posts: 70 Location: Belgium
|
Posted: Tue May 06, 2008 8:23 pm Post subject: |
|
|
| 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 |
|
 |
|